/* roulang page: index */
:root {
            --primary: #0F172A;
            --primary-light: #1E293B;
            --accent-green: #10B981;
            --accent-cyan: #06B6D4;
            --bg-light: #F8FAFC;
            --bg-white: #FFFFFF;
            --bg-dark: #020617;
            --text-main: #0F172A;
            --text-body: #334155;
            --text-muted: #64748B;
            --text-light: #F8FAFC;
            --border-color: #E2E8F0;
            --border-dark: #1E293B;
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
            --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: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
            line-height: 1.7;
            color: var(--text-body);
            background-color: var(--bg-light);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button, input, select {
            font-family: inherit;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 顶部双行导航 */
        .header-wrap {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .top-bar {
            background: #020617;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 13px;
            color: #94A3B8;
            padding: 6px 0;
        }

        .top-bar-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: var(--accent-green);
            box-shadow: 0 0 8px var(--accent-green);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(0.95); opacity: 0.8; }
            50% { transform: scale(1.15); opacity: 1; }
            100% { transform: scale(0.95); opacity: 0.8; }
        }

        .main-nav {
            padding: 12px 0;
        }

        .nav-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            color: #FFFFFF;
            letter-spacing: 0.5px;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #020617;
            font-weight: 900;
            font-size: 18px;
        }

        .nav-menu {
            display: flex;
            gap: 28px;
            list-style: none;
            align-items: center;
        }

        .nav-link {
            color: #E2E8F0;
            font-size: 15px;
            font-weight: 500;
            position: relative;
            padding: 6px 0;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--accent-green);
        }

        .nav-btn {
            background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
            color: #020617;
            font-weight: 600;
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 14px;
            border: none;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
            transition: var(--transition);
        }

        .nav-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
        }

        /* 移动端菜单按钮 */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: #FFF;
            font-size: 24px;
            cursor: pointer;
        }

        /* 通用 Section 样式 */
        section {
            padding: 70px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            max-width: 760px;
            margin: 0 auto 48px;
        }

        .section-tag {
            display: inline-block;
            background: rgba(16, 185, 129, 0.1);
            color: var(--accent-green);
            font-size: 13px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 12px;
            border: 1px solid rgba(16, 185, 129, 0.2);
            letter-spacing: 0.5px;
        }

        .section-title {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-main);
            line-height: 1.3;
            margin-bottom: 16px;
        }

        .section-desc {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* 按钮体系 */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 26px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid transparent;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
            color: #020617;
            box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
        }

        .btn-outline {
            background: transparent;
            color: #FFFFFF;
            border-color: rgba(255, 255, 255, 0.25);
        }

        .btn-outline:hover {
            border-color: var(--accent-green);
            color: var(--accent-green);
            background: rgba(16, 185, 129, 0.05);
        }

        /* 1. Hero 首屏 - 开发者与API蓝图风格 */
        #hero {
            background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15), transparent 40%),
                        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.12), transparent 40%),
                        var(--bg-dark);
            color: #FFFFFF;
            padding: 90px 0 80px;
            position: relative;
            border-bottom: 1px solid var(--border-dark);
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 40px;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 40px;
            font-weight: 800;
            line-height: 1.25;
            margin-bottom: 20px;
            background: linear-gradient(to right, #FFFFFF, #CBD5E1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-content p {
            font-size: 16px;
            color: #94A3B8;
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .hero-stats {
            display: flex;
            gap: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 24px;
        }

        .hero-stat-item h4 {
            font-size: 24px;
            font-weight: 700;
            color: var(--accent-green);
            font-family: Inter, Roboto, sans-serif;
        }

        .hero-stat-item span {
            font-size: 13px;
            color: #64748B;
        }

        /* 代码控制台看板 */
        .code-board {
            background: #090D16;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        }

        .code-header {
            background: #111827;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .code-circle {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .code-title {
            font-size: 12px;
            color: #64748B;
            margin-left: 8px;
            font-family: monospace;
        }

        .code-body {
            padding: 18px;
            font-family: "Fira Code", Consolas, monospace;
            font-size: 13px;
            color: #E2E8F0;
            line-height: 1.6;
            overflow-x: auto;
        }

        .code-body .token-key { color: #38BDF8; }
        .code-body .token-str { color: #A7F3D0; }
        .code-body .token-num { color: #FCD34D; }
        .code-body .token-comm { color: #64748B; font-style: italic; }

        /* 2. 优惠阶梯板块 */
        #discounts {
            background: #FFFFFF;
            border-bottom: 1px solid var(--border-color);
        }

        .ladder-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .ladder-card {
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 28px;
            position: relative;
            transition: var(--transition);
        }

        .ladder-card:hover {
            transform: translateY(-4px);
            border-color: var(--accent-green);
            box-shadow: var(--shadow-md);
        }

        .ladder-badge {
            position: absolute;
            top: 18px;
            right: 18px;
            background: #E0E7FF;
            color: #4338CA;
            font-size: 12px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 4px;
        }

        .ladder-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 8px;
        }

        .ladder-rate {
            font-size: 28px;
            font-weight: 800;
            color: #0F172A;
            margin-bottom: 12px;
        }

        .ladder-rate span {
            font-size: 14px;
            color: var(--text-muted);
            font-weight: 400;
        }

        .ladder-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 3. 套餐对比板块 */
        #pricing {
            background: var(--bg-light);
        }

        .pricing-table-wrap {
            background: #FFFFFF;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            overflow-x: auto;
            box-shadow: var(--shadow-sm);
        }

        .pricing-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 14px;
        }

        .pricing-table th, .pricing-table td {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .pricing-table th {
            background: #F1F5F9;
            color: var(--text-main);
            font-weight: 700;
        }

        .pricing-table tr:hover {
            background: #F8FAFC;
        }

        .pricing-tag-hot {
            background: #FEF3C7;
            color: #D97706;
            font-size: 11px;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 6px;
        }

        /* 4. 限时入口板块 */
        #flash-access {
            background: linear-gradient(135deg, #0F172A, #1E293B);
            color: #FFFFFF;
            position: relative;
            overflow: hidden;
        }

        .flash-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            padding: 40px;
            backdrop-filter: blur(8px);
        }

        .flash-text h3 {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #FFFFFF;
        }

        .flash-text p {
            font-size: 15px;
            color: #94A3B8;
            max-width: 600px;
        }

        /* 5. 爆款清单板块 */
        #popular-products {
            background: #FFFFFF;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .product-card {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
            border-color: #CBD5E1;
        }

        .product-img-wrap {
            height: 180px;
            overflow: hidden;
            position: relative;
            background: #E2E8F0;
        }

        .product-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .product-card:hover .product-img-wrap img {
            transform: scale(1.05);
        }

        .product-body {
            padding: 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .product-category {
            font-size: 12px;
            font-weight: 600;
            color: var(--accent-cyan);
            margin-bottom: 6px;
            text-transform: uppercase;
        }

        .product-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 12px;
        }

        .product-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 18px;
            flex: 1;
        }

        .product-params {
            display: flex;
            gap: 12px;
            font-size: 12px;
            color: #475569;
            background: #F8FAFC;
            padding: 8px 12px;
            border-radius: var(--radius-sm);
            margin-bottom: 16px;
        }

        /* 6. 技术中台与算法架构（深色断层） */
        #technology {
            background: var(--bg-dark);
            color: #FFFFFF;
        }

        .tech-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }

        .tech-box {
            background: #0B1120;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
            padding: 30px;
            position: relative;
            transition: var(--transition);
        }

        .tech-box:hover {
            border-color: var(--accent-green);
            transform: translateY(-4px);
        }

        .tech-num {
            font-size: 32px;
            font-weight: 900;
            color: rgba(16, 185, 129, 0.2);
            font-family: Inter, sans-serif;
            margin-bottom: 12px;
        }

        .tech-name {
            font-size: 18px;
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 12px;
        }

        .tech-detail {
            font-size: 14px;
            color: #94A3B8;
            line-height: 1.7;
        }

        /* 7. 评价墙 */
        #testimonials {
            background: var(--bg-light);
        }

        .testi-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .testi-card {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 26px;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .testi-quote {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.7;
            margin-bottom: 20px;
            position: relative;
        }

        .testi-user {
            display: flex;
            align-items: center;
            gap: 12px;
            border-top: 1px solid #F1F5F9;
            padding-top: 14px;
        }

        .testi-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: #CBD5E1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: #334155;
            font-size: 14px;
        }

        .testi-info h5 {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-main);
        }

        .testi-info p {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* 8. 保障图标条 */
        #guarantee {
            background: #FFFFFF;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            padding: 48px 0;
        }

        .guarantee-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .guarantee-item {
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }

        .guarantee-icon {
            width: 44px;
            height: 44px;
            border-radius: 8px;
            background: rgba(16, 185, 129, 0.1);
            color: var(--accent-green);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .guarantee-text h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 4px;
        }

        .guarantee-text p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* 9. 资讯与行业洞察 */
        #insights {
            background: var(--bg-light);
        }

        .insights-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .insight-card {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .insight-img {
            height: 160px;
            background: #E2E8F0;
        }

        .insight-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .insight-body {
            padding: 20px;
        }

        .insight-meta {
            font-size: 12px;
            color: #94A3B8;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
        }

        .insight-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .insight-summary {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 10. FAQ 折叠区 */
        #faq {
            background: #FFFFFF;
        }

        .faq-wrap {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .faq-item {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            background: #FFFFFF;
            overflow: hidden;
        }

        .faq-title {
            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: #F8FAFC;
        }

        .faq-answer {
            padding: 18px 24px;
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.7;
            border-top: 1px solid var(--border-color);
            display: none;
            background: #FFFFFF;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        .faq-toggle-icon {
            font-size: 18px;
            color: var(--text-muted);
            transition: transform 0.2s;
        }

        .faq-item.active .faq-toggle-icon {
            transform: rotate(45deg);
        }

        /* 11. 实战案例墙 */
        #cases {
            background: var(--bg-light);
        }

        .case-card {
            background: #FFFFFF;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 30px;
            margin-bottom: 24px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            align-items: center;
        }

        .case-text h4 {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 12px;
        }

.case-text p {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .case-stats {
            display: flex;
            gap: 20px;
            background: #F8FAFC;
            padding: 12px 18px;
            border-radius: var(--radius-sm);
        }

        .case-stat-num {
            font-size: 18px;
            font-weight: 700;
            color: var(--accent-green);
        }

        .case-stat-label {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* 12. 加购与转化引导区 (CTA) */
        #cta-checkout {
            background: linear-gradient(135deg, #020617, #0F172A);
            color: #FFFFFF;
            padding: 80px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .checkout-box {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            padding: 48px;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            align-items: center;
        }

        .checkout-info h3 {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 14px;
            color: #FFFFFF;
        }

        .checkout-info p {
            font-size: 15px;
            color: #94A3B8;
            line-height: 1.7;
            margin-bottom: 24px;
        }

        .checkout-form {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .form-input {
            width: 100%;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.3);
            color: #FFFFFF;
            font-size: 14px;
            outline: none;
        }

        .form-input:focus {
            border-color: var(--accent-green);
        }

        .form-select {
            width: 100%;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: #0F172A;
            color: #FFFFFF;
            font-size: 14px;
            outline: none;
        }

        /* 页脚 */
        footer {
            background: #020617;
            color: #94A3B8;
            font-size: 13px;
            padding: 60px 0 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-logo {
            font-size: 18px;
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 14px;
            display: inline-block;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-links a:hover {
            color: var(--accent-green);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
        }

        /* 响应式断点 */
        @media (max-width: 992px) {
            .hero-grid { grid-template-columns: 1fr; }
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .tech-grid { grid-template-columns: 1fr; }
            .ladder-grid { grid-template-columns: 1fr; }
            .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
            .checkout-box { grid-template-columns: 1fr; }
            .case-card { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .top-bar { display: none; }
            .nav-menu { display: none; }
            .mobile-toggle { display: block; }
            .product-grid { grid-template-columns: 1fr; }
            .testi-grid { grid-template-columns: 1fr; }
            .insights-grid { grid-template-columns: 1fr; }
            .guarantee-grid { grid-template-columns: 1fr; }
            .flash-box { flex-direction: column; align-items: flex-start; gap: 20px; }
            .footer-grid { grid-template-columns: 1fr; }
            .hero-content h1 { font-size: 30px; }
            .section-title { font-size: 24px; }
        }
