/* roulang page: index */
:root {
      --primary-deep: #1A1A2E;
      --accent-red: #E94560;
      --bg-light: #F8F9FA;
      --card-white: #FFFFFF;
      --text-dark: #1A1A2E;
      --text-body: #4A4A5A;
      --text-muted: #6B7280;
      --highlight-orange: #FF6B35;
      --border-light: #E5E7EB;
      --shadow-sm: 0 2px 12px rgba(26,26,46,0.06);
      --shadow-hover: 0 8px 24px rgba(26,26,46,0.12);
      --radius-card: 12px;
      --radius-small: 8px;
      --radius-tag: 6px;
      --transition: 0.2s ease;
      --font-mono: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      background-color: var(--bg-light);
      color: var(--text-body);
      margin: 0;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 基础重置 */
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    button, .button {
      cursor: pointer;
      font-family: inherit;
      transition: var(--transition);
    }

    h1, h2, h3, h4 {
      margin: 0;
      line-height: 1.3;
    }

    /* 导航系统 */
    .top-bar-info {
      background: var(--primary-deep);
      color: white;
      font-size: 12px;
      height: 36px;
      line-height: 36px;
      border-bottom: 2px solid var(--accent-red);
    }
    .top-bar-info .info-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .top-bar-info .info-right a {
      color: white;
      margin-left: 16px;
      font-weight: 500;
    }
    .top-bar-info .info-right i {
      margin-right: 4px;
    }

    .main-nav {
      background: white;
      height: 70px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--border-light);
      position: sticky;
      top: 0;
      z-index: 30;
      box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .logo {
      font-size: 24px;
      font-weight: 700;
      color: var(--primary-deep);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .logo i {
      color: var(--accent-red);
      font-size: 28px;
    }
    .nav-links {
      display: flex;
      gap: 28px;
      font-weight: 500;
      color: var(--text-body);
    }
    .nav-links a {
      padding: 8px 0;
      border-bottom: 2px solid transparent;
      font-size: 15px;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent-red);
      border-bottom-color: var(--accent-red);
    }
    .mobile-menu-icon {
      display: none;
      font-size: 24px;
      color: var(--primary-deep);
    }

    /* 按钮体系 */
    .btn-primary {
      background: var(--accent-red);
      color: white;
      border: none;
      padding: 12px 28px;
      border-radius: var(--radius-small);
      font-weight: 600;
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: #C23152;
      color: white;
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--accent-red);
      color: var(--accent-red);
      padding: 12px 28px;
      border-radius: var(--radius-small);
      font-weight: 600;
    }
    .btn-outline:hover {
      background: rgba(233,69,96,0.08);
    }
    .btn-ghost {
      background: transparent;
      border: 2px solid white;
      color: white;
      padding: 12px 28px;
      border-radius: var(--radius-small);
      font-weight: 600;
    }
    .btn-ghost:hover {
      background: white;
      color: var(--accent-red);
    }

    /* Hero区域 */
    .hero-section {
      background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
      padding: 70px 0;
      position: relative;
      overflow: hidden;
    }
    .hero-bg-pattern {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" opacity="0.08"><path d="M30 20 L40 10 L50 20 L40 30 Z" fill="white"/><circle cx="90" cy="45" r="12" fill="none" stroke="white" stroke-width="2"/><circle cx="140" cy="70" r="18" fill="none" stroke="white" stroke-width="2"/></svg>');
      background-size: 180px;
      pointer-events: none;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 40px;
      position: relative;
      z-index: 2;
    }
    .hero-left {
      flex: 0 0 58%;
    }
    .hero-right {
      flex: 0 0 38%;
      display: flex;
      justify-content: center;
    }
    .hero-title {
      font-size: 40px;
      font-weight: 700;
      color: white;
      letter-spacing: -0.5px;
      margin-bottom: 16px;
    }
    .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,0.8);
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .live-card {
      background: white;
      border-radius: var(--radius-card);
      padding: 24px;
      box-shadow: var(--shadow-hover);
      min-width: 260px;
      text-align: center;
    }
    .live-teams {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 700;
      font-size: 20px;
      color: var(--primary-deep);
      margin-bottom: 16px;
    }
    .live-score {
      font-family: var(--font-mono);
      font-size: 36px;
      font-weight: 700;
      color: var(--accent-red);
      margin: 12px 0;
      font-feature-settings: "tnum";
    }
    .live-status {
      color: var(--highlight-orange);
      font-weight: 600;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
    .pulse-dot {
      width: 8px;
      height: 8px;
      background: var(--highlight-orange);
      border-radius: 50%;
      display: inline-block;
      animation: pulse 1.4s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.6; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }
    .live-time {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 12px;
    }

    /* 通用板块标题 */
    .section-title {
      font-size: 28px;
      font-weight: 600;
      color: var(--primary-deep);
      margin-bottom: 12px;
    }
    .section-sub {
      color: var(--text-muted);
      margin-bottom: 40px;
    }

    /* 服务卡片错落 */
    .services-grid {
      display: grid;
      grid-template-columns: 5fr 7fr;
      gap: 24px;
      margin-top: 20px;
    }
    .service-card {
      background: var(--card-white);
      border-radius: var(--radius-card);
      padding: 28px 24px;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      transition: all 0.2s;
      display: flex;
      flex-direction: column;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
      border-color: var(--accent-red);
    }
    .service-icon {
      width: 44px;
      height: 44px;
      background: rgba(233,69,96,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-red);
      font-size: 22px;
      margin-bottom: 20px;
    }
    .service-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .card-link {
      margin-top: auto;
      color: var(--accent-red);
      font-weight: 600;
    }

    /* 数据看板 */
    .data-dashboard {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
      background: var(--bg-light);
    }
    .stat-item {
      flex: 1 1 200px;
      background: white;
      border-radius: var(--radius-small);
      padding: 24px;
      text-align: center;
      box-shadow: var(--shadow-sm);
    }
    .stat-number {
      font-family: var(--font-mono);
      font-size: 32px;
      font-weight: 700;
      color: var(--accent-red);
    }
    .stat-label {
      color: var(--text-muted);
      margin-top: 8px;
    }

    /* 优势区 */
    .advantage-row {
      display: flex;
      align-items: center;
      gap: 40px;
    }
    .advantage-text {
      flex: 1;
    }
    .advantage-img {
      flex: 1;
    }
    .advantage-img img {
      border-radius: var(--radius-card);
      box-shadow: var(--shadow-sm);
    }

    /* 案例横向滚动 */
    .cases-scroll {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding-bottom: 16px;
      scroll-snap-type: x mandatory;
    }
    .case-card {
      min-width: 280px;
      background: white;
      border-radius: var(--radius-card);
      padding: 20px;
      box-shadow: var(--shadow-sm);
      scroll-snap-align: start;
      flex-shrink: 0;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: 280px 1fr;
      gap: 32px;
    }
    .faq-filter button {
      display: block;
      width: 100%;
      text-align: left;
      background: transparent;
      border: 1px solid var(--border-light);
      padding: 12px 16px;
      margin-bottom: 8px;
      border-radius: var(--radius-small);
      color: var(--text-body);
    }
    .faq-filter button.active {
      border-color: var(--accent-red);
      color: var(--accent-red);
      font-weight: 600;
    }

    /* CTA横幅 */
    .cta-banner {
      background: var(--accent-red);
      padding: 60px 0;
      text-align: center;
      color: white;
    }

    /* 页脚 */
    .footer {
      background: var(--primary-deep);
      color: #9CA3AF;
      padding: 50px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 30px;
    }
    .footer h4 {
      color: white;
      margin-bottom: 16px;
    }

    @media (max-width: 1024px) {
      .hero-grid {
        flex-direction: column;
      }
      .services-grid {
        grid-template-columns: 1fr;
      }
      .advantage-row {
        flex-direction: column;
      }
      .faq-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 640px) {
      .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-hover);
      }
      .nav-links.active {
        display: flex;
      }
      .mobile-menu-icon {
        display: block;
      }
    }
