/* roulang page: index */
:root {
      --primary: #1a3c34;
      --primary-light: #2a5f53;
      --primary-dark: #0f2923;
      --accent: #f59e0b;
      --accent-hover: #d97706;
      --bg: #faf7f2;
      --text: #1f2937;
      --text-light: #6b7280;
      --white: #ffffff;
      --border: #e5e7eb;
      --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
      --radius: 12px;
      --radius-btn: 8px;
      --transition: 0.2s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 1rem;
      display: flex;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* 左侧导航 App Shell */
    .app-sidebar {
      width: 240px;
      height: 100vh;
      position: fixed;
      left: 0;
      top: 0;
      background-color: var(--primary);
      color: white;
      display: flex;
      flex-direction: column;
      padding: 2rem 1.5rem;
      box-shadow: 2px 0 12px rgba(0,0,0,0.06);
      z-index: 50;
      transition: transform 0.3s ease;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 2.5rem;
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: 1px;
    }

    .logo-icon {
      font-size: 1.8rem;
      color: var(--accent);
    }

    .nav-links {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      flex: 1;
    }

    .nav-link {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      padding: 0.75rem 1rem;
      border-radius: 8px;
      font-weight: 500;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
      border-left: 3px solid transparent;
    }

    .nav-link i {
      width: 20px;
      font-size: 1.1rem;
    }

    .nav-link:hover {
      background-color: rgba(255,255,255,0.1);
      color: white;
    }

    .nav-link.active {
      background-color: rgba(255,255,255,0.15);
      color: var(--accent);
      border-left: 3px solid var(--accent);
      font-weight: 600;
    }

    .main-content {
      margin-left: 240px;
      width: calc(100% - 240px);
      max-width: 1200px;
      padding: 0 24px;
      scroll-behavior: smooth;
    }

    /* 移动端顶部导航 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 56px;
      background-color: var(--primary);
      color: white;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      z-index: 60;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .hamburger {
      font-size: 1.5rem;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 56px;
      left: 0;
      width: 100%;
      height: calc(100vh - 56px);
      background-color: var(--primary);
      flex-direction: column;
      padding: 2rem 1.5rem;
      z-index: 55;
      gap: 0.5rem;
      overflow-y: auto;
    }

    .mobile-menu .nav-link {
      font-size: 1.2rem;
      padding: 1rem;
    }

    .section {
      padding: 80px 0;
    }

    h2 {
      font-size: 1.75rem;
      font-weight: 600;
      line-height: 1.4;
      margin-bottom: 1.5rem;
      color: var(--primary);
    }

    .card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: all var(--transition);
    }

    .card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .btn-primary {
      background-color: var(--accent);
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all var(--transition);
      display: inline-block;
      text-decoration: none;
      box-shadow: 0 2px 6px rgba(245,158,11,0.2);
    }

    .btn-primary:hover {
      background-color: var(--accent-hover);
      box-shadow: 0 4px 12px rgba(217,119,6,0.3);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px 26px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all var(--transition);
      text-decoration: none;
    }

    .btn-outline:hover {
      background-color: rgba(26,60,52,0.05);
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 1rem 0;
    }

    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: var(--primary);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-light);
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 0.75rem;
    }

    footer {
      background-color: var(--primary-dark);
      color: rgba(255,255,255,0.9);
      padding: 3rem 0 1.5rem;
    }

    @media (max-width: 768px) {
      .app-sidebar {
        display: none;
      }
      .mobile-header {
        display: flex;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
        padding: 80px 16px 0;
      }
      .section {
        padding: 60px 0;
      }
      h2 {
        font-size: 1.375rem;
      }
      .mobile-menu.show {
        display: flex;
      }
    }

    .bg-hero {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .hero-overlay {
      background: linear-gradient(to right, rgba(26,60,52,0.85) 0%, rgba(26,60,52,0.4) 100%);
    }
