/* roulang page: index */
:root {
      --primary-deep: #0A0E27;
      --primary-card: #141A2E;
      --accent-gold: #D4AF37;
      --accent-gold-light: #F0E68C;
      --accent-cyan: #00F0FF;
      --text-primary: #EAEAEA;
      --text-secondary: #A0A5B5;
      --light-bg: #F5F6FA;
      --footer-bg: #060A1A;
      --border-gold-dim: rgba(212, 175, 55, 0.15);
      --border-gold-bright: rgba(212, 175, 55, 0.4);
      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
      --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-gold-bright);
      --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F0E68C 100%);
      --radius-card: 12px;
      --radius-btn: 8px;
      --font-h1: 3.5rem;
      --font-h2: 2.25rem;
      --font-h3: 1.25rem;
      --font-body: 1rem;
      --font-data: 2.5rem;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
      background-color: var(--primary-deep);
      color: var(--text-secondary);
      line-height: 1.75;
      margin: 0;
      overflow-x: hidden;
      font-size: var(--font-body);
    }

    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      color: var(--text-primary);
    }

    a {
      color: var(--accent-gold);
      text-decoration: none;
      transition: color 0.2s ease, border-color 0.2s ease;
    }
    a:hover {
      color: var(--accent-cyan);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container-custom {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 自定义按钮 */
    .btn-gold {
      background: var(--gold-gradient);
      color: var(--primary-deep);
      font-weight: 700;
      border: none;
      border-radius: var(--radius-btn);
      padding: 14px 32px;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      letter-spacing: 0.02em;
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }
    .btn-gold:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 240, 255, 0.25), 0 4px 15px rgba(212, 175, 55, 0.5);
      color: var(--primary-deep);
      background: var(--gold-gradient);
    }
    .btn-outline-gold {
      background: transparent;
      color: var(--accent-gold);
      border: 1.5px solid var(--accent-gold);
      border-radius: var(--radius-btn);
      padding: 14px 32px;
      font-weight: 600;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      letter-spacing: 0.02em;
    }
    .btn-outline-gold:hover {
      background: rgba(212, 175, 55, 0.1);
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 240, 255, 0.15);
    }

    /* 区块标题装饰线 */
    .section-title {
      position: relative;
      font-size: var(--font-h2);
      font-weight: 700;
      padding-left: 60px;
      margin-bottom: 48px;
      color: var(--text-primary);
    }
    .section-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 3px;
      background: var(--accent-gold);
    }

    /* 毛玻璃导航 */
    .navbar-custom {
      background: rgba(10, 14, 39, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(212, 175, 55, 0.15);
      height: 72px;
      z-index: 1030;
      transition: background 0.3s ease;
    }
    .navbar-brand-custom {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--accent-gold) !important;
      letter-spacing: -0.01em;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-link-custom {
      color: var(--text-primary) !important;
      font-weight: 500;
      margin: 0 12px;
      position: relative;
      transition: color 0.2s;
      padding: 8px 4px !important;
    }
    .nav-link-custom::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 100%;
      height: 2px;
      background: var(--accent-cyan);
      transition: transform 0.3s ease;
      transform-origin: center;
    }
    .nav-link-custom:hover {
      color: var(--accent-cyan) !important;
    }
    .nav-link-custom:hover::after {
      transform: translateX(-50%) scaleX(1);
    }

    /* Mega Menu 简易面板 */
    .mega-panel {
      position: absolute;
      top: 100%;
      right: 0;
      background: var(--primary-card);
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-card);
      padding: 24px;
      min-width: 360px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.2s ease;
      border: 1px solid var(--border-gold-dim);
      display: flex;
      gap: 20px;
      z-index: 1050;
    }
    .mega-trigger:hover .mega-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .mega-col {
      flex: 1;
    }
    .mega-col h6 {
      color: var(--accent-gold);
      font-size: 0.9rem;
      margin-bottom: 12px;
    }
    .mega-col a {
      display: block;
      color: var(--text-secondary);
      font-size: 0.9rem;
      padding: 4px 0;
      transition: color 0.2s;
    }
    .mega-col a:hover {
      color: var(--accent-cyan);
    }

    /* Hero 多边形图片 */
    .hero-visual {
      clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
      overflow: hidden;
      border-radius: 8px 0 0 8px;
      height: 100%;
      min-height: 380px;
    }
    .hero-visual img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

    /* 卡片标准 */
    .card-custom {
      background: var(--primary-card);
      border-radius: var(--radius-card);
      border: 1px solid var(--border-gold-dim);
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      overflow: hidden;
      height: 100%;
    }
    .card-custom:hover {
      box-shadow: var(--shadow-card-hover);
      border-color: var(--border-gold-bright);
      transform: translateY(-4px);
    }
    .card-custom img {
      transition: transform 0.4s ease;
    }
    .card-custom:hover img {
      transform: scale(1.04);
    }

    /* 数据指标 */
    .data-number {
      font-size: var(--font-data);
      font-weight: 800;
      color: var(--accent-cyan);
      line-height: 1.2;
    }

    /* 瀑布流 */
    .masonry-grid {
      column-count: 3;
      column-gap: 24px;
    }
    .masonry-item {
      break-inside: avoid;
      margin-bottom: 24px;
    }

    /* 方案对比表 */
    .compare-table {
      background: var(--light-bg);
      border-radius: var(--radius-card);
      overflow: hidden;
    }
    .compare-highlight {
      background: rgba(212, 175, 55, 0.08);
      border-left: 2px solid var(--accent-gold);
      border-right: 2px solid var(--accent-gold);
      position: relative;
    }
    .popular-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--gold-gradient);
      color: var(--primary-deep);
      font-weight: 700;
      padding: 4px 16px;
      border-radius: 20px;
      font-size: 0.8rem;
      white-space: nowrap;
    }

    /* FAQ 手风琴 */
    .accordion-button-custom {
      background: var(--primary-card);
      color: var(--text-primary);
      border: none;
      border-left: 3px solid transparent;
      transition: 0.2s;
      font-weight: 600;
    }
    .accordion-button-custom:not(.collapsed) {
      background: var(--primary-card);
      color: var(--accent-cyan);
      border-left-color: var(--accent-gold);
      box-shadow: none;
    }
    .accordion-button-custom:focus {
      box-shadow: none;
      border-color: var(--accent-gold);
    }

    /* CTA 光晕动画 */
    .cta-glow {
      position: absolute;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      animation: floatGlow 6s infinite alternate ease-in-out;
      pointer-events: none;
    }
    @keyframes floatGlow {
      0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
      100% { opacity: 0.8; transform: translateX(-50%) scale(1.15); }
    }

    footer a {
      color: var(--text-secondary);
    }
    footer a:hover {
      color: var(--accent-gold);
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      :root {
        --font-h1: 2.8rem;
      }
      .masonry-grid {
        column-count: 2;
      }
    }
    @media (max-width: 768px) {
      :root {
        --font-h1: 2.2rem;
        --font-h2: 1.8rem;
        --font-data: 2rem;
      }
      .section-title {
        padding-left: 48px;
      }
      .hero-visual {
        clip-path: none;
        border-radius: var(--radius-card);
        min-height: 280px;
      }
      .masonry-grid {
        column-count: 1;
      }
      .navbar-collapse {
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 0 0 12px 12px;
      }
      .compare-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
    }
    @media (max-width: 520px) {
      .container-custom {
        padding: 0 16px;
      }
    }
