/* roulang page: index */
:root {
      --primary: #7B2FFF;
      --primary-deep: #6928E0;
      --accent: #00F0FF;
      --bg-dark: #0F0F14;
      --bg-card: #1A1A24;
      --bg-card-hover: #252535;
      --text-white: #FFFFFF;
      --text-light: #B0B0C0;
      --text-muted: #6B6B80;
      --border-light: rgba(255,255,255,0.08);
      --radius-card: 12px;
      --radius-btn: 8px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
      --shadow-hover: 0 8px 30px rgba(123,47,255,0.3);
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Inter', system-ui, -apple-system, sans-serif;
      --container-max: 1280px;
      --section-gap: 100px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--bg-dark);
      color: var(--text-light);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: color 0.2s ease;
    }

    button, input, textarea {
      font-family: inherit;
    }

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: transparent;
      transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
      border-bottom: 1px solid transparent;
    }

    .header.scrolled {
      background: rgba(15, 15, 20, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.2);
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: 1.6rem;
      color: var(--text-white);
      letter-spacing: 1px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L15 9H22L16 14L18 21L12 16L6 21L8 14L2 9H9L12 2Z" fill="white"/></svg>') center/contain no-repeat;
      background-size: cover;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-light);
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      padding: 4px 0;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.25s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: background 0.2s, box-shadow 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      box-shadow: 0 4px 12px rgba(123,47,255,0.3);
    }

    .btn-primary:hover {
      background: var(--primary-deep);
      box-shadow: 0 6px 18px rgba(123,47,255,0.5);
    }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--accent);
      color: var(--accent);
      padding: 12px 28px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }

    .btn-outline:hover {
      background: rgba(0, 240, 255, 0.1);
      color: white;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 8px;
    }

    .hamburger span {
      width: 24px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: 0.2s;
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 72px;
      left: 0;
      width: 100%;
      background: rgba(15, 15, 20, 0.98);
      backdrop-filter: blur(16px);
      padding: 24px;
      flex-direction: column;
      gap: 20px;
      z-index: 999;
      border-bottom: 1px solid rgba(0,240,255,0.3);
      transform: translateY(-10px);
      opacity: 0;
      transition: 0.25s ease;
    }

    .mobile-menu.active {
      display: flex;
      transform: translateY(0);
      opacity: 1;
    }

    .mobile-menu a {
      color: var(--text-light);
      font-size: 1.2rem;
      font-weight: 600;
      padding: 8px 0;
    }

    /* Hero */
    .hero {
      padding: 160px 0 100px;
      display: flex;
      align-items: center;
      background-image: radial-gradient(circle at 30% 40%, rgba(123,47,255,0.15) 0%, transparent 60%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 48px;
      align-items: center;
    }

    .hero-title {
      font-size: 3.4rem;
      font-weight: 800;
      line-height: 1.2;
      background: linear-gradient(to right, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 20px;
    }

    .hero-sub {
      font-size: 1.2rem;
      color: var(--text-light);
      margin-bottom: 32px;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .hero-image {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0,0,0,0.6);
      transform: rotate(1deg);
    }

    .hero-image img {
      width: 100%;
      height: auto;
      aspect-ratio: 4/3;
      object-fit: cover;
    }

    .hero-image::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(45deg, rgba(123,47,255,0.5), transparent 60%);
      mix-blend-mode: overlay;
    }

    .particle {
      position: absolute;
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      opacity: 0.4;
      animation: float 4s infinite alternate;
    }

    @keyframes float {
      0% { transform: translateY(0px); opacity: 0.3; }
      100% { transform: translateY(-30px); opacity: 0.8; }
    }

    /* 区块标题 */
    .section-title {
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 48px;
      padding-left: 16px;
      border-left: 5px solid var(--primary);
      line-height: 1.3;
    }

    section {
      padding: var(--section-gap) 0;
    }

    /* 核心优势 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .feature-card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      padding: 32px 24px;
      text-align: center;
      box-shadow: var(--shadow-card);
      transition: transform 0.25s, box-shadow 0.25s;
    }

    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-hover);
    }

    .feature-icon {
      font-size: 2.8rem;
      color: var(--accent);
      margin-bottom: 16px;
    }

    .feature-card h3 {
      color: white;
      font-weight: 600;
      font-size: 1.3rem;
      margin-bottom: 12px;
    }

    /* 赛事服务瀑布流 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .service-card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: transform 0.2s;
    }

    .service-card:hover {
      transform: translateY(-5px);
    }

    .service-card img {
      width: 100%;
      aspect-ratio: 16/9;
      object-fit: cover;
      transition: transform 0.3s;
    }

    .service-card:hover img {
      transform: scale(1.04);
    }

    .service-content {
      padding: 20px;
    }

    .tag {
      display: inline-block;
      border: 1px solid var(--accent);
      color: var(--accent);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-right: 8px;
    }

    /* 数据案例对比表 */
    .table-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 24px;
    }

    .plan-card {
      background: var(--bg-card);
      border-radius: var(--radius-card);
      padding: 32px 20px;
      text-align: center;
      border: 2px solid transparent;
      transition: 0.2s;
    }

    .plan-card.recommended {
      border-color: var(--primary);
      box-shadow: 0 0 20px rgba(123,47,255,0.5);
    }

    .plan-price {
      font-size: 2rem;
      font-weight: 800;
      color: white;
      margin: 16px 0;
    }

    /* FAQ */
    .faq-item {
      background: var(--bg-card);
      border-radius: var(--radius-btn);
      margin-bottom: 12px;
      border-left: 4px solid var(--primary);
      transition: background 0.2s;
    }

    .faq-question {
      padding: 18px 24px;
      font-weight: 700;
      color: white;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-answer {
      padding: 0 24px 18px;
      display: none;
      color: var(--text-light);
    }

    .faq-item.active {
      background: var(--bg-card-hover);
      border-left-color: var(--accent);
    }

    .faq-item.active .faq-answer {
      display: block;
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, #1E1035 0%, #0F0F14 80%);
    }

    .cta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      background: var(--bg-card);
      border: 1px solid #2A2A3C;
      padding: 14px;
      border-radius: 8px;
      color: white;
      margin-bottom: 16px;
      transition: border 0.2s;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--primary);
      outline: none;
    }

    footer {
      background: #0A0A0F;
      padding: 60px 0 30px;
      color: var(--text-muted);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }

    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; }
      .services-grid, .features-grid, .table-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero-title { font-size: 2.4rem; }
      .section-title { font-size: 1.8rem; }
      .services-grid, .features-grid, .table-grid { grid-template-columns: 1fr; }
      .cta-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }
