/* roulang page: index */
:root {
      --bronze: #B8860B;
      --champagne: #D4AF37;
      --midnight: #1A1F2E;
      --emerald: #2E8B57;
      --warm-porcelain: #F9F7F2;
      --charcoal: #1C1C1C;
      --deep-gray: #4A4A4A;
      --soft-bronze: rgba(184, 134, 11, 0.08);
      --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
      --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
      --radius-card: 16px;
      --radius-btn: 12px;
      --radius-input: 8px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      background-color: var(--warm-porcelain);
      color: var(--charcoal);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.3s ease;
    }

    button, input {
      font-family: inherit;
      outline: none;
      border: none;
    }

    .container {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    @media (min-width: 768px) {
      .container {
        padding-left: 2rem;
        padding-right: 2rem;
      }
    }

    /* 导航栏 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 50;
      background: rgba(26, 31, 46, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(212, 175, 55, 0.2);
      transition: background 0.3s;
    }

    .nav-link {
      color: rgba(255, 255, 255, 0.85);
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding-bottom: 4px;
      transition: color 0.3s;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--champagne);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: var(--champagne);
      transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }

    .btn-primary {
      background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
      color: white;
      font-weight: 600;
      padding: 0.75rem 2rem;
      border-radius: var(--radius-btn);
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
    }

    .btn-primary:hover {
      transform: scale(1.02);
      box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
      background: linear-gradient(135deg, #9e7209 0%, #c49b2e 100%);
    }

    .btn-secondary {
      background: transparent;
      border: 1.5px solid var(--bronze);
      color: var(--bronze);
      font-weight: 600;
      padding: 0.7rem 1.8rem;
      border-radius: var(--radius-btn);
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-secondary:hover {
      background: rgba(184, 134, 11, 0.08);
      border-color: var(--champagne);
      color: var(--champagne);
    }

    /* Hero */
    .hero-section {
      background: radial-gradient(circle at 30% 40%, #2a2330 0%, #1A1F2E 70%);
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .hero-bg-img {
      position: absolute;
      right: 0;
      top: 0;
      width: 50%;
      height: 100%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.3;
      mask-image: linear-gradient(to left, rgba(0,0,0,0.7) 0%, transparent 100%);
      -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.7) 0%, transparent 100%);
    }

    .metric-badge {
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(212, 175, 55, 0.25);
      border-radius: 20px;
      padding: 1rem 1.8rem;
    }

    /* 卡片悬停 */
    .card-hover {
      transition: all 0.3s ease;
      background: white;
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
    }

    .card-hover:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    .service-card-img {
      height: 200px;
      background-size: cover;
      background-position: center;
      position: relative;
      border-radius: 16px 16px 0 0;
    }

    .service-card-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(26,31,46,0.7) 100%);
      border-radius: 16px 16px 0 0;
    }

    /* 对比区 */
    .compare-card-bad {
      background: #f4f4f5;
      border: 1px solid #e0e0e0;
    }

    .compare-card-good {
      background: linear-gradient(135deg, rgba(184,134,11,0.05) 0%, rgba(212,175,55,0.12) 100%);
      border: 1px solid var(--bronze);
      box-shadow: 0 4px 15px rgba(184,134,11,0.1);
    }

    /* FAQ */
    .faq-item {
      border: 1px solid #eae5db;
      border-radius: 14px;
      overflow: hidden;
      background: white;
      transition: all 0.3s;
    }

    .faq-item.active {
      border-color: var(--bronze);
      background: #fefdf9;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s;
      background: #f9f7f2;
      color: var(--deep-gray);
    }

    .faq-item.active .faq-answer {
      max-height: 300px;
      padding: 1rem 1.8rem 1.5rem;
    }

    /* 输入框 */
    .input-field {
      background: white;
      border: 1px solid #d1cbb8;
      border-radius: var(--radius-input);
      padding: 0.9rem 1.2rem;
      flex: 1;
      transition: 0.2s;
      font-size: 1rem;
    }

    .input-field:focus {
      border-color: var(--emerald);
      box-shadow: 0 0 0 3px rgba(46,139,87,0.2);
    }

    .trend-up {
      color: var(--emerald);
    }

    footer a:hover {
      color: var(--champagne);
    }

    @media (max-width: 768px) {
      .hero-section {
        min-height: auto;
        padding: 7rem 0 4rem;
      }
      .hero-bg-img {
        width: 100%;
        opacity: 0.15;
      }
      h1 {
        font-size: 2.2rem !important;
      }
    }
