/* roulang page: index */
:root {
      --primary: #0B3D2E;
      --primary-soft: #0f4f3b;
      --accent-gold: #C49A2B;
      --bg-muted: #E6EDE8;
      --signal-orange: #E8553D;
      --text-dark: #1A1A1A;
      --text-mid: #4A4A4A;
      --text-light: #FFFFFF;
      --border-soft: #D9DFDA;
      --card-shadow: 0 2px 12px rgba(0,0,0,0.04);
      --card-shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
      --radius-lg: 16px;
      --radius-sm: 8px;
      --font-mono: 'Inter', monospace;
      --font-serif: 'Noto Serif SC', 'Times New Roman', serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, 'Microsoft YaHei', 'PingFang SC', sans-serif;
      margin: 0;
      background-color: #F7F9F8;
      color: var(--text-dark);
      line-height: 1.75;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* 桌面左侧导航 */
    .side-nav {
      position: fixed;
      left: 0;
      top: 0;
      width: 260px;
      height: 100vh;
      background-color: var(--primary);
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 2.5rem 1.8rem;
      z-index: 50;
      box-shadow: 4px 0 20px rgba(0,0,0,0.08);
      transition: transform 0.3s ease;
    }

    .nav-logo {
      font-size: 1.6rem;
      font-weight: 700;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 3.5rem;
      color: white;
    }

    .nav-links {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .nav-links a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-weight: 500;
      font-size: 1rem;
      transition: color 0.2s, border-color 0.2s;
      border-left: 3px solid transparent;
      padding-left: 12px;
      display: block;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: white;
      border-left-color: var(--accent-gold);
    }

    .main-content {
      margin-left: 260px;
      width: calc(100% - 260px);
      transition: margin-left 0.3s;
    }

    /* 移动端顶部导航 */
    .mobile-header {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background-color: var(--primary);
      color: white;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
      z-index: 55;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .hamburger {
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 5px;
      padding: 8px;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: white;
      transition: 0.2s;
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: var(--primary);
      z-index: 54;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2.5rem;
      transform: translateX(-100%);
      transition: transform 0.35s ease;
    }
    .mobile-menu.open {
      transform: translateX(0);
    }
    .mobile-menu a {
      color: white;
      font-size: 1.8rem;
      font-weight: 600;
      text-decoration: none;
      border-bottom: 2px solid transparent;
    }
    .mobile-menu a:hover {
      border-bottom-color: var(--accent-gold);
    }

    /* 通用容器 */
    .container-custom {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 2rem;
      padding-right: 2rem;
    }

    section {
      padding-top: 100px;
      padding-bottom: 100px;
    }

    /* 按钮 */
    .btn-primary {
      background-color: var(--signal-orange);
      color: white;
      font-weight: 600;
      padding: 14px 36px;
      border-radius: var(--radius-sm);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
      text-decoration: none;
      border: none;
      cursor: pointer;
    }
    .btn-primary:hover {
      background-color: #C4422E;
      transform: scale(1.03);
      box-shadow: 0 10px 20px rgba(232,85,61,0.3);
    }
    .btn-outline-light {
      background: transparent;
      border: 1.5px solid white;
      color: white;
      font-weight: 600;
      padding: 14px 36px;
      border-radius: var(--radius-sm);
      transition: 0.25s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }
    .btn-outline-light:hover {
      background: white;
      color: var(--primary);
    }

    /* 滚动渐现 */
    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 1024px) {
      .side-nav {
        display: none;
      }
      .mobile-header {
        display: flex;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
      }
      section {
        padding-top: 80px;
        padding-bottom: 80px;
      }
    }
