/* roulang page: index */
:root {
      --primary-deep-green: #1A3C2A;
      --accent-gold: #C8A951;
      --accent-red: #E85D3A;
      --bg-warm: #F5F2EB;
      --dark-bg: #0F1A14;
      --text-main: #1E1E1E;
      --text-muted: #5C5C5C;
      --text-light: #FFFFFF;
      --border-soft: #E0D9CC;
      --shadow-card: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.08);
      --radius-lg: 12px;
      --radius-md: 8px;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
      --transition-smooth: 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--text-main);
      line-height: 1.6;
      font-size: 16px;
      padding-bottom: 70px; /* 移动端底部导航高度 */
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition-smooth);
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    /* 导航栏 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: 72px;
      display: flex;
      align-items: center;
      background: transparent;
      transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    }

    .main-header.scrolled {
      background: rgba(26, 60, 42, 0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      font-size: 1.8rem;
      font-weight: 800;
      letter-spacing: 1px;
      color: white;
      text-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }
    .logo span {
      color: var(--accent-gold);
    }

    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .desktop-nav a {
      color: rgba(255,255,255,0.9);
      font-weight: 500;
      font-size: 1rem;
      position: relative;
      padding: 6px 0;
    }

    .desktop-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-gold);
      transition: width 0.25s ease;
    }

    .desktop-nav a:hover::after,
    .desktop-nav a.active::after {
      width: 100%;
    }
    .desktop-nav a:hover {
      color: white;
    }

    .btn-outline-gold {
      border: 1.5px solid var(--accent-gold);
      color: var(--accent-gold);
      background: transparent;
      padding: 10px 24px;
      border-radius: var(--radius-md);
      font-weight: 600;
    }
    .btn-outline-gold:hover {
      background: rgba(200, 169, 81, 0.1);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
    }
    .hamburger span {
      width: 26px;
      height: 2.5px;
      background: white;
      border-radius: 4px;
      transition: 0.2s;
    }

    /* 移动端菜单 */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--dark-bg);
      z-index: 999;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 48px;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    .mobile-menu.active {
      transform: translateX(0);
    }
    .mobile-menu a {
      color: white;
      font-size: 1.6rem;
      margin: 16px 0;
      font-weight: 500;
    }

    /* 底部Tab */
    .bottom-tab-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 64px;
      background: #ffffff;
      box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
      z-index: 1000;
      justify-content: space-around;
      align-items: center;
      padding-bottom: env(safe-area-inset-bottom);
    }
    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #999;
      font-size: 10px;
      gap: 4px;
      font-weight: 500;
    }
    .tab-item svg {
      width: 24px;
      height: 24px;
      stroke: #999;
      stroke-width: 2;
    }
    .tab-item.active {
      color: var(--accent-red);
    }
    .tab-item.active svg {
      stroke: var(--accent-red);
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #1A3C2A 0%, #0F1A14 100%);
      color: white;
      min-height: 90vh;
      display: flex;
      align-items: center;
      padding-top: 72px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.15;
    }
    .hero-content {
      display: flex;
      align-items: center;
      gap: 48px;
      position: relative;
      z-index: 2;
    }
    .hero-text {
      flex: 1 1 55%;
    }
    .hero-text h1 {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 24px;
    }
    .hero-text p {
      font-size: 1.1rem;
      opacity: 0.85;
      max-width: 500px;
      margin-bottom: 32px;
    }
    .btn-primary {
      background: var(--accent-red);
      color: white;
      padding: 14px 36px;
      border-radius: var(--radius-md);
      font-weight: 700;
      font-size: 1rem;
    }
    .btn-primary:hover {
      background: #C94A2C;
      transform: scale(1.03);
    }
    .hero-img {
      flex: 1 1 45%;
      background: rgba(255,255,255,0.05);
      border-radius: 24px;
      overflow: hidden;
    }

    /* 通用板块 */
    section {
      padding: 100px 0;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--primary-deep-green);
    }
    .section-desc {
      color: var(--text-muted);
      max-width: 600px;
      margin-bottom: 48px;
    }

    /* 优势数据 dark */
    .advantages {
      background: var(--dark-bg);
      color: white;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 32px;
      text-align: center;
    }
    .stat-number {
      font-family: 'Inter', sans-serif;
      font-size: 3rem;
      font-weight: 700;
      color: var(--accent-gold);
    }

    /* 卡片网格 */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }
    .service-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-card);
      transition: all var(--transition-smooth);
      border-top: 3px solid transparent;
    }
    .service-card:hover {
      border-top-color: var(--accent-gold);
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
    }
    .icon-gold {
      color: var(--accent-gold);
      font-size: 2.4rem;
      margin-bottom: 20px;
    }

    .case-grid {
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 24px;
    }
    .case-card {
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      box-shadow: var(--shadow-card);
    }
    .case-img {
      width: 40%;
      object-fit: cover;
    }
    .case-info {
      padding: 28px;
    }
    .tag {
      background: var(--accent-red);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      border-bottom: 1px solid var(--border-soft);
      padding: 16px 0;
    }
    .faq-question {
      font-weight: 600;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: var(--bg-warm);
      padding: 0 20px;
      margin-top: 8px;
      border-radius: 8px;
    }

    .cta-block {
      background: var(--primary-deep-green);
      color: white;
      text-align: center;
      border-radius: 24px;
      padding: 72px 24px;
      margin: 60px 0;
    }

    footer {
      background: var(--dark-bg);
      color: rgba(255,255,255,0.8);
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }

    @media (max-width: 1024px) {
      .desktop-nav { display: none; }
      .hamburger { display: flex; }
      .bottom-tab-bar { display: flex; }
      body { padding-bottom: 70px; }
      .grid-3 { grid-template-columns: repeat(2,1fr); }
      .case-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2,1fr); }
      .hero-content { flex-direction: column; }
    }
    @media (max-width: 640px) {
      .grid-3, .case-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
      .case-card { flex-direction: column; }
      .case-img { width: 100%; height: 200px; }
    }
