/* 杏彩体育 - 完整样式表 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

body.dark {
    background: #0f0f1a;
    color: #e0e0e0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --primary: #1a1a2e;
    --secondary: #e94560;
    --accent: #0f3460;
    --bg-light: #f8f9fa;
    --text-light: #1a1a2e;
    --card-bg: #fff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body.dark {
    --primary: #e0e0e0;
    --secondary: #ff6b81;
    --accent: #16213e;
    --bg-light: #1a1a2e;
    --text-light: #e0e0e0;
    --card-bg: #16213e;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(22, 33, 62, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560, #ff6b81);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e94560;
    color: #e94560;
}

.btn-outline:hover {
    background: #e94560;
    color: #fff;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #ff6b81);
    margin: 15px auto 0;
    border-radius: 2px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 头部 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.dark header {
    background: rgba(15, 15, 26, 0.95);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e94560;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.dark-toggle {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
}

.dark-toggle:hover {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.2);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #16213e 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(233, 69, 96, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(255, 107, 129, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.dark .hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10%, 10%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(90deg, #e94560, #ff6b81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 500px;
    opacity: 0.9;
    z-index: 1;
}

.hero-image svg {
    width: 100%;
    height: auto;
}

.hero-carousel {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-carousel span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-carousel span.active {
    background: #e94560;
    transform: scale(1.3);
}

/* 关于 */
.about .grid-2 {
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.dark .about-text p {
    color: #aaa;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 品牌故事 */
.story .story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
    color: #555;
    line-height: 2;
}

.dark .story .story-content {
    color: #bbb;
}

.story .story-content p {
    margin-bottom: 20px;
}

/* 价值观 */
.values .grid-3 {
    gap: 25px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
}

.value-item svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    fill: #e94560;
}

.value-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
    font-size: 15px;
}

.dark .value-item p {
    color: #aaa;
}

/* 团队 */
.team .grid-4 {
    gap: 25px;
}

.team-member {
    text-align: center;
    padding: 25px 15px;
}

.team-member .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #e94560, #ff6b81);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    font-weight: 700;
}

.team-member h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-member p {
    color: #888;
    font-size: 14px;
}

.dark .team-member p {
    color: #aaa;
}

/* 产品 */
.products .grid-3 {
    gap: 25px;
}

.product-card {
    padding: 25px;
    text-align: center;
}

.product-card svg {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    fill: #e94560;
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.product-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.dark .product-card p {
    color: #aaa;
}

/* 优势 */
.advantages .grid-2 {
    gap: 30px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    border-left: 4px solid #e94560;
}

.advantage-item svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    fill: #e94560;
}

.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.dark .advantage-item p {
    color: #aaa;
}

/* 统计数据 */
.stats {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #fff;
    padding: 60px 0;
}

.stats .grid-4 {
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(90deg, #e94560, #ff6b81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* 案例 */
.cases .grid-3 {
    gap: 25px;
}

.case-card {
    overflow: hidden;
}

.case-card .case-img {
    height: 200px;
    background: linear-gradient(135deg, #0f3460, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.case-card .case-body {
    padding: 20px;
}

.case-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.case-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.dark .case-card p {
    color: #aaa;
}

/* 合作伙伴 */
.partners .grid-4 {
    gap: 20px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-item svg {
    width: 60px;
    height: 60px;
    fill: #888;
}

.dark .partner-item svg {
    fill: #aaa;
}

.partner-item p {
    margin-top: 10px;
    font-weight: 600;
    color: #555;
}

.dark .partner-item p {
    color: #ccc;
}

/* 客户评价 */
.testimonials .grid-2 {
    gap: 30px;
}

.testimonial-card {
    position: relative;
    padding: 30px;
}

.testimonial-card::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: 10px;
    left: 20px;
    color: #e94560;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.dark .testimonial-card p {
    color: #bbb;
}

.testimonial-card .author {
    font-weight: 600;
    color: #e94560;
}

/* 新闻 */
.news .grid-3 {
    gap: 25px;
}

.news-card {
    overflow: hidden;
}

.news-card .news-img {
    height: 180px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.news-card .news-body {
    padding: 20px;
}

.news-card .date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.dark .news-card .date {
    color: #aaa;
}

.news-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.news-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.dark .news-card p {
    color: #aaa;
}

/* FAQ */
.faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    cursor: pointer;
}

.dark .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
}

.faq-question span {
    font-size: 22px;
    transition: transform 0.3s;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    padding-top: 10px;
    color: #666;
    line-height: 1.7;
    display: none;
}

.dark .faq-answer {
    color: #aaa;
}

.faq-item.open .faq-answer {
    display: block;
}

/* 如何开始 */
.howto .steps {
    max-width: 700px;
    margin: 0 auto;
    counter-reset: step;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #ff6b81);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.step p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.dark .step p {
    color: #aaa;
}

/* 联系 */
.contact .grid-2 {
    gap: 30px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dark .contact-info p {
    color: #aaa;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border 0.3s;
    background: var(--card-bg);
    color: var(--text-light);
}

.dark .contact-form input,
.dark .contact-form textarea {
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e94560;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
}

.dark .footer {
    background: #0f0f1a;
}

.footer .grid-4 {
    gap: 30px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer p,
.footer a {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
}

.footer a:hover {
    color: #e94560;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer .sitemap a {
    display: block;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #ff6b81);
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* 搜索模态框 */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-modal.open {
    display: flex;
}

.search-modal .search-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-modal input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 18px;
    margin-bottom: 15px;
    background: var(--bg-light);
    color: var(--text-light);
}

.dark .search-modal input {
    border-color: rgba(255, 255, 255, 0.1);
}

.search-modal input:focus {
    outline: none;
    border-color: #e94560;
}

.search-modal .search-results {
    max-height: 300px;
    overflow-y: auto;
}

.search-modal .search-results div {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.search-modal .search-results div:hover {
    color: #e94560;
}

.search-modal .close-search {
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
}

/* 面包屑 */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #888;
}

.dark .breadcrumb {
    color: #aaa;
}

.breadcrumb a {
    color: #e94560;
}

.breadcrumb span {
    margin: 0 8px;
}

/* EEAT 区域 */
.eeat-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.eeat-section .grid-2 {
    gap: 30px;
}

.eeat-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.eeat-section p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.dark .eeat-section p {
    color: #aaa;
}

/* 订阅 */
.newsletter {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
}

.newsletter button {
    padding: 14px 30px;
    border-radius: 50px;
    border: none;
    background: #e94560;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter button:hover {
    background: #ff6b81;
}

/* Cookie 同意 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    display: none;
}

.cookie-consent.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-consent p {
    font-size: 14px;
    color: #666;
    max-width: 70%;
}

.dark .cookie-consent p {
    color: #aaa;
}

.cookie-consent button {
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    background: #e94560;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 图片占位 */
.lazy-img {
    background: #eee;
    min-height: 100px;
}

.dark .lazy-img {
    background: #2a2a3e;
}

/* 响应式 */
@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .dark-toggle {
        margin-left: auto;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 80%;
        margin: 30px auto 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-image {
        display: none;
    }

    .newsletter form {
        flex-direction: column;
    }
}