/* roulang page: index */
:root {
      --bg-deep: #0A0E27;
      --gold: #D4AF37;
      --gold-dark: #B8922E;
      --card-bg: #111633EE;
      --text-primary: #E8ECF1;
      --text-secondary: #9AA1B0;
      --border-gold: rgba(212, 175, 55, 0.2);
      --green-data: #2EE6A8;
      --red-alert: #FF5E5B;
      --radius-lg: 16px;
      --radius-md: 10px;
      --radius-sm: 8px;
      --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
      --shadow-gold: 0 0 20px rgba(212,175,55,0.15);
      --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-number: 'Inter', system-ui, -apple-system, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-deep);
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-primary);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航双层 */
    #header {
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: rgba(10, 14, 39, 0.92);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid var(--border-gold);
      padding: 12px 0;
    }

    .nav-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .brand {
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: 1px;
      color: var(--gold);
      text-decoration: none;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .search-icon {
      color: var(--text-secondary);
      font-size: 1.3rem;
      cursor: default;
      transition: color 0.2s, text-shadow 0.2s;
    }

    .search-icon:hover {
      color: var(--gold);
      text-shadow: 0 0 8px rgba(212,175,55,0.6);
    }

    .btn-gold {
      background: linear-gradient(135deg, #D4AF37 0%, #B8922E 100%);
      border: none;
      color: #0A0E27;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: var(--radius-md);
      cursor: pointer;
      font-size: 0.95rem;
      transition: all 0.25s ease;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 4px 12px rgba(212,175,55,0.25);
    }

    .btn-gold:hover {
      box-shadow: 0 0 24px rgba(212,175,55,0.6);
      transform: scale(1.03);
    }

    .tabs-row {
      display: flex;
      gap: 8px;
      margin-top: 12px;
      flex-wrap: wrap;
      background: rgba(17, 22, 51, 0.7);
      padding: 6px 12px;
      border-radius: 40px;
      width: fit-content;
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-gold);
    }

    .tab-pill {
      padding: 8px 18px;
      border-radius: 30px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .tab-pill.active, .tab-pill:hover {
      background: var(--gold);
      color: #0A0E27;
      font-weight: 600;
    }

    /* 移动端底部导航 */
    .mobile-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(10, 14, 39, 0.96);
      backdrop-filter: blur(20px);
      border-top: 1px solid var(--border-gold);
      padding: 8px 16px;
      justify-content: space-around;
      z-index: 100;
      box-shadow: 0 -8px 24px rgba(0,0,0,0.6);
    }

    .mobile-nav a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.7rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }

    .mobile-nav i { font-size: 1.2rem; }
    .mobile-nav .active { color: var(--gold); }

    /* Hero */
    #hero {
      padding: 60px 0 40px;
      position: relative;
    }

    .hero-grid {
      display: flex;
      align-items: center;
      gap: 40px;
    }

    .hero-text {
      flex: 1;
    }

    .hero-text h1 {
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 20px;
      color: white;
    }

    .hero-text .lead {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-visual {
      flex: 1;
      position: relative;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      border-radius: 24px;
      min-height: 360px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      box-shadow: var(--shadow-card);
      overflow: hidden;
    }

    .hero-visual::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(10,14,39,0.4) 0%, rgba(17,22,51,0.6) 100%);
      border-radius: 24px;
    }

    .float-data {
      position: relative;
      z-index: 2;
      background: rgba(17, 22, 51, 0.8);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-gold);
      border-radius: var(--radius-lg);
      padding: 16px 24px;
      margin: 20px;
      display: flex;
      gap: 24px;
      box-shadow: var(--shadow-gold);
    }

    .float-data span {
      font-family: var(--font-number);
      font-weight: 700;
      font-size: 1.6rem;
    }

    .gold-text { color: var(--gold); }
    .green-text { color: var(--green-data); }

    /* 通用板块 */
    section {
      padding: 80px 0;
    }

    h2 {
      font-size: 36px;
      font-weight: 700;
      margin-bottom: 16px;
      letter-spacing: -0.3px;
    }

    .section-sub {
      color: var(--text-secondary);
      font-size: 18px;
      margin-bottom: 48px;
    }

    .grid-3, .grid-4, .grid-2 {
      display: grid;
      gap: 24px;
    }

    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }

    .card {
      background: var(--card-bg);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-lg);
      padding: 32px;
      border: 1px solid var(--border-gold);
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
    }

    .card:hover {
      transform: translateY(-6px);
      border-color: var(--gold);
      box-shadow: 0 12px 28px rgba(0,0,0,0.6), 0 0 18px rgba(212,175,55,0.25);
    }

    .card h4 {
      font-size: 1.5rem;
      font-weight: 600;
      margin: 16px 0 10px;
    }

    .icon-gold {
      font-size: 42px;
      color: var(--gold);
    }

    .big-number {
      font-family: var(--font-number);
      font-size: 64px;
      font-weight: 700;
      background: linear-gradient(180deg, #F5E7B2 0%, #D4AF37 80%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .case-img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 16px;
      transition: transform 0.3s;
    }

    .card:hover .case-img { transform: scale(1.03); }

    .step-line {
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
    }

    .step {
      text-align: center;
      flex: 1;
    }

    .circle {
      width: 48px;
      height: 48px;
      background: var(--gold);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #0A0E27;
      margin: 0 auto 12px;
      font-size: 1.4rem;
    }

    .faq-item {
      border-bottom: 1px solid var(--border-gold);
      padding: 20px 0;
      cursor: pointer;
    }

    .faq-question {
      font-weight: 600;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-top: 12px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      padding: 50px 0;
    }

    .copyright {
      border-top: 1px solid var(--border-gold);
      padding: 20px 0;
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    @media (max-width: 1024px) {
      .hero-grid { flex-direction: column; }
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .tabs-row { display: none; }
      .nav-actions .btn-gold { display: none; }
      .mobile-nav { display: flex; }
      h1 { font-size: 32px; }
      h2 { font-size: 26px; }
      .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .step-line { flex-direction: column; gap: 28px; }
      .hero-visual { min-height: 260px; }
    }
