/* roulang page: index */
:root {
      --primary: #0A0F1E;
      --accent: #00F0A8;
      --danger: #FF4D4D;
      --card-bg: #131A2B;
      --input-bg: #1A233A;
      --white: #FFFFFF;
      --text-body: #B0C4DE;
      --text-muted: #7A8BA0;
      --border-light: rgba(0, 240, 168, 0.15);
      --border-glow: rgba(0, 240, 168, 0.4);
      --shadow-card: 0 8px 32px rgba(0, 240, 168, 0.06);
      --shadow-hover: 0 12px 40px rgba(0, 240, 168, 0.15);
      --radius-card: 12px;
      --radius-btn: 8px;
      --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
      --font-body: 'PingFang SC', 'Microsoft YaHei', 'Inter', sans-serif;
      --font-data: 'DIN Alternate', 'PingFang SC', 'Inter', sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: var(--primary);
      color: var(--text-body);
      font-family: var(--font-body);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* 导航 */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: transparent;
      transition: background 0.3s ease, backdrop-filter 0.3s ease;
    }

    #header.scrolled {
      background: rgba(10, 15, 30, 0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--white);
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: 1px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: var(--accent);
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><path d="M5 12h14M12 5l7 7-7 7"/></svg>') center/contain no-repeat;
      background-color: var(--accent);
      display: inline-block;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-link {
      color: var(--text-body);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s ease;
    }

    .nav-link:hover {
      color: var(--accent);
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .btn-nav {
      background: transparent;
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 8px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      text-decoration: none;
      transition: all var(--transition-smooth);
      font-size: 0.9rem;
    }

    .btn-nav:hover {
      background: rgba(0,240,168,0.08);
      box-shadow: 0 0 16px rgba(0,240,168,0.3);
    }

    /* 移动端底部导航 */
    .mobile-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(10, 15, 30, 0.94);
      backdrop-filter: blur(12px);
      border-top: 1px solid var(--border-light);
      padding: 8px 16px;
      justify-content: space-around;
      z-index: 999;
    }

    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.7rem;
      gap: 4px;
      transition: color 0.2s;
    }

    .mobile-nav-item.active {
      color: var(--accent);
    }

    .mobile-nav-icon {
      font-size: 1.3rem;
    }

    /* Hero */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      background: radial-gradient(circle at 30% 40%, #1a2a3a 0%, #0A0F1E 70%);
    }

    .hero-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      width: 100%;
      text-align: center;
      padding-top: 60px;
    }

    .hero-title {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: clamp(2.2rem, 6vw, 3.5rem);
      line-height: 1.2;
      color: var(--white);
      margin-bottom: 1.5rem;
      animation: fadeInUp 0.8s ease;
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-body);
      margin-bottom: 2rem;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .live-ticker {
      background: rgba(19,26,43,0.7);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-light);
      border-radius: 40px;
      padding: 12px 28px;
      display: inline-flex;
      gap: 32px;
      margin-bottom: 2.5rem;
      color: var(--accent);
      font-weight: 600;
      font-family: var(--font-data);
      font-size: 1rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .cta-group {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--primary);
      font-weight: 700;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      text-decoration: none;
      transition: all var(--transition-smooth);
      border: none;
      cursor: pointer;
      font-size: 1rem;
    }

    .btn-primary:hover {
      background: #00D494;
      box-shadow: 0 0 24px rgba(0,240,168,0.4);
      transform: scale(1.03);
    }

    .btn-outline {
      background: transparent;
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      text-decoration: none;
      transition: all var(--transition-smooth);
    }

    .btn-outline:hover {
      background: rgba(0,240,168,0.08);
    }

    /* 区块通用 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 2.3rem;
      color: var(--white);
      margin-bottom: 1rem;
      text-align: center;
    }

    .section-sub {
      color: var(--text-body);
      text-align: center;
      max-width: 680px;
      margin: 0 auto 3rem;
    }

    /* 数据看板 */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 24px;
    }

    .stat-item {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      padding: 28px 16px;
      text-align: center;
      transition: all 0.3s;
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-bottom: 12px;
    }

    .stat-number {
      font-family: var(--font-data);
      font-weight: 700;
      font-size: 2.8rem;
      color: var(--accent);
      line-height: 1.2;
    }

    .stat-trend {
      color: var(--accent);
      margin-top: 8px;
      font-size: 0.9rem;
    }

    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      align-items: start;
    }

    .service-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-card);
      padding: 0 0 32px 0;
      transition: all var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }

    .service-card.featured {
      transform: scale(1.02);
      border-color: var(--accent);
      box-shadow: 0 0 30px rgba(0,240,168,0.1);
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(0,240,168,0.3);
    }

    .card-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
      background: #1a233a;
    }

    .card-body {
      padding: 24px 28px 0;
    }

    .card-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }

    .card-desc {
      color: var(--text-body);
      margin-bottom: 16px;
    }

    .tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      background: rgba(0,240,168,0.1);
      color: var(--accent);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    /* 对比表格 */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .compare-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 32px;
      border: 1px solid rgba(255,255,255,0.08);
    }

    .compare-card.highlight {
      border-color: var(--accent);
      background: #0f1a24;
    }

    .compare-row {
      display: flex;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* FAQ */
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }

    .faq-question {
      width: 100%;
      background: transparent;
      border: none;
      color: white;
      font-weight: 600;
      font-size: 1.1rem;
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      text-align: left;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--text-body);
    }

    /* CTA表单 */
    #cta {
      background: #0b101c;
    }

    .form-card {
      background: var(--card-bg);
      border-radius: var(--radius-card);
      padding: 48px;
      max-width: 600px;
      margin: 0 auto;
      border: 1px solid var(--border-light);
    }

    .input-field {
      width: 100%;
      background: var(--input-bg);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 14px 18px;
      border-radius: var(--radius-btn);
      color: white;
      margin-bottom: 16px;
      transition: 0.2s;
    }

    .input-field:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 10px rgba(0,240,168,0.2);
    }

    .btn-danger {
      background: var(--danger);
      color: white;
      border: none;
      padding: 14px 28px;
      width: 100%;
      border-radius: var(--radius-btn);
      font-weight: 700;
      cursor: pointer;
      transition: 0.2s;
    }

    .btn-danger:hover {
      background: #e63946;
      box-shadow: 0 0 20px rgba(255,77,77,0.4);
    }

    /* 页脚 */
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      padding: 60px 0;
    }

    @media (max-width: 1024px) {
      .stats-grid { grid-template-columns: repeat(3, 1fr); }
      .services-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .mobile-nav { display: flex; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .compare-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      section { padding: 70px 0; }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
