/* roulang page: index */
:root {
      --deep-space: #0A0E27;
      --electric-cyan: #00F0FF;
      --rose-red: #FF3366;
      --bg-light: #F5F6FA;
      --card-white: #FFFFFF;
      --text-primary: #1A1F36;
      --text-secondary: #6B7280;
      --border-light: #E5E7EB;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-badge: 6px;
      --shadow-card: 0 1px 3px rgba(10,14,39,0.04), 0 1px 2px rgba(10,14,39,0.06);
      --shadow-card-hover: 0 12px 24px rgba(10,14,39,0.08);
      --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --container-max: 1280px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      background-color: var(--bg-light);
      color: var(--text-primary);
      line-height: 1.7;
      font-weight: 400;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, input, select {
      font-family: inherit;
      font-size: inherit;
      outline: none;
      border: none;
      background: none;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: 64px;
      display: flex;
      align-items: center;
      transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
      background: transparent;
    }

    .header.scrolled {
      background: var(--card-white);
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    .header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.5rem;
      color: #FFFFFF;
      transition: color var(--transition-smooth);
      letter-spacing: 0.5px;
    }

    .header.scrolled .logo {
      color: var(--text-primary);
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--electric-cyan);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: var(--deep-space);
      font-weight: 700;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      font-weight: 500;
      font-size: 0.95rem;
      color: rgba(255,255,255,0.9);
      transition: color var(--transition-smooth);
      position: relative;
      padding: 4px 0;
    }

    .header.scrolled .nav-links a {
      color: var(--text-primary);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--electric-cyan);
      transition: width var(--transition-smooth);
    }

    .nav-links a:hover {
      color: var(--electric-cyan);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .burger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      z-index: 1001;
    }

    .burger span {
      width: 25px;
      height: 2px;
      background: #FFFFFF;
      transition: var(--transition-smooth);
    }

    .header.scrolled .burger span {
      background: var(--text-primary);
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(10,14,39,0.95);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      z-index: 999;
      transform: translateX(100%);
      transition: transform 0.4s ease;
    }

    .mobile-menu.active {
      transform: translateX(0);
    }

    .mobile-menu a {
      font-size: 1.5rem;
      color: #FFFFFF;
      font-weight: 500;
      transition: color var(--transition-smooth);
    }

    .mobile-menu a:hover {
      color: var(--electric-cyan);
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding-top: 64px;
    }

    #particle-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .hero .container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .hero-left h1 {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.1;
      color: #FFFFFF;
      margin-bottom: 20px;
    }

    .hero-left .subtitle {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.8);
      margin-bottom: 32px;
      line-height: 1.6;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn {
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-smooth);
      min-width: 140px;
      text-align: center;
    }

    .btn-primary {
      background: var(--electric-cyan);
      color: var(--deep-space);
    }

    .btn-primary:hover {
      background: #00D4E0;
      box-shadow: 0 0 20px rgba(0,240,255,0.3);
      transform: scale(1.02);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--electric-cyan);
      color: var(--electric-cyan);
    }

    .btn-outline:hover {
      background: rgba(0,240,255,0.1);
    }

    .btn-rose {
      background: var(--rose-red);
      color: #FFFFFF;
    }

    .btn-rose:hover {
      background: #e02955;
      box-shadow: 0 0 18px rgba(255,51,102,0.4);
    }

    .hero-right {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .data-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(0,240,255,0.15);
      border-radius: var(--radius-card);
      padding: 24px;
      backdrop-filter: blur(2px);
    }

    .data-number {
      font-family: "SF Mono", "Menlo", "Consolas", monospace;
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--electric-cyan);
      text-shadow: 0 0 8px rgba(0,240,255,0.5);
    }

    .data-label {
      color: rgba(255,255,255,0.7);
      font-size: 0.9rem;
    }

    /* 板块通用 */
    .section {
      padding: 120px 0;
    }

    .section-dark {
      background: var(--deep-space);
      color: #FFFFFF;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 1.3;
      margin-bottom: 12px;
    }

    .section-sub {
      color: var(--text-secondary);
      margin-bottom: 48px;
    }

    .section-dark .section-sub {
      color: rgba(255,255,255,0.6);
    }

    .text-center {
      text-align: center;
    }

    /* 数据看板 */
    .live-board {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 40px;
    }

    .live-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(0,240,255,0.15);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      text-align: center;
    }

    /* 服务矩阵 2x2 */
    .service-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      margin-top: 40px;
    }

    .service-card {
      background: var(--card-white);
      border-radius: var(--radius-card);
      padding: 32px;
      box-shadow: var(--shadow-card);
      transition: all var(--transition-smooth);
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
    }

    .service-icon {
      width: 64px;
      height: 64px;
      background: rgba(0,240,255,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 28px;
      color: var(--electric-cyan);
    }

    /* 对比 */
    .compare-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      margin-top: 48px;
      position: relative;
    }

    .compare-divider {
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 3px;
      background: var(--electric-cyan);
      box-shadow: 0 0 15px rgba(0,240,255,0.4);
      z-index: 2;
      transform: translateX(-50%);
    }

    .compare-before, .compare-after {
      padding: 40px;
    }

    .compare-before {
      background: rgba(255,255,255,0.03);
      filter: grayscale(40%);
      opacity: 0.8;
    }

    .compare-after {
      background: rgba(0,240,255,0.03);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px 48px;
    }

    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 16px 0;
      cursor: pointer;
    }

    .faq-question {
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-secondary);
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding-top: 12px;
    }

    /* 表单 */
    .form-card {
      background: var(--card-white);
      border-radius: 16px;
      padding: 48px;
      max-width: 680px;
      margin: 0 auto;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-input {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-btn);
      background: #FFFFFF;
      transition: border var(--transition-smooth), box-shadow var(--transition-smooth);
    }

    .form-input:focus {
      border-color: var(--electric-cyan);
      box-shadow: 0 0 0 3px rgba(0,240,255,0.15);
    }

    /* 页脚 */
    .footer {
      background: #080b1f;
      color: rgba(255,255,255,0.7);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }

    @media (max-width: 1024px) {
      .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-right {
        flex-direction: row;
        justify-content: center;
      }
      .live-board {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .header {
        height: 56px;
      }
      .nav-links {
        display: none;
      }
      .burger {
        display: flex;
      }
      .hero {
        min-height: 600px;
      }
      .hero-right {
        flex-direction: column;
      }
      .service-grid {
        grid-template-columns: 1fr;
      }
      .compare-wrapper {
        grid-template-columns: 1fr;
      }
      .compare-divider {
        display: none;
      }
      .faq-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .form-card {
        padding: 24px;
      }
      .section {
        padding: 80px 0;
      }
      .btn {
        width: 100%;
      }
    }
