/* roulang page: index */
/* ----- 设计令牌 & 全局重置 ----- */
    :root {
      --primary: #7B2FF7;
      --primary-hover: #9560F9;
      --primary-soft: rgba(123, 47, 247, 0.15);
      --secondary-bg: #0F0F1A;
      --signal-cyan: #00E5BF;
      --warning-orange: #FF6B35;
      --white: #FFFFFF;
      --dark-charcoal: #1A1A2E;
      --gray-light: #F8F8FC;
      --text-dark: #1A1A2E;
      --text-muted: #6B6B7B;
      --text-on-dark: #B0B0C0;
      --border-light: rgba(255, 255, 255, 0.08);
      --border-input: #DDD;
      --radius-lg: 12px;
      --radius-md: 8px;
      --shadow-card: 0 12px 28px rgba(0,0,0,0.08);
      --shadow-dark-card: 0 12px 32px rgba(0,0,0,0.5);
      --font-mono: 'DIN Alternate', 'Roboto Mono', 'Courier New', monospace;
      --container-max: 1200px;
      --section-padding: 90px 20px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--secondary-bg);
      color: var(--white);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, input {
      font-family: inherit;
      border: none;
      outline: none;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 20px;
      width: 100%;
    }

    /* 辅助类 */
    .text-gradient {
      background: linear-gradient(135deg, var(--primary) 0%, var(--signal-cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-light {
      background-color: var(--gray-light);
      color: var(--text-dark);
    }

    /* ----- 导航栏 (Sticky) ----- */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(15, 15, 26, 0.82);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      border-bottom: 1px solid var(--border-light);
      height: 72px;
      display: flex;
      align-items: center;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 20px;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .brand-logo {
      font-size: 1.7rem;
      font-weight: 800;
      letter-spacing: 1px;
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, var(--primary), #b77eff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .brand-logo i {
      background: none;
      -webkit-text-fill-color: var(--primary);
      font-size: 2rem;
    }

    .icon-nav {
      display: flex;
      gap: 18px;
      color: #aaa;
    }
    .icon-nav a {
      font-size: 1.2rem;
      color: #aaa;
      transition: 0.2s;
    }
    .icon-nav a:hover {
      color: var(--primary);
    }

    .nav-links {
      display: flex;
      gap: 28px;
      font-weight: 500;
      color: #ccc;
    }
    .nav-links a {
      position: relative;
      padding-bottom: 6px;
      font-size: 0.95rem;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--primary), var(--signal-cyan));
      transition: width 0.25s ease;
    }
    .nav-links a:hover {
      color: white;
    }
    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .search-icon {
      font-size: 1.2rem;
      color: #ccc;
      cursor: pointer;
      transition: 0.2s;
    }
    .search-icon:hover { color: var(--primary); }
    .btn-outline {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.4);
      color: white;
      padding: 8px 18px;
      border-radius: 20px;
      font-weight: 500;
      transition: 0.2s;
      cursor: pointer;
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.1);
      border-color: white;
    }

    .btn-primary-nav {
      background: var(--primary);
      color: white;
      border-radius: 20px;
      padding: 8px 20px;
      font-weight: 600;
      box-shadow: 0 0 16px rgba(123,47,247,0.5);
      animation: pulse-glow 2s infinite;
      cursor: pointer;
      border: none;
    }
    @keyframes pulse-glow {
      0% { box-shadow: 0 0 12px rgba(123,47,247,0.4); }
      50% { box-shadow: 0 0 24px rgba(123,47,247,0.8); }
      100% { box-shadow: 0 0 12px rgba(123,47,247,0.4); }
    }

    .hamburger {
      display: none;
      font-size: 1.8rem;
      color: white;
      cursor: pointer;
    }

    /* ----- Hero 首屏 ----- */
    .hero {
      min-height: 90vh;
      display: flex;
      align-items: center;
      background: radial-gradient(circle at 20% 30%, #1e1030, #0F0F1A 80%);
      position: relative;
      overflow: hidden;
      padding: 40px 0;
    }
    .hero::before {
      content: "";
      position: absolute;
      top:0; left:0; width:100%; height:100%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.18;
      z-index: 0;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 30px;
    }
    .hero-text {
      flex: 1 1 500px;
    }
    .hero h1 {
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 1.15rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 32px;
    }
    .cta-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: 30px;
      font-weight: 700;
      box-shadow: 0 8px 24px rgba(123,47,247,0.5);
      transition: 0.2s;
      cursor: pointer;
      border: none;
    }
    .btn-primary:hover { background: var(--primary-hover); transform: scale(1.02); }
    .btn-secondary {
      border: 2px solid var(--primary);
      color: white;
      padding: 14px 32px;
      border-radius: 30px;
      font-weight: 600;
      background: transparent;
      transition: 0.2s;
      cursor: pointer;
    }
    .btn-secondary:hover { background: var(--primary); }

    .live-stats {
      margin-top: 35px;
      display: flex;
      gap: 30px;
      font-family: var(--font-mono);
    }
    .stat-item {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--signal-cyan);
    }
    .stat-label {
      font-size: 0.8rem;
      color: #aaa;
      font-family: "PingFang SC", sans-serif;
    }

    /* 实时看板 */
    #stats .glass-panel {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 20px;
      background: rgba(15, 15, 26, 0.5);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(123,47,247,0.25);
      border-radius: 20px;
      padding: 28px 20px;
    }
    .stat-card {
      text-align: center;
    }
    .stat-number {
      font-size: 2.4rem;
      font-weight: 700;
      font-family: var(--font-mono);
      color: var(--signal-cyan);
    }

    /* 服务矩阵 4列不对称 */
    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 24px;
      margin-top: 40px;
    }
    .service-card {
      background: white;
      border-radius: 16px;
      padding: 32px 24px;
      box-shadow: var(--shadow-card);
      transition: 0.25s;
      border-left: 4px solid var(--primary);
    }
    .service-card:nth-child(1), .service-card:nth-child(4) {
      margin-top: -16px;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 30px rgba(0,0,0,0.12);
      border-left-width: 8px;
    }
    .service-icon {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 18px;
    }
    .service-card h3 {
      color: var(--dark-charcoal);
      font-size: 1.4rem;
      margin-bottom: 12px;
    }
    .service-card p {
      color: #555;
      font-size: 0.9rem;
      line-height: 1.6;
    }

    /* 对比区块 */
    .compare-wrapper {
      display: flex;
      gap: 40px;
      align-items: center;
    }
    .compare-left, .compare-right {
      flex: 1;
    }
    .compare-list {
      list-style: none;
    }
    .compare-list li {
      margin: 16px 0;
      font-size: 1rem;
    }
    .fail { color: #d32f2f; }
    .success { color: #2e7d32; }

    /* FAQ */
    .faq-item {
      border-bottom: 1px solid #e0e0e0;
    }
    .faq-question {
      font-weight: 700;
      padding: 16px 0;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      border-left: 4px solid var(--primary);
      padding-left: 16px;
    }
    .faq-answer {
      padding: 0 16px 16px;
      color: #444;
    }

    /* 表单 CTA */
    .cta-section {
      background: linear-gradient(135deg, #1a1030, #0F0F1A);
    }
    .form-input {
      width: 100%;
      padding: 14px;
      border-radius: 8px;
      border: 1px solid #ccc;
      margin-bottom: 12px;
    }

    @media (max-width: 768px) {
      .nav-links, .icon-nav, .nav-actions .btn-outline, .search-icon { display: none; }
      .hamburger { display: block; }
      .services-grid { grid-template-columns: 1fr; }
      .service-card:nth-child(1), .service-card:nth-child(4) { margin-top: 0; }
      .hero h1 { font-size: 2.2rem; }
    }
