/* CSS Variables */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --accent: #ff6b35;
    --accent-light: #ff8c5a;
    --accent-glow: rgba(255, 107, 53, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #666680;
    --border: #2a2a3a;
    --gradient-1: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-2: linear-gradient(135deg, #1a1a25 0%, #0a0a0f 100%);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(247, 147, 30, 0.08) 0%, transparent 50%),
        var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-content { max-width: 800px; margin-bottom: 50px; }
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}
.hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-lg { padding: 18px 48px; font-size: 1.1rem; }

/* Carousel */
.carousel {
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}
.carousel-inner { position: relative; }
.carousel-inner input { display: none; }
.slides {
    display: flex;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.slides label {
    flex: 0 0 100%;
    transition: transform 0.5s ease;
}
.slides img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
#s1:checked ~ .slides label { transform: translateX(0%); }
#s2:checked ~ .slides label { transform: translateX(-100%); }
#s3:checked ~ .slides label { transform: translateX(-200%); }
#s4:checked ~ .slides label { transform: translateX(-300%); }
#s5:checked ~ .slides label { transform: translateX(-400%); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.carousel-dots label {
    width: 12px;
    height: 12px;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-dots label:hover { background: var(--text-muted); }
#s1:checked ~ .carousel-dots label:nth-child(1),
#s2:checked ~ .carousel-dots label:nth-child(2),
#s3:checked ~ .carousel-dots label:nth-child(3),
#s4:checked ~ .carousel-dots label:nth-child(4),
#s5:checked ~ .carousel-dots label:nth-child(5) {
    background: var(--accent);
    transform: scale(1.2);
}

/* Sections */
section { padding: 100px 0; }
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Features */
.features { background: var(--bg-card); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.feature-card {
    background: var(--bg-dark);
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Launchers */
.launchers {
    background: var(--bg-dark);
    padding: 60px 0;
}
.launcher-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.launcher-tag {
    background: var(--bg-card);
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    transition: all 0.3s;
}
.launcher-tag:hover {
    border-color: var(--accent);
    background: rgba(255, 107, 53, 0.1);
}

/* Pricing */
.pricing {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        var(--bg-dark);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.price-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}
.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
}
.price-card.popular {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}
.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 25px;
}
.price-card ul {
    margin-bottom: 25px;
}
.price-card li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.price-card li:last-child { border-bottom: none; }

/* Articles */
.articles { background: var(--bg-card); }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}
.article-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: block;
}
.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.article-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.article-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.read-more {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

/* QQ Section */
.qq-section {
    background: var(--gradient-1);
    text-align: center;
    padding: 80px 0;
}
.qq-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.qq-content p {
    opacity: 0.9;
    margin-bottom: 20px;
}
.qq-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 15px 40px;
    border-radius: 12px;
}
.qq-section .btn-primary {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.qq-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: var(--bg-card);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}
.footer-content { text-align: center; margin-bottom: 30px; }
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.footer-content p { color: var(--text-muted); margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 30px; }
.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
    }
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-primary);
        height: 3px;
        width: 100%;
        border-radius: 2px;
        position: absolute;
        transition: all 0.3s;
    }
    .nav-toggle-label span { top: 50%; transform: translateY(-50%); }
    .nav-toggle-label span::before { content: ""; top: -8px; }
    .nav-toggle-label span::after { content: ""; top: 8px; }
    
    .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked + .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
    .nav-toggle:checked + .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        border-bottom: 1px solid var(--border);
    }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .nav-links li { padding: 15px 0; border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    
    .hero { padding: 100px 20px 50px; }
    section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; margin-bottom: 40px; }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .articles-grid { grid-template-columns: 1fr; }
}

