/* roulang page: index */
:root {
      --primary: #1B5E20;
      --primary-light: #2E7D32;
      --accent: #FF6D00;
      --accent-hover: #E65100;
      --bg: #FAFAF5;
      --bg-light: #F0F2E9;
      --text: #1C1C1C;
      --text-secondary: #4A4A4A;
      --text-muted: #757575;
      --border: #E0E0E0;
      --card-shadow: 0 2px 16px rgba(0,0,0,0.06);
      --card-shadow-hover: 0 8px 28px rgba(0,0,0,0.10);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-number: "Inter", "SF Pro Display", system-ui;
      --nav-height: 68px;
      --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.75;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .btn {
      cursor: pointer;
      font-family: var(--font-sans);
      border: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: var(--transition-smooth);
      font-weight: 600;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.3;
    }

    h1 {
      font-size: clamp(2.25rem, 5vw, 3.5rem);
      margin-bottom: 1rem;
    }

    h2 {
      font-size: clamp(2rem, 4vw, 2.5rem);
      margin-bottom: 1.5rem;
    }

    h3 {
      font-size: 1.25rem;
      margin-bottom: 0.5rem;
    }

    .section-padding {
      padding: 80px 0;
    }

    @media (max-width: 768px) {
      .section-padding {
        padding: 60px 0;
      }
    }

    /* 导航 */
    .main-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: white;
      height: var(--nav-height);
      box-shadow: 0 0 0 transparent;
      transition: box-shadow 0.3s ease;
    }

    .main-header.scrolled {
      box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: -0.5px;
      white-space: nowrap;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--primary);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 1.1rem;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-menu a {
      font-weight: 500;
      color: var(--text-secondary);
      transition: color 0.2s;
      font-size: 0.95rem;
    }

    .nav-menu a:hover {
      color: var(--primary);
    }

    .btn-primary {
      background: var(--accent);
      color: white;
      border-radius: var(--radius-btn);
      padding: 12px 28px;
      font-weight: 600;
      transition: var(--transition-smooth);
      white-space: nowrap;
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: scale(1.03);
      box-shadow: 0 4px 12px rgba(255,109,0,0.3);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      border-radius: var(--radius-btn);
      padding: 12px 28px;
    }

    .btn-outline:hover {
      background: rgba(27,94,32,0.06);
      transform: translateY(-2px);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      width: 30px;
      height: 24px;
      justify-content: center;
    }

    .hamburger span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--text);
      transition: var(--transition-smooth);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--nav-height);
      left: 0;
      width: 100%;
      height: calc(100vh - var(--nav-height));
      background: white;
      flex-direction: column;
      padding: 32px 24px;
      gap: 24px;
      z-index: 999;
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }

    .mobile-menu.active {
      transform: translateX(0);
    }

    @media (max-width: 768px) {
      .nav-menu {
        display: none;
      }
      .hamburger {
        display: flex;
      }
      .mobile-menu {
        display: flex;
      }
      .main-header .btn-primary {
        display: none;
      }
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
      display: flex;
      align-items: center;
      min-height: 80vh;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .tag {
      background: rgba(27,94,32,0.1);
      color: var(--primary);
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 600;
      display: inline-block;
      width: fit-content;
    }

    .hero-title {
      font-size: clamp(2.5rem, 5vw, 3.8rem);
      font-weight: 800;
      line-height: 1.2;
      color: var(--text);
    }

    .hero-sub {
      font-size: 1.15rem;
      color: var(--text-secondary);
      max-width: 90%;
      margin: 0.5rem 0 1rem;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: var(--radius-card);
      height: 420px;
      box-shadow: var(--card-shadow);
    }

    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .hero-image {
        order: -1;
        height: 300px;
      }
      .hero-content {
        text-align: center;
        align-items: center;
      }
      .hero-sub {
        max-width: 100%;
      }
#ifdef 768px
    }

    /* 痛点区 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
      margin-top: 40px;
    }

    .pain-card {
      background: white;
      padding: 28px;
      border-radius: var(--radius-card);
      box-shadow: var(--card-shadow);
      transition: var(--transition-smooth);
      border: 1px solid transparent;
    }

    .pain-card:hover {
      border-color: var(--primary);
      transform: translateY(-4px);
      box-shadow: var(--card-shadow-hover);
    }

    .pain-icon {
      width: 48px;
      height: 48px;
      border: 2px solid var(--accent);
      color: var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      font-size: 1.3rem;
    }

    /* 解决方案 */
    .solution-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 28px;
      margin-top: 40px;
    }

    .solution-card {
      background: white;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }

    .solution-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--card-shadow-hover);
    }

    .solution-img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      background: var(--bg-light);
    }

    .solution-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1;
    }

    .card-tag {
      color: var(--primary);
      font-weight: 600;
      font-size: 0.8rem;
      background: rgba(27,94,32,0.08);
      padding: 4px 10px;
      border-radius: 12px;
    }

    .link-arrow {
      color: var(--primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: gap 0.2s;
      margin-top: auto;
    }

    .link-arrow:hover {
      gap: 8px;
    }

    /* 数据区 */
    .stats-section {
      background: var(--bg-light);
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-number);
      font-size: 3rem;
      font-weight: 800;
      color: var(--primary);
    }

    .stat-label {
      color: var(--text-muted);
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
      }
    }

    /* 证言 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
      margin-top: 40px;
    }

    .testimonial-card {
      background: white;
      padding: 28px;
      border-radius: var(--radius-card);
      box-shadow: var(--card-shadow);
      border-left: 3px solid var(--primary);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .testimonial-text {
      font-style: italic;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    .testimonial-user {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 8px;
    }

    .avatar {
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, var(--primary), #388E3C);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 1.2rem;
    }

    /* FAQ */
    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 32px;
    }

    .faq-item {
      background: white;
      border-radius: var(--radius-card);
      padding: 0 24px;
      box-shadow: 0 1px 8px rgba(0,0,0,0.04);
      overflow: hidden;
    }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
      cursor: pointer;
      font-weight: 600;
      color: var(--text);
      gap: 12px;
      background: none;
      border: none;
      width: 100%;
      font-size: 1.05rem;
      text-align: left;
    }

    .faq-icon {
      font-size: 1.8rem;
      font-weight: 300;
      transition: transform 0.3s;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
      padding-bottom: 0;
      line-height: 1.7;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    .faq-item.open .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA */
    .cta-section {
      background: var(--primary);
      color: white;
      text-align: center;
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.2' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
      pointer-events: none;
    }

    .cta-title {
      font-size: 2.2rem;
      margin-bottom: 1rem;
    }

    .cta-sub {
      margin-bottom: 2rem;
      opacity: 0.9;
    }

    /* Footer */
    .footer {
      background: #1A1A1A;
      color: #ccc;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 40px;
    }

    .footer h4 {
      color: white;
      margin-bottom: 16px;
    }

    .footer a {
      color: #aaa;
      display: block;
      margin-bottom: 8px;
    }

    .footer a:hover {
      color: white;
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
      text-align: center;
      font-size: 0.9rem;
      color: #888;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
