/* roulang page: index */
:root {
            --primary: #0FA958;
            --primary-hover: #00C076;
            --accent: #FF6B35;
            --accent-hover: #fa5519;
            --bg-dark: #0D1117;
            --bg-dark-card: #161B22;
            --bg-light: #F8FAFC;
            --bg-white: #FFFFFF;
            --text-main: #0F172A;
            --text-muted: #475569;
            --text-sub: #64748B;
            --border-color: #E2E8F0;
            --border-dark: #30363D;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 18px;
            --shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
            --shadow-hover: 0 10px 25px -4px rgba(15, 23, 42, 0.12);
            --container-max: 1280px;
            --transition: all 0.25s ease-in-out;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: Inter, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
            background-color: var(--bg-white);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        ul {
            list-style: none;
        }

        .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.94);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-color);
        }

        .top-bar {
            background-color: var(--bg-dark);
            color: #94A3B8;
            font-size: 13px;
            padding: 8px 0;
            border-bottom: 1px solid var(--border-dark);
        }

        .top-bar-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #CBD5E1;
        }

        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 0 rgba(15, 169, 88, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(15, 169, 88, 0.7); }
            70% { box-shadow: 0 0 0 8px rgba(15, 169, 88, 0); }
            100% { box-shadow: 0 0 0 0 rgba(15, 169, 88, 0); }
        }

        .main-nav-bar {
            padding: 16px 0;
        }

        .nav-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-main);
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), #00C076);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 28px;
        }

        .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-muted);
            position: relative;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--primary);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 22px;
            font-size: 15px;
            font-weight: 600;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid transparent;
            text-align: center;
        }

        .btn-primary {
            background-color: var(--primary);
            color: #ffffff;
        }

        .btn-primary:hover {
            background-color: var(--primary-hover);
            box-shadow: 0 4px 14px rgba(15, 169, 88, 0.35);
        }

        .btn-accent {
            background-color: var(--accent);
            color: #ffffff;
        }

        .btn-accent:hover {
            background-color: var(--accent-hover);
            box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--text-main);
            border-color: var(--border-color);
        }

        .btn-outline:hover {
            background-color: var(--bg-light);
            border-color: var(--text-sub);
        }

        .btn-outline-white {
            background-color: transparent;
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .btn-outline-white:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-color: #ffffff;
        }

        /* 通用 Section 样式 */
        section {
            padding: 85px 0;
            position: relative;
        }

        .section-bg-light {
            background-color: var(--bg-light);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .section-bg-dark {
            background-color: var(--bg-dark);
            color: #F8FAFC;
        }

        .section-header {
            max-width: 800px;
            margin: 0 auto 56px auto;
            text-align: center;
        }

        .section-tag {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            background: rgba(15, 169, 88, 0.08);
            padding: 4px 12px;
            border-radius: 20px;
        }

        .section-header.dark .section-tag {
            background: rgba(15, 169, 88, 0.2);
            color: #34D399;
        }

        .section-title {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.3;
            color: var(--text-main);
            margin-bottom: 16px;
        }

        .section-header.dark .section-title {
            color: #FFFFFF;
        }

        .section-desc {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .section-header.dark .section-desc {
            color: #94A3B8;
        }

        /* 板块 1: 首屏 Hero */
        .hero-section {
            padding: 70px 0 90px 0;
            background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
            overflow: hidden;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 48px;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 42px;
            font-weight: 800;
            line-height: 1.25;
            color: var(--text-main);
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }

        .hero-content h1 span {
            color: var(--primary);
        }

        .hero-intro {
            font-size: 17px;
            color: var(--text-muted);
            line-height: 1.75;
            margin-bottom: 32px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-bottom: 36px;
        }

        .platform-badges {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 14px;
            color: var(--text-sub);
            border-top: 1px solid #E2E8F0;
            padding-top: 24px;
        }

        .platform-tag-group {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .p-tag {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-main);
        }

        .hero-media-card {
            background: #FFFFFF;
            border-radius: var(--radius-lg);
            padding: 12px;
            box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
            border: 1px solid var(--border-color);
        }

        .hero-media-card img {
            border-radius: var(--radius-md);
            width: 100%;
            height: 380px;
            object-fit: cover;
        }

        /* 板块 2: 底层架构拓扑 */
        .arch-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .arch-img-wrap {
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-color);
        }

        .arch-img-wrap img {
            width: 100%;
            height: 440px;
            object-fit: cover;
        }

        .arch-items {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .arch-card {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            padding: 24px;
            border-radius: var(--radius-md);
            transition: var(--transition);
        }

        .arch-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }

        .arch-card h3 {
            font-size: 18px;
            margin-bottom: 8px;
            color: var(--text-main);
        }

        .arch-card p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 12px;
            line-height: 1.6;
        }

        .arch-spec {
            font-size: 12px;
            font-weight: 600;
            color: var(--primary);
            background: rgba(15, 169, 88, 0.08);
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
        }

        /* 板块 3: 核心优势矩阵 */
        .advantage-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .advantage-card {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 30px;
            transition: var(--transition);
        }

        .advantage-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary);
        }

        .advantage-icon {
            width: 48px;
            height: 48px;
            background: rgba(15, 169, 88, 0.1);
            color: var(--primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .advantage-card h3 {
            font-size: 19px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .advantage-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.65;
            margin-bottom: 16px;
        }

        .advantage-metric {
            font-size: 13px;
            font-weight: 600;
            color: var(--accent);
            border-top: 1px dashed var(--border-color);
            padding-top: 12px;
        }

        /* 板块 4: 产品矩阵 */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .product-card {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 36px 28px;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: var(--transition);
        }

        .product-card.featured {
            border-color: var(--primary);
            box-shadow: 0 10px 30px -5px rgba(15, 169, 88, 0.15);
        }

        .product-badge-top {
            position: absolute;
            top: -12px;
            right: 24px;
            background: var(--primary);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 12px;
        }

        .product-header h3 {
            font-size: 22px;
            margin-bottom: 12px;
        }

        .product-header p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 20px;
            min-height: 42px;
        }

        .product-protocols {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }

        .protocol-tag {
            font-size: 12px;
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            padding: 2px 8px;
            border-radius: 4px;
            color: var(--text-sub);
        }

        .feature-list {
            margin-bottom: 30px;
            flex-grow: 1;
        }

        .feature-item {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .feature-item svg {
            color: var(--primary);
            flex-shrink: 0;
        }

        /* 板块 5: 极客跑分与代码 */
        .benchmark-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .code-box {
            background: var(--bg-dark-card);
            border: 1px solid var(--border-dark);
            border-radius: var(--radius-md);
            overflow: hidden;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        }

        .code-box-header {
            background: #21262D;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13px;
            color: #8B949E;
        }

        .code-box pre {
            padding: 20px;
            font-size: 13px;
            color: #E6EDF3;
            overflow-x: auto;
            line-height: 1.6;
        }

        .code-keyword { color: #FF7B72; }
        .code-string { color: #A5D6FF; }
        .code-func { color: #D2A8FF; }

        .latency-bars {
            margin-top: 30px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .bar-group label {
            display: block;
            font-size: 13px;
            color: #94A3B8;
            margin-bottom: 6px;
        }

        .bar-track {
            background: #21262D;
            height: 24px;
            border-radius: 4px;
            position: relative;
            overflow: hidden;
        }

        .bar-fill {
            height: 100%;
            display: flex;
            align-items: center;
            padding-left: 10px;
            font-size: 12px;
            font-weight: 600;
            color: #fff;
        }

        .fill-rtc {
            background: var(--primary);
            width: 15%;
        }

        .fill-traditional {
            background: #E5534B;
            width: 85%;
        }

        /* 板块 6: 应用场景 */
        .scenario-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .scenario-card {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 24px;
            transition: var(--transition);
        }

        .scenario-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow);
        }

        .scenario-card h3 {
            font-size: 18px;
            margin-bottom: 12px;
            color: var(--text-main);
        }

        .scenario-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .scenario-pill {
            font-size: 12px;
            color: var(--primary);
            background: rgba(15, 169, 88, 0.08);
            padding: 4px 10px;
            border-radius: 4px;
            display: inline-block;
        }

        /* 板块 7: 核心数据指标条 */
        .metrics-section {
            background: linear-gradient(90deg, #0A4D2E 0%, #0F172A 100%);
            color: #FFFFFF;
            padding: 60px 0;
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            text-align: center;
        }

        .metric-item h3 {
            font-size: 44px;
            font-weight: 800;
            color: #00C076;
            font-feature-settings: "tnum";
            margin-bottom: 8px;
        }

        .metric-item p {
            font-size: 15px;
            font-weight: 500;
            color: #E2E8F0;
            margin-bottom: 4px;
        }

        .metric-item span {
            font-size: 12px;
            color: #94A3B8;
        }

        /* 板块 8: 客户成功案例 */
        .case-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }

        .case-card {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
        }

        .case-card img {
            width: 100%;
            height: 240px;
            object-fit: cover;
        }

        .case-info {
            padding: 28px;
            flex-grow: 1;
        }

        .case-tag {
            font-size: 12px;
            font-weight: 600;
            color: var(--accent);
            text-transform: uppercase;
            margin-bottom: 8px;
            display: inline-block;
        }

        .case-info h3 {
            font-size: 20px;
            margin-bottom: 12px;
        }

        .case-info p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.65;
            margin-bottom: 20px;
        }

        .case-stats {
            display: flex;
            gap: 24px;
            border-top: 1px solid var(--border-color);
            padding-top: 16px;
        }

        .case-stat-num {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
        }

        .case-stat-desc {
            font-size: 12px;
            color: var(--text-sub);
        }

        /* 板块 9: 评价墙 */
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .testimonial-card {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 28px;
            box-shadow: var(--shadow);
        }

        .rating-stars {
            color: #FBBF24;
            font-size: 16px;
            margin-bottom: 14px;
        }

        .testimonial-quote {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .user-meta {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .user-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--primary);
            border: 1px solid var(--border-color);
        }

        .user-name {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-main);
        }

        .user-title {
            font-size: 12px;
            color: var(--text-sub);
        }

        /* 板块 10: 行业资讯 */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .news-card {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
        }

        .news-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }

        .news-card img {
            width: 100%;
            height: 190px;
            object-fit: cover;
        }

        .news-content {
            padding: 20px;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-sub);
            margin-bottom: 8px;
        }

        .news-content h3 {
            font-size: 17px;
            line-height: 1.4;
            margin-bottom: 10px;
        }

        .news-content p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 板块 11: FAQ */
        .faq-accordion {
            max-width: 820px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            margin-bottom: 12px;
            overflow: hidden;
        }

        .faq-header {
            padding: 18px 24px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #fff;
            user-select: none;
        }

        .faq-body {
            padding: 0 24px 20px 24px;
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            border-top: 1px solid var(--border-color);
            padding-top: 16px;
        }

        .faq-toggle {
            font-size: 18px;
            color: var(--primary);
            font-weight: 700;
        }

        /* 板块 12: 底部转化 CTA */
        .cta-section {
            background: linear-gradient(135deg, #0D1117 0%, #0A4D2E 100%);
            color: #ffffff;
            padding: 80px 0;
            text-align: center;
        }

        .cta-box {
            max-width: 720px;
            margin: 0 auto;
        }

        .cta-box h2 {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .cta-box p {
            font-size: 16px;
            color: #CBD5E1;
            margin-bottom: 36px;
        }

        .cta-form {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 24px;
        }

        .cta-input {
            padding: 14px 18px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            font-size: 15px;
            min-width: 240px;
            outline: none;
        }

        .cta-input::placeholder {
            color: #94A3B8;
        }

        .cta-input:focus {
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.15);
        }

        .cta-trust-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #94A3B8;
        }

        /* 页脚规范 */
        .site-footer {
            background-color: var(--bg-dark);
            color: #94A3B8;
            padding: 70px 0 30px 0;
            border-top: 1px solid var(--border-dark);
            font-size: 14px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-brand h4 {
            color: #FFFFFF;
            font-size: 18px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-brand p {
            line-height: 1.7;
            margin-bottom: 16px;
            font-size: 13px;
        }

        .footer-col h5 {
            color: #FFFFFF;
            font-size: 15px;
            margin-bottom: 18px;
            font-weight: 600;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            border-top: 1px solid var(--border-dark);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: #64748B;
            flex-wrap: wrap;
            gap: 12px;
        }

        /* 响应式断点 */
        @media (max-width: 1024px) {
            .hero-grid, .arch-grid, .benchmark-grid, .case-grid {
                grid-template-columns: 1fr;
            }
            .advantage-grid, .product-grid, .testimonial-grid, .news-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .scenario-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .advantage-grid, .product-grid, .testimonial-grid, .news-grid, .scenario-grid, .metrics-grid {
                grid-template-columns: 1fr;
            }
            .hero-content h1 {
                font-size: 32px;
            }
            .section-title {
                font-size: 26px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
            }
            .cta-form {
                flex-direction: column;
            }
            .cta-input {
                width: 100%;
            }
        }
