/* roulang page: index */
:root {
      --primary: #1D4ED8;
      --primary-hover: #1E40AF;
      --accent: #0284C7;
      --gold: #D97706;
      --dark-slate: #0F172A;
      --deep-panel: #1E293B;
      --text-main: #0F172A;
      --text-sub: #334155;
      --text-muted: #64748B;
      --bg-page: #F8FAFC;
      --bg-card: #FFFFFF;
      --border-color: #E2E8F0;
      --radius: 10px;
      --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
      --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 14px 28px -4px rgba(15, 23, 42, 0.12);
      --sidebar-width: 260px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      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-main);
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--primary); text-decoration: none; transition: all 0.25s ease; }
    a:hover { color: var(--primary-hover); }
    img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

    /* 布局骨架：桌面左侧竖向固定，右侧内容流动 */
    .app-layout { display: flex; min-height: 100vh; position: relative; }
    .side-nav {
      width: var(--sidebar-width);
      background: #FFFFFF;
      border-right: 1px solid var(--border-color);
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      z-index: 100;
      display: flex;
      flex-direction: column;
      padding: 1.75rem 1.25rem;
      box-shadow: 2px 0 10px rgba(15, 23, 42, 0.03);
    }
    .brand-box { padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); margin-bottom: 1.5rem; }
    .brand-title { font-size: 1.15rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
    .brand-tag { font-size: 0.72rem; background: #EFF6FF; color: var(--primary); padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 600; margin-top: 0.35rem; display: inline-block; }
    .nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; overflow-y: auto; }
    .nav-link {
      display: block;
      padding: 0.65rem 0.85rem;
      font-size: 0.92rem;
      color: var(--text-sub);
      border-radius: 6px;
      border-left: 3px solid transparent;
      font-weight: 500;
    }
    .nav-link:hover, .nav-link.active {
      background-color: #EFF6FF;
      color: var(--primary);
      border-left-color: var(--primary);
    }
    .side-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border-color); }
    .btn-side {
      display: block;
      width: 100%;
      text-align: center;
      background: var(--primary);
      color: #FFF !important;
      padding: 0.65rem;
      border-radius: 6px;
      font-size: 0.88rem;
      font-weight: 600;
      box-shadow: var(--shadow-sm);
    }
    .btn-side:hover { background: var(--primary-hover); }

    /* 移动端顶栏 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 60px;
      background: #FFFFFF;
      border-bottom: 1px solid var(--border-color);
      z-index: 1000;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.25rem;
    }
    .mobile-logo { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
    .mobile-toggle {
      background: none;
      border: 1px solid var(--border-color);
      border-radius: 6px;
      padding: 0.4rem 0.65rem;
      font-size: 1.1rem;
      color: var(--text-main);
      cursor: pointer;
    }
    .mobile-drawer {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      background: #FFFFFF;
      border-bottom: 1px solid var(--border-color);
      box-shadow: var(--shadow-md);
      z-index: 999;
      padding: 1rem;
    }
    .mobile-drawer.open { display: block; }
    .mobile-nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
    .mobile-nav-list a { display: block; padding: 0.5rem 0.75rem; color: var(--text-sub); font-weight: 500; }

    /* 主体内容区域 */
    .main-wrapper {
      margin-left: var(--sidebar-width);
      flex: 1;
      width: calc(100% - var(--sidebar-width));
      background-color: var(--bg-page);
    }
    .section-wrap { padding: 5rem 0; position: relative; }
    .section-white { background-color: #FFFFFF; }
    .section-slate { background-color: var(--dark-slate); color: #F8FAFC; }
    .section-header { margin-bottom: 3rem; text-align: center; }
    .section-title { font-size: 2rem; font-weight: 800; color: inherit; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
    .section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 820px; margin: 0 auto; line-height: 1.7; }
    .section-slate .section-desc { color: #94A3B8; }

    .grid-container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

    /* 组件样式 */
    .card-base {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 1.75rem;
      box-shadow: var(--shadow-sm);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .card-base:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .card-dark {
      background: var(--deep-panel);
      border-color: #334155;
      color: #F8FAFC;
    }
    .btn-main {
      display: inline-block;
      background: var(--primary);
      color: #FFFFFF !important;
      font-weight: 600;
      padding: 0.75rem 1.6rem;
      border-radius: 8px;
      box-shadow: var(--shadow-sm);
      text-align: center;
    }
    .btn-main:hover { background: var(--primary-hover); }
    .btn-secondary {
      display: inline-block;
      background: #FFFFFF;
      color: var(--text-sub) !important;
      border: 1px solid var(--border-color);
      font-weight: 600;
      padding: 0.75rem 1.6rem;
      border-radius: 8px;
      text-align: center;
    }
    .btn-secondary:hover { background: #F1F5F9; border-color: #CBD5E1; }
    .badge-label {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      margin-bottom: 0.75rem;
    }
    .badge-blue { background: #EFF6FF; color: var(--primary); }
    .badge-amber { background: #FEF3C7; color: var(--gold); }

    /* 首屏 Hero */
    #hero {
      padding: 4.5rem 0 5.5rem;
      background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
      border-bottom: 1px solid var(--border-color);
    }
    .hero-h1 { font-size: 2.75rem; font-weight: 850; color: var(--text-main); line-height: 1.25; margin-bottom: 1.25rem; }
    .hero-lead { font-size: 1.12rem; color: var(--text-sub); margin-bottom: 2rem; line-height: 1.8; }
    .hero-btn-group { display: flex; gap: 1rem; align-items: center; margin-bottom: 2rem; }
    .hero-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
    .hero-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #ECFDF5;
      color: #059669;
      font-size: 0.85rem;
      font-weight: 600;
      padding: 0.35rem 0.8rem;
      border-radius: 99px;
      margin-bottom: 1.25rem;
      border: 1px solid #A7F3D0;
    }
    .pulse-dot { width: 8px; height: 8px; background: #10B981; border-radius: 50%; }

    /* KPI 看板 */
    .metric-num { font-size: 2.25rem; font-weight: 800; color: var(--primary); line-height: 1.1; margin-bottom: 0.35rem; }
    .metric-sub { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

    /* 流程步骤 */
    .step-circle {
      width: 44px;
      height: 44px;
      background: #EFF6FF;
      color: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
      margin-bottom: 1.25rem;
      border: 2px solid #BFDBFE;
    }

    /* 手风琴 FAQ */
    .faq-item {
      background: #FFFFFF;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      margin-bottom: 1rem;
      overflow: hidden;
    }
    .faq-title {
      padding: 1.25rem 1.5rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #FFFFFF;
      color: var(--text-main);
    }
    .faq-title:hover { background: #F8FAFC; color: var(--primary); }
    .faq-content { padding: 0 1.5rem 1.25rem; color: var(--text-sub); font-size: 0.95rem; border-top: 1px solid #F1F5F9; padding-top: 1rem; }

    /* 页脚 */
    footer.app-footer {
      background: #0B1120;
      color: #94A3B8;
      padding: 4rem 0 2.5rem;
      border-top: 1px solid #1E293B;
      font-size: 0.9rem;
    }
    .footer-brand { color: #FFFFFF; font-size: 1.2rem; font-weight: 800; margin-bottom: 0.75rem; }
    .footer-link { color: #94A3B8; display: block; margin-bottom: 0.5rem; }
    .footer-link:hover { color: #FFFFFF; }
    .footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #1E293B; text-align: center; font-size: 0.85rem; }

    /* 移动端响应式适配 */
    @media screen and (max-width: 1023px) {
      .side-nav { display: none; }
      .mobile-header { display: flex; }
      .main-wrapper { margin-left: 0; width: 100%; padding-top: 60px; }
      .section-wrap { padding: 3.5rem 0; }
      .hero-h1 { font-size: 2rem; }
      .hero-btn-group { flex-direction: column; align-items: stretch; }
    }
