/* roulang page: index */
:root {
      --bg-main: #F8F9FA;
      --bg-alt: #F1F3F5;
      --bg-dark: #0D0F12;
      --bg-dark-card: #16191E;
      --border-dark: #262930;
      --text-main: #111315;
      --text-muted: #4A5056;
      --text-light: #FFFFFF;
      --text-light-muted: #A0AAB2;
      --primary-color: #0A6847;
      --accent-color: #10B981;
      --alert-color: #E11D48;
      --border-color: #E2E8F0;
      --radius: 6px;
      --shadow-sm: 0 4px 12px rgba(17, 19, 21, 0.04);
      --shadow-lg: 0 16px 36px -8px rgba(17, 19, 21, 0.08);
      --font-mono: "JetBrains Mono", "Fira Code", monospace;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      background-color: var(--bg-main);
      color: var(--text-main);
      font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
    img { max-width: 100%; height: auto; display: block; }
    
    /* 顶部微状态栏 */
    .top-status-bar {
      background: var(--bg-dark);
      color: var(--text-light-muted);
      font-size: 0.8125rem;
      height: 38px;
      line-height: 38px;
      border-bottom: 1px solid var(--border-dark);
    }
    .top-status-bar .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--accent-color);
      font-family: var(--font-mono);
    }
    .top-status-bar .status-badge::before {
      content: "";
      width: 6px;
      height: 6px;
      background: var(--accent-color);
      border-radius: 50%;
      box-shadow: 0 0 6px var(--accent-color);
    }

    /* 吸顶主导航栏 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 990;
      background: rgba(248, 249, 250, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
      transition: background 0.3s;
    }
    .nav-wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .brand-logo {
      font-size: 1.35rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .brand-logo .dot {
      color: var(--accent-color);
    }
    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    /* 抽屉导航按钮 */
    .drawer-toggle {
      background: transparent;
      border: 1px solid var(--border-color);
      padding: 9px 16px;
      border-radius: var(--radius);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--text-main);
      transition: all 0.25s;
    }
    .drawer-toggle:hover {
      background: var(--text-main);
      color: #fff;
      border-color: var(--text-main);
    }
    .drawer-toggle span.bars {
      width: 16px;
      height: 10px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .drawer-toggle span.bars i {
      display: block;
      height: 2px;
      background: currentColor;
      border-radius: 1px;
    }

    /* 全屏抽屉菜单 */
    .off-canvas-drawer {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: var(--bg-dark);
      z-index: 1000;
      transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      overflow-y: auto;
    }
    .off-canvas-drawer.is-open {
      right: 0;
    }
    .drawer-inner {
      width: 100%;
      max-width: 1200px;
      margin: auto;
      padding: 60px 24px;
      display: flex;
      flex-direction: column;
      position: relative;
    }
    .drawer-close-btn {
      position: absolute;
      top: 30px;
      right: 24px;
      background: #1B1E24;
      border: 1px solid var(--border-dark);
      color: #fff;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      font-size: 1.25rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .drawer-nav-list {
      list-style: none;
      margin: 40px 0;
    }
    .drawer-nav-list li {
      margin-bottom: 20px;
    }
    .drawer-nav-list a {
      font-size: 2rem;
      font-weight: 700;
      color: var(--text-light);
      display: inline-flex;
      align-items: center;
      gap: 16px;
    }
    .drawer-nav-list a span.num {
      font-family: var(--font-mono);
      font-size: 1rem;
      color: var(--accent-color);
    }
    .drawer-nav-list a:hover {
      color: var(--accent-color);
      transform: translateX(8px);
    }
    .drawer-meta-info {
      border-top: 1px solid var(--border-dark);
      padding-top: 30px;
      color: var(--text-light-muted);
      font-size: 0.9rem;
    }

    /* 按钮通用 */
    .btn-brand {
      background: var(--primary-color);
      color: #fff;
      padding: 11px 22px;
      border-radius: var(--radius);
      font-weight: 600;
      font-size: 0.9375rem;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.25s;
      border: 1px solid var(--primary-color);
    }
    .btn-brand:hover {
      background: #0d7f57;
      color: #fff;
      box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
    }
    .btn-outline {
      border: 1px solid var(--border-color);
      background: #fff;
      color: var(--text-main);
      padding: 11px 22px;
      border-radius: var(--radius);
      font-weight: 600;
      font-size: 0.9375rem;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-outline:hover {
      border-color: var(--text-main);
      background: #fff;
      color: var(--text-main);
    }

    /* 全局板块与排版 */
    .section-wrap {
      padding: 96px 0;
      border-bottom: 1px solid var(--border-color);
    }
    .section-alt {
      background-color: var(--bg-alt);
    }
    .section-dark {
      background-color: var(--bg-dark);
      color: var(--text-light);
      border-color: var(--border-dark);
    }
    .section-num {
      font-family: var(--font-mono);
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--accent-color);
      letter-spacing: 0.1em;
      margin-bottom: 8px;
      display: block;
    }
    .section-title {
      font-size: 2.25rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.25;
      margin-bottom: 16px;
    }
    .section-dark .section-title {
      color: var(--text-light);
    }
    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 780px;
      line-height: 1.7;
      margin-bottom: 48px;
    }
    .section-dark .section-desc {
      color: var(--text-light-muted);
    }

    /* 首屏 Hero */
    .hero-section {
      padding: 80px 0 100px;
      position: relative;
      background: #090B0D url('/assets/images/b3ad45a2863a16e5.jpg') center/cover no-repeat;
      color: #fff;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(9,11,13,0.95) 0%, rgba(13,15,18,0.88) 100%);
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.3);
      padding: 6px 14px;
      border-radius: 30px;
      color: var(--accent-color);
      font-size: 0.85rem;
      font-family: var(--font-mono);
      margin-bottom: 24px;
    }
    .hero-title {
      font-size: 3.5rem;
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.15;
      margin-bottom: 24px;
      color: #fff;
    }
    .hero-desc {
      font-size: 1.125rem;
      line-height: 1.8;
      color: var(--text-light-muted);
      max-width: 640px;
      margin-bottom: 36px;
    }
    .hero-stats-band {
      margin-top: 60px;
      padding-top: 32px;
      border-top: 1px solid var(--border-dark);
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
    }
    .hero-stat-item {
      font-family: var(--font-mono);
    }
    .hero-stat-item .val {
      font-size: 1.8rem;
      font-weight: 700;
      color: #fff;
    }
    .hero-stat-item .lbl {
      font-size: 0.8125rem;
      color: var(--text-light-muted);
      margin-top: 4px;
    }

    /* 卡片体系 */
    .card-clean {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 32px;
      height: 100%;
      transition: all 0.25s ease;
      position: relative;
    }
    .card-clean:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: var(--accent-color);
    }
    .card-code {
      font-family: var(--font-mono);
      font-size: 0.8125rem;
      color: var(--accent-color);
      margin-bottom: 14px;
      display: block;
      font-weight: 700;
    }
    .card-title {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.35;
    }
    .card-text {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.65;
    }

    /* 深色卡片 */
    .card-dark {
      background: var(--bg-dark-card);
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 36px;
      height: 100%;
      color: #fff;
    }
    .card-dark:hover {
      border-color: rgba(16, 185, 129, 0.4);
    }

    /* 痛点警示卡 */
    .pain-card {
      border-left: 3px solid var(--alert-color);
      background: #FFF5F5;
      padding: 20px;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin-bottom: 20px;
    }
    .pain-card h4 {
      font-size: 1.05rem;
      font-weight: 700;
      color: #9F1239;
      margin-bottom: 6px;
    }
    .pain-card p {
      font-size: 0.9rem;
      color: #881337;
      line-height: 1.55;
      margin-bottom: 0;
    }

    /* 步骤轴 */
    .step-box {
      position: relative;
      padding: 24px;
      border: 1px solid var(--border-color);
      background: #fff;
      border-radius: var(--radius);
    }
    .step-index {
      font-family: var(--font-mono);
      font-size: 2rem;
      font-weight: 800;
      color: var(--primary-color);
      line-height: 1;
      margin-bottom: 12px;
    }

    /* 成果数据矩阵 */
    .metric-row {
      display: flex;
      flex-wrap: wrap;
      border: 1px solid var(--border-color);
      background: #fff;
      border-radius: var(--radius);
    }
    .metric-col {
      flex: 1 1 25%;
      padding: 40px 32px;
      border-right: 1px solid var(--border-color);
    }
    .metric-col:last-child {
      border-right: none;
    }
    .metric-val {
      font-family: var(--font-mono);
      font-size: 2.75rem;
      font-weight: 800;
      line-height: 1.1;
      color: var(--text-main);
      margin-bottom: 8px;
    }
    .metric-label {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    /* 案例/叙事图文卡 */
    .story-card {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 32px;
    }
    .story-body {
      padding: 40px;
    }
    .story-tag {
      font-size: 0.75rem;
      font-family: var(--font-mono);
      background: var(--bg-alt);
      padding: 4px 8px;
      border-radius: 4px;
      color: var(--text-muted);
      margin-bottom: 12px;
      display: inline-block;
    }

    /* FAQ 手风琴样式 */
    .faq-item {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      margin-bottom: 14px;
      overflow: hidden;
    }
    .faq-item summary {
      padding: 20px 24px;
      font-size: 1.1rem;
      font-weight: 700;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-item summary::-webkit-details-marker {
      display: none;
    }
    .faq-item summary::after {
      content: "+";
      font-size: 1.4rem;
      color: var(--primary-color);
      font-family: var(--font-mono);
    }
    .faq-item[open] summary::after {
      content: "−";
    }
    .faq-content {
      padding: 0 24px 24px;
      color: var(--text-muted);
      line-height: 1.7;
      font-size: 0.95rem;
      border-top: 1px dashed var(--border-color);
      padding-top: 16px;
    }

    /* 表单与转化行动 */
    .cta-box {
      background: #090B0D;
      border-radius: var(--radius);
      border: 1px solid var(--border-dark);
      padding: 60px 48px;
      color: #fff;
    }
    .form-input {
      width: 100%;
      background: #16191E;
      border: 1px solid var(--border-dark);
      color: #fff;
      padding: 12px 16px;
      border-radius: var(--radius);
      margin-bottom: 16px;
      font-size: 0.95rem;
    }
    .form-input:focus {
      outline: none;
      border-color: var(--accent-color);
      background: #1B1E24;
    }

    /* 仪表盘横条 */
    .kpi-strip {
      background: #111316;
      border: 1px solid var(--border-dark);
      border-radius: var(--radius);
      padding: 24px 32px;
      margin-top: 48px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
    }
    .kpi-item {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .kpi-indicator {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent-color);
    }

    /* 页脚 */
    .site-footer {
      background: var(--bg-dark);
      color: var(--text-light-muted);
      padding: 80px 0 32px;
      border-top: 1px solid var(--border-dark);
      font-size: 0.9rem;
    }
    .site-footer a:hover {
      color: #fff;
    }
    .footer-title {
      color: #fff;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .footer-list {
      list-style: none;
    }
    .footer-list li {
      margin-bottom: 10px;
    }
    .footer-bottom {
      margin-top: 60px;
      padding-top: 24px;
      border-top: 1px solid #1C2026;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 0.8125rem;
    }

    @media (max-width: 1024px) {
      .metric-col { flex: 1 1 50%; }
      .hero-title { font-size: 2.75rem; }
    }
    @media (max-width: 768px) {
      .section-wrap { padding: 60px 0; }
      .hero-title { font-size: 2.1rem; }
      .section-title { font-size: 1.75rem; }
      .metric-col { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--border-color); }
      .cta-box { padding: 36px 20px; }
      .top-status-bar { display: none; }
    }
