/* roulang page: index */
:root {
      --primary-green: #2E7D32;
      --deep-green: #1B3A1B;
      --accent-gold: #FFB300;
      --accent-gold-hover: #FFA000;
      --earth-brown: #5D4037;
      --dark-brown: #3E2723;
      --white: #FFFFFF;
      --off-white: #F5F5F5;
      --light-green-bg: #E8F5E9;
      --pale-yellow-bg: #F9FBE7;
      --soft-red-bg: #FFF3F0;
      --text-primary: #1B1B1B;
      --text-secondary: #5D4037;
      --text-muted: #888888;
      --border-light: #E0E0E0;
      --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
      --shadow-gold: 0 0 0 4px rgba(255,179,0,0.25);
      --radius-card: 12px;
      --radius-btn: 30px;
      --radius-sm: 8px;
      --transition: 0.25s ease;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-data: "DIN Alternate", "Arial", sans-serif;
      --header-height: 72px;
      --header-height-mobile: 60px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-sans);
      background-color: #FAFAFA;
      color: var(--text-primary);
      line-height: 1.6;
      font-size: 16px;
      overflow-x: hidden;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
    }

    h1 {
      font-size: 48px;
      line-height: 56px;
      letter-spacing: -0.5px;
    }

    h2 {
      font-size: 36px;
      line-height: 44px;
      text-align: center;
      margin-bottom: 48px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    h2::after {
      content: '';
      display: block;
      width: 40px;
      height: 3px;
      background-color: var(--accent-gold);
      border-radius: 2px;
    }

    h3 {
      font-size: 22px;
      line-height: 30px;
      font-weight: 600;
    }

    p {
      max-width: 680px;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      display: block;
    }

    button, input, select {
      font-family: inherit;
      font-size: 16px;
    }

    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 32px;
      z-index: 1000;
      background: transparent;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }

    #header.scrolled {
      background: var(--white);
      box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--white);
      letter-spacing: 0.5px;
      transition: color 0.3s;
    }

    #header.scrolled .logo {
      color: var(--primary-green);
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-menu a {
      color: var(--white);
      font-weight: 500;
      position: relative;
      padding: 8px 0;
      transition: color 0.3s;
    }

    #header.scrolled .nav-menu a {
      color: var(--text-primary);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--accent-gold);
    }

    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--accent-gold);
      transition: width 0.25s;
      border-radius: 2px;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
      width: 100%;
    }

    .btn-primary {
      background: var(--accent-gold);
      color: #1B1B1B;
      border: none;
      border-radius: var(--radius-btn);
      padding: 12px 28px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.25s, box-shadow 0.25s;
      display: inline-block;
    }

    .btn-primary:hover {
      background: var(--accent-gold-hover);
      box-shadow: var(--shadow-gold);
    }

    .btn-outline {
      border: 2px solid var(--white);
      background: transparent;
      color: var(--white);
      border-radius: var(--radius-btn);
      padding: 12px 28px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s;
    }

    .btn-outline:hover {
      background: var(--white);
      color: var(--primary-green);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }

    .hamburger span {
      width: 28px;
      height: 3px;
      background: var(--white);
      transition: 0.3s;
      border-radius: 2px;
    }

    #header.scrolled .hamburger span {
      background: var(--primary-green);
    }

    /* Hero */
    #hero {
      height: 100vh;
      min-height: 700px;
      background: linear-gradient(rgba(46,125,50,0.75), rgba(30,60,30,0.9)), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--white);
      padding: 0 24px;
      position: relative;
    }

    .hero-content {
      max-width: 900px;
      margin-top: 60px;
    }

    .hero-content h1 {
      margin-bottom: 24px;
    }

    .hero-subtitle {
      font-size: 20px;
      margin-bottom: 40px;
      color: rgba(255,255,255,0.9);
    }

    .hero-actions {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .hero-stats {
      position: absolute;
      bottom: 0;
      width: 100%;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(8px);
      display: flex;
      justify-content: center;
      gap: 60px;
      padding: 24px 0;
      flex-wrap: wrap;
    }

    .stat-item {
      display: flex;
      align-items: baseline;
      gap: 8px;
    }

    .stat-number {
      font-family: var(--font-data);
      font-size: 42px;
      font-weight: 700;
      color: var(--accent-gold);
    }

    .stat-label {
      font-size: 16px;
      color: #ddd;
    }

    /* 通用区块 */
    section {
      padding: 120px 0;
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .dashboard-card {
      background: var(--pale-yellow-bg);
      border-radius: var(--radius-sm);
      padding: 32px 24px;
      text-align: center;
      border-bottom: 4px solid var(--primary-green);
    }

    .dashboard-number {
      font-family: var(--font-data);
      font-size: 56px;
      font-weight: 700;
      color: var(--primary-green);
      line-height: 1.2;
    }

    .dashboard-label {
      font-size: 14px;
      color: var(--text-secondary);
      margin-top: 8px;
    }

    .trend {
      font-size: 18px;
      margin-left: 8px;
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px 32px;
    }

    .service-card {
      background: var(--white);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .service-card.wide {
      grid-column: span 2;
      flex-direction: row;
    }

    .service-img {
      height: 200px;
      background-size: cover;
      background-position: center;
    }

    .service-card.wide .service-img {
      width: 40%;
      height: auto;
    }

    .service-body {
      padding: 28px;
      flex: 1;
    }

    .service-body h3 {
      margin-bottom: 12px;
    }

    .text-link {
      color: var(--primary-green);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 16px;
      position: relative;
    }

    .text-link::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 1px;
      background: var(--primary-green);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.25s;
    }

    .text-link:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }

    /* 流程 */
    .process-steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
      margin-top: 24px;
    }

    .process-steps::before {
      content: '';
      position: absolute;
      top: 28px;
      left: 10%;
      width: 80%;
      height: 2px;
      border-top: 2px dashed var(--primary-green);
      z-index: 0;
    }

    .step {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 180px;
      position: relative;
      z-index: 1;
    }

    .step-circle {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--white);
      border: 3px solid var(--primary-green);
      color: var(--primary-green);
      font-weight: 700;
      font-size: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    /* 案例对比 */
    .case-comparison {
      display: flex;
      gap: 0;
      align-items: stretch;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }

    .case-card {
      flex: 1;
      padding: 40px;
    }

    .case-before {
      background: var(--soft-red-bg);
    }

    .case-after {
      background: var(--light-green-bg);
    }

    .vs-badge {
      width: 60px;
      height: 60px;
      background: var(--accent-gold);
      color: #1B1B1B;
      font-weight: 700;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
    }

    .compare-wrapper {
      position: relative;
      display: flex;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px 48px;
    }

    .faq-item {
      border-left: 4px solid var(--primary-green);
      background: var(--white);
      padding: 18px 24px;
      cursor: pointer;
      transition: background 0.2s;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    .faq-item:hover {
      background: var(--light-green-bg);
    }

    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
      font-size: 15px;
      margin-top: 0;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 16px;
    }

    /* CTA */
    .cta-section {
      background: var(--deep-green);
      color: white;
      text-align: center;
    }

    .cta-form {
      display: flex;
      gap: 16px;
      max-width: 700px;
      margin: 32px auto 0;
      flex-wrap: wrap;
      justify-content: center;
    }

    .cta-form input, .cta-form select {
      padding: 14px 20px;
      border-radius: var(--radius-sm);
      border: none;
      flex: 1;
      min-width: 180px;
    }

    .trust-text {
      margin-top: 24px;
      font-size: 14px;
      color: #aaa;
    }

    /* 页脚 */
    #footer {
      background: var(--dark-brown);
      color: #BCAAA4;
      padding: 60px 0 0;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .copyright {
      background: #1B1B1B;
      color: #888;
      text-align: center;
      padding: 20px;
      margin-top: 48px;
    }

    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .service-card.wide { grid-column: span 2; }
      .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      h1 { font-size: 32px; line-height: 40px; }
      h2 { font-size: 28px; }
      .container { padding: 0 20px; }
      .nav-menu { display: none; }
      .hamburger { display: flex; }
      .hero-stats { gap: 24px; }
      .services-grid, .dashboard-grid, .faq-grid { grid-template-columns: 1fr; }
      .service-card.wide { flex-direction: column; grid-column: span 1; }
      .service-card.wide .service-img { width: 100%; height: 200px; }
      .process-steps { flex-direction: column; align-items: center; gap: 32px; }
      .process-steps::before { display: none; }
      .case-comparison { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
    }
