/* roulang page: index */
/* 全局设计变量与基础重置 */
    :root {
      --primary: #1A5F7A;
      --primary-dark: #0D3B4C;
      --accent: #E8A838;
      --bg: #F7F9FC;
      --card-bg: #FFFFFF;
      --text: #2D3748;
      --text-light: #4A5568;
      --border: #E2E8F0;
      --shadow-sm: 0 2px 12px rgba(26, 95, 122, 0.08);
      --shadow-md: 0 8px 24px rgba(26, 95, 122, 0.15);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Inter", system-ui, -apple-system, sans-serif;
      --transition: 0.2s ease;
      --nav-height: 72px;
      --section-padding: 5rem;
      --max-width: 1200px;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      padding-top: var(--nav-height);
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
    button, .button {
      cursor: pointer;
      font-family: inherit;
      transition: var(--transition);
    }
    h1, h2, h3, h4 {
      color: var(--primary-dark);
      margin-bottom: 0.75rem;
    }
    h1 {
      font-size: 2.75rem;
      line-height: 1.25;
      font-weight: 700;
    }
    h2 {
      font-size: 2rem;
      line-height: 1.3;
      font-weight: 600;
    }
    h3 {
      font-size: 1.25rem;
      line-height: 1.4;
      font-weight: 600;
    }
    h4 {
      font-size: 1.1rem;
      line-height: 1.5;
      font-weight: 600;
    }
    p {
      margin-bottom: 1.5rem;
      color: var(--text-light);
    }
    .section {
      padding-top: var(--section-padding);
      padding-bottom: var(--section-padding);
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding-left: 2rem;
      padding-right: 2rem;
    }
    /* 按钮系统 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1rem;
      min-height: 44px;
      min-width: 44px;
      border: 2px solid transparent;
      transition: all 0.25s ease;
      text-align: center;
    }
    .btn-primary {
      background-color: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    .btn-primary:hover {
      background-color: var(--accent);
      border-color: var(--accent);
      color: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    .btn-secondary {
      background: transparent;
      color: var(--primary);
      border-color: var(--primary);
    }
    .btn-secondary:hover {
      background-color: rgba(26, 95, 122, 0.08);
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
    }
    .btn-white {
      background: white;
      color: var(--primary);
      border-color: white;
    }
    .btn-white:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    .btn-outline-white {
      background: transparent;
      color: white;
      border-color: white;
    }
    .btn-outline-white:hover {
      background: white;
      color: var(--primary);
      border-color: white;
    }
    /* 卡片基础 */
    .card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }
    .card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    /* 导航全站统一 */
    .site-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(8px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      z-index: 100;
      display: flex;
      align-items: center;
      transition: background 0.3s, box-shadow 0.3s;
    }
    .site-nav.scrolled {
      background: white;
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    .nav-container {
      max-width: var(--max-width);
      margin: 0 auto;
      width: 100%;
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary-dark);
      letter-spacing: 0.5px;
    }
    .logo span {
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
    }
    .nav-links a {
      font-weight: 500;
      color: var(--text);
      padding: 0.25rem 0;
      border-bottom: 2px solid transparent;
      font-size: 0.95rem;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--accent);
    }
    .nav-cta {
      margin-left: 1.5rem;
    }
    .hamburger {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--primary-dark);
      cursor: pointer;
    }
    /* 移动端导航 */
    @media (max-width: 840px) {
      .nav-links {
        display: none;
      }
      .hamburger {
        display: block;
      }
      .nav-container {
        padding: 0 1.5rem;
      }
    }
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: white;
      z-index: 200;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      transform: translateY(-100%);
      transition: transform 0.35s ease;
    }
    .mobile-menu.open {
      transform: translateY(0);
    }
    .mobile-menu a {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--primary-dark);
    }
    .mobile-close {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      background: none;
      border: none;
      font-size: 2rem;
      color: var(--primary-dark);
    }
    /* Hero 双栏杂志流 */
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 3rem;
      min-height: 85vh;
    }
    .hero-left {
      flex: 0 0 55%;
    }
    .hero-right {
      flex: 0 0 45%;
    }
    .hero-right img {
      border-radius: 16px;
      box-shadow: var(--shadow-md);
      width: 100%;
      object-fit: cover;
    }
    .hero-left h1 {
      margin-bottom: 1rem;
    }
    .hero-sub {
      font-size: 1.25rem;
      color: var(--text-light);
      margin-bottom: 2rem;
    }
    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    /* 亮点网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .feature-card {
      padding: 24px;
      text-align: left;
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.4rem;
      margin-bottom: 1.25rem;
      transition: background 0.2s;
    }
    .feature-card:hover .feature-icon {
      background: var(--accent);
    }
    /* 案例瀑布 */
    .case-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .case-card {
      overflow: hidden;
    }
    .case-card img {
      aspect-ratio: 16 / 9;
      object-fit: cover;
      transition: transform 0.3s;
      width: 100%;
    }
    .case-card:hover img {
      transform: scale(1.03);
    }
    .case-content {
      padding: 1.25rem;
    }
    .case-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin: 0.75rem 0 0.5rem;
    }
    .tag {
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 2px 10px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 500;
    }
    /* 方案对比 */
    .compare-wrapper {
      display: flex;
      gap: 2rem;
    }
    .compare-col {
      flex: 1;
      background: white;
      border-radius: var(--radius-card);
      padding: 2rem;
      border: 1px solid var(--border);
      position: relative;
    }
    .compare-col.recommend {
      border-left: 4px solid var(--accent);
      background: rgba(26,95,122,0.02);
    }
    .compare-divider {
      width: 1px;
      background: var(--border);
    }
    .compare-list {
      list-style: none;
      margin: 1.5rem 0;
    }
    .compare-list li {
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .badge-recommend {
      background: var(--accent);
      color: white;
      font-size: 0.8rem;
      padding: 4px 12px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 1rem;
    }
    /* FAQ */
    .faq-group {
      margin-bottom: 2rem;
    }
    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 1rem 0;
      cursor: pointer;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      color: var(--primary-dark);
      transition: color 0.2s;
    }
    .faq-item.active .faq-question {
      color: var(--primary);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-light);
      padding-left: 0.5rem;
      border-left: 3px solid transparent;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      border-left-color: var(--primary);
      margin-top: 0.5rem;
      padding-left: 1rem;
    }
    /* CTA 通栏 */
    .cta-banner {
      background: var(--primary);
      padding: 4rem 2rem;
      text-align: center;
      color: white;
      border-radius: 0;
    }
    .cta-banner h2 {
      color: white;
    }
    .cta-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 2rem;
    }
    /* 页脚 */
    .footer {
      background: #1A3A4A;
      color: #CBD5E0;
      padding: 3rem 2rem 1.5rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2rem;
      max-width: var(--max-width);
      margin: 0 auto;
    }
    .footer a {
      color: #CBD5E0;
    }
    .footer a:hover {
      color: white;
    }
    .copyright {
      text-align: center;
      margin-top: 2rem;
      font-size: 0.85rem;
      color: #A0AEC0;
    }
    /* 响应式 */
    @media (max-width: 1024px) {
      .hero-grid {
        flex-direction: column;
        min-height: auto;
        gap: 2rem;
      }
      .hero-left, .hero-right {
        flex: 1 1 auto;
        width: 100%;
      }
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .case-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .compare-wrapper {
        flex-direction: column;
      }
      .compare-divider {
        display: none;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 640px) {
      h1 {
        font-size: 2rem;
      }
      h2 {
        font-size: 1.6rem;
      }
      .container {
        padding-left: 1rem;
        padding-right: 1rem;
      }
      .features-grid,
      .case-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
      }
      .hero-buttons .btn {
        width: 100%;
      }
    }
