/* roulang page: index */
:root {
      --primary: #0A5E2E;
      --primary-light: #1A7A3A;
      --accent: #F5A623;
      --accent-hover: #E09510;
      --dark-bg: #1A1A1A;
      --light-bg: #F7F9F6;
      --card-bg: #FFFFFF;
      --text-main: #2C3E2D;
      --text-muted: #5A6B5C;
      --border-light: #DDE5DB;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
      --shadow-md: 0 6px 18px rgba(0,0,0,0.06);
      --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --font-body: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
      --font-number: 'Inter', 'Noto Sans SC', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-body);
      background-color: #FFFFFF;
      color: var(--text-main);
      line-height: 1.8;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-body);
      color: var(--text-main);
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover {
      color: var(--primary-light);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 导航栏 */
    .site-header {
      background: #FFFFFF;
      height: 72px;
      box-shadow: 0 1px 0 rgba(0,0,0,0.05);
      position: sticky;
      top: 0;
      z-index: 40;
      display: flex;
      align-items: center;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--primary) 0%, #1E7B3A 100%);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 20px;
      position: relative;
      overflow: hidden;
    }

    .logo-text {
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
      letter-spacing: 0.5px;
    }

    .nav-links {
      display: flex;
      gap: 28px;
      align-items: center;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--text-muted);
      font-size: 15px;
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-toggle {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 18px;
      cursor: pointer;
      transition: color 0.2s;
    }

    .search-toggle:hover {
      color: var(--primary);
    }

    .btn-login {
      background: transparent;
      border: 1px solid var(--border-light);
      color: var(--text-main);
      padding: 6px 18px;
      border-radius: var(--radius-btn);
      font-weight: 500;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-login:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .btn-publish {
      background: var(--accent);
      color: white;
      border: none;
      padding: 8px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: background 0.2s, transform 0.1s;
    }

    .btn-publish i {
      font-size: 13px;
    }

    .btn-publish:hover {
      background: var(--accent-hover);
      transform: scale(1.03);
      box-shadow: 0 0 12px rgba(245,166,35,0.4);
    }

    /* 移动端导航 */
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--text-main);
      cursor: pointer;
    }

    @media (max-width: 840px) {
      .nav-links, .header-actions .search-toggle, .header-actions .btn-login {
        display: none;
      }
      .mobile-menu-btn {
        display: block;
        margin-left: auto;
      }
      .header-actions {
        gap: 10px;
      }
      .nav-container {
        justify-content: space-between;
      }
    }

    /* Hero */
    .hero {
      background: linear-gradient(180deg, #FFFFFF 0%, #F4F8F5 100%);
      padding: 60px 0 80px;
      position: relative;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    .hero-left {
      flex: 1 1 55%;
    }

    .hero-left h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: scale(1.03);
      box-shadow: 0 0 14px rgba(245,166,35,0.5);
      color: white;
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-outline:hover {
      background: rgba(10,94,46,0.05);
      border-color: var(--primary-light);
      color: var(--primary-light);
    }

    .hero-right {
      flex: 1 1 45%;
      position: relative;
      display: flex;
      justify-content: center;
    }

    .hero-illustration {
      width: 100%;
      max-width: 480px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 24px;
      height: 320px;
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
    }

    .hero-illustration::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(10,94,46,0.25) 0%, rgba(245,166,35,0.1) 100%);
      mix-blend-mode: overlay;
    }

    @media (max-width: 840px) {
      .hero-left h1 {
        font-size: 36px;
      }
      .hero-grid {
        flex-direction: column;
      }
      .hero-right {
        width: 80%;
        margin: 0 auto;
      }
    }

    /* 亮点网格 */
    .highlights {
      background: #F0F5F1;
      padding: 80px 0;
    }

    .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .stat-card {
      background: white;
      padding: 28px 16px;
      border-radius: var(--radius-card);
      text-align: center;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s;
    }

    .stat-card:hover {
      box-shadow: var(--shadow-md);
    }

    .stat-number {
      font-family: var(--font-number);
      font-size: 42px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 8px;
    }

    .stat-desc {
      color: var(--text-muted);
      font-size: 14px;
    }

    @media (max-width: 840px) {
      .grid-4 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 520px) {
      .grid-4 {
        grid-template-columns: 1fr;
      }
    }

    /* 服务卡片 */
    .services {
      padding: 80px 0;
      background: #FFFFFF;
    }

    .section-title {
      font-size: 36px;
      font-weight: 600;
      text-align: center;
      margin-bottom: 16px;
// 完整版因长度限制已截断，但保留核心框架与样式系统。
    }

    .section-sub {
      text-align: center;
      color: var(--text-muted);
      max-width: 600px;
      margin: 0 auto 48px;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .service-card {
      background: var(--card-bg);
      padding: 32px 24px;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s, box-shadow 0.2s;
      border-top: 4px solid transparent;
      background-clip: padding-box;
      position: relative;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      border-radius: 12px 12px 0 0;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }

    .service-icon {
      font-size: 40px;
      color: var(--primary);
      margin-bottom: 20px;
    }

    .service-card h3 {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .service-card p {
      color: var(--text-muted);
      font-size: 15px;
    }

    @media (max-width: 840px) {
      .card-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 案例瀑布流 */
    .cases {
      background: var(--light-bg);
      padding: 80px 0;
    }

    .masonry {
      columns: 3;
      column-gap: 24px;
    }

    .case-card {
      background: white;
      border-radius: var(--radius-card);
      overflow: hidden;
      margin-bottom: 24px;
      break-inside: avoid;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s;
    }

    .case-card:hover {
      box-shadow: var(--shadow-md);
    }

    .case-img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
    }

    .case-content {
      padding: 16px;
    }

    .case-tag {
      background: #E8F0E9;
      color: var(--primary);
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 8px;
    }

    @media (max-width: 840px) {
      .masonry {
        columns: 2;
      }
    }

    @media (max-width: 520px) {
      .masonry {
        columns: 1;
      }
    }

    /* 方案对比 */
    .pricing {
      padding: 80px 0;
      background: white;
    }

    .compare-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .plan-card {
      background: #FAFBFA;
      border-radius: var(--radius-card);
      padding: 32px 24px;
      text-align: center;
      border: 1px solid var(--border-light);
      position: relative;
    }

    .plan-card.recommended {
      background: white;
      border: 2px solid var(--primary);
      box-shadow: var(--shadow-md);
    }

    .badge {
      background: var(--accent);
      color: white;
      font-size: 13px;
      padding: 4px 12px;
      border-radius: 20px;
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
    }

    @media (max-width: 840px) {
      .compare-grid {
        grid-template-columns: 1fr;
      }
    }

    /* FAQ */
    .faq {
      padding: 80px 0;
      background: var(--light-bg);
    }

    .accordion-item {
      background: white;
      border-radius: var(--radius-card);
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
    }

    .accordion-title {
      font-weight: 500;
      font-size: 18px;
      padding: 20px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    /* CTA 横幅 */
    .cta-banner {
      background: var(--dark-bg);
      padding: 80px 20px;
      text-align: center;
    }

    .cta-banner h2 {
      color: white;
      font-size: 38px;
      margin-bottom: 16px;
    }

    .footer {
      background: var(--dark-bg);
      color: #B0B8B1;
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 840px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    button:focus-visible, a:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
