/* roulang page: index */
:root {
      --primary: #3D2B4A;
      --primary-deep: #2C1E30;
      --accent: #D49A3E;
      --accent-hover: #B87D2E;
      --bg-warm: #FAF7F2;
      --card-bg: #FFFFFF;
      --text-primary: #2E1C2E;
      --text-secondary: #5A4A6A;
      --text-muted: #6B5E7A;
      --border-light: rgba(61,43,74,0.08);
      --shadow-card: 0 4px 24px rgba(61,43,74,0.06);
      --shadow-hover: 0 12px 40px rgba(61,43,74,0.12);
      --success: #2E8B57;
      --warning: #C0392B;
      --font-serif: 'Noto Serif SC', 'Times New Roman', serif;
      --font-sans: 'Noto Sans SC', 'Inter', system-ui, -apple-system, sans-serif;
      --font-mono: 'Inter', 'DM Mono', monospace;
      --radius-sm: 12px;
      --radius-md: 20px;
      --radius-lg: 24px;
      --radius-btn: 40px;
      --spacing-section: 120px;
      --nav-height: 72px;
      --transition: 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-warm);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }

    button, input, textarea {
      font-family: inherit;
      outline: none;
    }

    /* 导航 */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-height);
      background: rgba(250,247,242,0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-light);
      display: flex;
      align-items: center;
      z-index: 1000;
      transition: background 0.3s;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    .logo {
      font-family: var(--font-serif);
      font-weight: 700;
      font-size: 22px;
      color: var(--primary);
      letter-spacing: 1px;
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      letter-spacing: 0.5px;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .nav-links a.active {
      background: rgba(212,154,62,0.15);
      padding: 4px 14px;
      border-radius: 20px;
      color: var(--accent-hover);
      font-weight: 600;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-links a.active::after {
      width: 0;
    }

    /* 移动端底部导航 */
    .mobile-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(250,247,242,0.96);
      backdrop-filter: blur(20px);
      border-top: 1px solid var(--border-light);
      padding: 8px 20px 12px;
      justify-content: space-around;
      align-items: center;
      z-index: 1000;
    }

    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      color: var(--text-secondary);
      font-weight: 500;
      position: relative;
    }

    .mobile-nav-item.active {
      color: var(--accent-hover);
    }

    .mobile-nav-item.active::before {
      content: '';
      position: absolute;
      top: -6px;
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
    }

    .mobile-nav-icon {
      font-size: 20px;
      line-height: 1;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
      background-size: cover;
      position: relative;
      overflow: hidden;
      padding-top: var(--nav-height);
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.08;
      mix-blend-mode: overlay;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 60px;
      align-items: center;
      position: relative;
      z-index: 2;
      width: 100%;
    }

    .hero-content {
      color: white;
    }

    .hero-content h1 {
      font-family: var(--font-serif);
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 24px;
      color: #F5EDE0;
    }

    .hero-sub {
      font-size: 18px;
      color: #B8A9C2;
      line-height: 1.6;
      margin-bottom: 40px;
      max-width: 480px;
    }

    .btn-group {
      display: flex;
      gap: 24px;
      align-items: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-hover));
      color: white;
      font-weight: 600;
      font-size: 16px;
      padding: 16px 40px;
      border-radius: var(--radius-btn);
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(212,154,62,0.35);
      transition: all var(--transition);
      display: inline-block;
      text-align: center;
    }

    .btn-primary:hover {
      box-shadow: 0 14px 32px rgba(212,154,62,0.5);
      transform: scale(1.04);
      background: linear-gradient(135deg, #e0aa4a, #c78530);
    }

    .btn-ghost {
      background: transparent;
      color: var(--accent);
      font-weight: 600;
      font-size: 16px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: none;
      cursor: pointer;
      transition: gap 0.3s;
    }

    .btn-ghost:hover {
      gap: 14px;
      color: #f0c27b;
    }

    .hero-visual {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-img {
      width: 100%;
      border-radius: 28px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    .float-badge {
      position: absolute;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(8px);
      padding: 12px 20px;
      border-radius: 40px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--primary);
    }

    .badge-1 { top: 5%; right: -10px; }
    .badge-2 { bottom: 15%; left: -5px; }
    .badge-3 { bottom: 40%; right: -5px; }

    .badge-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--success);
    }

    /* 通用板块 */
    .section {
      padding: var(--spacing-section) 0;
    }

    .section-title {
      font-family: var(--font-serif);
      font-size: 36px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 16px;
      line-height: 1.3;
    }

    .section-sub {
      color: var(--text-muted);
      margin-bottom: 48px;
      font-size: 18px;
    }

    /* 数据看板 */
    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .metric-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border-light);
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: var(--transition);
    }

    .metric-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .metric-number {
      font-family: var(--font-mono);
      font-size: 40px;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.1;
    }

    .metric-label {
      font-size: 15px;
      color: var(--text-muted);
    }

    .trend-up { color: var(--success); }
    .trend-down { color: var(--warning); }

    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .service-card {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 32px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border-light);
      transition: all var(--transition);
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      background: linear-gradient(135deg, #FFFFFF, #F5EDE0);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      background: rgba(212,154,62,0.12);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      font-size: 28px;
      color: var(--accent);
    }

    .service-card h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    /* 对比 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .compare-col {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 32px;
      box-shadow: var(--shadow-card);
    }

    .compare-col.right {
      box-shadow: 0 0 0 2px rgba(46,139,87,0.25);
    }

    .compare-item {
      display: flex;
      justify-content: space-between;
      padding: 16px 0;
      border-bottom: 1px solid rgba(61,43,74,0.08);
    }

    .progress-bar {
      height: 6px;
      background: #e9e2d8;
      border-radius: 10px;
      width: 100px;
      margin-left: 12px;
    }

    .progress-fill {
      height: 100%;
      border-radius: 10px;
    }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 24px 0;
      cursor: pointer;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      font-size: 18px;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      background: #FDFBF7;
      border-radius: 12px;
      margin-top: 12px;
      padding: 0 24px;
    }

    .faq-answer.open {
      max-height: 200px;
      padding: 24px;
    }

    /* CTA表单 */
    .cta-section {
      background: var(--primary);
      position: relative;
    }

    .cta-card {
      background: white;
      border-radius: var(--radius-lg);
      padding: 48px;
      max-width: 700px;
      margin: 0 auto;
    }

    .input-line {
      border: none;
      border-bottom: 1px solid #d9cec2;
      padding: 12px 0;
      width: 100%;
      margin-bottom: 24px;
      font-size: 16px;
      transition: border 0.2s;
    }

    .input-line:focus {
      border-bottom: 2px solid var(--accent);
    }

    .footer {
      background: var(--primary-deep);
      color: #cfc1d6;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .metrics-grid, .services-grid { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .mobile-nav { display: flex; }
      .container { padding: 0 20px; }
      .hero { text-align: center; }
      .hero-content h1 { font-size: 32px; }
      .metrics-grid, .services-grid, .compare-grid, .footer-grid { grid-template-columns: 1fr; }
      .section { padding: 80px 0; }
      .float-badge { display: none; }
    }
