/* roulang page: index */
:root {
      --deep-purple: #1A0A2E;
      --nebula-violet: #6C3CE1;
      --aurora-green: #00D4AA;
      --dark-blue: #0F1B3D;
      --white: #FFFFFF;
      --soft-lavender: #C8C8E0;
      --card-bg: rgba(255, 255, 255, 0.05);
      --card-border: rgba(255, 255, 255, 0.08);
      --glass-blur: blur(12px);
      --radius-card: 24px;
      --radius-button: 50px;
      --radius-input: 12px;
      --radius-badge: 16px;
      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
      --glow-aurora: 0 0 20px rgba(0, 212, 170, 0.3);
      --font-title: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
      --font-mono: 'SF Mono', 'Menlo', 'Courier New', monospace;
      --transition-smooth: all 0.25s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: linear-gradient(145deg, var(--deep-purple) 0%, var(--dark-blue) 100%);
      color: var(--soft-lavender);
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    /* 导航 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(26, 10, 46, 0.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      transition: var(--transition-smooth);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo {
      font-family: var(--font-title);
      font-size: 26px;
      font-weight: 700;
      color: var(--white);
      text-decoration: none;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: radial-gradient(circle, var(--aurora-green) 5%, var(--nebula-violet) 90%);
      border-radius: 50%;
      box-shadow: 0 0 14px var(--aurora-green);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      color: var(--soft-lavender);
      text-decoration: none;
      font-weight: 500;
      font-size: 16px;
      position: relative;
      padding: 8px 0;
      transition: color 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--aurora-green);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--aurora-green);
      transition: width 0.25s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .nav-cta {
      background: var(--aurora-green);
      color: var(--deep-purple) !important;
      padding: 10px 24px !important;
      border-radius: var(--radius-button);
      font-weight: 600;
      box-shadow: var(--glow-aurora);
    }

    .nav-cta:hover {
      background: #00e6b8;
      transform: scale(1.03);
      box-shadow: 0 0 28px rgba(0, 212, 170, 0.5);
    }

    .mobile-menu-toggle {
      display: none;
      background: transparent;
      border: none;
      color: var(--white);
      font-size: 28px;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      position: relative;
      padding-top: 80px;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 30% 40%, rgba(108, 60, 225, 0.3) 0%, transparent 60%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 720px;
    }

    .hero h1 {
      font-family: var(--font-title);
      font-size: 48px;
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 24px;
    }

    .hero-sub {
      font-size: 18px;
      color: var(--soft-lavender);
      margin-bottom: 40px;
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--aurora-green);
      color: var(--deep-purple);
      border: none;
      padding: 16px 40px;
      border-radius: var(--radius-button);
      font-weight: 700;
      font-size: 18px;
      cursor: pointer;
      box-shadow: var(--glow-aurora);
      transition: var(--transition-smooth);
      text-decoration: none;
      display: inline-block;
    }

    .btn-primary:hover {
      background: #00e6b8;
      transform: scale(1.03);
      box-shadow: 0 0 30px rgba(0, 212, 170, 0.6);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--white);
      color: var(--white);
      padding: 16px 40px;
      border-radius: var(--radius-button);
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
      transition: var(--transition-smooth);
      text-decoration: none;
      display: inline-block;
    }

    .btn-outline:hover {
      background: rgba(255,255,255,0.1);
      border-color: var(--aurora-green);
      color: var(--aurora-green);
    }

    /* 数据看板 */
    .data-dashboard {
      padding: 80px 0;
    }

    .section-title {
      font-family: var(--font-title);
      font-size: 36px;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 48px;
      text-align: center;
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .metric-card {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      text-align: center;
      box-shadow: var(--shadow-card);
      transition: var(--transition-smooth);
    }

    .metric-card:hover {
      transform: translateY(-6px);
      border-color: var(--aurora-green);
    }

    .metric-number {
      font-family: var(--font-mono);
      font-size: 40px;
      font-weight: 700;
      color: var(--aurora-green);
      margin-bottom: 12px;
    }

    .metric-label {
      font-size: 16px;
      color: var(--soft-lavender);
    }

    .trend-placeholder {
      width: 100%;
      height: 40px;
      margin-top: 16px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="none"><path d="M0 15 Q 25 5, 50 10 T 100 3" stroke="%2300D4AA" stroke-width="2" fill="none" opacity="0.7"/></svg>') no-repeat center;
      background-size: contain;
    }

    /* 服务矩阵 */
    .services {
      padding: 80px 0;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .service-card {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      padding: 36px 24px;
      transition: var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }

    .service-card:hover {
      transform: translateY(-8px);
      border-color: var(--aurora-green);
      box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    }

    .service-icon {
      font-size: 32px;
      color: var(--aurora-green);
      margin-bottom: 20px;
    }

    .service-card h3 {
      font-family: var(--font-title);
      font-size: 22px;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 12px;
    }

    .service-desc {
      color: var(--soft-lavender);
      font-size: 15px;
      margin-bottom: 24px;
      flex: 1;
    }

    .text-link {
      color: var(--aurora-green);
      text-decoration: none;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.2s;
    }

    .text-link:hover {
      gap: 10px;
    }

    /* 对比表 */
    .comparison {
      padding: 80px 0;
    }

    .table-wrapper {
      overflow-x: auto;
      border-radius: var(--radius-card);
      background: rgba(255,255,255,0.03);
      backdrop-filter: var(--glass-blur);
      border: 1px solid var(--card-border);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 700px;
    }

    th {
      background: rgba(108, 60, 225, 0.25);
      color: var(--white);
      font-weight: 600;
      padding: 24px 20px;
      font-size: 18px;
      text-align: left;
    }

    .highlight-col {
      background: rgba(108, 60, 225, 0.4);
      position: relative;
    }

    .badge-recommend {
      background: var(--aurora-green);
      color: var(--deep-purple);
      font-size: 13px;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 20px;
      margin-left: 8px;
    }

    td {
      padding: 18px 20px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      color: var(--soft-lavender);
    }

    /* FAQ */
    .faq {
      padding: 80px 0;
    }

    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .faq-item {
      background: var(--card-bg);
      backdrop-filter: var(--glass-blur);
      border-radius: var(--radius-card);
      padding: 20px 24px;
      border: 1px solid var(--card-border);
      cursor: pointer;
      transition: var(--transition-smooth);
    }

    .faq-question {
      display: flex;
      align-items: center;
      gap: 16px;
      font-weight: 600;
      color: var(--white);
      font-size: 18px;
    }

    .faq-q-badge {
      background: var(--aurora-green);
      color: var(--deep-purple);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--soft-lavender);
      padding-left: 44px;
      font-size: 15px;
    }

    .faq-item.active .faq-answer {
      max-height: 120px;
      margin-top: 12px;
    }

    /* CTA横幅 */
    .cta-banner {
      background: linear-gradient(135deg, var(--nebula-violet), var(--aurora-green));
      border-radius: var(--radius-card);
      padding: 60px 48px;
      margin: 60px 0;
      text-align: center;
    }

    .cta-banner h2 {
      color: var(--white);
      font-size: 36px;
      margin-bottom: 24px;
    }

    .cta-form {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 32px;
    }

    .cta-input {
      padding: 16px 24px;
      border-radius: var(--radius-input);
      border: none;
      background: white;
      font-size: 16px;
      min-width: 280px;
    }

    .privacy-note {
      margin-top: 16px;
      font-size: 13px;
      color: rgba(255,255,255,0.7);
    }

    /* 页脚 */
    .footer {
      background: #0C041C;
      padding: 60px 0 30px;
      margin-top: 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer-logo {
      font-size: 24px;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }

    .footer h4 {
      color: white;
      margin-bottom: 20px;
      font-size: 18px;
    }

    .footer a {
      color: var(--soft-lavender);
      text-decoration: none;
      display: block;
      margin-bottom: 10px;
    }

    .footer a:hover {
      color: var(--aurora-green);
    }

    .copyright {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.1);
      display: flex;
      justify-content: space-between;
      color: var(--soft-lavender);
      font-size: 14px;
      flex-wrap: wrap;
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      display: none;
    }

    @media (max-width: 1024px) {
      .container {
        padding: 0 24px;
      }
      .metrics-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }
      .mobile-menu-toggle {
        display: block;
      }
      .hero h1 {
        font-size: 36px;
      }
      .metrics-grid, .services-grid {
        grid-template-columns: 1fr;
      }
      .faq-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(10, 5, 25, 0.9);
        backdrop-filter: blur(20px);
        justify-content: space-around;
        padding: 12px 16px;
        z-index: 999;
        border-top: 1px solid rgba(255,255,255,0.1);
      }
      .mobile-nav-item {
        color: var(--soft-lavender);
        text-decoration: none;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
      }
      .mobile-nav-item.active {
        color: var(--aurora-green);
      }
      body {
        padding-bottom: 80px;
      }
    }
