/* roulang page: index */
:root {
      --deep-space: #0B0E2A;
      --card-bg: rgba(255, 255, 255, 0.03);
      --border-light: rgba(255, 255, 255, 0.08);
      --border-glow: #00F0FF;
      --purple: #6C3CE1;
      --cyan: #00F0FF;
      --white: #ffffff;
      --gray: rgba(255, 255, 255, 0.7);
      --gray-light: rgba(255, 255, 255, 0.5);
      --radius-lg: 16px;
      --radius-full: 50px;
      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
      --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);
      --font-heading: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
      --font-mono: "DIN Alternate", "Roboto Mono", monospace;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: var(--deep-space);
      color: var(--white);
      font-family: var(--font-heading);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button, .btn {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      transition: all 0.3s ease;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航系统 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: 80px;
      display: flex;
      align-items: center;
      background: rgba(11, 14, 42, 0.45);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      border-bottom: 1px solid transparent;
      transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .main-header.scrolled {
      background: rgba(11, 14, 42, 0.85);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.3);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 24px;
      letter-spacing: 1px;
    }

    .logo .dot {
      width: 10px;
      height: 10px;
      background: var(--cyan);
      border-radius: 50%;
      box-shadow: 0 0 12px var(--cyan);
      margin-right: 4px;
    }

    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .desktop-nav a {
      font-size: 16px;
      font-weight: 500;
      color: var(--gray);
      position: relative;
      padding: 8px 0;
      transition: color 0.2s;
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
      color: var(--white);
    }

    .desktop-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--cyan);
      transition: width 0.25s ease;
    }

    .desktop-nav a:hover::after,
    .desktop-nav a.active::after {
      width: 100%;
    }

    .btn-primary {
      background: linear-gradient(135deg, #6C3CE1, #00F0FF);
      border-radius: var(--radius-full);
      padding: 10px 24px;
      color: white;
      font-weight: 600;
      box-shadow: 0 0 20px rgba(108, 60, 225, 0.5);
      border: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: box-shadow 0.3s, transform 0.2s;
      white-space: nowrap;
    }

    .btn-primary:hover {
      box-shadow: 0 0 40px rgba(0, 240, 255, 0.7);
      transform: translateY(-1px);
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid var(--cyan);
      color: var(--cyan);
      border-radius: var(--radius-full);
      padding: 10px 24px;
      font-weight: 600;
    }

    .btn-ghost:hover {
      background: rgba(0, 240, 255, 0.08);
      border-color: white;
      color: white;
    }

    /* 移动端底部导航 */
    .mobile-bottom-nav {
      display: none;
      position: fixed;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 40px);
      max-width: 400px;
      height: 64px;
      background: rgba(11, 14, 42, 0.9);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
      border-radius: 32px;
      padding: 0 16px;
      z-index: 1001;
      box-shadow: 0 10px 30px rgba(0,0,0,0.7);
      border: 1px solid rgba(255,255,255,0.1);
    }

    .mobile-nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--gray-light);
      font-size: 12px;
      gap: 2px;
      transition: color 0.2s;
    }

    .mobile-nav-item i {
      font-size: 18px;
    }

    .mobile-nav-item.active {
      color: var(--cyan);
    }

    .mobile-cta-btn {
      background: linear-gradient(135deg, #6C3CE1, #00F0FF);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 25px #6C3CE1;
      margin-top: -20px;
      color: white;
      font-size: 20px;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding-top: 80px;
    }

    #starCanvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
    }

    .hero .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
      z-index: 2;
      flex-wrap: wrap;
      gap: 40px;
    }

    .hero-content {
      flex: 1 1 500px;
    }

    .hero-content h1 {
      font-size: 56px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 24px;
    }

    .hero-highlight {
      color: var(--cyan);
      text-shadow: 0 0 15px rgba(0,240,255,0.5);
    }

    .hero-sub {
      font-size: 18px;
      color: var(--gray);
      margin-bottom: 36px;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-visual {
      flex: 1 1 400px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .particle-sphere {
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(108,60,225,0.3) 0%, rgba(0,240,255,0.1) 70%);
      border-radius: 50%;
      box-shadow: 0 0 80px rgba(0,240,255,0.4);
      animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
      100% { transform: translateY(0px); }
    }

    .scroll-indicator {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      color: var(--cyan);
      font-size: 28px;
      animation: pulse 2s infinite;
      z-index: 5;
    }

    @keyframes pulse {
      0% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
      50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
      100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
    }

    /* 通用板块 */
    section {
      padding: 100px 0;
    }

    .section-title {
      font-size: 44px;
      font-weight: 600;
      margin-bottom: 16px;
      text-align: center;
    }

    .section-desc {
      color: var(--gray-light);
      text-align: center;
      max-width: 600px;
      margin: 0 auto 60px;
      font-size: 18px;
    }

    /* 解决方案 非对称网格 */
    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .solution-card {
      background: var(--card-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      padding: 30px;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow: var(--shadow-card);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .solution-card.short {
      height: 280px;
    }
    .solution-card.tall {
      height: 360px;
    }

    .solution-card:hover {
      border-color: var(--cyan);
      box-shadow: var(--glow-cyan), var(--shadow-card);
      background: rgba(255,255,255,0.06);
      transform: translateY(-4px);
    }

    .card-icon {
      font-size: 32px;
      color: var(--cyan);
      margin-bottom: 20px;
    }

    .solution-card h3 {
      font-size: 22px;
      margin-bottom: 12px;
    }

    .solution-card p {
      color: var(--gray-light);
      font-size: 15px;
      flex: 1;
    }

    /* 数据滚动条 */
    .stats-bar {
      display: flex;
      gap: 40px;
      overflow-x: auto;
      padding: 20px 0;
      justify-content: center;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
      min-width: 160px;
    }

    .stat-number {
      font-family: var(--font-mono);
      font-size: 48px;
      font-weight: 700;
      color: var(--cyan);
      text-shadow: 0 0 15px var(--cyan);
    }

    .stat-label {
      color: var(--gray);
      margin-top: 8px;
    }

    /* 证言轮播 */
    .testimonials-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      position: relative;
    }

    .testimonial-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 24px;
      padding: 40px;
      max-width: 600px;
      text-align: center;
      backdrop-filter: blur(20px);
      transition: 0.3s;
    }

    .testimonial-card.centered {
      transform: scale(1.05);
      border-color: var(--cyan);
      box-shadow: 0 0 30px rgba(0,240,255,0.2);
    }

    .user-avatar {
      width: 60px;
      height: 60px;
      background: var(--purple);
      border-radius: 50%;
      margin: 0 auto 20px;
      background-image: url('/assets/images/coverpic/cover-4.webp');
      background-size: cover;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding: 16px 0;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      font-weight: 600;
      font-size: 18px;
      cursor: pointer;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      color: var(--gray-light);
      padding-left: 12px;
      border-left: 2px solid transparent;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
      margin-top: 12px;
      border-left-color: var(--cyan);
    }

    /* CTA */
    .cta-section {
      background: #06081A;
      text-align: center;
    }

    .giant-btn {
      background: linear-gradient(135deg, #6C3CE1, #00F0FF);
      font-size: 22px;
      padding: 18px 48px;
      border-radius: 60px;
      margin-top: 20px;
      display: inline-block;
    }

    footer {
      background: #06081A;
      border-top: 1px solid rgba(255,255,255,0.05);
      padding: 60px 0 30px;
      color: var(--gray-light);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
    }

    @media (max-width: 1024px) {
      .solutions-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-content h1 { font-size: 44px; }
    }

    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .mobile-bottom-nav { display: flex; }
      .hero .container { flex-direction: column; text-align: center; }
      .hero-content h1 { font-size: 36px; }
      .solutions-grid { grid-template-columns: 1fr; }
      .solution-card.short, .solution-card.tall { height: auto; }
      .faq-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; text-align: center; }
      .section-title { font-size: 32px; }
      .main-header { justify-content: center; }
    }
