/* roulang page: index */
:root {
      --deep-space: #0B0C10;
      --space-purple: #1A0F2E;
      --star-gold: #F0C45A;
      --glow-cyan: #6EE4D4;
      --soft-lavender: #F5F3FA;
      --text-light: #E8E6F0;
      --text-dark: #1E1B2E;
      --border-gold: rgba(240,196,90,0.25);
      --border-cyan: rgba(110,228,212,0.18);
      --shadow-gold: 0 10px 28px -8px rgba(240,196,90,0.15);
      --shadow-card: 0 10px 28px -10px rgba(26,15,46,0.18);
      --radius-card: 22px;
      --radius-btn: 14px;
      --radius-badge: 14px;
      --font-mono: 'SF Mono', 'Menlo', 'Consolas', monospace;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
      background-color: var(--deep-space);
      color: var(--text-dark);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    img {
      max-width: 100%;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }
    /* 沉浸式导航 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
      background: transparent;
      backdrop-filter: blur(0px);
    }
    .main-header.scrolled {
      background: rgba(13,12,18,0.88);
      backdrop-filter: blur(18px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      border-bottom: 1px solid rgba(240,196,90,0.2);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      position: relative;
    }
    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--star-gold);
      letter-spacing: 0.5px;
      z-index: 1001;
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: radial-gradient(circle, #F0C45A 10%, #b0882f 90%);
      border-radius: 8px;
      box-shadow: 0 0 14px rgba(240,196,90,0.7);
    }
    .nav-links {
      display: flex;
      gap: 2.8rem;
      align-items: center;
    }
    .nav-links a {
      color: var(--text-light);
      font-weight: 500;
      font-size: 1rem;
      position: relative;
      padding: 0.4rem 0;
      transition: color 0.2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--glow-cyan);
      transition: width 0.25s ease;
    }
    .nav-links a:hover {
      color: var(--glow-cyan);
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .burger-btn {
      display: none;
      flex-direction: column;
      gap: 6px;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 1002;
      padding: 8px;
    }
    .burger-btn span {
      width: 26px;
      height: 2px;
      background: var(--star-gold);
      border-radius: 4px;
      transition: 0.25s;
    }
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: rgba(8,7,14,0.97);
      backdrop-filter: blur(24px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
      transition: right 0.4s ease;
      z-index: 999;
    }
    .mobile-menu.active {
      right: 0;
    }
    .mobile-menu a {
      font-size: 1.6rem;
      color: var(--text-light);
      font-weight: 600;
    }
    .close-menu {
      position: absolute;
      top: 24px;
      right: 28px;
      font-size: 2rem;
      color: var(--star-gold);
      background: transparent;
      border: none;
    }

    /* hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: radial-gradient(circle at 30% 40%, #1b1236 0%, #0B0C10 85%);
      position: relative;
      overflow: hidden;
      padding-top: 80px;
    }
    .stars-layer {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background-image: radial-gradient(1px 1px at 15% 25%, #fff, transparent),
                        radial-gradient(1px 1px at 75% 45%, #F0C45A, transparent),
                        radial-gradient(2px 2px at 55% 70%, #6EE4D4, transparent);
      background-size: 200px 200px;
      opacity: 0.5;
      animation: drift 28s infinite alternate;
    }
    @keyframes drift {
      0% { transform: translate(0,0); }
      100% { transform: translate(20px, -15px); }
    }
    .hero-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 3rem;
      flex-wrap: wrap;
      position: relative;
      z-index: 2;
      width: 100%;
    }
    .hero-left {
      flex: 1 1 460px;
    }
    .hero-left h1 {
      font-size: clamp(2.8rem, 5.5vw, 3.8rem);
      font-weight: 800;
      color: var(--text-light);
      line-height: 1.25;
      letter-spacing: -0.02em;
      margin-bottom: 1.5rem;
    }
    .highlight {
      color: var(--star-gold);
    }
    .hero-sub {
      font-size: 1.2rem;
      color: #d9d5ec;
      margin-bottom: 2.3rem;
      max-width: 500px;
    }
    .btn-group {
      display: flex;
      gap: 1.2rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }
    .btn-primary {
      background: var(--star-gold);
      color: #0B0C10;
      font-weight: 700;
      padding: 0.9rem 2.2rem;
      border-radius: var(--radius-btn);
      font-size: 1.1rem;
      transition: all 0.2s;
      box-shadow: 0 8px 18px rgba(240,196,90,0.3);
      letter-spacing: 0.3px;
    }
    .btn-primary:hover {
      background: #F7D67A;
      box-shadow: 0 0 24px rgba(240,196,90,0.7);
      transform: translateY(-2px);
    }
    .btn-outline {
      border: 1.8px solid var(--glow-cyan);
      color: var(--glow-cyan);
      background: transparent;
      padding: 0.9rem 2.2rem;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: 0.2s;
    }
    .btn-outline:hover {
      background: rgba(110,228,212,0.1);
      border-color: #9df0e2;
    }
    .hero-right {
      flex: 1 1 400px;
      display: flex;
      justify-content: center;
    }
    .login-mock {
      background: rgba(20,14,40,0.7);
      backdrop-filter: blur(18px);
      border-radius: 28px;
      padding: 2.2rem;
      width: 100%;
      max-width: 360px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(240,196,90,0.15);
      border: 1px solid rgba(240,196,90,0.2);
      transform: perspective(600px) rotateY(-3deg);
      transition: 0.3s;
    }
    .mock-input {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(240,196,90,0.25);
      border-radius: 12px;
      padding: 0.9rem;
      margin-bottom: 1.2rem;
      color: #ccc;
    }
    .mock-btn {
      background: var(--star-gold);
      color: #0B0C10;
      text-align: center;
      padding: 0.8rem;
      border-radius: 12px;
      font-weight: bold;
    }
    .data-badge-row {
      display: flex;
      gap: 1.8rem;
      color: #cfc9e8;
      font-size: 0.9rem;
    }

    /* 通用板块 */
    section {
      padding: 5.5rem 0;
    }
    .section-title {
      font-size: 2.3rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
      color: var(--text-dark);
    }
    .light-bg {
      background: #F5F3FA;
    }
    .dark-bg {
      background: #0B0C10;
      color: var(--text-light);
    }
    .stats-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .stat-card {
      background: rgba(26,15,46,0.7);
      backdrop-filter: blur(12px);
      padding: 1.8rem 2rem;
      border-radius: 16px;
      min-width: 150px;
      text-align: center;
      border: 1px solid var(--border-gold);
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--star-gold);
    }
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 2rem;
      margin-top: 2.5rem;
    }
    .service-card {
      background: white;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: all 0.25s;
    }
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 24px 38px rgba(26,15,46,0.15);
    }
    .card-img {
      height: 180px;
      background-size: cover;
    }
    .card-text {
      padding: 1.8rem;
    }
    .tags {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin: 0.8rem 0;
    }
    .tag {
      border: 1px solid var(--glow-cyan);
      color: #0f5e56;
      padding: 0.2rem 1rem;
      border-radius: 40px;
      font-size: 0.8rem;
    }
    .compare-box {
      display: flex;
      gap: 2rem;
      margin-top: 2rem;
    }
    .risk-side, .safe-side {
      flex:1;
      padding: 2rem;
      border-radius: 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.2fr;
      gap: 2rem;
    }
    @media (max-width: 1024px) {
      .cards-grid { grid-template-columns: repeat(2,1fr); }
      .nav-links { display: none; }
      .burger-btn { display: flex; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .hero-content { flex-direction: column; }
      .cards-grid { grid-template-columns: 1fr; }
      .compare-box { flex-direction: column; }
    }
