/* roulang page: index */
:root {
            --neon-purple: #A855F7;
            --neon-cyan: #22D3EE;
            --neon-orange: #F97316;
            --dark-base: #0B0C10;
            --dark-card: #1E1B2E;
            --dark-card2: #2D2A3A;
            --text-primary: #F1F5F9;
            --text-secondary: #94A3B8;
            --border-glow: rgba(168, 85, 247, 0.3);
            --radius-card: 12px;
            --radius-btn: 8px;
            --radius-input: 6px;
            --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.5);
            --shadow-glow-cyan: 0 0 20px rgba(34, 211, 238, 0.45);
            --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Inter', 'Segoe UI', sans-serif;
            background-color: var(--dark-base);
            color: var(--text-primary);
            line-height: 1.7;
            font-size: 15px;
            overflow-x: hidden;
            background-image:
                radial-gradient(ellipse at 20% 10%, rgba(168, 85, 247, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 40% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
            background-attachment: fixed;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            opacity: 0.03;
            background-image:
                repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(168, 85, 247, 0.4) 2px, rgba(168, 85, 247, 0.4) 2.5px),
                repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(34, 211, 238, 0.35) 2px, rgba(34, 211, 238, 0.35) 2.5px);
            background-size: 60px 60px;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition-fast);
        }
        a:hover {
            color: var(--neon-cyan);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button {
            cursor: pointer;
            border: none;
            font-family: inherit;
            transition: all var(--transition-fast);
        }
        input {
            font-family: inherit;
            transition: all var(--transition-fast);
        }

        .link-underline {
            position: relative;
            display: inline-block;
        }
        .link-underline::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 1.5px;
            background: var(--neon-cyan);
            transition: width var(--transition-fast), left var(--transition-fast);
            border-radius: 2px;
        }
        .link-underline:hover::after {
            width: 100%;
            left: 0;
        }
        .link-underline.active::after {
            width: 100%;
            left: 0;
            background: var(--neon-cyan);
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--neon-orange);
            color: #fff;
            font-weight: 700;
            padding: 14px 32px;
            border-radius: var(--radius-btn);
            font-size: 16px;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
            transition: all var(--transition-smooth);
            white-space: nowrap;
        }
        .btn-primary:hover {
            background: #fb8c3a;
            box-shadow: 0 0 28px rgba(249, 115, 22, 0.65), 0 0 50px rgba(249, 115, 22, 0.3);
            transform: translateY(-2px);
            color: #fff;
        }
        .btn-primary:active {
            transform: scale(0.97);
            box-shadow: 0 0 14px rgba(249, 115, 22, 0.5);
        }
        .btn-primary:focus-visible {
            outline: 2px solid var(--neon-cyan);
            outline-offset: 3px;
        }

        .btn-ghost {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: transparent;
            color: var(--neon-cyan);
            font-weight: 600;
            padding: 12px 28px;
            border-radius: var(--radius-btn);
            border: 1px solid rgba(34, 211, 238, 0.5);
            font-size: 15px;
            transition: all var(--transition-smooth);
            white-space: nowrap;
        }
        .btn-ghost:hover {
            background: rgba(34, 211, 238, 0.1);
            border-color: var(--neon-cyan);
            box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
            color: var(--neon-cyan);
            transform: translateY(-2px);
        }
        .btn-ghost:focus-visible {
            outline: 2px solid var(--neon-cyan);
            outline-offset: 3px;
        }

        .card-glow {
            background: rgba(30, 27, 46, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--border-glow);
            border-radius: var(--radius-card);
            transition: all var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }
        .card-glow::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: var(--radius-card);
            pointer-events: none;
            opacity: 0;
            transition: opacity var(--transition-smooth);
            box-shadow: var(--shadow-glow);
            z-index: -1;
        }
        .card-glow:hover {
            transform: translateY(-6px);
            border-color: rgba(168, 85, 247, 0.6);
        }
        .card-glow:hover::before {
            opacity: 1;
        }

        .input-field {
            background: rgba(20, 18, 32, 0.8);
            border: 1px solid rgba(34, 211, 238, 0.45);
            border-radius: var(--radius-input);
            padding: 14px 18px;
            color: var(--text-primary);
            font-size: 15px;
            width: 100%;
            transition: all var(--transition-fast);
            outline: none;
        }
        .input-field::placeholder {
            color: var(--text-secondary);
            opacity: 0.7;
        }
        .input-field:focus {
            border-color: var(--neon-purple);
            box-shadow: 0 0 18px rgba(168, 85, 247, 0.5), 0 0 0 3px rgba(168, 85, 247, 0.1);
        }
        .input-field:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            border-color: rgba(148, 163, 184, 0.3);
        }

        .section-padding {
            padding: 80px 24px;
        }
        @media (max-width: 640px) {
            .section-padding {
                padding: 50px 16px;
            }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }
        .container-narrow {
            max-width: 900px;
            margin: 0 auto;
            width: 100%;
        }

        h1 {
            font-size: clamp(26px, 4.5vw, 40px);
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.3px;
        }
        h2 {
            font-size: clamp(22px, 3.5vw, 30px);
            font-weight: 700;
            line-height: 1.3;
            letter-spacing: -0.2px;
        }
        h3 {
            font-size: clamp(18px, 2.5vw, 22px);
            font-weight: 600;
            line-height: 1.4;
        }
        h4 {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.4;
        }

        .text-gradient-purple {
            background: linear-gradient(135deg, #A855F7 0%, #c084fc 40%, #22D3EE 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }
        .text-gradient-cyan {
            background: linear-gradient(135deg, #22D3EE 0%, #A855F7 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes pulseGlow {
            0%,
            100% {
                box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
            }
            50% {
                box-shadow: 0 0 35px rgba(249, 115, 22, 0.8), 0 0 60px rgba(249, 115, 22, 0.35);
            }
        }
        @keyframes floatUpDown {
            0%,
            100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-8px);
            }
        }
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(40px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.7s ease-out forwards;
        }
        .animate-pulse-glow {
            animation: pulseGlow 2.5s ease-in-out infinite;
        }
        .delay-100 {
            animation-delay: 0.1s;
        }
        .delay-200 {
            animation-delay: 0.2s;
        }
        .delay-300 {
            animation-delay: 0.3s;
        }
        .delay-400 {
            animation-delay: 0.4s;
        }

        .nav-blur {
            background: rgba(11, 12, 16, 0.55);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(168, 85, 247, 0.15);
            transition: all var(--transition-smooth);
        }
        .nav-blur.scrolled {
            background: rgba(11, 12, 16, 0.85);
            border-bottom: 1px solid rgba(168, 85, 247, 0.3);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
        }

        .mobile-menu-overlay {
            position: fixed;
            inset: 0;
            background: rgba(11, 12, 16, 0.94);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 90;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 32px;
            opacity: 0;
            pointer-events: none;
            transition: opacity var(--transition-smooth);
        }
        .mobile-menu-overlay.open {
            opacity: 1;
            pointer-events: all;
        }
        .mobile-menu-link {
            font-size: 22px;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 2px;
            opacity: 0;
            transform: translateY(20px);
            transition: all var(--transition-smooth);
        }
        .mobile-menu-overlay.open .mobile-menu-link {
            opacity: 1;
            transform: translateY(0);
        }
        .mobile-menu-overlay.open .mobile-menu-link:nth-child(1) {
            transition-delay: 0.05s;
        }
        .mobile-menu-overlay.open .mobile-menu-link:nth-child(2) {
            transition-delay: 0.12s;
        }
        .mobile-menu-overlay.open .mobile-menu-link:nth-child(3) {
            transition-delay: 0.19s;
        }
        .mobile-menu-overlay.open .mobile-menu-link:nth-child(4) {
            transition-delay: 0.26s;
        }
        .mobile-menu-overlay.open .mobile-menu-link:nth-child(5) {
            transition-delay: 0.33s;
        }
        .mobile-menu-overlay.open .mobile-menu-link:nth-child(6) {
            transition-delay: 0.4s;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 100;
            background: none;
            border: none;
            padding: 6px;
        }
        .hamburger span {
            display: block;
            width: 26px;
            height: 2.5px;
            background: var(--text-primary);
            border-radius: 4px;
            transition: all var(--transition-fast);
        }
        .hamburger.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }
            .desktop-nav-links {
                display: none !important;
            }
        }
        @media (min-width: 769px) {
            .mobile-menu-overlay {
                display: none !important;
            }
            .hamburger {
                display: none !important;
            }
        }

        .testimonial-track {
            display: flex;
            gap: 24px;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: transform;
        }
        .testimonial-card {
            min-width: 320px;
            flex-shrink: 0;
            background: rgba(30, 27, 46, 0.8);
            border: 1px solid rgba(168, 85, 247, 0.25);
            border-radius: var(--radius-card);
            padding: 28px 24px;
            position: relative;
        }
        .testimonial-card .quote-mark {
            position: absolute;
            top: -16px;
            left: 20px;
            font-size: 60px;
            color: var(--neon-cyan);
            opacity: 0.7;
            line-height: 1;
            font-family: Georgia, serif;
        }
        @media (max-width: 640px) {
            .testimonial-card {
                min-width: 260px;
                padding: 22px 18px;
            }
            .testimonial-track {
                gap: 16px;
            }
        }

        .faq-item {
            border: 1px solid rgba(168, 85, 247, 0.2);
            border-radius: var(--radius-card);
            overflow: hidden;
            transition: all var(--transition-fast);
            background: rgba(30, 27, 46, 0.5);
        }
        .faq-item.open {
            border-color: rgba(168, 85, 247, 0.5);
            background: rgba(30, 27, 46, 0.75);
            box-shadow: 0 0 18px rgba(168, 85, 247, 0.2);
        }
        .faq-question {
            width: 100%;
            text-align: left;
            padding: 18px 20px;
            font-weight: 700;
            font-size: 16px;
            color: var(--text-primary);
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            cursor: pointer;
            border: none;
            letter-spacing: 0.3px;
        }
        .faq-question:focus-visible {
            outline: 2px solid var(--neon-cyan);
            outline-offset: -2px;
            border-radius: var(--radius-card);
        }
        .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(168, 85, 247, 0.2);
            color: var(--neon-cyan);
            font-weight: 700;
            font-size: 18px;
            transition: all var(--transition-fast);
        }
        .faq-item.open .faq-icon {
            background: rgba(34, 211, 238, 0.2);
            transform: rotate(45deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            padding: 0 20px;
            color: var(--text-secondary);
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 200px;
            padding: 0 20px 18px 20px;
        }

        .stat-number {
            font-size: clamp(36px, 6vw, 56px);
            font-weight: 800;
            line-height: 1;
            background: linear-gradient(135deg, #A855F7 0%, #22D3EE 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            letter-spacing: -1px;
        }

        #results-canvas {
            width: 100%;
            height: 180px;
            border-radius: var(--radius-card);
            background: rgba(30, 27, 46, 0.5);
            border: 1px solid rgba(168, 85, 247, 0.2);
        }
        @media (max-width: 640px) {
            #results-canvas {
                height: 130px;
            }
        }

        .divider-glow {
            width: 60px;
            height: 3px;
            border-radius: 4px;
            background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
            margin: 0 auto;
        }

        .section-label {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--neon-cyan);
            margin-bottom: 12px;
            border: 1px solid rgba(34, 211, 238, 0.35);
            padding: 5px 14px;
            border-radius: 20px;
        }

        ::selection {
            background: rgba(168, 85, 247, 0.4);
            color: #fff;
        }
        :focus-visible {
            outline: 2px solid var(--neon-cyan);
            outline-offset: 3px;
            border-radius: 4px;
        }
