/* roulang page: index */
:root {
      --primary-green: #2D5A3D;
      --accent-orange: #F27A3E;
      --bg-warm: #FAF7F2;
      --dark-bg: #1A3322;
      --text-dark: #2C2C2C;
      --text-mid: #6B6B6B;
      --border-light: #E8E1D5;
      --success-green: #4CAF50;
      --card-white: #FFFFFF;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --shadow-card: 0 4px 14px rgba(0,0,0,0.05);
      --shadow-hover: 0 14px 28px rgba(0,0,0,0.09);
      --transition-base: all 0.25s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--bg-warm);
      color: var(--text-dark);
      line-height: 1.65;
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* 主布局：左侧导航 + 右侧内容 */
    .app-layout {
      display: flex;
      flex: 1;
      width: 100%;
    }

    /* ---------- 左侧竖向导航 (桌面端) ---------- */
    .side-nav {
      width: 260px;
      min-height: 100vh;
      background-color: var(--dark-bg);
      color: white;
      display: flex;
      flex-direction: column;
      padding: 1.8rem 0;
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      z-index: 40;
      box-shadow: 2px 0 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease;
    }

    .nav-brand {
      padding: 0 1.5rem 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.15);
      margin-bottom: 2rem;
    }

    .nav-brand .logo-area {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
    }

    .nav-brand img {
      width: 42px;
      height: 42px;
      border-radius: 8px;
      background-color: #E8E1D5;
      object-fit: contain;
    }

    .nav-brand .brand-text {
      font-size: 1.6rem;
      font-weight: 700;
      color: white;
      letter-spacing: 0.5px;
    }

    .nav-links {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
      padding: 0 0.8rem;
    }

    .nav-links a {
      display: block;
      padding: 0.95rem 1.2rem;
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      font-weight: 500;
      border-left: 4px solid transparent;
      border-radius: 0 6px 6px 0;
      transition: var(--transition-base);
      font-size: 1rem;
      letter-spacing: 0.3px;
    }

    .nav-links a:hover,
    .nav-links a.active {
      background-color: rgba(255,255,255,0.08);
      border-left-color: var(--accent-orange);
      color: white;
    }

    .nav-footer {
      margin-top: auto;
      padding: 2rem 1.5rem 0.5rem;
      font-size: 0.8rem;
      color: rgba(255,255,255,0.55);
      border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* 右侧主内容区 */
    .main-content {
      margin-left: 260px;
      flex: 1;
      width: calc(100% - 260px);
      background-color: var(--bg-warm);
    }

    /* 移动端顶部导航 */
    .mobile-header {
      display: none;
      background: var(--dark-bg);
      color: white;
      padding: 0.9rem 1.2rem;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 45;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .mobile-brand {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .mobile-brand img {
      width: 36px;
      height: 36px;
      background: #E8E1D5;
      border-radius: 6px;
    }
    .mobile-brand span {
      font-weight: 700;
      font-size: 1.2rem;
    }

    .menu-toggle {
      background: transparent;
      border: none;
      color: white;
      font-size: 1.6rem;
      cursor: pointer;
    }

    .mobile-nav-dropdown {
      display: none;
      background: var(--dark-bg);
      flex-direction: column;
      padding: 0 0 1rem;
    }
    .mobile-nav-dropdown a {
      color: rgba(255,255,255,0.9);
      padding: 0.8rem 1.5rem;
      text-decoration: none;
      border-left: 4px solid transparent;
    }
    .mobile-nav-dropdown a:hover {
      background: rgba(255,255,255,0.1);
      border-left-color: var(--accent-orange);
    }

    /* 通用区块 */
    .section {
      padding: 5rem 2rem;
    }

    .container-custom {
      max-width: 1200px;
      margin: 0 auto;
    }

    h2 {
      font-size: 2.3rem;
      font-weight: 700;
      margin-bottom: 3rem;
      color: var(--primary-green);
      position: relative;
      display: inline-block;
    }
    h2:after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 50%;
      height: 4px;
      background: var(--accent-orange);
      border-radius: 2px;
    }

    /* Hero */
    .hero {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 90vh;
      display: flex;
      align-items: center;
      position: relative;
      background-color: #1A3322;
    }
    .hero-overlay {
      background: linear-gradient(135deg, rgba(26,51,34,0.88) 0%, rgba(45,90,61,0.75) 100%);
      width: 100%;
      padding: 4rem 2rem;
    }
    .hero h1 {
      font-size: 3.5rem;
      font-weight: 800;
      color: white;
      line-height: 1.2;
      max-width: 700px;
    }
    .hero .sub {
      font-size: 1.3rem;
      color: rgba(255,255,255,0.9);
      margin: 1.5rem 0 2rem;
    }
    .btn-primary {
      background: var(--accent-orange);
      color: white;
      padding: 0.9rem 2.4rem;
      border-radius: var(--radius-btn);
      font-weight: 700;
      text-decoration: none;
      display: inline-block;
      transition: var(--transition-base);
      border: none;
    }
    .btn-primary:hover {
      background: #e0692e;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(242,122,62,0.4);
      color: white;
    }
    .btn-ghost {
      border: 2px solid white;
      color: white;
      padding: 0.8rem 2rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      margin-left: 1rem;
      transition: var(--transition-base);
      text-decoration: none;
    }
    .btn-ghost:hover {
      background: white;
      color: var(--primary-green);
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }
    .card {
      background: var(--card-white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      transition: var(--transition-base);
    }
    .card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      background: #E8E1D5;
    }
    .card-body {
      padding: 1.5rem;
    }
    .stats {
      background: var(--dark-bg);
      color: white;
      padding: 3.5rem 2rem;
    }
    .stat-number {
      font-size: 2.8rem;
      font-weight: 800;
      color: var(--accent-orange);
    }

    .faq-item {
      background: var(--bg-warm);
      border-bottom: 1px solid var(--border-light);
      margin-bottom: 0.5rem;
    }
    .faq-question {
      padding: 1rem 1.8rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
    }
    .faq-answer {
      padding: 0 1.8rem 1.2rem;
      color: var(--text-mid);
      display: none;
    }

    footer {
      background: var(--dark-bg);
      color: #ddd;
      padding: 3rem 2rem 1.5rem;
    }

    @media (max-width: 1024px) {
      .side-nav { display: none; }
      .main-content { margin-left: 0; width: 100%; }
      .mobile-header { display: flex; }
      .mobile-nav-dropdown.show { display: flex; }
      .hero h1 { font-size: 2.3rem; }
    }
