/* roulang page: index */
/* ----- 全局变量与基础重置 ----- */
    :root {
      --primary: #6C3CE1;
      --primary-glow: rgba(108, 60, 225, 0.5);
      --secondary: #00E5A0;
      --accent: #FF4655;
      --bg-deep: #0A0B0F;
      --bg-card: #14161F;
      --bg-alt: #0D0E15;
      --bg-surface: #11131C;
      --text-primary: #FFFFFF;
      --text-secondary: #B4B8C5;
      --text-muted: #6E7280;
      --border-light: rgba(108, 60, 225, 0.15);
      --border-hover: rgba(108, 60, 225, 0.4);
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
      --font-mono: 'DIN Alternate', 'Roboto Mono', 'PingFang SC', monospace;
      --shadow-card: 0 4px 24px rgba(108, 60, 225, 0.08);
      --shadow-hover: 0 8px 40px rgba(108, 60, 225, 0.2);
      --radius-lg: 20px;
      --radius-md: 14px;
      --radius-sm: 10px;
      --transition: 0.25s ease-out;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-deep);
      color: var(--text-secondary);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: color var(--transition);
    }
    button, input {
      font-family: inherit;
      border: none;
      outline: none;
      background: transparent;
    }
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 通用布局 */
    section {
      padding: 80px 0;
      position: relative;
    }
    @media (max-width: 768px) {
      section {
        padding: 56px 0;
      }
    }
    /* 区块交替背景 */
    #hero, #results, #faq, #cta {
      background-color: var(--bg-surface);
    }
    #pain-points, #testimonials {
      background-color: var(--bg-alt);
    }
    #solution {
      background-color: var(--bg-deep);
    }
    /* 标题系统 */
    h1 {
      font-size: 48px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.2;
      letter-spacing: -0.5px;
    }
    h2 {
      font-size: 36px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 24px;
    }
    h3 {
      font-size: 22px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 12px;
    }
    @media (max-width: 768px) {
      h1 { font-size: 32px; }
      h2 { font-size: 26px; }
      h3 { font-size: 18px; }
    }
    .text-muted {
      color: var(--text-muted);
    }
    /* 按钮系统 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      border-radius: var(--radius-sm);
      transition: all var(--transition);
      cursor: pointer;
      white-space: nowrap;
    }
    .btn-primary {
      background: var(--accent);
      color: white;
      padding: 14px 32px;
      box-shadow: 0 4px 14px rgba(255, 70, 85, 0.3);
    }
    .btn-primary:hover {
      background: #E63946;
      transform: scale(1.03);
      box-shadow: 0 0 24px rgba(255, 70, 85, 0.5);
    }
    .btn-secondary {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 12px 28px;
    }
    .btn-secondary:hover {
      background: rgba(108, 60, 225, 0.1);
      border-color: #8A5CF0;
      color: #8A5CF0;
    }
    .btn-text {
      color: var(--secondary);
      padding: 8px 0;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: gap var(--transition);
    }
    .btn-text:hover {
      text-decoration: underline;
      gap: 8px;
    }
    .btn-nav {
      background: var(--primary);
      color: white;
      padding: 8px 20px;
      font-size: 14px;
      border-radius: var(--radius-sm);
      font-weight: 600;
    }
    .btn-nav:hover {
      background: #8A5CF0;
    }
    /* 卡片基础 */
    .card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 28px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-card);
      transition: all var(--transition);
    }
    .card:hover {
      border-color: var(--border-hover);
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }
    /* 导航栏 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 72px;
      background: rgba(10, 11, 15, 0.85);
      backdrop-filter: blur(16px);
      z-index: 1000;
      border-bottom: 1px solid transparent;
      background-image: linear-gradient(to right, transparent, var(--primary), transparent);
      background-size: 100% 1px;
      background-position: bottom;
      background-repeat: no-repeat;
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    .logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary), #9B6EFF);
      border-radius: 8px;
      display: inline-block;
      position: relative;
    }
    .logo-icon::after {
      content: "⚡";
      color: white;
      font-size: 18px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .nav-menu {
      display: flex;
      gap: 32px;
    }
    .nav-menu a {
      color: var(--text-secondary);
      font-weight: 500;
      padding: 8px 0;
      border-bottom: 2px solid transparent;
      transition: all var(--transition);
    }
    .nav-menu a:hover, .nav-menu a.active {
      color: var(--secondary);
      border-bottom-color: var(--secondary);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: var(--text-primary);
      transition: var(--transition);
    }
    @media (max-width: 1024px) {
      .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--bg-deep);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        font-size: 20px;
      }
      .nav-menu.active {
        display: flex;
      }
      .hamburger {
        display: flex;
      }
    }
    /* Hero区 */
    .hero-grid {
      display: grid;
      grid-template-columns: 6fr 6fr;
      gap: 48px;
      align-items: center;
    }
    .hero-left h1 {
      margin-bottom: 24px;
    }
    .hero-subtitle {
      font-size: 18px;
      color: var(--text-secondary);
      margin-bottom: 32px;
    }
    .score-mock {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 24px;
      border: 1px solid var(--border-light);
      backdrop-filter: blur(8px);
    }
    .teams-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .team {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .team-avatar {
      width: 64px;
      height: 64px;
      background: #2A2C35;
      border-radius: 50%;
      overflow: hidden;
    }
    .score-number {
      font-family: var(--font-mono);
      font-size: 48px;
      font-weight: 700;
      color: white;
    }
    .live-badge {
      background: var(--accent);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; } 50% { opacity: 0.8; } 100% { opacity: 1; }
    }
    @media (max-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .hero-left h1 {
        font-size: 32px;
      }
      .score-mock {
        order: -1;
      }
    }
    /* 痛点区 */
    .pain-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 24px;
    }
    @media (max-width: 1024px) {
      .pain-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 768px) {
      .pain-grid {
        grid-template-columns: 1fr;
      }
    }
    /* 解决方案左文右图 */
    .solution-flex {
      display: grid;
      grid-template-columns: 6fr 6fr;
      gap: 48px;
      align-items: center;
    }
    .feature-list {
      list-style: none;
      margin-top: 24px;
    }
    .feature-list li {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
      color: var(--text-secondary);
    }
    .feature-list li::before {
      content: "✓";
      color: var(--secondary);
      font-weight: bold;
    }
    @media (max-width: 768px) {
      .solution-flex {
        grid-template-columns: 1fr;
      }
    }
    /* 数据徽章 */
    .badge-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      justify-content: center;
    }
    .badge-item {
      background: #1A1C26;
      border-radius: 16px;
      padding: 32px 40px;
      text-align: center;
      min-width: 200px;
      position: relative;
      border: 1px solid var(--border-light);
    }
    .badge-number {
      font-family: var(--font-mono);
      font-size: 56px;
      font-weight: 700;
      color: var(--secondary);
    }
    /* 证言滚动 */
    .testimonial-scroll {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      padding-bottom: 16px;
      scroll-snap-type: x mandatory;
    }
    .testimonial-card {
      min-width: 320px;
      background: linear-gradient(135deg, #1A1C2A, #14161F);
      border-radius: var(--radius-lg);
      padding: 24px;
      scroll-snap-align: start;
    }
    @media (max-width: 768px) {
      .testimonial-scroll {
        flex-direction: column;
      }
      .testimonial-card {
        min-width: auto;
      }
    }
    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .faq-item {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 18px 24px;
      cursor: pointer;
    }
    .faq-question {
      display: flex;
      justify-content: space-between;
      font-weight: 600;
    }
    .faq-answer {
      margin-top: 12px;
      color: var(--text-secondary);
      display: none;
      border-left: 2px solid var(--primary);
      padding-left: 16px;
    }
    .faq-item.open .faq-answer {
      display: block;
    }
    @media (max-width: 768px) {
      .faq-grid {
        grid-template-columns: 1fr;
      }
    }
    /* CTA区 */
    .cta-box {
      background: linear-gradient(135deg, #1E1130, #0D0E1A);
      border-radius: var(--radius-lg);
      padding: 64px 24px;
      text-align: center;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      padding-top: 48px;
    }
    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }
    .copyright {
      border-top: 1px solid var(--border-light);
      margin-top: 32px;
      padding-top: 24px;
      text-align: center;
      font-size: 13px;
      color: var(--text-muted);
    }
    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
