/* roulang page: index */
:root {
      --bg-canvas: #f6f8fa;
      --bg-surface: #ffffff;
      --bg-dark: #0f1216;
      --bg-dark-card: #161b22;
      --color-primary: #121820;
      --color-accent: #00d592;
      --color-highlight: #4f46e5;
      --text-title: #0b0e14;
      --text-body: #374151;
      --text-muted: #6b7280;
      --text-dark-body: #9ca3af;
      --border-light: 1px solid rgba(0, 0, 0, 0.08);
      --border-dark: 1px solid rgba(255, 255, 255, 0.09);
      --radius-sm: 4px;
      --radius-md: 6px;
      --radius-lg: 12px;
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
      --shadow-hover: 0 16px 36px -6px rgba(15, 23, 42, 0.14);
      --font-mono: "JetBrains Mono", Consolas, Menlo, monospace;
      --shell-width: 260px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background-color: var(--bg-canvas);
      color: var(--text-body);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
    img { max-width: 100%; height: auto; display: block; }
    .mono { font-family: var(--font-mono); }

    /* App Shell 侧边栏布局 (Desktop) */
    .app-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--shell-width);
      height: 100vh;
      background: var(--bg-dark);
      border-right: var(--border-dark);
      z-index: 1040;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 1.5rem 1rem;
      overflow-y: auto;
    }
    .brand-box {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.5rem 0.75rem;
      margin-bottom: 1.5rem;
    }
    .brand-icon {
      width: 38px;
      height: 38px;
      background: linear-gradient(135deg, #00d592, #008f5d);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0b0e14;
      font-weight: 800;
      font-size: 1.1rem;
    }
    .brand-text h2 {
      font-size: 1.05rem;
      font-weight: 700;
      color: #ffffff;
      margin: 0;
      letter-spacing: -0.01em;
    }
    .brand-text span {
      font-size: 0.7rem;
      color: var(--color-accent);
      display: block;
      font-weight: 600;
    }

    .shell-nav {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
    .shell-nav-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.65rem 0.85rem;
      color: #d1d5db;
      font-size: 0.9rem;
      border-radius: var(--radius-md);
      border-left: 2px solid transparent;
    }
    .shell-nav-link:hover, .shell-nav-link.active {
      background: rgba(255, 255, 255, 0.06);
      color: #ffffff;
      border-left-color: var(--color-accent);
    }
    .shell-nav-link i { font-size: 1.05rem; color: #9ca3af; }
    .shell-nav-link:hover i, .shell-nav-link.active i { color: var(--color-accent); }

    .sidebar-footer {
      padding: 1rem 0.75rem;
      background: var(--bg-dark-card);
      border-radius: var(--radius-md);
      border: var(--border-dark);
    }
    .status-indicator {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.75rem;
      color: #9ca3af;
      margin-bottom: 0.75rem;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      background: var(--color-accent);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--color-accent);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.85); }
    }

    /* 顶部双行状态条 */
    .app-viewport {
      margin-left: var(--shell-width);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    .top-dual-bar {
      position: sticky;
      top: 0;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      z-index: 1020;
      border-bottom: var(--border-light);
    }
    .top-info-row {
      font-size: 0.75rem;
      padding: 0.4rem 2rem;
      background: #0f1216;
      color: #9ca3af;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .top-action-row {
      padding: 0.75rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* 通用组件 */
    .btn-brand {
      background: var(--color-primary);
      color: #ffffff;
      padding: 0.6rem 1.4rem;
      font-size: 0.9rem;
      font-weight: 600;
      border-radius: var(--radius-md);
      border: 1px solid var(--color-primary);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    .btn-brand:hover {
      background: #000;
      color: var(--color-accent);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .btn-accent {
      background: var(--color-accent);
      color: #0b0e14;
      padding: 0.6rem 1.4rem;
      font-size: 0.9rem;
      font-weight: 700;
      border-radius: var(--radius-md);
      border: 1px solid var(--color-accent);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    .btn-accent:hover {
      background: #00bd81;
      color: #000;
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(0, 213, 146, 0.3);
    }
    .btn-outline-dark {
      border: 1px solid rgba(0,0,0,0.18);
      color: var(--text-title);
      padding: 0.6rem 1.4rem;
      font-size: 0.9rem;
      font-weight: 600;
      border-radius: var(--radius-md);
    }
    .btn-outline-dark:hover {
      background: rgba(0,0,0,0.04);
      color: #000;
      transform: translateY(-2px);
    }
    .badge-sub {
      background: rgba(0, 213, 146, 0.12);
      color: #008f5d;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: var(--radius-sm);
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      margin-bottom: 0.85rem;
    }

    /* 板块结构样式 */
    .content-section {
      padding: 5rem 2rem;
      border-bottom: var(--border-light);
    }
    .section-head {
      margin-bottom: 3rem;
      max-width: 760px;
    }
    .section-head h2 {
      font-size: 1.85rem;
      font-weight: 800;
      color: var(--text-title);
      letter-spacing: -0.02em;
      margin-bottom: 0.85rem;
    }
    .section-head p {
      font-size: 0.98rem;
      color: var(--text-body);
      line-height: 1.7;
    }

    /* 卡片体系 */
    .feature-card {
      background: var(--bg-surface);
      border: var(--border-light);
      border-radius: var(--radius-lg);
      padding: 2rem;
      transition: all 0.3s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(0, 213, 146, 0.4);
    }
    .card-icon-wrap {
      width: 48px;
      height: 48px;
      background: var(--bg-canvas);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.35rem;
      color: var(--text-title);
      margin-bottom: 1.25rem;
    }

    /* 首屏 Hero */
    .hero-wrap {
      position: relative;
      background: linear-gradient(rgba(15, 18, 22, 0.88), rgba(15, 18, 22, 0.94)),
                  url('/assets/images/bf29270037e9e506.jpg') center/cover no-repeat;
      color: #ffffff;
      padding: 5.5rem 2.5rem;
      border-bottom: var(--border-dark);
    }
    .hero-h1 {
      font-size: 2.75rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.2;
      margin-bottom: 1.25rem;
      color: #ffffff;
    }
    .hero-desc {
      font-size: 1.05rem;
      color: #d1d5db;
      max-width: 680px;
      line-height: 1.75;
      margin-bottom: 2rem;
    }
    .hero-stage-card {
      background: rgba(22, 27, 34, 0.85);
      border: var(--border-dark);
      backdrop-filter: blur(12px);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }
    .metric-chip {
      background: rgba(255, 255, 255, 0.05);
      border-radius: var(--radius-sm);
      padding: 0.6rem 1rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* 控制台沉浸区域 */
    .console-stage {
      background: var(--bg-dark);
      color: #ffffff;
      padding: 5rem 2rem;
      border-bottom: var(--border-dark);
    }
    .mockup-window {
      background: var(--bg-dark-card);
      border: var(--border-dark);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.7);
    }
    .mockup-bar {
      background: #090c10;
      padding: 0.75rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-bottom: var(--border-dark);
    }
    .win-btn { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
    .win-red { background: #ff5f56; }
    .win-yellow { background: #ffbd2e; }
    .win-green { background: #27c93f; }

    /* 数据与指标板 */
    .metric-num {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--text-title);
      line-height: 1.1;
      letter-spacing: -0.02em;
    }
    .metric-num-dark {
      color: var(--color-accent);
    }

    /* 阶梯定价 */
    .pricing-card {
      background: var(--bg-surface);
      border: var(--border-light);
      border-radius: var(--radius-lg);
      padding: 2.25rem;
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .pricing-highlight {
      border: 2px solid var(--color-accent);
      box-shadow: 0 12px 30px rgba(0, 213, 146, 0.15);
    }

    /* 页脚 */
    .app-footer {
      background: #0b0e14;
      color: #9ca3af;
      padding: 4rem 2rem 2rem;
      border-top: var(--border-dark);
      font-size: 0.88rem;
    }
    .footer-col-title {
      color: #ffffff;
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
    }

    /* 移动端适配 */
    .mobile-header { display: none; }
    @media (max-width: 991.98px) {
      .app-sidebar { display: none; }
      .app-viewport { margin-left: 0; }
      .top-dual-bar { display: none; }
      .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.85rem 1.25rem;
        background: var(--bg-dark);
        color: #fff;
        position: sticky;
        top: 0;
        z-index: 1030;
      }
      .content-section { padding: 3.5rem 1.25rem; }
      .hero-wrap { padding: 4rem 1.25rem; }
      .hero-h1 { font-size: 2rem; }
    }
