/* roulang page: index */
:root {
      --primary: #6C4FE0;
      --primary-glow: rgba(108, 79, 224, 0.25);
      --accent: #F5921E;
      --bg-deep: #0B0C10;
      --bg-card: rgba(26, 28, 38, 0.7);
      --bg-card-solid: #1A1C26;
      --text-white: #FFFFFF;
      --text-body: #B0B8D0;
      --text-muted: #7A8299;
      --border-subtle: rgba(255, 255, 255, 0.06);
      --border-active: rgba(108, 79, 224, 0.65);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-tag: 4px;
      --shadow-glow: 0 0 24px rgba(108, 79, 224, 0.18);
      --transition: 0.25s ease;
      --font-mono: 'Rajdhani', 'Inter', system-ui, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-deep);
    }

    body {
      font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, -apple-system, sans-serif;
      background-color: var(--bg-deep);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
      width: 100%;
    }

    /* 导航 */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(11, 12, 16, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
      transition: background 0.3s;
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
    }

    .logo {
      font-family: var(--font-mono);
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: -0.5px;
      color: var(--text-white);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      display: inline-block;
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, var(--primary), #8B6DF0);
      border-radius: 6px;
      position: relative;
      box-shadow: 0 0 14px var(--primary-glow);
    }

    .logo-icon::after {
      content: "⚡";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 16px;
      color: white;
      line-height: 1;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text-body);
      font-weight: 500;
      font-size: 0.95rem;
      letter-spacing: 0.4px;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .nav-links a:hover {
      color: var(--text-white);
    }

    .nav-links a.active {
      color: var(--text-white);
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 100%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(11, 12, 16, 0.92);
      backdrop-filter: blur(20px);
      border-top: 1px solid var(--border-subtle);
      padding: 8px 16px;
      justify-content: space-around;
      z-index: 60;
    }

    .mobile-bottom-nav a {
      color: var(--text-muted);
      font-size: 0.75rem;
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      font-weight: 500;
      transition: color 0.2s;
    }

    .mobile-bottom-nav a.active {
      color: var(--primary);
    }

    .mobile-bottom-nav a.active::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--primary);
      border-radius: 50%;
      margin-bottom: 2px;
    }

    /* 板块通用 */
    section {
      padding: 100px 0;
      scroll-margin-top: 80px;
    }

    .section-title {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--text-white);
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }

    .section-sub {
      color: var(--text-body);
      font-size: 1.1rem;
      max-width: 640px;
      margin-bottom: 48px;
    }

    /* 按钮 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      letter-spacing: 0.3px;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 4px 14px rgba(108, 79, 224, 0.35);
    }

    .btn-primary:hover {
      background: #7B5FED;
      box-shadow: 0 8px 20px rgba(108, 79, 224, 0.5);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.2);
      color: var(--text-white);
    }

    .btn-outline:hover {
      border-color: var(--primary);
      background: rgba(108, 79, 224, 0.08);
    }

    .btn-accent {
      background: var(--accent);
      color: #0B0C10;
      font-weight: 700;
    }

    .btn-accent:hover {
      background: #FFA73D;
    }

    /* Hero */
    .hero {
      padding: 120px 0 100px;
      position: relative;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-height: 85vh;
      display: flex;
      align-items: center;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(11,12,16,0.92) 0%, rgba(11,12,16,0.7) 60%, rgba(11,12,16,0.4) 100%);
      backdrop-filter: blur(3px);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .hero h1 {
      font-size: 3.5rem;
      font-weight: 800;
      color: var(--text-white);
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-highlight {
      background: linear-gradient(to right, #A78BFA, #6C4FE0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-desc {
      font-size: 1.2rem;
      color: #C0C8DE;
      margin-bottom: 32px;
      max-width: 500px;
    }

    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border-subtle);
      padding: 8px 18px;
      border-radius: 30px;
      font-family: var(--font-mono);
      font-weight: 600;
      color: var(--accent);
      margin-bottom: 24px;
    }

    .live-dot {
      width: 10px;
      height: 10px;
      background: #2ECC71;
      border-radius: 50%;
      box-shadow: 0 0 12px #2ECC71;
      animation: pulse 1.4s infinite;
    }

    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.7; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }

    .dashboard-preview {
      background: rgba(15, 17, 26, 0.7);
      backdrop-filter: blur(12px);
      border-radius: 20px;
      border: 1px solid var(--border-subtle);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .dashboard-preview img {
      width: 100%;
      border-radius: 12px;
      opacity: 0.9;
    }

    /* 数据看板卡片 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 24px;
    }

    .stat-card {
      background: var(--bg-card);
      backdrop-filter: blur(5px);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-card);
      padding: 24px 20px;
      transition: all 0.25s;
    }

    .stat-card:hover {
      border-color: var(--border-active);
      box-shadow: var(--shadow-glow);
    }

    .stat-number {
      font-family: var(--font-mono);
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--text-white);
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 6px;
    }

    .trend-up {
      color: #2ECC71;
    }

    /* 服务体系 */
    .services-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .service-main-card {
      background: var(--bg-card-solid);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 36px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .service-grid-right {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .service-item {
      background: rgba(26, 28, 38, 0.45);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 24px;
      transition: 0.2s;
    }

    .service-item:hover {
      border-color: var(--border-active);
      transform: translateY(-4px);
    }

    .service-icon {
      font-size: 1.8rem;
      margin-bottom: 16px;
    }

    .tag {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 20px;
      background: rgba(108, 79, 224, 0.15);
      color: #B9A5F7;
      margin-top: 12px;
      letter-spacing: 0.4px;
    }

    /* 对比模块 */
    .compare-block {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 24px;
      align-items: center;
    }

    .vs-divider {
      font-weight: 800;
      color: var(--accent);
      font-size: 2rem;
    }

    .compare-panel {
      background: rgba(26, 28, 38, 0.7);
      border-radius: 16px;
      padding: 28px;
      border: 1px solid var(--border-subtle);
    }

    .progress-bar {
      height: 8px;
      background: #2A2D3A;
      border-radius: 4px;
      margin: 16px 0;
    }

    .progress-fill {
      height: 8px;
      background: var(--primary);
      border-radius: 4px;
      width: 87%;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .faq-item {
      background: var(--bg-card-solid);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 20px;
      cursor: pointer;
    }

    .faq-question {
      font-weight: 600;
      color: var(--text-white);
      display: flex;
      justify-content: space-between;
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(180deg, #0F111A 0%, #0B0E14 100%);
      text-align: center;
    }

    .input-group {
      display: flex;
      max-width: 480px;
      margin: 0 auto;
    }

    .input-group input {
      flex:1;
      background: #1E212E;
      border: 1px solid var(--border-subtle);
      padding: 14px;
      border-radius: 8px 0 0 8px;
      color: white;
    }

    .input-group button {
      border-radius: 0 8px 8px 0;
    }

    footer {
      background: #0A0B10;
      padding: 60px 0 30px;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    @media (max-width: 1024px) {
      .hero-content { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2,1fr); }
      .services-layout { grid-template-columns: 1fr; }
      .compare-block { grid-template-columns: 1fr; }
      .vs-divider { text-align: center; }
    }

    @media (max-width: 768px) {
      .container { padding: 0 20px; }
      .nav-links { display: none; }
      .mobile-bottom-nav { display: flex; }
      section { padding: 70px 0; }
      .hero h1 { font-size: 2.4rem; }
      .faq-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
    }
