/* roulang page: index */
:root {
            --primary: #4F46E5;
            --primary-end: #06B6D4;
            --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
            --accent-green: #10B981;
            --accent-amber: #F59E0B;
            --accent-purple: #8B5CF6;
            --bg-main: #F8FAFC;
            --bg-card: #FFFFFF;
            --bg-dark: #0F172A;
            --bg-dark-card: #1E293B;
            --text-heading: #0F172A;
            --text-body: #334155;
            --text-muted: #64748B;
            --text-white: #FFFFFF;
            --border-light: #E2E8F0;
            --border-dark: #334155;
            --radius-md: 12px;
            --radius-lg: 18px;
            --radius-full: 9999px;
            --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
            --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
            --shadow-hover: 0 20px 35px -10px rgba(79, 70, 229, 0.16);
            --container-max: 1240px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background-color: var(--bg-main);
            color: var(--text-body);
            line-height: 1.6;
        }

        body {
            overflow-x: hidden;
            width: 100%;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: all 0.25s ease;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .mono {
            font-family: "JetBrains Mono", "SF Mono", Consolas, Menlo, monospace;
        }

        .container {
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* 顶部全局双行导航 */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
        }

        .top-bar {
            background: #0B1120;
            color: #94A3B8;
            font-size: 12px;
            padding: 6px 0;
        }

        .top-bar-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top-status {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background-color: var(--accent-green);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--accent-green);
        }

        .main-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 72px;
        }

        .brand-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 800;
            color: var(--text-heading);
            letter-spacing: -0.5px;
        }

        .brand-logo-icon {
            width: 38px;
            height: 38px;
            background: var(--primary-gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 900;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 28px;
            list-style: none;
        }

        .nav-links a {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-heading);
            padding: 6px 0;
            position: relative;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            border-radius: 2px;
        }

        .nav-cta {
            background: var(--primary-gradient);
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            padding: 10px 22px;
            border-radius: var(--radius-full);
            box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
            border: none;
            cursor: pointer;
            display: inline-block;
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
        }

        /* 通用板块与排版 */
        .section {
            padding: 90px 0;
            position: relative;
        }

        .section-alt {
            background-color: #FFFFFF;
        }

        .section-dark {
            background-color: var(--bg-dark);
            color: #E2E8F0;
        }

        .section-head {
            margin-bottom: 56px;
        }

        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 14px;
            background: rgba(79, 70, 229, 0.08);
            color: var(--primary);
            font-size: 13px;
            font-weight: 700;
            border-radius: var(--radius-full);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
        }

        .section-tag-dark {
            background: rgba(6, 182, 212, 0.15);
            color: var(--primary-end);
        }

        .section-title {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-heading);
            line-height: 1.3;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .section-dark .section-title {
            color: #FFFFFF;
        }

        .section-desc {
            font-size: 16px;
            color: var(--text-muted);
            max-width: 760px;
            line-height: 1.7;
        }

        .section-dark .section-desc {
            color: #94A3B8;
        }

        /* 按钮与徽章 */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 15px;
            font-weight: 600;
            padding: 12px 28px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.25s ease;
            border: 1px solid transparent;
        }

        .btn-primary {
            background: var(--primary-gradient);
            color: #FFFFFF;
            box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 22px rgba(79, 70, 229, 0.35);
        }

        .btn-outline {
            background: #FFFFFF;
            color: var(--text-heading);
            border-color: var(--border-light);
        }

        .btn-outline:hover {
            background: #F1F5F9;
            border-color: #CBD5E1;
        }

        .btn-dark-outline {
            background: rgba(255, 255, 255, 0.05);
            color: #FFFFFF;
            border-color: var(--border-dark);
        }

        .btn-dark-outline:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .badge-status {
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
        }
        .badge-live { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
        .badge-progress { background: rgba(245, 158, 11, 0.1); color: var(--accent-amber); }
        .badge-plan { background: rgba(139, 92, 246, 0.1); color: var(--accent-purple); }

        /* HERO 板块：自测选型短问卷视觉与实时预览 */
        .hero-section {
            padding: 60px 0 90px 0;
            background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.12) 0%, rgba(79, 70, 229, 0.05) 40%, rgba(248, 250, 252, 1) 80%);
            position: relative;
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 40px;
            align-items: center;
        }

        .hero-badge-capsule {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: #FFFFFF;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-full);
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            box-shadow: var(--shadow-sm);
            margin-bottom: 20px;
        }

        .hero-title {
            font-size: 42px;
            font-weight: 900;
            color: var(--text-heading);
            line-height: 1.25;
            letter-spacing: -1px;
            margin-bottom: 20px;
        }

        .hero-title span {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-intro {
            font-size: 16px;
            color: var(--text-body);
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .hero-data-bar {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            padding-top: 24px;
            border-top: 1px solid var(--border-light);
        }

        .hero-data-item .val {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-heading);
        }

        .hero-data-item .lbl {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        /* Hero 右侧：交互式选型自测与架构预览卡片 */
        .quiz-panel-card {
            background: #FFFFFF;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(79, 70, 229, 0.15);
            padding: 30px;
            box-shadow: var(--shadow-md);
            position: relative;
        }

        .quiz-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 14px;
            border-bottom: 1px solid var(--border-light);
        }

        .quiz-header h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-heading);
        }

        .quiz-step {
            font-size: 12px;
            font-weight: 700;
            color: var(--primary);
            background: #EEF2FF;
            padding: 3px 10px;
            border-radius: 12px;
        }

        .quiz-group {
            margin-bottom: 18px;
        }

        .quiz-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-heading);
            margin-bottom: 8px;
            display: block;
        }

        .quiz-options {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .quiz-opt {
            padding: 8px 10px;
            border: 1px solid var(--border-light);
            border-radius: 8px;
            font-size: 13px;
            text-align: center;
            cursor: pointer;
            background: #F8FAFC;
            font-weight: 500;
            transition: all 0.2s;
        }

        .quiz-opt.active, .quiz-opt:hover {
            border-color: var(--primary);
            background: #EEF2FF;
            color: var(--primary);
            font-weight: 600;
        }

        .quiz-preview-result {
            background: #0B1120;
            border-radius: var(--radius-md);
            padding: 16px;
            margin-top: 20px;
            color: #E2E8F0;
        }

        .preview-top {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #94A3B8;
            margin-bottom: 8px;
        }

        .preview-badge-row {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .spec-tag {
            font-size: 11px;
            background: rgba(255, 255, 255, 0.1);
            padding: 2px 8px;
            border-radius: 4px;
            color: var(--primary-end);
        }

        /* 通用卡片网格系统 */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
        }

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 30px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            box-shadow: var(--shadow-sm);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: rgba(79, 70, 229, 0.3);
            box-shadow: var(--shadow-hover);
        }

        .card-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .feature-card h3 {
            font-size: 19px;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 12px;
        }

        .feature-card p {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .feature-param {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 14px;
            border-top: 1px dashed var(--border-light);
            font-size: 13px;
            color: var(--text-muted);
        }

        .feature-param strong {
            color: var(--primary);
        }

        /* 对比看板模块 */
        .compare-box {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-light);
        }

        .compare-col {
            padding: 40px;
        }

        .compare-legacy {
            background: #F1F5F9;
            border-right: 1px solid var(--border-light);
        }

        .compare-modern {
            background: #FFFFFF;
            position: relative;
        }

        .compare-modern::before {
            content: "推荐架构";
            position: absolute;
            top: 16px;
            right: 16px;
            background: var(--primary-gradient);
            color: #FFFFFF;
            font-size: 12px;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: var(--radius-full);
        }

        .compare-title {
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .compare-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .compare-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .compare-item .label {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-muted);
        }

        .compare-item .val {
            font-size: 15px;
            font-weight: 600;
        }

        .compare-legacy .val { color: #64748B; }
        .compare-modern .val { color: var(--primary); }

        /* 全球拓扑与边缘节点 */
        .network-topology {
            background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
            border-radius: var(--radius-lg);
            padding: 40px;
            border: 1px solid var(--border-dark);
            margin-top: 30px;
        }

        .topo-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .topo-node {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 20px;
            border-radius: var(--radius-md);
            text-align: center;
        }

        .topo-node .ping {
            font-size: 22px;
            font-weight: 800;
            color: var(--accent-green);
            margin: 6px 0;
        }

        .topo-node .region {
            font-size: 14px;
            color: #E2E8F0;
            font-weight: 600;
        }

        .topo-node .nodes {
            font-size: 12px;
            color: #94A3B8;
        }

        /* 时间轴与更新日志 */
        .timeline-container {
            position: relative;
            padding-left: 30px;
        }

        .timeline-container::before {
            content: '';
            position: absolute;
            left: 7px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: var(--border-light);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 32px;
        }

        .timeline-dot {
            position: absolute;
            left: -30px;
            top: 6px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #FFFFFF;
            border: 3px solid var(--primary);
        }

        .timeline-content {
            background: #FFFFFF;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            padding: 20px;
            box-shadow: var(--shadow-sm);
        }

        .timeline-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .timeline-version {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-heading);
        }

        .timeline-date {
            font-size: 13px;
            color: var(--text-muted);
        }

        /* 实况计数大通栏 */
        .counter-strip {
            background: var(--primary-gradient);
            color: #FFFFFF;
            padding: 60px 0;
        }

        .counter-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            text-align: center;
        }

        .counter-item h4 {
            font-size: 38px;
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }

        .counter-item p {
            font-size: 14px;
            opacity: 0.9;
            font-weight: 500;
        }

        /* 评价卡片 */
        .review-card {
            background: #FFFFFF;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 28px;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .review-quote {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .review-author {
            display: flex;
            align-items: center;
            gap: 12px;
            padding-top: 16px;
            border-top: 1px solid var(--border-light);
        }

        .author-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #EEF2FF;
            color: var(--primary);
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .author-meta h5 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-heading);
        }

        .author-meta p {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* FAQ 手风琴 */
        .faq-accordion {
            max-width: 860px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .faq-item {
            background: #FFFFFF;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all 0.2s ease;
        }

        .faq-question {
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 700;
            color: var(--text-heading);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-icon {
            font-size: 18px;
            transition: transform 0.25s ease;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 24px 20px 24px;
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.75;
            display: none;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        /* 转化表单 CTA */
        .cta-box {
            background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
            border-radius: var(--radius-lg);
            padding: 60px 48px;
            color: #FFFFFF;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: var(--shadow-md);
        }

        .cta-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }

        .cta-info h2 {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 16px;
        }

        .cta-info p {
            font-size: 15px;
            color: #94A3B8;
            line-height: 1.8;
            margin-bottom: 24px;
        }

        .cta-trust-points {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .cta-trust-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #CBD5E1;
        }

        .cta-trust-item span {
            color: var(--accent-green);
            font-weight: 900;
        }

        .cta-form {
            background: rgba(255, 255, 255, 0.05);
            padding: 32px;
            border-radius: var(--radius-md);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-group label {
            display: block;
            font-size: 13px;
            color: #CBD5E1;
            margin-bottom: 6px;
            font-weight: 600;
        }

        .form-control {
            width: 100%;
            padding: 12px 14px;
            background: #0B1120;
            border: 1px solid #334155;
            border-radius: 8px;
            color: #FFFFFF;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s;
        }

        .form-control:focus {
            border-color: var(--primary);
        }

        .form-submit-btn {
            width: 100%;
            padding: 13px;
            font-size: 15px;
            font-weight: 700;
            background: var(--primary-gradient);
            color: #FFFFFF;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            margin-top: 10px;
            transition: opacity 0.2s;
        }

        .form-submit-btn:hover {
            opacity: 0.95;
        }

        /* 统一页脚 */
        .site-footer {
            background: #0B1120;
            color: #94A3B8;
            padding: 70px 0 30px 0;
            border-top: 1px solid #1E293B;
            font-size: 14px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 48px;
        }

        .footer-brand h4 {
            color: #FFFFFF;
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 14px;
        }

        .footer-brand p {
            line-height: 1.8;
            max-width: 320px;
        }

        .footer-col h5 {
            color: #FFFFFF;
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-links a:hover {
            color: #FFFFFF;
        }

        .footer-bottom {
            padding-top: 30px;
            border-top: 1px solid #1E293B;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
        }

        /* 移动端汉堡切换与响应式断点 */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 22px;
            cursor: pointer;
            color: var(--text-heading);
        }

        @media (max-width: 1024px) {
            .grid-3 { grid-template-columns: repeat(2, 1fr); }
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
            .hero-grid { grid-template-columns: 1fr; }
            .cta-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .topo-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .top-bar { display: none; }
            .section { padding: 56px 0; }
            .mobile-toggle { display: block; }
            .nav-links {
                display: none;
                position: absolute;
                top: 72px;
                left: 0;
                width: 100%;
                background: #FFFFFF;
                flex-direction: column;
                padding: 20px;
                border-bottom: 1px solid var(--border-light);
                box-shadow: var(--shadow-md);
            }
            .nav-links.show { display: flex; }
            .grid-3, .grid-2, .grid-4, .compare-box, .counter-grid, .footer-grid, .topo-grid {
                grid-template-columns: 1fr;
            }
            .hero-title { font-size: 30px; }
            .section-title { font-size: 25px; }
            .hero-data-bar { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
            .cta-box { padding: 36px 20px; }
        }
