/* roulang page: index */
:root {
      --primary-deep: #2D4A3E;
      --warm-apricot: #F5E6D3;
      --rust-red: #C25A3C;
      --soft-gray: #F9F7F4;
      --charcoal: #2C2C2C;
      --medium-gray: #6B6B6B;
      --dark-gold: #B8935A;
      --white: #FFFFFF;
      --border-light: #E8E8E8;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-hover: 0 6px 20px rgba(0,0,0,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --transition: all 0.25s ease;
      --font-stack: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-stack);
      background-color: var(--soft-gray);
      color: var(--charcoal);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 导航 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 40;
      background: transparent;
      transition: background 0.3s ease, box-shadow 0.3s ease;
      padding: 16px 0;
    }

    .main-header.scrolled {
      background: var(--white);
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
      padding: 10px 0;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .logo-area {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--primary-deep);
      background: rgba(255,255,255,0.85);
      padding: 4px 12px;
      border-radius: 30px;
      transition: background 0.3s;
      display: flex;
      align-items: baseline;
      gap: 6px;
    }

    .scrolled .logo-area {
      background: transparent;
    }

    .logo-sub {
      font-size: 0.9rem;
      font-weight: 400;
      color: var(--medium-gray);
      letter-spacing: 0;
    }

    .desktop-nav {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .desktop-nav a {
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--charcoal);
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .desktop-nav a:hover {
      color: var(--rust-red);
    }

    .desktop-nav a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--rust-red);
      transition: width 0.2s;
    }

    .desktop-nav a:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--primary-deep);
      cursor: pointer;
    }

    .mobile-menu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--soft-gray);
      z-index: 50;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 28px;
      font-size: 1.4rem;
      font-weight: 500;
    }

    .mobile-menu-overlay a {
      color: var(--primary-deep);
    }

    .bottom-tab-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 56px;
      background: var(--white);
      box-shadow: 0 -1px 6px rgba(0,0,0,0.04);
      z-index: 45;
      justify-content: space-around;
      align-items: center;
      padding: 0 12px;
    }

    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 10px;
      color: #8C8C8C;
      transition: color 0.2s;
      cursor: pointer;
    }

    .tab-item i {
      font-size: 22px;
      margin-bottom: 2px;
    }

    .tab-item.active {
      color: var(--rust-red);
    }

    /* Hero */
    .hero {
      padding: 140px 0 80px;
      background-color: var(--soft-gray);
    }

    .hero-content {
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      font-size: 2.8rem;
      font-weight: 700;
      line-height: 1.3;
      color: var(--primary-deep);
      margin-bottom: 18px;
    }

    .hero-sub {
      font-size: 1.15rem;
      color: var(--medium-gray);
      margin-bottom: 32px;
    }

    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--rust-red);
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: filter 0.2s, transform 0.1s;
      display: inline-block;
    }

    .btn-primary:hover {
      filter: brightness(0.9);
    }

    .btn-secondary {
      border: 2px solid var(--primary-deep);
      color: var(--primary-deep);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      background: transparent;
      transition: background 0.2s;
      display: inline-block;
    }

    .btn-secondary:hover {
      background: rgba(45,74,62,0.08);
    }

    .hero-image {
      flex: 1;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      min-height: 320px;
      border-radius: 24px;
      background-color: #e0d7cc;
    }

    /* 区块通用 */
    .section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--primary-deep);
    }

    .section-desc {
      color: var(--medium-gray);
      margin-bottom: 48px;
    }

    .bg-warm {
      background-color: var(--warm-apricot);
    }

    .bg-dark {
      background-color: var(--primary-deep);
      color: white;
    }

    /* 优势非对称 */
    .advantage-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: 24px;
    }

    .big-card {
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .big-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .small-stack {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .small-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .small-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .icon-accent {
      font-size: 2.2rem;
      color: var(--rust-red);
      margin-bottom: 14px;
    }

    /* 功能卡片 */
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 28px;
    }

    .feature-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .feature-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .pill-tag {
      background: var(--warm-apricot);
      color: var(--primary-deep);
      padding: 4px 14px;
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 600;
      display: inline-block;
      margin-bottom: 14px;
    }

    /* 案例横向滚动 */
    .case-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 12px;
      scroll-snap-type: x mandatory;
    }

    .case-card {
      flex: 0 0 280px;
      background: white;
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      scroll-snap-align: start;
    }

    .case-number {
      font-size: 2rem;
      font-weight: 700;
      color: var(--rust-red);
    }

    /* FAQ */
    .accordion-item {
      background: white;
      border-radius: 10px;
      margin-bottom: 12px;
      border: 1px solid var(--border-light);
    }

    .accordion-title {
      padding: 16px 20px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      color: var(--primary-deep);
    }

    .accordion-content {
      padding: 0 20px 16px;
      display: none;
      color: var(--medium-gray);
    }

    .accordion-item.active .accordion-content {
      display: block;
    }

    .accordion-item.active .accordion-title {
      border-bottom: 2px solid var(--rust-red);
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--primary-deep);
      text-align: center;
      padding: 64px 20px;
      border-radius: 0;
    }

    .cta-banner h2 {
      color: white;
    }

    .footer {
      background: #2C2C2C;
      color: #B3B3B3;
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }

    .footer a {
      color: #B3B3B3;
    }

    .footer a:hover {
      color: var(--rust-red);
    }

    .copyright {
      background: #1A1A1A;
      text-align: center;
      padding: 16px;
      font-size: 0.8rem;
    }

    @media (max-width: 1024px) {
      .hero-content {
        flex-direction: column;
      }
      .advantage-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .desktop-nav {
        display: none;
      }
      .hamburger {
        display: block;
      }
      .bottom-tab-bar {
        display: flex;
      }
      .hero {
        padding: 120px 0 60px;
      }
      .section {
        padding: 48px 0;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
