/* roulang page: index */
:root {
            --primary: #4F46E5;
            --primary-hover: #4338CA;
            --primary-light: #EEF2FF;
            --accent-cyan: #06B6D4;
            --accent-green: #10B981;
            --dark-surface: #0F172A;
            --dark-card: #1E293B;
            --bg-page: #F8FAFC;
            --bg-white: #FFFFFF;
            --text-title: #0F172A;
            --text-body: #334155;
            --text-muted: #64748B;
            --border-light: #E2E8F0;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 24px;
        }

        *, *::before, *::after {
            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-page);
            color: var(--text-body);
            line-height: 1.6;
        }

        body {
            width: 100%;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: all 0.25s ease;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            width: 100%;
            max-width: 1240px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        /* 顶部通告条与导航 */
        .top-notice-bar {
            background: #0B1120;
            color: #94A3B8;
            font-size: 13px;
            padding: 9px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .top-notice-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .top-highlight {
            color: var(--accent-cyan);
            font-weight: 600;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
            transition: background 0.3s ease;
        }
        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }
        .brand-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 20px;
            font-weight: 800;
            color: var(--text-title);
            letter-spacing: -0.5px;
        }
        .logo-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 19px;
            font-weight: 900;
            box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
        }
        .nav-links {
            display: flex;
            gap: 26px;
            list-style: none;
        }
        .nav-links a {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-body);
            position: relative;
            padding: 6px 0;
        }
        .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;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        /* 基础组件：按钮与徽章 */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 11px 22px;
            font-size: 15px;
            font-weight: 600;
            border-radius: var(--radius-md);
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            border: 1px solid transparent;
            line-height: 1.2;
            min-height: 44px;
        }
        .btn-primary {
            background-color: var(--primary);
            color: #fff;
            box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
        }
        .btn-primary:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
        }
        .btn-outline {
            border-color: var(--border-light);
            background: var(--bg-white);
            color: var(--text-title);
        }
        .btn-outline:hover {
            background: var(--bg-page);
            border-color: #CBD5E1;
            transform: translateY(-2px);
        }
        .badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            font-size: 12px;
            font-weight: 600;
            border-radius: 9999px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .badge-cyan {
            background: rgba(6, 182, 212, 0.12);
            color: #0891B2;
            border: 1px solid rgba(6, 182, 212, 0.25);
        }
        .badge-primary {
            background: var(--primary-light);
            color: var(--primary);
        }

        /* 通用 Section 框架 */
        .section-block {
            padding: 90px 0;
            position: relative;
        }
        .section-alt {
            background-color: #FFFFFF;
            border-top: 1px solid var(--border-light);
            border-bottom: 1px solid var(--border-light);
        }
        .section-header {
            max-width: 760px;
            margin: 0 auto 56px auto;
            text-align: center;
        }
        .section-header h2 {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-title);
            margin-top: 10px;
            letter-spacing: -0.5px;
        }
        .section-header p {
            font-size: 16px;
            color: var(--text-muted);
            margin-top: 14px;
            line-height: 1.7;
        }

        /* 1. Hero 痛点落地版式 */
        .hero-section {
            padding: 60px 0 80px 0;
            background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
        }
        .hero-banner-card {
            background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.88) 100%), url('/assets/images/7e04af867502b5bf.jpg');
            background-size: cover;
            background-position: center;
            border-radius: var(--radius-xl);
            padding: 60px;
            color: #fff;
            box-shadow: var(--shadow-xl);
            position: relative;
            overflow: hidden;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            align-items: center;
        }
        .hero-content h1 {
            font-size: 42px;
            font-weight: 800;
            line-height: 1.25;
            margin-top: 16px;
            letter-spacing: -1px;
        }
        .hero-content .hero-desc {
            font-size: 16px;
            color: #CBD5E1;
            margin: 22px 0 32px 0;
            line-height: 1.8;
        }
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }
        .demo-console {
            background: rgba(15, 23, 42, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.4);
            backdrop-filter: blur(8px);
        }
        .demo-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 13px;
            color: #94A3B8;
        }
        .console-dots {
            display: flex;
            gap: 6px;
        }
        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255,255,255,0.25);
        }
        .dot-red { background: #EF4444; }
        .dot-yellow { background: #F59E0B; }
        .dot-green { background: #10B981; }
        .demo-body {
            margin-top: 16px;
        }
        .demo-code-line {
            font-family: monospace;
            font-size: 13px;
            color: #E2E8F0;
            line-height: 2;
        }
        .code-keyword { color: var(--accent-cyan); }
        .code-val { color: #34D399; }
        .code-comment { color: #64748B; }

        /* 2. 佣金亮点板块 */
        .commission-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .comm-card {
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 32px 28px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            position: relative;
        }
        .comm-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
            border-color: rgba(79, 70, 229, 0.3);
        }
        .comm-rate {
            font-size: 44px;
            font-weight: 900;
            color: var(--primary);
            line-height: 1;
            margin: 14px 0 8px 0;
        }
        .comm-title {
            font-size: 19px;
            font-weight: 700;
            color: var(--text-title);
            margin-bottom: 12px;
        }
        .comm-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* 3. 推广物料板块 */
        .materials-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .mat-item {
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
        }
        .mat-img-wrap {
            height: 160px;
            overflow: hidden;
            background: #E2E8F0;
        }
        .mat-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .mat-item:hover .mat-img-wrap img {
            transform: scale(1.06);
        }
        .mat-body {
            padding: 20px;
            flex-grow: 1;
        }
        .mat-body h3 {
            font-size: 17px;
            font-weight: 700;
            color: var(--text-title);
            margin-bottom: 8px;
        }
        .mat-body p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 4. 结算说明板块 */
        .settle-flow-wrapper {
            background: #F1F5F9;
            border-radius: var(--radius-xl);
            padding: 40px;
            border: 1px solid var(--border-light);
        }
        .settle-steps {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            position: relative;
        }
        .step-card {
            background: var(--bg-white);
            padding: 26px 22px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            position: relative;
        }
        .step-index {
            width: 32px;
            height: 32px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            font-weight: 700;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
        }
        .step-card h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-title);
            margin-bottom: 8px;
        }
        .step-card p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 5. 成功案例板块 */
        .case-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .case-card {
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        .case-cover {
            height: 190px;
            position: relative;
        }
        .case-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .case-tag {
            position: absolute;
            top: 14px;
            left: 14px;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(4px);
            color: #fff;
            padding: 4px 10px;
            font-size: 12px;
            border-radius: 6px;
        }
        .case-info {
            padding: 24px;
        }
        .case-info h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-title);
            margin-bottom: 10px;
        }
        .case-info p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 16px;
        }
        .case-metrics {
            display: flex;
            justify-content: space-between;
            padding-top: 14px;
            border-top: 1px solid var(--border-light);
            font-size: 13px;
        }
        .metric-val {
            font-weight: 700;
            color: var(--accent-green);
        }

        /* 6. 技术底座深色全景 */
        .dark-tech-section {
            background: var(--dark-surface);
            color: #fff;
            padding: 90px 0;
        }
        .dark-tech-section .section-header h2 {
            color: #fff;
        }
        .dark-tech-section .section-header p {
            color: #94A3B8;
        }
        .tech-box-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .tech-box {
            background: var(--dark-card);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-lg);
            padding: 32px;
            transition: all 0.3s ease;
        }
        .tech-box:hover {
            border-color: var(--accent-cyan);
            transform: translateY(-4px);
        }
        .tech-box-title {
            font-size: 19px;
            font-weight: 700;
            color: #fff;
            margin: 14px 0 10px 0;
        }
        .tech-box-desc {
            font-size: 14px;
            color: #94A3B8;
            line-height: 1.7;
        }

        /* 7. 创作者成长故事与深度访谈 */
        .story-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-xl);
            padding: 40px;
            box-shadow: var(--shadow-sm);
        }
        .story-img-container {
            border-radius: var(--radius-lg);
            overflow: hidden;
            height: 380px;
        }
        .story-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .story-text h3 {
            font-size: 24px;
            font-weight: 800;
            color: var(--text-title);
            margin: 12px 0 16px 0;
            line-height: 1.4;
        }
        .story-quote {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 24px;
            position: relative;
            padding-left: 18px;
            border-left: 3px solid var(--primary);
        }

        /* 8. 平台生态关键数据统计条 */
        .metrics-banner {
            background: linear-gradient(135deg, #4338CA 0%, var(--primary) 100%);
            color: #fff;
            padding: 60px 0;
        }
        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            text-align: center;
        }
        .metric-stat-num {
            font-size: 46px;
            font-weight: 900;
            letter-spacing: -1px;
            line-height: 1;
            margin-bottom: 8px;
            color: #A5F3FC;
        }
        .metric-stat-label {
            font-size: 15px;
            color: #E0E7FF;
            font-weight: 500;
        }

        /* 9. 全球开发者口碑与评价区 */
        .testi-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .testi-card {
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 30px;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .testi-text {
            font-size: 14px;
            color: var(--text-body);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        .testi-user {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .user-avatar-slot {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #E2E8F0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--primary);
        }
        .user-meta h4 {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-title);
        }
        .user-meta span {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* 10. 行业动态与创作者资讯 */
        .news-layout {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 32px;
        }
        .news-featured {
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .news-featured-img {
            height: 240px;
            overflow: hidden;
        }
        .news-featured-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .news-featured-content {
            padding: 26px;
            flex-grow: 1;
        }
        .news-featured-content h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-title);
            margin: 10px 0 12px 0;
        }
        .news-featured-content p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
        }
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .news-list-item {
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            padding: 18px 22px;
            transition: all 0.2s ease;
        }
        .news-list-item:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-sm);
        }
        .news-list-item h4 {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-title);
            margin-bottom: 6px;
        }
        .news-list-item p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 11. FAQ 手风琴 */
        .faq-accordion {
            max-width: 820px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .faq-item {
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md);
            overflow: hidden;
        }
        .faq-item summary {
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 700;
            color: var(--text-title);
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary::after {
            content: '+';
            font-size: 20px;
            color: var(--text-muted);
            transition: transform 0.2s ease;
        }
        .faq-item[open] summary::after {
            content: '−';
            color: var(--primary);
        }
        .faq-item p {
            padding: 0 24px 22px 24px;
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.8;
            border-top: 1px solid rgba(226, 232, 240, 0.6);
            padding-top: 16px;
        }

        /* 12. 底部转化表单冲刺区 */
        .cta-section {
            background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
            color: #fff;
            padding: 90px 0;
            position: relative;
        }
        .cta-box {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }
        .cta-box h2 {
            font-size: 34px;
            font-weight: 800;
            line-height: 1.3;
            letter-spacing: -0.5px;
            margin-bottom: 18px;
        }
        .cta-box p {
            font-size: 15px;
            color: #CBD5E1;
            line-height: 1.8;
            margin-bottom: 24px;
        }
        .form-card {
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-lg);
            padding: 32px;
            backdrop-filter: blur(10px);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
        }
        .form-group {
            margin-bottom: 18px;
        }
        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #E2E8F0;
            margin-bottom: 8px;
        }
        .form-control {
            width: 100%;
            height: 46px;
            padding: 0 14px;
            background: #0F172A;
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-md);
            color: #fff;
            font-size: 14px;
            transition: border-color 0.2s;
        }
        .form-control:focus {
            outline: none;
            border-color: var(--accent-cyan);
        }
        .form-privacy-note {
            font-size: 12px;
            color: #94A3B8;
            margin-top: 14px;
            line-height: 1.5;
        }

        /* 页脚系统 */
        .site-footer {
            background: #0B1120;
            color: #94A3B8;
            padding: 70px 0 30px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 14px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
            gap: 40px;
            margin-bottom: 50px;
        }
        .footer-brand h3 {
            color: #fff;
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .footer-brand p {
            line-height: 1.7;
            font-size: 13px;
            color: #64748B;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 18px;
        }
        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .footer-links a {
            color: #94A3B8;
            font-size: 13px;
        }
        .footer-links a:hover {
            color: #fff;
        }
        .footer-bottom {
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            font-size: 12px;
            color: #64748B;
        }

        /* 移动端与响应式适配 */
        @media (max-width: 1024px) {
            .hero-grid, .cta-box, .story-wrapper, .news-layout {
                grid-template-columns: 1fr;
            }
            .commission-grid, .case-grid, .tech-box-grid, .testi-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .materials-grid, .settle-steps, .metrics-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .nav-links {
                display: none;
            }
        }
        @media (max-width: 640px) {
            .commission-grid, .case-grid, .tech-box-grid, .testi-grid, .materials-grid, .settle-steps, .metrics-grid, .footer-grid {
                grid-template-columns: 1fr;
            }
            .hero-banner-card {
                padding: 30px 20px;
            }
            .hero-content h1 {
                font-size: 28px;
            }
            .section-header h2 {
                font-size: 24px;
            }
            .story-wrapper, .settle-flow-wrapper, .form-card {
                padding: 20px;
            }
        }
