/* 开云体育专用配色 - 绿色主题 */
:root {
    --sports-primary: #10b981;
    --sports-secondary: #059669;
    --sports-accent: #065f46;
    --sports-success: #34d399;
    --sports-gradient: linear-gradient(135deg, #10b981, #059669);
    --sports-gradient-alt: linear-gradient(135deg, #059669, #10b981);
    --sports-dark: #1a1a2e;
    --sports-light: #f0fdf4;
}

[data-theme="dark"] {
    --sports-primary: #34d399;
    --sports-secondary: #10b981;
    --sports-accent: #059669;
    --sports-gradient: linear-gradient(135deg, #34d399, #10b981);
}

/* Hero区域 - 品牌展示 */
.hero-section {
    position: relative;
    min-height: auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 3s; }
.particle:nth-child(3) { top: 40%; left: 60%; animation-delay: 6s; }
.particle:nth-child(4) { top: 80%; left: 30%; animation-delay: 9s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    25% { transform: translateY(-30px) scale(1.2); opacity: 1; }
    50% { transform: translateY(-60px) scale(0.8); opacity: 0.4; }
    75% { transform: translateY(-30px) scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-hero {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-primary-hero {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-primary-hero:hover {
    background: white;
    color: var(--sports-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary-hero {
    background: rgba(16, 185, 129, 0.2);
    color: white;
    border: 2px solid rgba(16, 185, 129, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: var(--sports-primary);
    border-color: var(--sports-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

/* 品牌故事区域 */
.brand-story-section {
    padding: 120px 0;
    background: var(--section-gradient);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--sports-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.story-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.story-highlight {
    background: var(--sports-gradient);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.story-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.story-visual {
    position: relative;
}

.visual-card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px var(--shadow-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sports-gradient);
    opacity: 0.05;
    transition: left 0.8s ease;
}

.visual-card:hover::before {
    left: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--sports-primary);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* 服务特色区域 */
.services-section {
    padding: 120px 0;
    background: rgba(16, 185, 129, 0.03);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-gradient);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sports-gradient);
    opacity: 0.1;
    transition: left 0.8s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px var(--shadow-color);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--sports-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sports-primary);
    font-weight: bold;
}

/* 用户评价区域 */
.testimonials-section {
    padding: 120px 0;
    background: var(--surface-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--sports-primary);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--sports-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* 信任指标区域 */
.trust-section {
    padding: 80px 0;
    background: var(--sports-dark);
    color: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

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

.trust-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--sports-secondary);
    display: block;
    margin-bottom: 10px;
}

.trust-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.trust-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* CTA区域 */
.cta-section {
    padding: 100px 0;
    background: var(--sports-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-primary {
    background: white;
    color: var(--sports-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: var(--sports-primary);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--sports-primary);
    transform: translateY(-3px);
}

/* 联系方式区域 */
.contact-section {
    padding: 80px 0;
    background: var(--section-gradient);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.contact-card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--sports-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 20px;
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-info {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--sports-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--sports-secondary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

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

    .btn-hero {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .testimonial-card,
    .contact-card {
        padding: 30px 25px;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .testimonials-grid,
    .trust-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 20px 50px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        max-width: 90%;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 0.9rem;
        gap: 6px;
        text-align: center;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}