/* 九州体育官方网站 style.css */
/* 完整CSS文件，包含所有样式定义 */

/* 基础重置与CSS变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-primary: #1a1a2e;
    --brand-secondary: #e94560;
    --brand-accent: #0f3460;
    --brand-light: #16213e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --bg-primary: #0a0a1a;
    --bg-card: rgba(26, 26, 46, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --brand-primary: #ffffff;
    --brand-secondary: #e94560;
    --brand-accent: #2b2b4a;
    --brand-light: #f0f0f5;
    --text-primary: #1a1a2e;
    --text-secondary: #555;
    --bg-primary: #f8f9fa;
    --bg-card: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

a {
    color: var(--brand-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

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

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

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-secondary), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    border-color: var(--brand-secondary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.15);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--brand-secondary), #ff6b6b);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-secondary);
    color: var(--brand-secondary);
}

.btn-outline:hover {
    background: var(--brand-secondary);
    color: #fff;
}

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

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

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.9);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

nav a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-secondary);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.dark-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.mobile-menu.open {
    display: block;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 50%, var(--brand-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg svg {
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff, var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

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

.hero-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-secondary);
}

.hero-stat .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Banner Carousel */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius);
    margin: 40px 0;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide .slide-content {
    text-align: center;
    color: #fff;
}

.banner-slide h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-slide p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--brand-secondary);
    transform: scale(1.2);
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Brand Story */
.story-timeline {
    position: relative;
    padding-left: 40px;
}

.story-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--brand-secondary);
}

.story-item .year {
    font-weight: 800;
    color: var(--brand-secondary);
    font-size: 1.2rem;
}

/* Culture */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.culture-card {
    text-align: center;
    padding: 30px 20px;
}

.culture-card svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.culture-card h3 {
    margin-bottom: 10px;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.team-card {
    text-align: center;
    padding: 20px;
}

.team-card svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.team-card h4 {
    margin-bottom: 5px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    padding: 30px;
}

.product-card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

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

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

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

.advantage-item svg {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    padding: 25px;
}

.service-card svg {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
}

/* Solutions */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.solution-card {
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.solution-card .tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--brand-secondary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Industries */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.industry-item {
    text-align: center;
    padding: 20px 10px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.industry-item svg {
    width: 35px;
    height: 35px;
    margin: 0 auto 8px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-secondary);
}

.stat-item .stat-label {
    color: var(--text-secondary);
}

/* Cases */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.case-card {
    padding: 20px;
}

.case-card svg {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

/* Partners */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
}

.partner-item {
    padding: 15px;
    text-align: center;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
}

.partner-item svg {
    width: 80px;
    height: 40px;
    margin: 0 auto;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

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

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

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

.testimonial-card .author svg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial-card .author-info .name {
    font-weight: 600;
}

.testimonial-card .author-info .role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    padding: 20px;
}

.news-card .date {
    color: var(--brand-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.news-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    font-weight: 600;
}

.faq-question .icon {
    transition: transform 0.3s;
    font-size: 1.2rem;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--text-secondary);
    padding-left: 10px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 15px;
}

/* HowTo */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    counter-reset: step;
}

.howto-step {
    text-align: center;
    padding: 25px;
    position: relative;
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--brand-secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.howto-step h3 {
    margin: 15px 0 10px;
}

.howto-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.contact-info svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-secondary);
}

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

/* Footer */
footer {
    background: var(--brand-primary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--brand-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-bottom .links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    transition: var(--transition);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* Search */
.search-container {
    position: relative;
}

.search-input {
    padding: 8px 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 180px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--brand-secondary);
    width: 220px;
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    box-shadow: var(--shadow);
}

.search-results.active {
    display: block;
}

.search-results a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.search-results a:hover {
    background: var(--glass-bg);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .banner {
        height: 300px;
    }
    .banner-slide h2 {
        font-size: 1.5rem;
    }
    nav {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item .stat-number {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .search-input {
        width: 120px;
    }
    .search-input:focus {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .container {
        padding: 0 15px;
    }
}

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

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