/* roulang page: index */
:root {
      --primary: #1A56DB;
      --primary-hover: #153FB0;
      --primary-light: #EBF2FF;
      --accent: #00C9A7;
      --accent-hover: #00B394;
      --warning: #F59E0B;
      --bg-white: #FFFFFF;
      --bg-light: #F8FAFC;
      --bg-dark: #1E293B;
      --text-main: #0F172A;
      --text-secondary: #475569;
      --text-light: #FFFFFF;
      --text-muted: #64748B;
      --border: #E2E8F0;
      --radius-card: 12px;
      --radius-btn: 8px;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --shadow-md: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.06);
      --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
      --font-number: "Inter", "SF Pro Display", system-ui, sans-serif;
      --transition: 0.3s ease;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }
    body {
      font-family: var(--font-sans);
      color: var(--text-main);
      background-color: var(--bg-white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
    button, input, textarea {
      font-family: inherit;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--bg-white);
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      z-index: 1000;
      height: 64px;
      display: flex;
      align-items: center;
      transition: var(--transition);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.2rem;
      color: var(--text-main);
    }
    .logo i {
      color: var(--primary);
      font-size: 1.8rem;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.95rem;
      color: var(--text-secondary);
      font-weight: 500;
      position: relative;
      padding-bottom: 4px;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--primary);
      transition: width 0.25s ease;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 10px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: none;
      cursor: pointer;
      transition: var(--transition);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      transform: scale(1.02);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 10px 20px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
    .btn-outline:hover {
      background: var(--primary-light);
    }
    .btn-accent {
      background: var(--accent);
      color: white;
      border: none;
    }
    .btn-accent:hover {
      background: var(--accent-hover);
    }
    .hamburger {
      display: none;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: var(--text-main);
      cursor: pointer;
    }
    /* 板块通用 */
    section {
      padding: 80px 0;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 16px;
      line-height: 1.3;
    }
    .section-subtitle {
      font-size: 1.1rem;
      color: var(--text-secondary);
      margin-bottom: 40px;
      max-width: 700px;
    }
    .text-center {
      text-align: center;
    }
    .mx-auto {
      margin-left: auto;
      margin-right: auto;
    }
    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: var(--bg-white);
      padding-top: 64px;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .hero h1 {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero .highlight {
      color: var(--primary);
      background: linear-gradient(120deg, var(--primary-light) 0%, var(--primary-light) 70%);
      padding: 0 8px;
    }
    .hero p {
      font-size: 1.15rem;
      color: var(--text-secondary);
      margin-bottom: 32px;
      max-width: 500px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-image {
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      border-radius: 20px;
      min-height: 380px;
      box-shadow: var(--shadow-md);
      position: relative;
      overflow: hidden;
    }
    .hero-image::after {
      content: "实时比分看板";
      position: absolute;
      bottom: 16px;
      left: 20px;
      background: rgba(0,0,0,0.7);
      color: white;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 0.8rem;
      backdrop-filter: blur(4px);
    }
    /* 痛点 */
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .pain-card {
      background: var(--bg-white);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      border-top: 4px solid var(--accent);
      transition: var(--transition);
    }
    .pain-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .pain-icon {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 16px;
    }
    /* 方案卡片 */
    .solution-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .solution-card {
      background: var(--bg-white);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      border-top: 5px solid var(--accent);
      transition: var(--transition);
    }
    .solution-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }
    .solution-img {
      height: 140px;
      background-size: cover;
      background-position: center;
      border-radius: 10px;
      margin-bottom: 18px;
    }
    /* 数据区 */
    .dark-bg {
      background: var(--bg-dark);
      color: var(--text-light);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
    }
    .stat-number {
      font-family: var(--font-number);
      font-size: 3rem;
      font-weight: 700;
      color: var(--accent);
    }
    /* 证言 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testimonial-card {
      background: var(--bg-white);
      border-radius: var(--radius-card);
      padding: 28px;
      box-shadow: var(--shadow-sm);
      border-left: 5px solid var(--primary);
      font-style: italic;
    }
    .stars {
      color: var(--warning);
      margin-bottom: 12px;
    }
    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 18px 0;
    }
    .faq-question {
      font-weight: 700;
      font-size: 1.1rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: color 0.2s;
    }
    .faq-question:hover {
      color: var(--primary);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      color: var(--text-secondary);
      margin-top: 8px;
      padding-right: 20px;
    }
    .faq-item.active .faq-answer {
      max-height: 150px;
    }
    .faq-icon {
      transition: transform 0.3s;
    }
    .faq-item.active .faq-icon {
      transform: rotate(45deg);
    }
    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, var(--primary) 0%, #1247b0 100%);
      color: white;
    }
    .cta-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .footer {
      background: var(--bg-dark);
      color: #CBD5E1;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
    }
    .footer a {
      color: #CBD5E1;
      font-size: 0.9rem;
    }
    .footer a:hover {
      color: var(--accent);
    }
    .copyright {
      border-top: 1px solid #334155;
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      color: #64748B;
      font-size: 0.85rem;
    }
    @media (max-width: 1024px) {
      .hero-grid, .footer-grid {
        grid-template-columns: 1fr;
      }
      .hero-image {
        min-height: 280px;
        order: -1;
      }
      .stats-grid {
        grid-template-columns: repeat(2,1fr);
      }
    }
    @media (max-width: 768px) {
      .hamburger {
        display: block;
      }
      .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 28px;
        box-shadow: var(--shadow-md);
      }
      .nav-links.open {
        display: flex;
      }
      .pain-grid, .solution-grid, .testimonial-grid {
        grid-template-columns: 1fr;
      }
      .section-title {
        font-size: 1.8rem;
      }
    }
