/* roulang page: index */
:root {
      --primary: #00A86B;
      --primary-dark: #008055;
      --primary-light: #e6f7f0;
      --secondary-dark: #1A1A2E;
      --bg: #F7F8FA;
      --surface: #FFFFFF;
      --text-primary: #1F2329;
      --text-secondary: #6B7280;
      --text-on-dark: #FFFFFF;
      --border-light: #E5E7EB;
      --warning: #F59E0B;
      --error: #EF4444;
      --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
      --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-large: 24px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, -apple-system, sans-serif;
      --transition: 200ms ease;
      --header-height: 64px;
      --header-height-mobile: 56px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    button, input, textarea {
      font-family: inherit;
    }

    /* 导航栏 */
    #nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: background 0.3s, box-shadow 0.3s;
    }

    #nav.scrolled {
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo::before {
      content: "";
      display: inline-block;
      width: 8px;
      height: 8px;
      background: var(--primary);
      border-radius: 50%;
      margin-right: 4px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-menu a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-primary);
      position: relative;
      padding: 4px 0;
    }

    .nav-menu a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s ease;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
      width: 100%;
    }

    .nav-cta {
      background: var(--primary);
      color: white;
      padding: 8px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 15px;
      border: none;
      cursor: pointer;
      transition: background var(--transition);
      white-space: nowrap;
    }

    .nav-cta:hover {
      background: var(--primary-dark);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text-primary);
      transition: var(--transition);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--header-height);
      left: 0;
      width: 100%;
      background: white;
      padding: 24px;
      box-shadow: var(--shadow-card);
      flex-direction: column;
      gap: 20px;
      z-index: 999;
    }

    .mobile-menu a {
      font-size: 18px;
      font-weight: 500;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-light);
    }

    /* Hero */
    #hero {
      padding: calc(var(--header-height) + 60px) 0 80px;
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }

    .hero-bg-decor {
      position: absolute;
      top: -100px;
      right: -100px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(0,168,107,0.12) 0%, rgba(0,168,107,0) 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .hero-content h1 {
      font-size: 40px;
      font-weight: 700;
      line-height: 1.3;
      color: var(--text-primary);
      margin-bottom: 20px;
    }

    .hero-content .subtitle {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-cta {
      background: var(--primary);
      color: white;
      padding: 14px 36px;
      font-size: 16px;
      font-weight: 600;
      border-radius: var(--radius-btn);
      border: none;
      cursor: pointer;
      transition: background var(--transition);
      display: inline-block;
    }

    .hero-cta:hover {
      background: var(--primary-dark);
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .stat-card {
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 20px;
      box-shadow: var(--shadow-card);
      text-align: center;
    }

    .stat-number {
      font-size: 32px;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }

    .stat-label {
      font-size: 14px;
      color: var(--text-secondary);
      margin-top: 6px;
    }

    /* 通用板块样式 */
    section {
      padding: 80px 0;
    }

    .section-title {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--text-primary);
    }

    .section-subtitle {
      font-size: 16px;
      color: var(--text-secondary);
      margin-bottom: 48px;
    }

    /* 核心优势 */
    .advantages-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .advantage-card {
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

    .advantage-card.large {
      grid-row: span 2;
      background: #F0FAF5;
      flex-direction: column;
    }

    .adv-icon {
      font-size: 32px;
      color: var(--primary);
    }

    .adv-text h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .adv-text p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* 服务矩阵 非对称 */
    .services-grid {
      display: grid;
      grid-template-columns: 5fr 3.5fr 3.5fr;
      gap: 24px;
    }

    .service-card {
      background: var(--surface);
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-card);
      border-top: 4px solid var(--primary);
      display: flex;
      flex-direction: column;
    }

    .service-icon {
      font-size: 28px;
      color: var(--primary);
      margin-bottom: 16px;
    }

    .service-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .service-desc {
      font-size: 14px;
      color: var(--text-secondary);
      flex: 1;
      margin-bottom: 16px;
    }

    .service-link {
      color: var(--primary);
      font-weight: 500;
      font-size: 14px;
      align-self: flex-start;
    }

    /* 对比 */
    .comparison-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .compare-card {
      border-radius: var(--radius-large);
      padding: 32px;
    }

    .compare-card.traditional {
      background: #F3F4F6;
    }

    .compare-card.qmh {
      background: var(--surface);
      border-left: 4px solid var(--primary);
      box-shadow: var(--shadow-card);
    }

    .compare-item {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
    }

    /* 流程 */
    .process-steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      flex-wrap: wrap;
    }

    .step {
      text-align: center;
      flex: 1;
      min-width: 120px;
    }

    .step-number {
      width: 40px;
      height: 40px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      margin: 0 auto 16px;
    }

    /* FAQ */
    .faq-list {
      background: var(--surface);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
    }

    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }

    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      background: transparent;
      border: none;
      width: 100%;
      text-align: left;
      font-size: 16px;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 24px;
      font-size: 14px;
      color: var(--text-secondary);
    }

    .faq-item.active .faq-answer {
      max-height: 150px;
      padding-bottom: 20px;
    }

    /* CTA */
    #cta {
      background: var(--secondary-dark);
      padding: 80px 0;
    }

    .cta-card {
      background: white;
      border-radius: 16px;
      padding: 48px;
      max-width: 600px;
      margin: 0 auto;
    }

    .cta-form input, .cta-form textarea {
      width: 100%;
      padding: 12px;
      border: 1px solid #D1D5DB;
      border-radius: 8px;
      margin-bottom: 16px;
      font-size: 14px;
    }

    .cta-form button {
      background: var(--primary);
      color: white;
      border: none;
      padding: 14px;
      font-weight: 600;
      border-radius: 8px;
      width: 100%;
      cursor: pointer;
    }

    .privacy-note {
      font-size: 12px;
      color: var(--text-secondary);
      text-align: center;
      margin-top: 12px;
    }

    /* Footer */
    #footer {
      background: var(--secondary-dark);
      color: white;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .comparison-wrapper { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .nav-cta.desktop { display: none; }
      .hamburger { display: flex; }
      .services-grid { grid-template-columns: 1fr; }
      .advantages-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .hero-stats { grid-template-columns: 1fr; }
      .process-steps { flex-direction: column; align-items: center; }
    }
