/* roulang page: index */
:root {
      --primary-deep: #0A0E27;
      --accent-red: #FF4655;
      --highlight-cyan: #00E5FF;
      --bg-white: #FFFFFF;
      --bg-light: #F5F6FA;
      --text-dark: #1A1A2E;
      --text-muted: #6B7280;
      --border-light: rgba(10,14,39,0.06);
      --shadow-sm: 0 2px 16px rgba(10,14,39,0.06);
      --shadow-hover: 0 8px 32px rgba(10,14,39,0.12);
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --transition-smooth: 0.25s ease;
      --font-number: 'DIN Alternate', 'Roboto Mono', monospace;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      background-color: var(--bg-white);
      color: var(--text-dark);
      line-height: 1.75;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-dark);
    }

    h1 {
      font-size: 48px;
      line-height: 1.2;
    }

    h2 {
      font-size: 36px;
      margin-bottom: 1rem;
    }

    h3 {
      font-size: 22px;
      margin-bottom: 0.5rem;
    }

    h4 {
      font-size: 18px;
      font-weight: 600;
      color: #1A1A2E;
    }

    .text-muted {
      color: var(--text-muted);
    }

    .number-font {
      font-family: var(--font-number);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 16px;
    }

    /* 导航栏 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(10,14,39,0.92);
      backdrop-filter: blur(16px);
      z-index: 100;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      color: #fff;
      letter-spacing: 1px;
      white-space: nowrap;
    }
    .logo span {
      color: var(--highlight-cyan);
    }

    .desktop-menu {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }

    .desktop-menu a {
      color: rgba(255,255,255,0.8);
      font-weight: 500;
      font-size: 15px;
      position: relative;
      padding: 4px 0;
      transition: color 0.25s;
    }

    .desktop-menu a:hover,
    .desktop-menu a.active {
      color: #fff;
    }

    .desktop-menu a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--highlight-cyan);
      transition: width 0.25s ease;
    }

    .desktop-menu a:hover::after,
    .desktop-menu a.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      font-size: 24px;
      color: white;
      background: none;
      border: none;
      cursor: pointer;
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: #FFFFFF;
      box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
      z-index: 99;
      padding: 8px 16px;
      justify-content: space-around;
      border-top: 1px solid #E5E7EB;
    }

    .mobile-bottom-nav a {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--text-muted);
      font-size: 12px;
      gap: 4px;
      transition: color 0.2s;
    }

    .mobile-bottom-nav a i {
      font-size: 20px;
    }

    .mobile-bottom-nav a.active {
      color: var(--accent-red);
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      background: linear-gradient(135deg, #0A0E27 0%, #1A1A3E 100%);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding-top: 72px;
    }

    .hero-content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .hero-left {
      flex: 1 1 500px;
      color: white;
    }

    .hero-left h1 {
      color: white;
    }

    .hero-left .subtitle {
      font-size: 18px;
      color: rgba(255,255,255,0.7);
      margin: 1.5rem 0 2rem;
      max-width: 480px;
    }

    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent-red);
      color: white;
      border: none;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: background 0.25s, transform 0.2s;
      display: inline-block;
    }

    .btn-primary:hover {
      background: #E63946;
      transform: scale(1.03);
      color: white;
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid white;
      color: white;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.25s;
      display: inline-block;
    }

    .btn-ghost:hover {
      background: white;
      color: var(--primary-deep);
    }

    .hero-right {
      flex: 1 1 400px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 2rem;
    }

    .data-card-float {
      background: rgba(255,255,255,0.05);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 16px;
      padding: 20px;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

    .metric-number {
      font-size: 32px;
      font-weight: 700;
      font-family: var(--font-number);
      color: var(--highlight-cyan);
    }

    /* 板块通用 */
    .section {
      padding: 100px 0;
    }

    .section-light {
      background: var(--bg-light);
    }

    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }

    /* 数据看板 */
    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 24px;
      margin-top: 2rem;
    }

    .stat-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-light);
      text-align: center;
    }

    .stat-number {
      font-size: 36px;
      font-family: var(--font-number);
      color: var(--primary-deep);
      margin-bottom: 8px;
    }

    .progress-bar {
      height: 4px;
      background: #E5E7EB;
      border-radius: 4px;
      margin-top: 12px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      width: 0%;
      background: var(--highlight-cyan);
      border-radius: 4px;
      transition: width 0.8s ease;
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }

    .service-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 32px 24px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      transition: all var(--transition-smooth);
      text-align: center;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .icon-circle {
      width: 64px;
      height: 64px;
      background: rgba(255,70,85,0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      color: var(--accent-red);
      font-size: 28px;
    }

    /* 对比模块 */
    .compare-wrapper {
      display: flex;
      align-items: center;
      gap: 24px;
      flex-wrap: wrap;
    }

    .compare-card {
      flex: 1 1 280px;
      border-radius: var(--radius-card);
      padding: 28px;
    }

    .compare-left {
      background: #F3F4F6;
    }

    .compare-right {
      background: var(--primary-deep);
      color: white;
    }

    .vs-divider {
      font-weight: 700;
      font-size: 24px;
      color: var(--accent-red);
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .faq-item {
      border-bottom: 1px solid #E5E7EB;
    }

    .faq-question {
      padding: 20px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
      padding: 0 20px;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      padding-bottom: 20px;
    }

    /* CTA */
    .cta-block {
      background: var(--primary-deep);
      padding: 80px 0;
    }

    .cta-form {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 30px;
    }

    .cta-input {
      flex: 1 1 200px;
      padding: 14px 16px;
      border-radius: var(--radius-input);
      border: 1px solid #D1D5DB;
      background: white;
    }

    .cta-input:focus {
      border-color: var(--highlight-cyan);
      outline: none;
    }

    /* 页脚 */
    .footer {
      background: var(--primary-deep);
      color: #9CA3AF;
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      color: var(--text-muted);
    }

    @media (max-width: 1024px) {
      .desktop-menu { display: none; }
      .hamburger { display: block; }
      .mobile-bottom-nav { display: flex; }
      .dashboard-grid { grid-template-columns: repeat(2,1fr); }
      .services-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
      h1 { font-size: 36px; }
      h2 { font-size: 28px; }
      .section { padding: 60px 0; }
      .dashboard-grid { grid-template-columns: 1fr 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .faq-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .hero-content { flex-direction: column; }
    }
