/* roulang page: index */
:root {
            --electric: #00F0FF;
            --neon-purple: #A855F7;
            --amber-gold: #F59E0B;
            --dark-base: #0B0E1A;
            --dark-elevated: #11182B;
            --glass-bg: rgba(15, 23, 42, 0.6);
            --text-primary: #F1F5F9;
            --text-secondary: #CBD5E1;
            --text-weak: #94A3B8;
            --border-subtle: rgba(0, 240, 255, 0.2);
            --border-glow: rgba(0, 240, 255, 0.5);
            --radius-lg: 20px;
            --radius-xl: 24px;
            --radius-full: 9999px;
            --shadow-glow-cyan: 0 0 30px rgba(0, 240, 255, 0.3);
            --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
            --shadow-glow-gold: 0 0 20px rgba(245, 158, 11, 0.35);
            --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
            background: var(--dark-base);
            color: var(--text-primary);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background:
                repeating-linear-gradient(0deg, rgba(0, 240, 255, 0.015) 0px, rgba(0, 240, 255, 0.015) 1px, transparent 1px, transparent 32px),
                repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.015) 0px, rgba(0, 240, 255, 0.015) 1px, transparent 1px, transparent 32px);
            opacity: 0.6;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            cursor: pointer;
            font-family: inherit;
            border: none;
            outline: none;
        }

        input {
            font-family: inherit;
            outline: none;
        }

        .container-custom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            position: relative;
            z-index: 1;
        }

        /* 玻璃拟态 */
        .glass {
            background: var(--glass-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .glass-strong {
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(0, 240, 255, 0.25);
            border-radius: var(--radius-lg);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        /* 发光主按钮 */
        .glow-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 32px;
            background: linear-gradient(135deg, #00F0FF, #A855F7);
            color: #0B0E1A;
            font-weight: 700;
            font-size: 16px;
            border-radius: var(--radius-full);
            border: none;
            cursor: pointer;
            box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4);
            transition: all var(--transition-smooth);
            position: relative;
            overflow: hidden;
            letter-spacing: 0.02em;
        }
        .glow-btn:hover {
            box-shadow: 0 0 40px rgba(0, 240, 255, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
            transform: translateY(-2px);
            filter: brightness(1.1);
        }
        .glow-btn:active {
            transform: scale(0.97);
            box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
            transition: all 0.1s ease;
        }
        .glow-btn:focus-visible {
            outline: 3px solid var(--electric);
            outline-offset: 3px;
        }

        /* 幽灵按钮 */
        .ghost-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 28px;
            background: transparent;
            color: var(--electric);
            font-weight: 600;
            font-size: 15px;
            border-radius: var(--radius-full);
            border: 1.5px solid var(--electric);
            cursor: pointer;
            transition: all var(--transition-smooth);
            letter-spacing: 0.02em;
        }
        .ghost-btn:hover {
            background: rgba(0, 240, 255, 0.1);
            box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
            border-color: rgba(0, 240, 255, 0.8);
            transform: translateY(-1px);
        }
        .ghost-btn:active {
            transform: scale(0.97);
        }
        .ghost-btn:focus-visible {
            outline: 3px solid var(--electric);
            outline-offset: 3px;
        }

        /* 数据数字 */
        .metric {
            font-family: 'JetBrains Mono', monospace;
            font-weight: 700;
            font-size: 48px;
            background: linear-gradient(135deg, #00F0FF, #A855F7);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.1;
            letter-spacing: -0.02em;
        }
        .metric-gold {
            background: linear-gradient(135deg, #F59E0B, #FBBF24);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* 网格背景 */
        .bg-grid-section {
            position: relative;
        }
        .bg-grid-section::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background:
                repeating-linear-gradient(0deg, rgba(0, 240, 255, 0.02) 0px, rgba(0, 240, 255, 0.02) 1px, transparent 1px, transparent 40px),
                repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.02) 0px, rgba(0, 240, 255, 0.02) 1px, transparent 1px, transparent 40px);
        }

        /* 卡片悬停 */
        .card-hover {
            transition: all var(--transition-smooth);
        }
        .card-hover:hover {
            border-color: rgba(0, 240, 255, 0.55) !important;
            box-shadow: var(--shadow-glow-cyan) !important;
            transform: translateY(-4px);
        }

        /* FAQ折叠 */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.45s ease, opacity 0.35s ease;
            opacity: 0;
            padding-top: 0;
            padding-bottom: 0;
        }
        .faq-item.open .faq-answer {
            max-height: 400px;
            opacity: 1;
            padding-top: 16px;
            padding-bottom: 8px;
        }
        .faq-icon {
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 20px;
            font-weight: 300;
            color: var(--electric);
            flex-shrink: 0;
        }
        .faq-item.open .faq-icon {
            transform: rotate(45deg);
            color: var(--neon-purple);
        }

        /* 导航active */
        .nav-link {
            position: relative;
            transition: color var(--transition-smooth);
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--electric);
            border-radius: 2px;
            box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
            transition: width var(--transition-smooth);
        }
        .nav-link:hover,
        .nav-link.active {
            color: var(--electric);
        }
        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        /* 移动端抽屉 */
        .mobile-drawer {
            position: fixed;
            top: 0;
            right: -320px;
            width: 280px;
            height: 100vh;
            z-index: 9999;
            background: rgba(17, 24, 43, 0.92);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-left: 1px solid rgba(0, 240, 255, 0.2);
            transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 80px 28px 40px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .mobile-drawer.open {
            right: 0;
        }
        .drawer-overlay {
            position: fixed;
            inset: 0;
            z-index: 9998;
            background: rgba(0, 0, 0, 0.6);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }
        .drawer-overlay.show {
            opacity: 1;
            pointer-events: auto;
        }
        .drawer-link {
            display: block;
            padding: 14px 18px;
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 16px;
            border-radius: 12px;
            transition: all var(--transition-smooth);
        }
        .drawer-link:hover {
            background: rgba(0, 240, 255, 0.08);
            color: var(--electric);
        }

        /* 底部胶囊导航 */
        .bottom-capsule-nav {
            display: none;
        }

        /* 成功动画 */
        @keyframes checkmarkPulse {
            0% {
                transform: scale(0);
                opacity: 0;
            }
            50% {
                transform: scale(1.3);
                opacity: 1;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
        .success-check {
            animation: checkmarkPulse 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        @keyframes floatParticle {
            0%,
            100% {
                transform: translateY(0) translateX(0);
                opacity: 0.5;
            }
            25% {
                transform: translateY(-30px) translateX(15px);
                opacity: 0.9;
            }
            50% {
                transform: translateY(-15px) translateX(-10px);
                opacity: 0.6;
            }
            75% {
                transform: translateY(-40px) translateX(5px);
                opacity: 0.85;
            }
        }
        .floating-particle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            animation: floatParticle 6s ease-in-out infinite;
            z-index: 0;
        }

        /* 脉冲光晕 */
        @keyframes glowPulse {
            0%,
            100% {
                box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
            }
            50% {
                box-shadow: 0 0 45px rgba(0, 240, 255, 0.7), 0 0 80px rgba(168, 85, 247, 0.35);
            }
        }
        .pulse-glow {
            animation: glowPulse 2.5s ease-in-out infinite;
        }

        /* 响应式 */
        @media (max-width: 1024px) {
            .metric {
                font-size: 38px;
            }
            .container-custom {
                padding: 0 20px;
            }
        }
        @media (max-width: 768px) {
            .metric {
                font-size: 32px;
            }
            .container-custom {
                padding: 0 16px;
            }
            .glow-btn {
                padding: 12px 24px;
                font-size: 14px;
            }
            .ghost-btn {
                padding: 10px 22px;
                font-size: 14px;
            }
            html {
                scroll-padding-top: 60px;
            }
        }
        @media (max-width: 640px) {
            .metric {
                font-size: 28px;
            }
            .bottom-capsule-nav {
                display: flex;
                position: fixed;
                bottom: 12px;
                left: 50%;
                transform: translateX(-50%);
                z-index: 9990;
                background: rgba(17, 24, 43, 0.85);
                backdrop-filter: blur(18px);
                -webkit-backdrop-filter: blur(18px);
                border: 1px solid rgba(0, 240, 255, 0.2);
                border-radius: 40px;
                padding: 6px 10px;
                gap: 2px;
                box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
                align-items: center;
            }
            .bottom-capsule-nav .capsule-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 6px 10px;
                border-radius: 28px;
                font-size: 10px;
                color: var(--text-weak);
                transition: all var(--transition-smooth);
                min-width: 48px;
                text-align: center;
                cursor: pointer;
                gap: 2px;
                background: transparent;
                border: none;
                font-family: inherit;
            }
            .bottom-capsule-nav .capsule-item svg {
                width: 18px;
                height: 18px;
            }
            .bottom-capsule-nav .capsule-item.active {
                color: var(--electric);
                background: rgba(0, 240, 255, 0.1);
            }
            .bottom-capsule-nav .capsule-subscribe {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 46px;
                height: 46px;
                border-radius: 50%;
                background: linear-gradient(135deg, #00F0FF, #A855F7);
                color: #0B0E1A;
                box-shadow: 0 0 22px rgba(0, 240, 255, 0.55);
                cursor: pointer;
                border: none;
                margin: 0 4px;
                flex-shrink: 0;
                transition: all var(--transition-smooth);
                font-family: inherit;
            }
            .bottom-capsule-nav .capsule-subscribe:hover {
                box-shadow: 0 0 35px rgba(0, 240, 255, 0.75);
                transform: scale(1.05);
            }
            .bottom-capsule-nav .capsule-subscribe:active {
                transform: scale(0.93);
            }
            .bottom-capsule-nav .capsule-subscribe svg {
                width: 20px;
                height: 20px;
            }
            body {
                padding-bottom: 100px;
            }
        }
