/* roulang page: index */
/* 设计变量 */
    :root {
      --primary: #1A3C2A;
      --accent: #F85C3C;
      --bg-global: #FAF9F6;
      --bg-subtle: #F0EEE8;
      --text-heading: #0F1A14;
      --text-body: #2E3B32;
      --text-muted: #6B7B70;
      --white: #FFFFFF;
      --btn-hover-bg: #E04A2E;
      --card-bg: #FFFFFF;
      --card-shadow: 0 4px 20px rgba(26, 60, 42, 0.06);
      --card-shadow-hover: 0 8px 30px rgba(26, 60, 42, 0.12);
      --border-light: rgba(0, 0, 0, 0.04);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 6px;
      --max-width: 1280px;
      --gap-section: 120px;
      --gap-md: 80px;
      --gap-sm: 60px;
      --grid-gap: 32px;
      --transition: 0.2s ease;
      --font-display: 'PingFang SC', 'Microsoft YaHei', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-global);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 基础元素 */
    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: var(--radius-card) var(--radius-card) 0 0;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-display);
      color: var(--text-heading);
      letter-spacing: -0.02em;
    }

    h2 {
      font-size: 2.2rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
    }

    h3 {
      font-size: 1.35rem;
      font-weight: 600;
    }

    /* 按钮系统 */
    .btn-primary {
      background: var(--accent);
      color: var(--white);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background var(--transition), transform var(--transition);
      box-shadow: 0 4px 12px rgba(248, 92, 60, 0.25);
    }

    .btn-primary:hover {
      background: var(--btn-hover-bg);
      transform: scale(1.03);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 30px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all var(--transition);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: var(--white);
    }

    .text-link {
      color: var(--accent);
      font-weight: 500;
      transition: all var(--transition);
      border-bottom: 2px solid transparent;
      display: inline-block;
      padding-bottom: 2px;
    }

    .text-link:hover {
      border-bottom-color: var(--accent);
    }

    /* 板块间距 */
    section {
      padding: var(--gap-section) 0;
    }

    @media (max-width: 1024px) {
      section { padding: var(--gap-md) 0; }
      h2 { font-size: 1.9rem; }
    }
    @media (max-width: 768px) {
      section { padding: var(--gap-sm) 0; }
      h2 { font-size: 1.7rem; }
      .container { padding: 0 20px; }
    }

    /* 导航 */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(250, 249, 246, 0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 8px rgba(0,0,0,0.04);
      z-index: 50;
      padding: 12px 0;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: 2px;
    }

    .nav-links {
      display: flex;
      gap: 2.2rem;
      align-items: center;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text-body);
      position: relative;
      padding: 4px 0;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: all 0.25s ease;
      transform: translateX(-50%);
    }

    .nav-links a:hover { color: var(--accent); }
    .nav-links a:hover::after { width: 100%; }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .mega-trigger {
      font-size: 1.8rem;
      color: var(--primary);
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px 8px;
    }

    /* Mega Menu */
    .mega-wrapper {
      position: relative;
    }
    .mega-panel {
      position: absolute;
      right: 0;
      top: 55px;
      width: 600px;
      background: var(--white);
      border-radius: 0 0 var(--radius-card) var(--radius-card);
      box-shadow: 0 12px 40px rgba(0,0,0,0.08);
      padding: 24px;
      display: flex;
      gap: 24px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: all 0.25s ease;
      z-index: 45;
    }
    .mega-wrapper:hover .mega-panel,
    .mega-trigger:focus + .mega-panel,
    .mega-panel:hover {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .mega-col {
      flex: 1;
    }
    .mega-col h4 {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 12px;
      border-bottom: 1px solid #eee;
      padding-bottom: 4px;
    }
    .mega-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 0;
      color: var(--text-body);
      font-size: 0.95rem;
      transition: color var(--transition);
    }
    .mega-item:hover { color: var(--accent); }

    /* 移动端汉堡菜单 */
    #menu-toggle {
      display: none;
    }
    .menu-icon {
      display: none;
      font-size: 2rem;
      color: var(--primary);
      cursor: pointer;
      padding: 4px;
    }
    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(250,249,246,0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
      }
      #menu-toggle:checked ~ .nav-links {
        display: flex;
      }
      .menu-icon {
        display: block;
      }
      .mega-panel {
        width: 100%;
        left: 0;
        flex-direction: column;
      }
    }

    /* Hero */
    .hero {
      padding-top: 140px;
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-left {
      flex: 0 0 58%;
    }
    .hero-right {
      flex: 1;
      position: relative;
    }
    .hero h1 {
      font-size: 3.2rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero .sub {
      font-size: 1.2rem;
      color: var(--text-muted);
      max-width: 480px;
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .hero-image {
      width: 100%;
      border-radius: 20px;
      overflow: hidden;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      height: 380px;
      position: relative;
    }
    .hero-image::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(26,60,42,0.2) 0%, transparent 60%);
    }
    @media (max-width: 768px) {
      .hero { flex-direction: column; padding-top: 110px; }
      .hero-left { flex: auto; text-align: center; }
      .hero h1 { font-size: 2.4rem; }
      .hero-right { width: 100%; }
      .hero-image { height: 260px; }
    }

    /* 信任条 */
    .trust-bar {
      background: var(--bg-subtle);
      padding: 32px 0;
      display: flex;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* 亮点网格 */
    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: auto auto;
      gap: var(--grid-gap);
    }
    .highlight-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--card-shadow);
      border-left: 4px solid var(--primary);
      transition: all 0.25s;
      display: flex;
      flex-direction: column;
    }
    .highlight-card:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-4px);
      border-left-color: var(--accent);
      border-left-width: 8px;
    }
    .card-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 16px;
    }
    @media (max-width: 768px) {
      .highlight-grid { grid-template-columns: 1fr; }
    }

    /* 案例瀑布 */
    .case-grid {
      columns: 3;
      column-gap: 24px;
    }
    .case-card {
      break-inside: avoid;
      background: var(--card-bg);
      border-radius: var(--radius-card);
      margin-bottom: 24px;
      box-shadow: var(--card-shadow);
      transition: all 0.25s;
      overflow: hidden;
    }
    .case-card:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-3px);
    }
    .case-img {
      height: 200px;
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-card) var(--radius-card) 0 0;
    }
    .case-content {
      padding: 20px;
    }
    @media (max-width: 1024px) { .case-grid { columns: 2; } }
    @media (max-width: 600px) { .case-grid { columns: 1; } }

    /* 方案对比 */
    .compare-row {
      display: flex;
      gap: 24px;
      align-items: stretch;
    }
    .compare-col {
      flex: 1;
      background: var(--white);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--card-shadow);
      border: 1px solid var(--border-light);
      display: flex;
      flex-direction: column;
    }
    .compare-col.featured {
      border: 2px solid var(--primary);
      background: #f8fbf9;
      transform: scale(1.02);
      box-shadow: 0 8px 28px rgba(26,60,42,0.1);
    }
    @media (max-width: 768px) {
      .compare-row { flex-direction: column; }
    }

    /* 数据模块 */
    .stats {
      display: flex;
      justify-content: center;
      gap: 60px;
      flex-wrap: wrap;
    }
    .stat-item {
      text-align: center;
    }
    .stat-number {
      font-size: 3rem;
      font-weight: 700;
      color: var(--primary);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    details {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 16px 20px;
    }
    summary {
      font-weight: 600;
      font-size: 1.1rem;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
    }
    @media (max-width: 600px) { .faq-grid { grid-template-columns: 1fr; } }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 80px 20px;
      border-radius: 20px;
    }

    /* 页脚 */
    .footer {
      background: #0F1A14;
      color: #B0BFB6;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }
    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
