/* roulang page: index */
:root {
      --bg-primary: #0B0D13;
      --bg-secondary: #141824;
      --bg-elevated: #1E2337;
      --brand-primary: #00F0FF;
      --brand-secondary: #7B2CBF;
      --brand-accent: #FF007A;
      --text-main: #F1F5F9;
      --text-muted: #94A3B8;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-active: rgba(0, 240, 255, 0.4);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 16px;
      --shadow-glow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 240, 255, 0.2);
      --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-primary);
      color: var(--text-main);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.75;
      font-size: 16px;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 顶部双行导航系统 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(11, 13, 19, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
    }

    .top-bar {
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 12px;
      color: var(--text-muted);
      padding: 6px 0;
    }

    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-status {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .status-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background-color: #10B981;
      border-radius: 50%;
      margin-right: 6px;
      box-shadow: 0 0 8px #10B981;
    }

    .main-nav-bar {
      padding: 16px 0;
    }

    .main-nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: #fff;
    }

    .logo-badge {
      background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
      padding: 4px 8px;
      border-radius: var(--radius-sm);
      color: #000;
      font-size: 11px;
      font-weight: 800;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 500;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--brand-primary);
    }

    .nav-action {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 22px;
      border-radius: var(--radius-md);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      text-align: center;
    }

    .btn-primary {
      background-color: var(--brand-primary);
      color: #0B0D13;
      box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
    }

    .btn-primary:hover {
      background-color: #33f3ff;
      transform: translateY(-2px);
      box-shadow: 0 0 24px rgba(0, 240, 255, 0.5);
    }

    .btn-outline {
      background-color: transparent;
      border-color: var(--border-subtle);
      color: var(--text-main);
    }

    .btn-outline:hover {
      border-color: var(--brand-primary);
      color: var(--brand-primary);
      background: rgba(0, 240, 255, 0.05);
    }

    /* 板块通用间距与背景 */
    section {
      padding: 80px 0;
      position: relative;
    }

    .section-alt {
      background-color: var(--bg-secondary);
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
    }

    .section-header {
      margin-bottom: 48px;
      text-align: center;
    }

    .section-title {
      font-size: 32px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 16px;
      letter-spacing: 0.02em;
    }

    .section-desc {
      font-size: 15px;
      color: var(--text-muted);
      max-width: 760px;
      margin: 0 auto;
      line-height: 1.8;
    }

    /* 1. Hero 剧场舞台式 */
    .hero-section {
      padding: 90px 0 70px;
      background: radial-gradient(circle at 50% 20%, rgba(123, 44, 191, 0.15) 0%, rgba(11, 13, 19, 0) 70%),
                  url('/assets/images/backpic/back-1.png') center/cover no-repeat;
      position: relative;
    }

    .hero-stage-wrap {
      display: grid;
      grid-template-columns: 240px 1fr 240px;
      gap: 32px;
      align-items: center;
      margin-top: 40px;
    }

    .hero-side-card {
      background: rgba(20, 24, 36, 0.8);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 24px 20px;
      backdrop-filter: blur(8px);
    }

    .hero-side-card h4 {
      font-size: 15px;
      color: var(--brand-primary);
      margin-bottom: 8px;
    }

    .hero-side-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .hero-stage {
      background: var(--bg-elevated);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-active);
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15);
      position: relative;
    }

    .stage-header-bar {
      background: #141824;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border-subtle);
    }

    .stage-dots {
      display: flex;
      gap: 6px;
    }

    .stage-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
    }

    .stage-title {
      font-size: 12px;
      color: var(--text-muted);
      font-family: monospace;
    }

    /* 2. 问题陈述 */
    .problem-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .problem-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 32px 24px;
      border-left: 3px solid #EF4444;
      transition: var(--transition);
    }

    .problem-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-glow);
    }

    .problem-card h3 {
      font-size: 18px;
      margin-bottom: 12px;
      color: #fff;
    }

    .problem-card p {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 3. 操作演示 */
    .demo-showcase {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .demo-terminal {
      background: #06080C;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      font-family: Consolas, Monaco, monospace;
      font-size: 13px;
      color: #A5B4FC;
      line-height: 1.6;
    }

    .terminal-line {
      margin-bottom: 8px;
    }

    .terminal-accent {
      color: var(--brand-primary);
    }

    /* 4. 结果预览 */
    .preview-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .preview-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition);
    }

    .preview-card:hover {
      border-color: var(--border-active);
      transform: translateY(-4px);
    }

    .preview-body {
      padding: 20px;
    }

    .preview-tag {
      font-size: 11px;
      color: var(--brand-primary);
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 8px;
    }

    /* 5. 常见卡住点 */
    .bottleneck-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .bottleneck-item {
      display: flex;
      gap: 16px;
      background: var(--bg-elevated);
      padding: 24px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-subtle);
    }

    .bottleneck-num {
      font-size: 20px;
      font-weight: 800;
      color: var(--brand-accent);
      min-width: 32px;
    }

    /* 6. 成功路径 */
    .timeline-track {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }

    .timeline-step {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      padding: 24px;
      border-radius: var(--radius-md);
      position: relative;
    }

    .timeline-step::before {
      content: '';
      position: absolute;
      top: -6px;
      left: 24px;
      width: 12px;
      height: 12px;
      background: var(--brand-primary);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--brand-primary);
    }

    .timeline-step h4 {
      font-size: 16px;
      color: #fff;
      margin: 10px 0 8px;
    }

    .timeline-step p {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 7. 方案选型 */
    .selection-table {
      width: 100%;
      border-collapse: collapse;
      background: var(--bg-secondary);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
    }

    .selection-table th,
    .selection-table td {
      padding: 16px 20px;
      text-align: left;
      font-size: 14px;
      border-bottom: 1px solid var(--border-subtle);
    }

    .selection-table th {
      background: var(--bg-elevated);
      color: #fff;
      font-weight: 600;
    }

    .col-highlight {
      background: rgba(0, 240, 255, 0.04);
      color: var(--brand-primary);
      font-weight: 600;
    }

    /* 8. 资讯动态 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .news-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .news-body {
      padding: 20px;
      flex-grow: 1;
    }

    .news-date {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    /* 9. 开发者口碑气泡 */
    .bubble-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .bubble-item {
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 24px;
      position: relative;
    }

    .bubble-author {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 16px;
    }

    .bubble-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--border-subtle);
      border: 1px solid var(--brand-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--brand-primary);
    }

    /* 10. 核心数据指标条 */
    .metrics-bar-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }

    .metric-item {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      padding: 32px 16px;
      border-radius: var(--radius-md);
    }

    .metric-val {
      font-size: 36px;
      font-weight: 800;
      color: var(--brand-primary);
      margin-bottom: 6px;
      font-family: monospace;
    }

    .metric-lbl {
      font-size: 14px;
      color: var(--text-muted);
    }

    /* 11. FAQ 模块 */
    .faq-container {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .faq-item {
      background: var(--bg-secondary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 20px 24px;
    }

    .faq-question {
      font-size: 16px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 8px;
    }

    .faq-answer {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* 12. 开始使用收口区 */
    .action-cta-wrap {
      background: linear-gradient(135deg, rgba(20, 24, 36, 0.95), rgba(30, 35, 55, 0.95)),
                  url('/assets/images/backpic/back-2.webp') center/cover;
      border: 1px solid var(--border-active);
      border-radius: var(--radius-lg);
      padding: 56px 40px;
      text-align: center;
      box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1);
    }

    .cta-form {
      max-width: 500px;
      margin: 28px auto 0;
      display: flex;
      gap: 12px;
    }

    .cta-input {
      flex: 1;
      background: rgba(11, 13, 19, 0.8);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 12px 16px;
      color: #fff;
      font-size: 14px;
      outline: none;
    }

    .cta-input:focus {
      border-color: var(--brand-primary);
    }

    /* 统一页脚系统 */
    .site-footer {
      background: #06080C;
      border-top: 1px solid var(--border-subtle);
      padding: 60px 0 24px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 48px;
    }

    .footer-col h4 {
      color: #fff;
      font-size: 15px;
      margin-bottom: 16px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
    }

    /* 移动端汉堡切换与基础断点 */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
    }

    @media (max-width: 1024px) {
      .hero-stage-wrap {
        grid-template-columns: 1fr;
      }
      .problem-grid,
      .preview-grid,
      .timeline-track,
      .news-grid,
      .bubble-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .metrics-bar-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .nav-links,
      .nav-action {
        display: none;
      }
      .mobile-menu-toggle {
        display: block;
      }
      .problem-grid,
      .demo-showcase,
      .preview-grid,
      .bottleneck-list,
      .timeline-track,
      .news-grid,
      .bubble-grid,
      .metrics-bar-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .cta-form {
        flex-direction: column;
      }
      .section-title {
        font-size: 26px;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }
