/* roulang page: index */
/* 全局设计变量 */
    :root {
      --primary: #0A4B3E;
      --primary-dark: #062A24;
      --accent: #D4A843;
      --accent-light: rgba(212, 168, 67, 0.15);
      --bg: #FAF9F6;
      --bg-card: #F3F1EC;
      --bg-white: #FFFFFF;
      --text-main: #1C2B26;
      --text-secondary: #6B7B76;
      --text-on-dark: #FFFFFF;
      --border-light: #E5E2DC;
      --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
      --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
      --radius-card: 16px;
      --radius-btn: 8px;
      --radius-input: 8px;
      --radius-nav: 24px;
      --transition: 0.25s ease;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, -apple-system, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text-main);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      transition: background-color 0.2s;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 浮动导航 Dock */
    .nav-dock {
      position: fixed;
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 32px);
      max-width: 1100px;
      z-index: 1000;
      background: rgba(250, 249, 246, 0.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-radius: var(--radius-nav);
      padding: 12px 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: var(--shadow-sm);
      border: 1px solid rgba(229, 226, 220, 0.5);
      transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
    }

    .nav-dock.scrolled {
      background: rgba(10, 75, 62, 0.94);
      border-color: transparent;
      box-shadow: var(--shadow-md);
    }

    .nav-dock.scrolled .logo-text,
    .nav-dock.scrolled .nav-link,
    .nav-dock.scrolled .hamburger {
      color: var(--text-on-dark);
    }

    .nav-dock.scrolled .logo-icon {
      color: var(--accent);
    }

    .nav-dock.scrolled .btn-primary-outline {
      border-color: var(--accent);
      color: var(--accent);
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: -0.5px;
      color: var(--primary);
    }

    .logo-icon {
      font-size: 1.8rem;
      color: var(--primary);
      transition: color 0.3s;
    }

    .logo-text {
      transition: color 0.3s;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      font-weight: 500;
    }

    .nav-link {
      color: var(--text-main);
      font-size: 0.95rem;
      position: relative;
      padding: 4px 0;
      transition: color 0.3s;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--accent);
      transition: width 0.25s;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .btn-primary-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      padding: 10px 22px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.25s;
      white-space: nowrap;
    }

    .btn-primary-outline:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .hamburger {
      display: none;
      font-size: 1.6rem;
      cursor: pointer;
      color: var(--primary);
      transition: color 0.3s;
    }

    .mobile-menu {
      display: none;
      position: absolute;
      top: 80px;
      left: 16px;
      right: 16px;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(20px);
      border-radius: 24px;
      padding: 24px;
      box-shadow: var(--shadow-lg);
      flex-direction: column;
      gap: 18px;
      z-index: 999;
    }

    .mobile-menu a {
      font-weight: 600;
      font-size: 1.1rem;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-light);
    }

    /* Hero 区域 */
    .hero {
      padding: 140px 0 90px;
      background: radial-gradient(circle at 20% 30%, rgba(212,168,67,0.08) 0%, transparent 45%),
                  linear-gradient(105deg, #faf9f6 0%, #f3f1ec 100%);
      position: relative;
      overflow: hidden;
    }

    .hero-canvas {
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      pointer-events: none;
      opacity: 0.7;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
    }

    .hero-content {
      flex: 1;
    }

    .hero-title {
      font-size: clamp(2.4rem, 5vw, 3.8rem);
      font-weight: 700;
      line-height: 1.2;
      color: var(--primary-dark);
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
      padding: 14px 34px;
      border-radius: 30px;
      font-weight: 700;
      font-size: 1rem;
      transition: all 0.25s;
      box-shadow: 0 6px 18px rgba(10,75,62,0.25);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary:hover {
      background: #08382E;
      box-shadow: 0 10px 24px rgba(10,75,62,0.35);
      transform: translateY(-2px);
    }

    .btn-secondary-link {
      color: var(--primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border-bottom: 2px solid transparent;
    }

    .btn-secondary-link:hover {
      border-bottom-color: var(--accent);
    }

    .hero-visual {
      flex: 0.9;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 32px;
      height: 360px;
      box-shadow: var(--shadow-lg);
      position: relative;
      z-index: 2;
    }

    /* 通用区块 */
    section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 16px;
      text-align: center;
    }

    .section-sub {
      color: var(--text-secondary);
      text-align: center;
      max-width: 660px;
      margin: 0 auto 48px;
    }

    /* 功能卡片 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .feature-card {
      background: var(--bg-white);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      transition: all 0.3s;
      text-align: left;
    }

    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-md);
    }

    .feature-icon {
      font-size: 2.2rem;
      color: var(--accent);
      margin-bottom: 20px;
    }

    .feature-card h3 {
      font-size: 1.4rem;
      margin-bottom: 12px;
    }

    /* 场景 alternating */
    .scenario-row {
      display: flex;
      align-items: center;
      gap: 50px;
      margin-bottom: 80px;
    }

    .scenario-row.reverse {
      flex-direction: row-reverse;
    }

    .scenario-img {
      flex: 1;
      border-radius: 24px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .scenario-img img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }

    .scenario-text {
      flex: 1;
    }

    /* 案例卡片 */
    .cases-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scroll-snap-type: x mandatory;
    }

    .case-card {
      min-width: 280px;
      background: #F4F2ED;
      border-radius: 20px;
      padding: 24px;
      scroll-snap-align: start;
      border-left: 6px solid var(--primary);
      box-shadow: var(--shadow-sm);
    }

    .case-number {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--primary);
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 20px 0;
      cursor: pointer;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      font-weight: 700;
      font-size: 1.1rem;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      color: var(--text-secondary);
    }

    /* CTA */
    .cta-block {
      background: linear-gradient(135deg, #0A4B3E 0%, #062A24 100%);
      border-radius: 32px;
      padding: 70px 40px;
      text-align: center;
      color: white;
    }

    .form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
      margin-top: 32px;
    }

    .form-input {
      padding: 14px 20px;
      border-radius: 30px;
      border: none;
      background: white;
      min-width: 220px;
      outline: none;
    }

    /* 页脚 */
    .footer {
      background: #062A24;
      color: #ddd;
      padding: 60px 0 30px;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .hamburger {
        display: block;
      }
      .mobile-menu.active {
        display: flex;
      }
      .hero-grid {
        flex-direction: column;
      }
      .features-grid {
        grid-template-columns: 1fr;
      }
      .scenario-row {
        flex-direction: column;
      }
      .cases-scroll {
        flex-wrap: nowrap;
      }
    }
