/* roulang page: index */
:root {
      --primary: #1A1A2E;
      --accent: #D4AF37;
      --accent-hover: #C9A84C;
      --bg: #FAFAF8;
      --card-bg: #FFFFFF;
      --text: #1A1A1A;
      --text-secondary: #5A5A5A;
      --text-muted: #9A9A9A;
      --border: #EBEBEB;
      --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;
      --font-serif: 'Noto Serif SC', serif;
      --font-sans: 'Inter', 'PingFang SC', sans-serif;
      --nav-height: 80px;
      --section-gap: 120px;
      --gutter: 24px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-sans);
      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-serif);
      font-weight: 700;
      color: var(--primary);
    }

    h1 { font-size: 48px; line-height: 1.2; }
    h2 { font-size: 36px; line-height: 1.25; }
    h3 { font-size: 24px; line-height: 1.3; font-weight: 600; }
    h4 { font-size: 20px; line-height: 1.4; font-weight: 600; }

    a {
      color: var(--accent);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    a:hover {
      color: var(--accent-hover);
      text-decoration: none;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: transparent;
      z-index: 100;
      transition: background 0.25s ease, backdrop-filter 0.25s ease;
      display: flex;
      align-items: center;
    }

    #header.scrolled {
      background: rgba(250,250,248,0.85);
      backdrop-filter: blur(12px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .logo {
      font-family: var(--font-serif);
      font-weight: 700;
      font-size: 24px;
      color: var(--accent);
      letter-spacing: 0.5px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 8px 16px;
      position: relative;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .nav-links a.active {
      color: var(--primary);
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: 4px;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }

    .nav-divider {
      width: 1px;
      height: 16px;
      background: var(--border);
      margin: 0 2px;
    }

    .burger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      z-index: 110;
    }

    .burger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--primary);
      transition: 0.3s;
    }

    .burger span:last-child {
      width: 16px;
      align-self: flex-end;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #fff;
      z-index: 105;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 28px;
      transform: translateY(-100%);
      transition: transform 0.35s ease;
    }

    .mobile-menu.open {
      transform: translateY(0);
    }

    .mobile-menu a {
      font-size: 22px;
      font-weight: 500;
      color: var(--primary);
      position: relative;
      padding-left: 20px;
    }

    .mobile-menu a.active::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
    }

    /* Hero */
    #hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background: radial-gradient(circle at 30% 40%, #FAFAF8 0%, #F0EDE4 100%);
      padding-top: var(--nav-height);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .hero-title {
      font-size: 48px;
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }

    .hero-metrics {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .metric-card {
      background: var(--card-bg);
      padding: 20px 24px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .metric-icon {
      font-size: 24px;
      color: var(--accent);
      width: 36px;
      text-align: center;
    }

    .metric-num {
      font-size: 32px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.2;
      font-family: var(--font-serif);
    }

    .metric-label {
      font-size: 14px;
      color: var(--text-muted);
    }

    .btn-group {
      display: flex;
      gap: 16px;
      margin-top: 28px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-block;
      padding: 14px 32px;
      border-radius: var(--radius-md);
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.25s ease;
      text-align: center;
      border: none;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--primary);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
      color: var(--primary);
    }

    .btn-secondary {
      background: transparent;
      border: 1px solid var(--accent);
      color: var(--accent);
    }

    .btn-secondary:hover {
      background: var(--accent);
      color: var(--primary);
      transform: translateY(-2px);
    }

    /* 板块通用 */
    section {
      padding: var(--section-gap) 0;
    }

    .section-title {
      margin-bottom: 48px;
      text-align: center;
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: var(--gutter);
    }

    .stat-card {
      background: var(--card-bg);
      padding: 32px 24px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
      text-align: center;
    }

    .stat-number {
      font-size: 40px;
      font-weight: 700;
      color: var(--accent);
      font-family: var(--font-serif);
    }

    .stat-trend {
      font-size: 18px;
      margin-left: 5px;
    }

    /* 服务矩阵 */
    .services-matrix {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: var(--gutter);
      margin-bottom: var(--gutter);
    }

    .services-matrix.reverse {
      grid-template-columns: 1fr 1fr 2fr;
    }

    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
    }

    .service-card.large {
      padding: 0;
      overflow: hidden;
    }

    .service-img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .service-card.large .card-content {
      padding: 28px 32px;
    }

    .service-icon {
      font-size: 28px;
      color: var(--accent);
      margin-bottom: 16px;
    }

    .text-link {
      font-weight: 500;
      color: var(--accent);
      margin-top: 12px;
      display: inline-block;
    }

    .text-link i {
      font-size: 14px;
      margin-left: 4px;
    }

    /* 结果对比 */
    .compare-wrapper {
      display: flex;
      align-items: center;
      gap: 24px;
      justify-content: center;
    }

    .compare-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 36px;
      flex: 1;
      box-shadow: var(--shadow-sm);
    }

    .compare-card.before {
      background: #F5F5F5;
      color: var(--text-muted);
    }

    .compare-card.after {
      border-left: 4px solid var(--accent);
    }

    .vs-badge {
      width: 56px;
      height: 56px;
      background: var(--accent);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 20px;
      flex-shrink: 0;
    }

    /* FAQ */
    .accordion-item {
      border-bottom: 1px solid var(--border);
      padding: 16px 0;
    }

    .accordion-title {
      font-size: 20px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      position: relative;
      padding-left: 16px;
    }

    .accordion-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 4px;
      background: var(--accent);
      border-radius: 2px;
      transition: background 0.2s;
    }

    .accordion-item.active .accordion-title::before {
      background: var(--primary);
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      color: var(--text-secondary);
      padding-left: 20px;
    }

    .accordion-item.active .accordion-content {
      max-height: 200px;
      padding-top: 12px;
    }

    /* 表单 */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .trust-badges {
      display: flex;
      gap: 24px;
      margin-top: 28px;
    }

    .badge-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-secondary);
    }

    .form-card {
      background: var(--card-bg);
      padding: 40px;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
    }

    .form-input {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      margin-bottom: 16px;
      font-size: 16px;
      transition: border 0.2s, box-shadow 0.2s;
    }

    .form-input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
    }

    /* 页脚 */
    #footer {
      background: var(--primary);
      color: var(--text-muted);
      padding: 40px 0 20px;
    }

    .footer-grid {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .footer-links a {
      color: var(--text-muted);
      margin-left: 24px;
      font-size: 14px;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .copyright {
      border-top: 1px solid #3A3A5A;
      padding-top: 16px;
      font-size: 13px;
    }

    @media (max-width: 1024px) {
      .hero-grid, .contact-grid { grid-template-columns: 1fr; }
      .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
      .services-matrix, .services-matrix.reverse { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
      h1 { font-size: 32px; }
      h2 { font-size: 26px; }
      .nav-links { display: none; }
      .burger { display: flex; }
      .mobile-menu { display: flex; }
      .dashboard-grid { grid-template-columns: 1fr; }
      .services-matrix, .services-matrix.reverse { grid-template-columns: 1fr; }
      .compare-wrapper { flex-direction: column; }
      .btn { width: 100%; }
      .btn-group { flex-direction: column; }
    }
