/* roulang page: index */
:root {
      --primary: #1B5E20;
      --primary-hover: #14521A;
      --secondary: #F9A825;
      --cta-red: #D32F2F;
      --cta-red-hover: #B71C1C;
      --bg-warm: #F5F1EB;
      --card-bg: #FFFFFF;
      --text-dark: #1E1E1E;
      --text-muted: #5D5D5D;
      --border-light: rgba(0,0,0,0.06);
      --shadow-card: 0 8px 30px rgba(0,0,0,0.04);
      --shadow-hover: 0 16px 40px rgba(27,94,32,0.12);
      --radius-lg: 20px;
      --radius-md: 16px;
      --radius-btn: 12px;
      --font-hero: "PingFang SC Heavy", "Microsoft YaHei Bold", sans-serif;
      --font-title: "PingFang SC Semibold", "Microsoft YaHei", sans-serif;
      --font-body: "PingFang SC Regular", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      --font-number: "DIN Alternate", "PingFang SC", sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-warm);
      color: var(--text-dark);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 1px 0 var(--border-light);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: background 0.3s;
    }

    #header.scrolled {
      background: rgba(255,255,255,0.98);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-family: var(--font-title);
      font-weight: 700;
      font-size: 24px;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo span {
      color: var(--secondary);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      font-weight: 500;
      font-size: 15px;
      color: var(--text-dark);
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 15px;
      transition: background 0.25s, transform 0.15s;
      display: inline-block;
    }

    .btn-primary:hover {
      background: var(--primary-hover);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 15px;
      transition: all 0.25s;
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }

    .btn-red {
      background: var(--cta-red);
      color: white;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: background 0.25s;
    }

    .btn-red:hover {
      background: var(--cta-red-hover);
    }

    .btn-white-outline {
      background: transparent;
      color: white;
      border: 2px solid white;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s;
    }

    .btn-white-outline:hover {
      background: white;
      color: var(--primary);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 8px;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text-dark);
      transition: 0.3s;
    }

    /* Hero */
    #hero {
      padding: 160px 0 100px;
      background: radial-gradient(circle at 30% 40%, rgba(27,94,32,0.03) 0%, transparent 60%);
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .hero-text h1 {
      font-family: var(--font-hero);
      font-weight: 800;
      font-size: clamp(36px, 5vw, 56px);
      background: linear-gradient(135deg, #1B5E20 0%, #F9A825 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-text p {
      font-size: 18px;
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 480px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-visual {
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-lg);
      height: 400px;
      box-shadow: var(--shadow-card);
      position: relative;
    }

    /* 通用板块 */
    section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-family: var(--font-title);
      font-weight: 600;
      font-size: 32px;
      color: var(--text-dark);
      margin-bottom: 12px;
    }

    .section-title p {
      color: var(--text-muted);
      font-size: 17px;
    }

    /* 服务卡片 */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 36px 32px;
      box-shadow: var(--shadow-card);
      transition: transform 0.3s, box-shadow 0.3s, border 0.2s;
      border: 1px solid transparent;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(27,94,32,0.2);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--secondary);
      font-size: 28px;
    }

    .service-card h3 {
      font-family: var(--font-title);
      font-weight: 600;
      font-size: 20px;
      margin-bottom: 8px;
    }

    .service-card p {
      color: var(--text-muted);
    }

    /* 数据优势 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .stat-badge {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 28px 16px;
      text-align: center;
      box-shadow: var(--shadow-card);
      transition: transform 0.2s;
      background: linear-gradient(180deg, #FFFFFF 0%, #F9F7F2 100%);
    }

    .stat-number {
      font-family: var(--font-number);
      font-weight: 700;
      font-size: 42px;
      color: var(--cta-red);
      margin-bottom: 8px;
    }

    .stat-label {
      color: var(--text-muted);
      font-weight: 500;
    }

    /* 案例卡片 */
    .case-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .case-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .case-img {
      height: 200px;
      background-size: cover;
      background-position: center;
      transition: transform 0.4s;
    }

    .case-card:hover .case-img {
      transform: scale(1.03);
    }

    .case-content {
      padding: 20px;
    }

    .case-tag {
      display: inline-block;
      background: rgba(27,94,32,0.1);
      color: var(--primary);
      font-size: 13px;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 8px;
    }

    /* 解决方案 */
    .solution-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      margin-bottom: 60px;
    }

    .solution-img {
      background-size: cover;
      background-position: center;
      border-radius: var(--radius-lg);
      height: 320px;
    }

    .solution-text h3 {
      font-family: var(--font-title);
      font-size: 26px;
      margin-bottom: 16px;
    }

    .text-link {
      color: var(--primary);
      font-weight: 600;
      border-bottom: 2px solid currentColor;
      transition: opacity 0.2s;
    }

    .text-link:hover {
      opacity: 0.7;
    }

    /* FAQ */
    .faq-list {
      max-width: 780px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid rgba(0,0,0,0.08);
      padding: 16px 0;
    }

    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      padding: 8px 0;
    }

    .faq-answer {
      color: var(--text-muted);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
    }

    .faq-item.open .faq-answer {
      max-height: 300px;
    }

    /* CTA */
    #cta {
      background: var(--primary);
      padding: 80px 0;
      text-align: center;
    }

    #cta h2 {
      color: white;
      font-size: 34px;
      margin-bottom: 16px;
    }

    #cta p {
      color: rgba(255,255,255,0.9);
      margin-bottom: 32px;
    }

    .cta-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* Footer */
    #footer {
      background: #1E1E1E;
      color: #B0B0B0;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-logo {
      color: white;
      font-weight: 700;
      font-size: 22px;
      margin-bottom: 12px;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
      text-align: center;
      font-size: 14px;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .hero-grid, .solution-row {
        grid-template-columns: 1fr;
      }
      .cards-grid, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      }
      .nav-links.active {
        display: flex;
      }
      .hamburger {
        display: flex;
      }
      .cards-grid, .stats-grid {
        grid-template-columns: 1fr;
      }
      .hero-visual {
        height: 280px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
