/* roulang page: index */
:root {
      --primary: #E85D04;
      --primary-hover: #D35400;
      --secondary: #1C1C1E;
      --accent: #00A896;
      --bg-light: #F9F9F6;
      --text-dark: #1C1C1E;
      --text-body: #374151;
      --text-muted: #6B7280;
      --border-light: #E5E7EB;
      --white: #FFFFFF;
      --radius-card: 16px;
      --radius-btn: 50px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
      --shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
      --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
      --font-number: "Inter", "SF Pro Display", system-ui, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-body);
      line-height: 1.8;
      margin: 0;
      overflow-x: hidden;
      font-weight: 400;
    }

    h1, h2, h3, h4, .nav-logo, .btn, .stat-number {
      font-family: var(--font-sans);
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: 0.2s;
    }

    a:hover {
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-thickness: 2px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 自定义 Bootstrap 覆盖 */
    .container-custom {
      max-width: 1140px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 2rem;
      padding-right: 2rem;
    }

    .btn-primary-miled {
      background-color: var(--primary);
      border: none;
      color: var(--white);
      font-weight: 650;
      padding: 0.85rem 2.2rem;
      border-radius: var(--radius-btn);
      box-shadow: 0 4px 14px rgba(232, 93, 4, 0.3);
      transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s;
      display: inline-block;
      text-align: center;
      line-height: 1.5;
    }

    .btn-primary-miled:hover {
      background-color: var(--primary-hover);
      box-shadow: 0 6px 20px rgba(232, 93, 4, 0.45);
      transform: translateY(-1px);
      color: white;
    }

    .btn-outline-miled {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      font-weight: 650;
      padding: 0.8rem 2.2rem;
      border-radius: var(--radius-btn);
      transition: background-color 0.25s, color 0.25s;
      display: inline-block;
      text-align: center;
    }

    .btn-outline-miled:hover {
      background-color: rgba(232, 93, 4, 0.1);
      color: var(--primary);
    }

    .btn-light-miled {
      background-color: white;
      color: var(--primary);
      font-weight: 650;
      border-radius: var(--radius-btn);
      padding: 0.85rem 2.5rem;
      border: none;
      transition: 0.25s;
    }

    .btn-light-miled:hover {
      background-color: #F3F4F6;
      color: var(--primary-hover);
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.25;
      margin-bottom: 2rem;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 48px;
      height: 4px;
      background-color: var(--primary);
      border-radius: 2px;
    }

    .section-title.text-white::after {
      background-color: var(--accent);
    }

    .card-custom {
      background: var(--white);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color 0.3s;
      height: 100%;
    }

    .card-custom:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(232, 93, 4, 0.2);
    }

    .card-img-top {
      border-radius: 16px 16px 0 0;
      height: 200px;
      object-fit: cover;
      background-color: #F3F4F6;
    }

    /* 左侧导航 App Shell */
    .app-sidebar {
      position: fixed;
      top: 0;
      left: 0;
      width: 240px;
      height: 100vh;
      background-color: var(--secondary);
      z-index: 1030;
      display: flex;
      flex-direction: column;
      padding: 2rem 0 1rem;
      box-shadow: 2px 0 12px rgba(0,0,0,0.1);
    }

    .logo-area {
      padding: 0 1.5rem 2rem;
      font-size: 1.5rem;
      font-weight: 750;
      color: white;
      letter-spacing: -0.5px;
    }

    .logo-area span {
      color: var(--primary);
    }

    .nav-menu {
      flex: 1;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .nav-menu li a {
      display: block;
      padding: 0.75rem 1.5rem;
      color: #9CA3AF;
      font-size: 0.95rem;
      font-weight: 500;
      border-left: 3px solid transparent;
      transition: all 0.2s;
      text-decoration: none;
    }

    .nav-menu li a:hover {
      background: rgba(255,255,255,0.04);
      color: white;
      border-left-color: var(--primary);
    }

    .nav-menu li a.active {
      color: white;
      background: rgba(232,93,4,0.1);
      border-left-color: var(--primary);
    }

    .sidebar-bottom {
      padding: 1.5rem;
    }

    /* 主内容区偏移 */
    .main-content {
      margin-left: 240px;
    }

    /* 移动端导航 */
    .mobile-nav {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 60px;
      background: var(--secondary);
      z-index: 1040;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.25rem;
    }

    .hamburger {
      font-size: 1.8rem;
      color: white;
      cursor: pointer;
      background: none;
      border: none;
    }

    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100vh;
      background: var(--secondary);
      z-index: 1050;
      transition: left 0.3s ease;
      padding: 2rem 1rem;
      display: flex;
      flex-direction: column;
    }

    .drawer.open {
      left: 0;
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 1045;
      display: none;
    }

    .drawer-overlay.show {
      display: block;
    }

    /* Hero */
    .hero-section {
      background: linear-gradient(135deg, #1C1C1E 0%, #2D2D30 100%);
      min-height: 90vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .hero-texture {
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 30px 30px;
    }

    .badge-miled {
      background: rgba(232,93,4,0.15);
      color: var(--primary);
      padding: 0.3rem 1rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
    }

    /* 统计数字 */
    .stat-number {
      font-size: 3rem;
      font-weight: 800;
      color: var(--accent);
      font-family: var(--font-number);
    }

    /* FAQ 手风琴 */
    .accordion-custom .accordion-item {
      border: none;
      border-bottom: 1px solid var(--border-light);
      background: transparent;
    }

    .accordion-custom .accordion-button {
      font-weight: 600;
      color: var(--text-dark);
      font-size: 1.1rem;
      background: transparent;
      box-shadow: none;
      padding: 1rem 0;
    }

    .accordion-custom .accordion-button:not(.collapsed) {
      color: var(--primary);
      background: transparent;
    }

    .accordion-custom .accordion-button::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E85D04'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }

    .accordion-custom .accordion-body {
      color: var(--text-body);
      padding-top: 0.5rem;
    }

    footer a {
      color: #9CA3AF;
      text-decoration: none;
    }

    footer a:hover {
      color: var(--primary);
    }

    @media (max-width: 992px) {
      .app-sidebar {
        display: none;
      }
      .main-content {
        margin-left: 0;
      }
      .mobile-nav {
        display: flex;
      }
      .section-title {
        font-size: 1.75rem;
      }
      .hero-section {
        min-height: 70vh;
      }
      h1 {
        font-size: 2.25rem !important;
      }
      .container-custom {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }
    }
