/* roulang page: index */
/* ----- 设计变量与基础重置 ----- */
    :root {
      --primary: #0B3D2E;
      --primary-hover: #072F23;
      --accent: #C89B3C;
      --accent-hover: #D4A94D;
      --bg-light: #FAFAF7;
      --bg-dark: #1A1F1E;
      --card-dark: #252A29;
      --text-main: #1D1D1D;
      --text-secondary: #5C5C5C;
      --text-muted: #8A8A8A;
      --text-light: #EAEAEA;
      --success: #0F7B4E;
      --alert: #CF3A2C;
      --border-light: rgba(0,0,0,0.05);
      --border-dark: rgba(255,255,255,0.08);
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
      --radius-lg: 12px;
      --radius-md: 8px;
      --radius-sm: 6px;
      --font-title: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
      --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-title);
      font-size: 16px;
      line-height: 1.75;
      color: var(--text-main);
      background-color: var(--bg-light);
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, input {
      font-family: inherit;
      font-size: inherit;
      border: none;
      outline: none;
      background: transparent;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 40px;
    }

    @media (max-width: 1024px) {
      .container {
        padding: 0 24px;
      }
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }
      body {
        font-size: 15px;
      }
    }

    /* ----- 按钮系统 ----- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      padding: 14px 32px;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition);
      letter-spacing: 0.3px;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border: 1.5px solid var(--primary);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      border-color: var(--primary-hover);
      box-shadow: 0 0 0 3px rgba(11,61,46,0.2);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
    }
    .btn-outline:hover {
      background: rgba(11,61,46,0.05);
    }

    .btn-accent {
      background: var(--accent);
      color: var(--text-main);
      border: 1.5px solid var(--accent);
      font-weight: 700;
    }
    .btn-accent:hover {
      background: var(--accent-hover);
      border-color: var(--accent-hover);
    }

    /* ----- 导航 ----- */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      height: 72px;
      display: flex;
      align-items: center;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(8px);
      transition: background 0.3s, box-shadow 0.3s;
      border-bottom: 1px solid transparent;
    }
    .header.scrolled {
      background: #FFFFFF;
      box-shadow: 0 1px 8px rgba(0,0,0,0.06);
      border-bottom: 1px solid var(--border-light);
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 8px;
      letter-spacing: -0.3px;
    }
    .logo span {
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      font-weight: 500;
      color: var(--text-secondary);
    }
    .nav-links a {
      position: relative;
      padding: 8px 0;
      font-size: 15px;
      transition: color var(--transition);
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width var(--transition);
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .nav-cta {
      margin-left: 16px;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 6px;
      cursor: pointer;
      padding: 8px;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--primary);
      transition: var(--transition);
    }
    @media (max-width: 768px) {
      .header {
        height: 56px;
      }
      .nav-links {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
        z-index: 99;
      }
      .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }
      .hamburger {
        display: flex;
      }
      .nav-cta {
        margin-left: 0;
      }
    }

    /* 板块通用 */
    section {
      padding: 120px 0;
    }
    @media (max-width: 1024px) {
      section {
        padding: 80px 0;
      }
    }
    @media (max-width: 768px) {
      section {
        padding: 60px 0;
      }
    }
    .section-title {
      font-size: 36px;
      line-height: 1.3;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--text-main);
    }
    .section-sub {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 48px;
    }
    @media (max-width: 768px) {
      .section-title {
        font-size: 26px;
      }
      .section-sub {
        font-size: 16px;
        margin-bottom: 32px;
      }
    }

    /* Hero */
    .hero {
      padding-top: 160px;
      padding-bottom: 120px;
      background: linear-gradient(135deg, #FAFAF7 0%, #F0EFE9 100%);
      position: relative;
      overflow: hidden;
    }
    .hero .container {
      display: flex;
      align-items: center;
      gap: 60px;
    }
    .hero-content {
      flex: 1 1 45%;
    }
    .hero-image {
      flex: 1 1 55%;
      text-align: right;
      position: relative;
    }
    .hero-image img {
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      max-width: 100%;
    }
    .hero h1 {
      font-size: 48px;
      line-height: 1.2;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 24px;
      letter-spacing: -0.5px;
    }
    .hero .lead {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    @media (max-width: 1024px) {
      .hero .container {
        flex-direction: column;
        text-align: center;
      }
      .hero-image {
        text-align: center;
      }
      .hero h1 {
        font-size: 38px;
      }
    }
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 32px;
      }
      .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
      }
    }

    /* 数据看板深色块 */
    .dashboard {
      background: var(--bg-dark);
      color: white;
    }
    .dashboard .section-title,
    .dashboard .section-sub {
      color: white;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-bottom: 40px;
    }
    .stat-card {
      background: var(--card-dark);
      border-radius: var(--radius-lg);
      padding: 28px;
      border: 1px solid var(--border-dark);
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 36px;
      font-weight: 600;
      color: var(--accent);
      margin-bottom: 8px;
    }
    .stat-label {
      font-size: 14px;
      color: #A0A0A0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .stat-change {
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .up { color: var(--success); }
    .down { color: var(--alert); }

    @media (max-width: 1024px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 520px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .service-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid var(--primary);
      transition: all var(--transition);
    }
    .service-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
      border-left-width: 8px;
    }
    .service-card h3 {
      font-size: 22px;
      margin: 16px 0 12px;
      font-weight: 600;
    }
    .service-card p {
      color: var(--text-secondary);
      margin-bottom: 20px;
    }
    .text-link {
      color: var(--primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    @media (max-width: 1024px) {
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 600px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 对比区 */
    .compare {
      background: var(--bg-dark);
      color: white;
    }
    .compare-wrapper {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .vs-badge {
      background: var(--accent);
      color: #1D1D1D;
      width: 64px;
      height: 64px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 24px;
    }
    .compare-col {
      flex: 1;
      background: var(--card-dark);
      border-radius: var(--radius-lg);
      padding: 32px;
    }
    .compare-item {
      margin-bottom: 24px;
    }
    .compare-label {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-size: 15px;
    }
    .progress-bar {
      height: 6px;
      background: rgba(255,255,255,0.15);
      border-radius: 3px;
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      background: var(--accent);
      width: 0%;
      transition: width 0.8s ease-out;
    }
    @media (max-width: 768px) {
      .compare-wrapper {
        flex-direction: column;
      }
    }

    /* 流程 */
    .steps {
      display: flex;
      justify-content: space-between;
      text-align: center;
      gap: 24px;
    }
    .step-item {
      flex: 1;
      position: relative;
    }
    .step-number {
      font-size: 48px;
      font-weight: 700;
      color: rgba(11,61,46,0.1);
      margin-bottom: 12px;
    }
    @media (max-width: 768px) {
      .steps {
        flex-direction: column;
        gap: 32px;
      }
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }
    .faq-item {
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }
    .faq-question {
      padding: 20px 24px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      user-select: none;
      background: white;
    }
    .faq-answer {
      max-height: 0;
      padding: 0 24px;
      color: var(--text-secondary);
      transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 0 24px 20px;
    }
    .faq-icon {
      font-size: 22px;
      transition: transform 0.3s;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }

    /* CTA 表单 */
    .cta-section {
      background: var(--primary);
      color: white;
      text-align: center;
    }
    .cta-form {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 32px;
    }
    .cta-form input {
      padding: 14px 16px;
      border-radius: var(--radius-md);
      background: white;
      border: 1px solid rgba(255,255,255,0.3);
      min-width: 220px;
    }
    .cta-form input:focus {
      border-color: var(--accent);
    }
    @media (max-width: 600px) {
      .cta-form {
        flex-direction: column;
        align-items: center;
      }
      .cta-form input {
        width: 100%;
      }
    }

    /* 页脚 */
    .footer {
      background: var(--bg-dark);
      color: #CCC;
      padding: 80px 0 40px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-logo {
      font-size: 22px;
      font-weight: 700;
      color: white;
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
    .copyright {
      border-top: 1px solid #333;
      padding-top: 24px;
      text-align: center;
      font-size: 14px;
      color: #888;
    }
