/* roulang page: index */
:root {
      --primary: #1B3A2D;
      --primary-hover: #153026;
      --secondary: #5B8C5A;
      --accent: #D4A843;
      --bg: #F7F8F9;
      --card-bg: #FFFFFF;
      --form-bg: #F2F3F5;
      --text: #1A1A1A;
      --text-muted: #6B7280;
      --border: #E5E7EB;
      --radius: 16px;
      --radius-sm: 12px;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
      --font-stack: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --spacing-xs: 8px;
      --spacing-sm: 16px;
      --spacing-md: 24px;
      --spacing-lg: 48px;
      --spacing-xl: 80px;
      --header-height: 72px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-stack);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, input, textarea {
      font-family: inherit;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 var(--spacing-md);
    }

    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 1px 3px rgba(0,0,0,0.04);
      display: flex;
      align-items: center;
      z-index: 100;
      transition: box-shadow 0.15s ease;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
      letter-spacing: 0.5px;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      background: var(--primary);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><circle cx="24" cy="24" r="20" fill="none" stroke="white" stroke-width="3"/><ellipse cx="24" cy="30" rx="12" ry="10" fill="white"/><circle cx="18" cy="20" r="3" fill="white"/><circle cx="30" cy="20" r="3" fill="white"/></svg>') center/contain no-repeat;
      background: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      font-weight: 500;
      font-size: 16px;
      color: var(--text);
    }

    .nav-links a {
      position: relative;
      padding: 8px 0;
      transition: color 0.2s;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--secondary);
      transition: width 0.2s ease;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    /* 移动端胶囊导航 */
    .mobile-nav {
      display: none;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255,255,255,0.88);
        backdrop-filter: blur(20px);
        border-radius: 40px;
        padding: 8px 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        z-index: 110;
        gap: 24px;
      }
      .mobile-nav a {
        font-size: 12px;
        color: var(--text-muted);
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: 500;
        transition: color 0.2s;
      }
      .mobile-nav a.active {
        color: var(--primary);
      }
      #header {
        height: 64px;
      }
      .logo {
        font-size: 20px;
      }
    }

    /* Hero 首屏 */
    #hero {
      padding-top: calc(var(--header-height) + 40px);
      padding-bottom: var(--spacing-xl);
      background: var(--card-bg);
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 60px;
      flex-wrap: wrap;
    }

    .hero-content {
      flex: 1 1 55%;
    }

    .hero-title {
      font-size: 44px;
      font-weight: 700;
      color: var(--text);
      line-height: 1.3;
      margin-bottom: var(--spacing-md);
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-muted);
      margin-bottom: var(--spacing-lg);
      max-width: 580px;
    }

    .metrics {
      display: flex;
      gap: var(--spacing-md);
      margin-bottom: var(--spacing-lg);
      flex-wrap: wrap;
    }

    .metric-card {
      background: var(--form-bg);
      border-radius: var(--radius-sm);
      padding: 20px 24px;
      text-align: center;
      min-width: 130px;
      box-shadow: var(--shadow-sm);
    }

    .metric-number {
      font-size: 48px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.2;
    }

    .metric-label {
      font-size: 14px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.2,0.0,0,1.0);
      display: inline-block;
      box-shadow: 0 2px 8px rgba(27,58,45,0.15);
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: 0 0 0 3px rgba(212,168,67,0.2);
      transform: translateY(-1px);
    }

    .hero-image {
      flex: 1 1 40%;
      background: #e9ecef;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(0,0,0,0.05);
      aspect-ratio: 16 / 11;
    }

    .hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .hero-grid {
        flex-direction: column;
        gap: 40px;
      }
      .hero-title {
        font-size: 34px;
      }
      .metrics {
        justify-content: center;
      }
      .metric-card {
        min-width: 100px;
        padding: 16px;
      }
      .metric-number {
        font-size: 36px;
      }
    }

    /* 通用板块 */
    section {
      padding: var(--spacing-xl) 0;
    }

    .section-title {
      font-size: 32px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 16px;
    }

    .section-subtitle {
      color: var(--text-muted);
      font-size: 16px;
      margin-bottom: 48px;
      max-width: 600px;
    }

    /* 服务矩阵 */
    #services {
      background: var(--bg);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--spacing-md);
    }

    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s cubic-bezier(0.2,0.0,0,1.0);
      cursor: default;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      background: rgba(91,140,90,0.1);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--secondary);
    }

    .service-card h3 {
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 10px;
    }

    .service-card p {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.7;
    }

    /* 首行2列次行3列视觉权重 */
    .services-grid .service-card:nth-child(1),
    .services-grid .service-card:nth-child(2) {
      grid-column: span 1;
    }

    @media (max-width: 1024px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 结果对比 */
    #results {
      background: var(--card-bg);
    }

    .compare-block {
      display: flex;
      flex-direction: column;
      gap: 32px;
      max-width: 800px;
      margin: 0 auto;
    }

    .compare-item {
      background: var(--bg);
      border-radius: var(--radius-sm);
      padding: 24px;
    }

    .compare-header {
      display: flex;
      justify-content: space-between;
      font-weight: 600;
      margin-bottom: 12px;
      font-size: 16px;
    }

    .progress-bar {
      width: 100%;
      height: 12px;
      background: var(--border);
      border-radius: 20px;
      overflow: hidden;
      margin-bottom: 8px;
    }

    .progress-fill {
      height: 100%;
      background: var(--secondary);
      border-radius: 20px;
      width: 0%;
      transition: width 0.8s ease;
    }

    .compare-desc {
      font-size: 14px;
      color: var(--text-muted);
      display: flex;
      justify-content: space-between;
    }

    /* FAQ */
    #faq {
      background: var(--bg);
    }

    .faq-list {
      max-width: 780px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: var(--card-bg);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    .faq-question {
      padding: 18px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.2s;
    }

    .faq-question:hover {
      background: #f9fafb;
    }

    .faq-icon {
      font-size: 20px;
      color: var(--secondary);
      transition: transform 0.3s ease;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      background: var(--form-bg);
      color: var(--text-muted);
      font-size: 14px;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding: 16px 24px;
    }

    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* 转化表单 */
    #contact {
      background: var(--bg);
    }

    .contact-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 48px;
      box-shadow: var(--shadow-sm);
      max-width: 720px;
      margin: 0 auto;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      background: var(--form-bg);
      border: none;
      border-bottom: 2px solid transparent;
      padding: 14px 16px;
      border-radius: var(--radius-sm);
      font-size: 16px;
      transition: border 0.2s, box-shadow 0.2s;
      outline: none;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-bottom: 2px solid var(--secondary);
      box-shadow: 0 4px 12px rgba(91,140,90,0.08);
    }

    .btn-submit {
      width: 200px;
      margin-top: 10px;
    }

    @media (max-width: 640px) {
      .btn-submit {
        width: 100%;
      }
      .contact-card {
        padding: 32px 24px;
      }
    }

    /* 页脚 */
    footer {
      background: #FFFFFF;
      padding: 32px 0;
      text-align: center;
      font-size: 12px;
      color: var(--text-muted);
      border-top: 1px solid var(--border);
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-bottom: 12px;
    }

    .footer-links span {
      cursor: default;
    }

    /* 图片占位通用 */
    .img-placeholder {
      background: #e2e5e9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
    }
