/* roulang page: index */
:root {
      --primary-deep: #0A1A2F;
      --accent-gold: #C5A45E;
      --bg-dark: #060E18;
      --card-bg: rgba(13, 27, 46, 0.55);
      --text-primary: #E8EDF2;
      --text-secondary: #8899AA;
      --text-highlight: #D4AF37;
      --glass-border: rgba(197, 164, 94, 0.15);
      --glass-border-hover: rgba(197, 164, 94, 0.4);
      --shadow-glow: 0 8px 32px rgba(0,0,0,0.4);
      --shadow-gold: 0 0 20px rgba(197, 164, 94, 0.5);
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-mono: "SF Mono", "Menlo", monospace;
      --sidebar-width: 250px;
      --border-radius-card: 16px;
      --border-radius-btn: 10px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-dark);
      color: var(--text-primary);
      line-height: 1.7;
      display: flex;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* 左侧固定导航 */
    .app-sidebar {
      position: fixed;
      left: 0;
      top: 0;
      width: var(--sidebar-width);
      height: 100vh;
      background: rgba(6, 14, 24, 0.85);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-right: 1px solid rgba(197, 164, 94, 0.2);
      display: flex;
      flex-direction: column;
      padding: 32px 20px;
      z-index: 1000;
    }

    .logo-area {
      margin-bottom: 48px;
      height: 80px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .logo-text {
      font-size: 24px;
      font-weight: 700;
      color: var(--accent-gold);
      letter-spacing: 1px;
    }
    .logo-icon {
      width: 28px;
      height: 28px;
      background: var(--accent-gold);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>') center/contain no-repeat;
      background-color: var(--accent-gold);
    }

    .nav-menu {
      display: flex;
      flex-direction: column;
      gap: 6px;
      list-style: none;
      flex: 1;
    }
    .nav-item a {
      display: flex;
      align-items: center;
      height: 48px;
      padding: 0 16px;
      border-radius: 10px;
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.25s ease;
      position: relative;
      border-left: 3px solid transparent;
    }
    .nav-item a:hover {
      background: rgba(197, 164, 94, 0.08);
      color: var(--text-highlight);
      border-left-color: var(--accent-gold);
    }
    .nav-item a.active {
      background: rgba(197, 164, 94, 0.12);
      color: var(--accent-gold);
      border-left-color: var(--accent-gold);
    }

    /* 主内容区域 */
    .main-content {
      margin-left: var(--sidebar-width);
      flex: 1;
      padding: 0 40px 0 40px;
      max-width: 1200px;
      width: 100%;
    }

    /* 移动端顶部栏 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 56px;
      background: rgba(6, 14, 24, 0.9);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(197, 164, 94, 0.25);
      z-index: 1100;
      align-items: center;
      padding: 0 20px;
      justify-content: space-between;
    }
    .hamburger {
      font-size: 24px;
      background: none;
      border: none;
      color: var(--accent-gold);
      cursor: pointer;
    }
    .mobile-logo {
      font-size: 20px;
      font-weight: 700;
      color: var(--accent-gold);
    }

    /* 抽屉菜单 */
    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 260px;
      height: 100vh;
      background: rgba(6, 14, 24, 0.95);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      border-right: 1px solid var(--glass-border);
      z-index: 1200;
      transition: left 0.3s ease;
      padding: 24px;
      display: flex;
      flex-direction: column;
    }
    .drawer.open {
      left: 0;
    }
    .drawer .nav-menu {
      margin-top: 40px;
    }

    /* 通用区块 */
    section {
      padding: 100px 0 80px;
      scroll-margin-top: 20px;
    }

    h2 {
      font-size: 30px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 16px;
      letter-spacing: 0.5px;
    }
    .section-sub {
      color: var(--text-secondary);
      font-size: 18px;
      margin-bottom: 48px;
    }

    .glass-card {
      background: var(--card-bg);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid var(--glass-border);
      border-radius: var(--border-radius-card);
      box-shadow: var(--shadow-glow);
      transition: all 0.3s ease;
    }
    .glass-card:hover {
      border-color: var(--glass-border-hover);
      box-shadow: 0 16px 48px rgba(197, 164, 94, 0.15);
    }

    .btn-primary {
      background: var(--accent-gold);
      color: #0A1A2F;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--border-radius-btn);
      border: none;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(197, 164, 94, 0.5);
      transition: all 0.3s ease;
      font-size: 16px;
      display: inline-block;
      text-decoration: none;
    }
    .btn-primary:hover {
      box-shadow: 0 0 35px rgba(197, 164, 94, 0.8);
      transform: scale(1.03);
    }
    .btn-secondary {
      background: transparent;
      border: 1px solid rgba(197, 164, 94, 0.4);
      color: var(--accent-gold);
      padding: 12px 28px;
      border-radius: var(--border-radius-btn);
      font-weight: 600;
      transition: 0.25s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-secondary:hover {
      background: rgba(197, 164, 94, 0.1);
    }

    input, textarea {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      padding: 14px 16px;
      color: white;
      width: 100%;
      margin-bottom: 16px;
      font-size: 16px;
      transition: 0.2s;
    }
    input:focus, textarea:focus {
      outline: none;
      border-color: var(--accent-gold);
      box-shadow: 0 0 12px rgba(197,164,94,0.4);
    }

    /* Hero 双栏 */
    .hero-grid {
      display: flex;
      gap: 40px;
      align-items: center;
      min-height: 80vh;
    }
    .hero-left {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .metric-preview {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .mini-metric {
      background: rgba(13,27,46,0.5);
      backdrop-filter: blur(12px);
      padding: 16px 20px;
      border-radius: 12px;
      border-left: 3px solid var(--accent-gold);
    }
    .mini-number {
      font-family: var(--font-mono);
      font-size: 28px;
      font-weight: 700;
      color: var(--accent-gold);
      text-shadow: 0 0 10px #C5A45E;
    }
    .hero-right {
      flex: 1;
    }
    .hero-right h1 {
      font-size: 42px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 20px;
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 24px;
    }
    .stat-card {
      padding: 28px 20px;
      text-align: center;
    }
    .stat-icon {
      font-size: 24px;
      color: var(--accent-gold);
      margin-bottom: 12px;
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 38px;
      font-weight: 700;
      color: #fff;
      text-shadow: 0 0 14px #C5A45E;
    }
    .stat-label {
      color: var(--text-secondary);
      margin-top: 8px;
    }

    /* 服务体系联动 */
    .service-layout {
      display: flex;
      gap: 32px;
      align-items: flex-start;
    }
    .service-main {
      flex: 0 0 60%;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 20px;
      min-height: 360px;
      position: relative;
      overflow: hidden;
    }
    .service-main-overlay {
      background: rgba(10,26,47,0.75);
      backdrop-filter: blur(10px);
      padding: 40px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }
    .service-list {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .service-item {
      padding: 18px;
      border-radius: 14px;
      background: rgba(13,27,46,0.4);
      cursor: pointer;
      transition: 0.2s;
      border: 1px solid transparent;
    }
    .service-item:hover, .service-item.active {
      border-color: var(--accent-gold);
      background: rgba(197,164,94,0.1);
    }

    /* 对比表 */
    .compare-container {
      display: flex;
      gap: 0;
      background: rgba(13,27,46,0.4);
      border-radius: 20px;
      overflow: hidden;
    }
    .compare-col {
      flex: 1;
      padding: 32px;
    }
    .compare-divider {
      width: 2px;
      background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
      box-shadow: 0 0 20px #C5A45E;
    }
    .compare-row {
      display: flex;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.05);
      padding: 18px 0;
    }
    .faq-question {
      font-weight: 600;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: 0.3s;
      color: var(--text-secondary);
    }
    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 16px 0;
      background: rgba(197,164,94,0.03);
      border-left: 3px solid var(--accent-gold);
      padding-left: 16px;
    }

    footer {
      background: #040A12;
      padding: 60px 0 30px;
      margin-top: 60px;
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
    }

    @media (max-width: 1199px) {
      .app-sidebar { display: none; }
      .mobile-header { display: flex; }
      .main-content { margin-left: 0; padding: 80px 20px 20px; }
      .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
      .service-layout { flex-direction: column; }
      .service-main { flex: auto; width: 100%; }
      .hero-grid { flex-direction: column; }
    }
    @media (max-width: 768px) {
      .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
      .compare-container { flex-direction: column; }
      .compare-divider { width: 100%; height: 2px; }
    }
