/* roulang page: index */
:root {
            --brand-700: #6d28d9;
            --brand-800: #5b21b6;
            --brand-900: #4c1d95;
            --brand-950: #2e1065;
            --accent-500: #f97316;
            --accent-600: #ea580c;
            --ink-900: #0f172a;
            --ink-700: #334155;
            --ink-500: #64748b;
            --ink-300: #cbd5e1;
            --ink-100: #f1f5f9;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --radius-sm: 0.5rem;
            --radius-md: 0.75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.25rem;
            --radius-2xl: 1.5rem;
            --radius-3xl: 1.75rem;
            --shadow-soft: 0 4px 24px -4px rgba(0,0,0,0.08);
            --shadow-card: 0 6px 32px -6px rgba(0,0,0,0.10);
            --shadow-lift: 0 12px 40px -8px rgba(0,0,0,0.18);
            --shadow-glow: 0 0 40px -5px rgba(124,58,237,0.35);
            --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
            --transition-base: 250ms cubic-bezier(0.4,0,0.2,1);
            --transition-slow: 400ms cubic-bezier(0.4,0,0.2,1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
            line-height: 1.7;
            color: var(--ink-900);
            background-color: #ffffff;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition-base);
        }

        button, input, select, textarea {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
        }

        button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
            outline: 3px solid rgba(124,58,237,0.5);
            outline-offset: 2px;
            border-radius: 4px;
        }

        .container-x {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.25rem;
        }
        @media (min-width: 768px) {
            .container-x { padding: 0 2rem; }
        }
        @media (min-width: 1024px) {
            .container-x { padding: 0 2.5rem; }
        }
        @media (min-width: 1280px) {
            .container-x { padding: 0 3rem; }
        }

        /* 导航吸顶样式 */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 50;
            transition: box-shadow var(--transition-base), background var(--transition-base);
        }
        .site-header.scrolled {
            box-shadow: 0 8px 30px -8px rgba(0,0,0,0.15);
            background: rgba(255,255,255,0.97);
            backdrop-filter: blur(12px);
        }
        .site-header.scrolled .header-brand-row {
            padding-top: 0.35rem;
            padding-bottom: 0.35rem;
        }

        .brand-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 800;
            letter-spacing: -0.01em;
        }
        .brand-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 0.65rem;
            background: linear-gradient(135deg, #6d28d9 0%, #f97316 100%);
            color: #fff;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .nav-category-link {
            position: relative;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--ink-700);
            padding: 0.4rem 0.75rem;
            border-radius: 0.5rem;
            transition: all var(--transition-base);
            white-space: nowrap;
        }
        .nav-category-link:hover {
            color: var(--brand-700);
            background: rgba(109,40,217,0.06);
        }
        .nav-category-link.active {
            color: var(--brand-700);
            background: rgba(109,40,217,0.1);
            font-weight: 600;
        }
        .nav-category-link.active::after {
            content: '';
            position: absolute;
            bottom: 0.15rem;
            left: 50%;
            transform: translateX(-50%);
            width: 1.25rem;
            height: 2px;
            border-radius: 2px;
            background: var(--brand-700);
        }

        /* 导航搜索框 */
        .nav-search {
            display: flex;
            align-items: center;
            background: #f1f5f9;
            border-radius: 0.75rem;
            padding: 0.25rem 0.25rem 0.25rem 0.75rem;
            transition: all var(--transition-base);
            border: 1px solid transparent;
        }
        .nav-search:focus-within {
            border-color: var(--brand-700);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(109,40,217,0.08);
        }
        .nav-search input {
            background: transparent;
            border: none;
            outline: none;
            font-size: 0.875rem;
            color: var(--ink-900);
            width: 100%;
            min-width: 0;
        }
        .nav-search input::placeholder {
            color: #94a3b8;
        }

        /* Hero 倒计时环 */
        .countdown-ring-wrap {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .countdown-ring {
            transform: rotate(-90deg);
            transition: stroke-dashoffset 1s linear;
        }
        .countdown-ring .track {
            fill: none;
            stroke: rgba(255,255,255,0.15);
            stroke-width: 6;
        }
        .countdown-ring .progress-ring {
            fill: none;
            stroke: #f97316;
            stroke-width: 6;
            stroke-linecap: round;
            transition: stroke-dashoffset 0.8s ease;
        }
        .countdown-number {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: 800;
        }

        /* 轮播圆点 */
        .carousel-dot {
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 9999px;
            background: rgba(255,255,255,0.35);
            transition: all var(--transition-base);
            cursor: pointer;
            border: none;
            padding: 0;
        }
        .carousel-dot.active {
            background: #f97316;
            width: 1.75rem;
            box-shadow: 0 0 12px rgba(249,115,22,0.6);
        }
        .carousel-dot:hover {
            background: rgba(255,255,255,0.6);
        }

        /* 图表卡片 */
        .compare-table th, .compare-table td {
            text-align: left;
            padding: 0.9rem 1rem;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.875rem;
        }
        .compare-table th {
            background: #f8fafc;
            font-weight: 600;
            color: var(--ink-700);
        }
        .compare-table td {
            color: var(--ink-700);
        }
        .compare-table tr:last-child th,
        .compare-table tr:last-child td {
            border-bottom: none;
        }

        /* 卡片悬停效果 */
        .hover-card {
            transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
        }
        .hover-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lift);
        }

        /* 深色区块渐变文字 */
        .text-gradient-brand {
            background: linear-gradient(135deg, #c4b5fd 0%, #f97316 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* 步骤连接线 */
        .step-connector {
            position: absolute;
            top: 2.25rem;
            left: calc(50% + 2.5rem);
            right: calc(-50% + 2.5rem);
            border-top: 2px dashed #cbd5e1;
            z-index: 0;
        }
        @media (max-width: 767px) {
            .step-connector {
                display: none;
            }
        }

        /* FAQ 手风琴 */
        .faq-item {
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: all var(--transition-base);
            background: #fff;
        }
        .faq-item:hover {
            border-color: #c4b5fd;
            box-shadow: var(--shadow-soft);
        }
        .faq-question {
            width: 100%;
            text-align: left;
            padding: 1.1rem 1.5rem;
            background: transparent;
            border: none;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--ink-900);
            transition: color var(--transition-base);
        }
        .faq-question:hover {
            color: var(--brand-700);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height var(--transition-slow), padding var(--transition-base);
            padding: 0 1.5rem;
            color: var(--ink-500);
            font-size: 0.875rem;
            line-height: 1.8;
        }
        .faq-item.open .faq-answer {
            max-height: 500px;
            padding: 0 1.5rem 1.25rem;
        }
        .faq-item.open .faq-icon {
            transform: rotate(180deg);
            color: var(--brand-700);
        }
        .faq-icon {
            transition: transform var(--transition-base), color var(--transition-base);
            color: #94a3b8;
            flex-shrink: 0;
        }

        /* 移动端导航 */
        .mobile-menu {
            display: none;
        }
        .mobile-menu.open {
            display: block;
        }
        @media (max-width: 767px) {
            .desktop-nav-categories {
                display: none !important;
            }
            .desktop-nav-search {
                display: none !important;
            }
            .mobile-menu-btn {
                display: inline-flex !important;
            }
        }
        @media (min-width: 768px) {
            .mobile-menu-btn {
                display: none !important;
            }
        }

        /* 滚动条美化 */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        ::-webkit-scrollbar-thumb {
            background: #c4b5fd;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #a78bfa;
        }

        /* 轮播内容 */
        .carousel-slide {
            opacity: 0;
            transition: opacity 500ms ease;
            display: none;
        }
        .carousel-slide.active {
            opacity: 1;
            display: block;
        }

        /* 脉冲动画 */
        @keyframes pulse-ring {
            0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
            70% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
            100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
        }
        .animate-pulse-ring {
            animation: pulse-ring 2s infinite;
        }

        /* 渐变过渡 */
        .section-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
            border: none;
        }
