/* roulang page: index */
:root {
      --bg-page: #F8F9FB;
      --bg-card: #FFFFFF;
      --bg-dark: #0B0D12;
      --bg-dark-card: #151821;
      --primary: #3A5BFF;
      --primary-hover: #2A49E8;
      --accent-green: #00D287;
      --text-main: #111318;
      --text-muted: #5A6072;
      --text-sub: #8E95A5;
      --border-light: rgba(0, 0, 0, 0.08);
      --border-dark: rgba(255, 255, 255, 0.1);
      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
      --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --font-code: "JetBrains Mono", "Fira Code", Consolas, monospace;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: var(--font-main);
      background-color: var(--bg-page);
      color: var(--text-main);
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
    button, input, select, textarea { font-family: inherit; font-size: 1rem; border: none; outline: none; }
    img { max-width: 100%; height: auto; display: block; }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部双行导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
    }
    .header-top {
      font-size: 12px;
      color: var(--text-muted);
      border-bottom: 1px solid rgba(0, 0, 0, 0.04);
      padding: 6px 0;
      background: #fafbfc;
    }
    .header-top .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .header-top-left, .header-top-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .header-main .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .brand-logo {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 10px;
      letter-spacing: -0.5px;
    }
    .brand-logo-badge {
      background: var(--primary);
      color: #fff;
      padding: 2px 7px;
      border-radius: var(--radius-sm);
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-muted);
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
    }
    .btn-action {
      background: var(--primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    }
    .btn-action:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(58, 91, 255, 0.28);
    }
    .btn-outline {
      background: transparent;
      color: var(--text-main);
      border: 1px solid var(--border-light);
      padding: 10px 22px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s;
    }
    .btn-outline:hover {
      border-color: var(--text-main);
      background: rgba(0,0,0,0.02);
    }

    /* Section 公共基础 */
    section {
      padding: 80px 0;
      position: relative;
    }
    .section-header {
      margin-bottom: 48px;
    }
    .section-tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--primary);
      text-transform: uppercase;
      margin-bottom: 12px;
      background: rgba(58, 91, 255, 0.08);
      padding: 4px 10px;
      border-radius: 4px;
    }
    .section-title {
      font-size: 2.1rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 16px;
      line-height: 1.3;
      color: var(--text-main);
    }
    .section-subtitle {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 780px;
      line-height: 1.7;
    }

    /* 1. Hero 开发者/API 风格 */
    .hero-section {
      padding: 60px 0 90px;
      background: #FFFFFF;
      border-bottom: 1px solid var(--border-light);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 48px;
      align-items: center;
    }
    .hero-h1 {
      font-size: 2.85rem;
      line-height: 1.22;
      font-weight: 800;
      letter-spacing: -1px;
      color: var(--text-main);
      margin-bottom: 24px;
    }
    .hero-h1 span {
      color: var(--primary);
    }
    .hero-desc {
      font-size: 1.1rem;
      color: var(--text-muted);
      line-height: 1.75;
      margin-bottom: 32px;
    }
    .hero-cta-group {
      display: flex;
      gap: 16px;
      margin-bottom: 40px;
    }
    .hero-metrics-pill {
      display: inline-flex;
      align-items: center;
      gap: 24px;
      padding: 12px 20px;
      background: var(--bg-page);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
    }
    .metric-pill-item {
      display: flex;
      flex-direction: column;
    }
    .metric-pill-val {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text-main);
      font-family: var(--font-code);
    }
    .metric-pill-val span {
      color: var(--accent-green);
    }
    .metric-pill-lbl {
      font-size: 11px;
      color: var(--text-sub);
    }
    .code-console-card {
      background: #0f131a;
      border-radius: var(--radius-md);
      box-shadow: 0 24px 50px -10px rgba(0,0,0,0.3);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.08);
    }
    .console-header {
      background: #181c25;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .console-dots {
      display: flex;
      gap: 6px;
    }
    .console-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .console-dot.red { background: #ff5f56; }
    .console-dot.yellow { background: #ffbd2e; }
    .console-dot.green { background: #27c93f; }
    .console-title {
      font-size: 12px;
      color: #7b849b;
      font-family: var(--font-code);
    }
    .console-body {
      padding: 24px;
      font-family: var(--font-code);
      font-size: 13px;
      line-height: 1.7;
      color: #d1d5db;
    }
    .code-line { margin-bottom: 6px; }
    .token-kw { color: #ff7b72; }
    .token-fn { color: #d2a8ff; }
    .token-str { color: #a5d6ff; }
    .token-num { color: #79c0ff; }
    .token-com { color: #6e7681; }

    /* 2. 深度参数化内核架构 */
    .arch-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .arch-card {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      padding: 36px;
      box-shadow: var(--shadow-sm);
    }
    .arch-spec-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-top: 32px;
    }
    .spec-item {
      border-left: 3px solid var(--primary);
      padding-left: 14px;
    }
    .spec-num {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text-main);
      font-family: var(--font-code);
    }
    .spec-label {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* 3. 卖点三连 & 核心优势网格 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }
    .card-item {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 32px 28px;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .card-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(58, 91, 255, 0.3);
    }
    .card-icon-box {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: rgba(58, 91, 255, 0.08);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.2rem;
      margin-bottom: 20px;
    }
    .card-h3 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-main);
    }
    .card-desc {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.65;
    }
    .card-meta-tag {
      font-size: 12px;
      color: var(--primary);
      margin-top: 20px;
      font-weight: 600;
    }

    /* 4. 场景演示 (带图片卡片) */
    .scenario-card {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s;
    }
    .scenario-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }
    .scenario-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 1px solid var(--border-light);
    }
    .scenario-content {
      padding: 28px;
    }
    .scenario-kpi {
      margin-top: 18px;
      padding-top: 14px;
      border-top: 1px dashed var(--border-light);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .scenario-kpi-val {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--accent-green);
      font-family: var(--font-code);
    }

    /* 5. 深色对比底座板块 */
    .dark-engine-section {
      background: var(--bg-dark);
      color: #fff;
      padding: 90px 0;
    }
    .dark-engine-section .section-title {
      color: #fff;
    }
    .dark-engine-section .section-subtitle {
      color: #9ba1b0;
    }
    .dark-flow-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 40px;
    }
    .dark-flow-item {
      background: var(--bg-dark-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius-md);
      padding: 24px;
      position: relative;
    }
    .dark-flow-step {
      font-size: 11px;
      font-weight: 700;
      color: var(--primary);
      text-transform: uppercase;
      margin-bottom: 8px;
      font-family: var(--font-code);
    }
    .dark-flow-h4 {
      font-size: 1.1rem;
      font-weight: 600;
      color: #f3f4f6;
      margin-bottom: 8px;
    }
    .dark-flow-desc {
      font-size: 0.88rem;
      color: #9ba1b0;
      line-height: 1.6;
    }

    /* 6. 三步上手集成板块 */
    .steps-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 40px;
      position: relative;
    }
    .step-box {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      position: relative;
    }
    .step-number {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--text-main);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      margin-bottom: 20px;
      font-family: var(--font-code);
    }

    /* 7. 多端触达入口矩阵 */
    .multi-client-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    .client-card {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      padding: 24px;
      border-radius: var(--radius-md);
      text-align: center;
    }
    .client-title {
      font-weight: 700;
      font-size: 1.05rem;
      margin-bottom: 6px;
    }
    .client-tag {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 8. 成功数据统计横条 */
    .stats-bar-section {
      background: #FFFFFF;
      border-top: 1px solid var(--border-light);
      border-bottom: 1px solid var(--border-light);
      padding: 50px 0;
    }
    .stats-bar-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .stats-metric {
      font-size: 2.6rem;
      font-weight: 800;
      color: var(--text-main);
      font-family: var(--font-code);
      line-height: 1.1;
      margin-bottom: 8px;
    }
    .stats-label {
      font-size: 0.9rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* 9. 真实客户案例与双栏对比 */
    .case-compare-box {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      padding: 40px;
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 40px;
      align-items: center;
    }
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }
    .compare-table th, .compare-table td {
      padding: 12px 16px;
      text-align: left;
      font-size: 0.92rem;
      border-bottom: 1px solid var(--border-light);
    }
    .compare-table th {
      background: var(--bg-page);
      font-weight: 600;
    }
    .compare-highlight {
      color: var(--accent-green);
      font-weight: 700;
    }

    /* 10. 用户评价墙 */
    .review-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .review-card {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .review-stars {
      color: #ffb400;
      font-size: 14px;
      margin-bottom: 14px;
    }
    .review-quote {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .reviewer-meta {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .reviewer-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--bg-page);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--primary);
      border: 1px solid var(--border-light);
    }
    .reviewer-name {
      font-weight: 700;
      font-size: 0.95rem;
    }
    .reviewer-title {
      font-size: 12px;
      color: var(--text-sub);
    }

    /* 11. 资讯动态证据 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .news-card {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 24px;
    }
    .news-date {
      font-size: 12px;
      color: var(--text-sub);
      margin-bottom: 8px;
      font-family: var(--font-code);
    }
    .news-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.4;
    }
    .news-brief {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }
    .news-link {
      font-size: 13px;
      color: var(--primary);
      font-weight: 600;
    }

    /* 12. 交互式手风琴 FAQ */
    .faq-container {
      max-width: 860px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
      overflow: hidden;
    }
    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      font-size: 1.05rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .faq-toggle {
      font-size: 1.2rem;
      color: var(--text-sub);
      transition: transform 0.3s;
    }
    .faq-answer {
      padding: 0 24px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.35s ease;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.7;
    }
    .faq-item.active .faq-answer {
      padding-bottom: 20px;
      max-height: 300px;
    }
    .faq-item.active .faq-toggle {
      transform: rotate(45deg);
      color: var(--primary);
    }

    /* 13. 保障体系条 */
    .guarantee-bar {
      background: #FFFFFF;
      border-top: 1px solid var(--border-light);
      border-bottom: 1px solid var(--border-light);
      padding: 36px 0;
    }
    .guarantee-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .guarantee-item-title {
      font-weight: 700;
      font-size: 1.05rem;
      margin-bottom: 4px;
    }
    .guarantee-item-desc {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 14. 转化咨询区 */
    .cta-final-section {
      background: #FFFFFF;
      border-top: 1px solid var(--border-light);
      padding: 90px 0;
    }
    .cta-box {
      background: linear-gradient(135deg, #0d1222 0%, #151b2e 100%);
      border-radius: var(--radius-lg);
      padding: 60px 48px;
      color: #fff;
      max-width: 980px;
      margin: 0 auto;
      text-align: center;
      box-shadow: 0 30px 60px -20px rgba(13, 18, 34, 0.4);
    }
    .cta-box h2 {
      font-size: 2.2rem;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .cta-box p {
      color: #a4adc5;
      font-size: 1.05rem;
      max-width: 650px;
      margin: 0 auto 36px;
    }
    .cta-form {
      display: flex;
      gap: 12px;
      max-width: 580px;
      margin: 0 auto;
      flex-wrap: wrap;
    }
    .cta-input {
      flex: 1 1 240px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      padding: 14px 20px;
      border-radius: var(--radius-sm);
      color: #fff;
      font-size: 0.95rem;
    }
    .cta-input::placeholder {
      color: #7b849b;
    }
    .cta-input:focus {
      border-color: var(--primary);
      background: rgba(255, 255, 255, 0.12);
    }
    .cta-form button {
      flex: 0 0 auto;
      padding: 14px 28px;
    }

    /* 浮动吸底条与挂件 */
    .float-dock {
      position: fixed;
      right: 28px;
      bottom: 32px;
      z-index: 99;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .dock-btn {
      background: var(--primary);
      color: #fff;
      padding: 12px 20px;
      border-radius: 30px;
      font-size: 0.9rem;
      font-weight: 600;
      box-shadow: 0 10px 24px rgba(58, 91, 255, 0.35);
      display: flex;
      align-items: center;
      gap: 8px;
      transition: transform 0.2s;
    }
    .dock-btn:hover {
      transform: translateY(-2px);
    }

    /* 页脚 */
    .site-footer {
      background: #090B0E;
      color: #7a8296;
      padding: 80px 0 36px;
      font-size: 0.9rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-col h4 {
      color: #fff;
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 20px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a:hover {
      color: #fff;
    }
    .footer-bottom {
      padding-top: 32px;
      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: 0.82rem;
    }

    /* 响应式断点控制 */
    @media (max-width: 1024px) {
      .hero-grid, .arch-grid, .case-compare-box { grid-template-columns: 1fr; }
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .dark-flow-grid { grid-template-columns: repeat(2, 1fr); }
      .multi-client-grid { grid-template-columns: repeat(2, 1fr); }
      .stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
      .guarantee-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .header-top { display: none; }
      .nav-links { display: none; }
      .hero-h1 { font-size: 2.15rem; }
      .section-title { font-size: 1.7rem; }
      .grid-3, .grid-2, .dark-flow-grid, .steps-container, .review-grid, .news-grid, .multi-client-grid { grid-template-columns: 1fr; }
      .stats-bar-grid { grid-template-columns: 1fr; }
      .guarantee-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .hero-cta-group { flex-direction: column; }
      .float-dock {
        right: 0;
        bottom: 0;
        left: 0;
        flex-direction: row;
        border-radius: 0;
        background: #fff;
        padding: 10px 16px;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
      }
      .dock-btn {
        flex: 1;
        justify-content: center;
        border-radius: var(--radius-sm);
        padding: 12px;
      }
      .site-footer { padding-bottom: 84px; }
    }
