/* roulang page: index */
:root {
      --primary: #2D1B3D;
      --primary-deep: #1F122B;
      --accent: #C9A96E;
      --bg: #F9F6F2;
      --card-bg: #FFFFFF;
      --text: #1E1A1C;
      --text-secondary: #6B5E62;
      --emerald: #0B5E4A;
      --emerald-hover: #094B3C;
      --border-light: #D4CFC9;
      --shadow-sm: 0 4px 20px rgba(45,27,61,0.06);
      --shadow-md: 0 8px 30px rgba(45,27,61,0.12);
      --radius-card: 12px;
      --radius-btn: 30px;
      --radius-input: 8px;
      --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
      --font-en: "Inter", "SF Pro Display", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: var(--font-cn);
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-cn);
      color: var(--text);
    }

    a {
      color: var(--accent);
      text-decoration: none;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    a:hover {
      color: var(--emerald);
      text-decoration: underline;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .button {
      cursor: pointer;
      font-family: var(--font-cn);
    }

    /* 自定义容器 */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 浮动 Dock 导航 */
    .dock-nav {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      width: auto;
      max-width: 90vw;
      background: rgba(255,255,255,0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-radius: 40px;
      padding: 8px 28px;
      box-shadow: 0 2px 20px rgba(0,0,0,0.07);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      flex-wrap: nowrap;
    }

    .dock-logo {
      font-weight: 700;
      font-size: 1.3rem;
      color: var(--primary);
      white-space: nowrap;
      letter-spacing: 0.03em;
    }

    .dock-links {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
    }

    .dock-links a {
      color: var(--text);
      font-weight: 500;
      font-size: 0.98rem;
      transition: color 0.2s;
      white-space: nowrap;
    }

    .dock-links a:hover {
      color: var(--accent);
      text-decoration: none;
    }

    .dock-cta {
      background: var(--emerald);
      color: white;
      padding: 10px 22px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 0.9rem;
      white-space: nowrap;
      transition: background 0.2s;
      display: inline-block;
    }

    .dock-cta:hover {
      background: var(--emerald-hover);
      color: white;
      text-decoration: none;
    }

    /* 移动端汉堡 */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.6rem;
      color: var(--primary);
      cursor: pointer;
    }

    /* 板块通用 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 16px;
      letter-spacing: 0.02em;
    }

    .section-subtitle {
      color: var(--text-secondary);
      margin-bottom: 48px;
      font-size: 1.1rem;
    }

    /* 按钮 */
    .btn-primary {
      background: var(--emerald);
      color: white;
      border-radius: 30px;
      padding: 14px 34px;
      font-weight: 600;
      display: inline-block;
      transition: background 0.25s, box-shadow 0.25s;
      border: none;
      box-shadow: 0 2px 8px rgba(11,94,74,0.2);
    }

    .btn-primary:hover {
      background: var(--emerald-hover);
      color: white;
      text-decoration: none;
      box-shadow: 0 4px 14px rgba(11,94,74,0.3);
    }

    .btn-secondary {
      border: 1.5px solid var(--accent);
      color: var(--accent);
      background: transparent;
      border-radius: 30px;
      padding: 12px 32px;
      font-weight: 600;
      display: inline-block;
      transition: all 0.25s;
    }

    .btn-secondary:hover {
      background: var(--accent);
      color: white;
      text-decoration: none;
    }

    .text-link {
      color: var(--accent);
      font-weight: 500;
    }

    .text-link:hover {
      color: var(--emerald);
      text-decoration: underline;
    }

    /* Hero 不对称分屏 */
    #hero {
      padding: 0;
      display: flex;
      min-height: 100vh;
      background: var(--bg);
    }

    .hero-left {
      width: 55%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
      color: white;
      display: flex;
      align-items: center;
      padding: 120px 60px 80px;
      position: relative;
      border-right: 2px solid var(--accent);
    }

    .hero-left-content {
      max-width: 560px;
    }

    .hero-left h1 {
      color: white;
      font-size: 3rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      margin-bottom: 24px;
    }

    .hero-sub {
      color: var(--accent);
      font-size: 1.2rem;
      margin-bottom: 36px;
    }

    .hero-right {
      width: 45%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .hero-right::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(45,27,61,0.65);
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 24px;
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 36px 24px;
      box-shadow: var(--shadow-sm);
      border-top: 3px solid var(--accent);
      margin-top: 20px;
    }

    .stat-item {
      text-align: center;
    }

    .stat-number {
      font-family: var(--font-en);
      font-weight: 700;
      font-size: 2.8rem;
      color: var(--emerald);
    }

    .stat-label {
      color: var(--text-secondary);
      font-size: 0.9rem;
      margin-top: 8px;
    }

    /* 服务卡片网格 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
    }

    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s ease;
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .service-icon {
      font-size: 2.2rem;
      color: var(--accent);
      margin-bottom: 20px;
    }

    .service-card h3 {
      font-size: 1.4rem;
      margin-bottom: 12px;
    }

    .service-desc {
      color: var(--text-secondary);
      margin-bottom: 20px;
    }

    /* 对比双列 */
    .compare-row {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
    }

    .compare-col {
      flex: 1;
      min-width: 280px;
      border-radius: var(--radius-card);
      padding: 32px;
    }

    .compare-traditional {
      background: #EDE9E4;
    }

    .compare-ag {
      background: white;
      border-left: 6px solid var(--accent);
      box-shadow: var(--shadow-sm);
    }

    .check-icon {
      color: var(--emerald);
      margin-right: 10px;
    }

    /* FAQ */
    .accordion-item {
      border-bottom: 1px solid var(--border-light);
    }

    .accordion-title {
      font-weight: 600;
      font-size: 1.2rem;
      padding: 20px 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      color: var(--text);
    }

    .accordion-title::before {
      content: '';
      width: 4px;
      height: 20px;
      background: var(--accent);
      margin-right: 16px;
      border-radius: 2px;
    }

    .accordion-content {
      padding: 0 0 20px 20px;
      color: var(--text-secondary);
    }

    /* 表单 */
    .cta-wrapper {
      background: var(--primary);
      padding: 70px 20px;
      border-radius: 24px;
      margin: 40px 0;
    }

    .form-card {
      background: white;
      border-radius: 20px;
      padding: 40px;
      max-width: 620px;
      margin: 0 auto;
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

    .form-card input, .form-card textarea {
      border-radius: var(--radius-input);
      border: 1px solid var(--border-light);
      padding: 14px;
      width: 100%;
      margin-bottom: 20px;
      transition: 0.2s;
    }

    .form-card input:focus, .form-card textarea:focus {
      border-color: var(--accent);
      outline: none;
      box-shadow: 0 0 0 3px rgba(201,169,110,0.3);
    }

    /* Footer */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
      color: #B5ADB0;
    }

    .copyright {
      border-top: 1px solid #3A3537;
      margin-top: 40px;
      padding-top: 24px;
      text-align: center;
      color: #8A8487;
    }

    @media (max-width: 1024px) {
      .hero-left { width: 50%; padding: 80px 30px; }
      .hero-right { width: 50%; }
      .dashboard-grid { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 768px) {
      .dock-links, .dock-cta { display: none; }
      .menu-toggle { display: block; }
      .dock-nav { justify-content: space-between; padding: 8px 20px; }
      #hero { flex-direction: column; }
      .hero-left, .hero-right { width: 100%; min-height: 50vh; }
      .hero-left h1 { font-size: 2.2rem; }
      .footer-grid { grid-template-columns: 1fr; }
      .compare-row { flex-direction: column; }
    }
