/* roulang page: index */
:root {
      --primary: #0A1F3F;
      --primary-light: #1A3A5C;
      --accent: #F0C040;
      --bg: #F7F9FC;
      --surface: #FFFFFF;
      --text: #1E2A3A;
      --text-secondary: #5A6B7F;
      --border: #E2E8F0;
      --shadow-sm: 0 4px 12px rgba(10,31,63,0.06);
      --shadow-md: 0 8px 24px rgba(10,31,63,0.10);
      --shadow-lg: 0 16px 32px rgba(10,31,63,0.15);
      --radius: 12px;
      --radius-sm: 8px;
      --transition: 0.2s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Inter', system-ui, -apple-system, sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* 导航 */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(10px);
      box-shadow: 0 1px 0 var(--border);
      transition: box-shadow var(--transition);
    }

    .header.scrolled {
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
      padding: 0 24px;
      max-width: 1280px;
      margin: 0 auto;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.3rem;
      color: var(--primary);
    }

    .logo-icon {
      font-size: 1.8rem;
      color: var(--accent);
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      font-size: 0.95rem;
      font-weight: 500;
    }

    .nav-links a {
      color: var(--text);
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      transition: color var(--transition), border-color var(--transition);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .btn-primary {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: background var(--transition);
      display: inline-block;
      text-align: center;
      border: none;
      cursor: pointer;
    }

    .btn-primary:hover {
      background: #081A33;
    }

    .btn-outline {
      background: transparent;
      color: var(--accent);
      border: 1.5px solid var(--accent);
      padding: 10px 24px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      transition: all var(--transition);
      display: inline-block;
      text-align: center;
    }

    .btn-outline:hover {
      background: var(--accent);
      color: var(--primary);
    }

    .btn-reverse {
      background: white;
      color: var(--primary);
      border: 1.5px solid white;
      font-weight: 600;
    }

    .btn-reverse:hover {
      background: var(--accent);
      color: var(--primary);
      border-color: var(--accent);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }

    .hamburger span {
      width: 26px;
      height: 2px;
      background: var(--primary);
      transition: all 0.3s;
    }

    /* Hero */
    .hero {
      position: relative;
      padding: 140px 24px 120px;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(10, 31, 63, 0.7);
      backdrop-filter: blur(1px);
    }

    .hero-content {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
    }

    .hero h1 {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 20px;
    }

    .hero p {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 36px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* 区块通用 */
    .section {
      padding: 90px 24px;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 16px;
      color: var(--text);
    }

    .section-sub {
      text-align: center;
      color: var(--text-secondary);
      margin-bottom: 48px;
      font-size: 1.1rem;
    }

    .grid {
      display: grid;
      gap: 24px;
    }

    .grid-4 {
      grid-template-columns: repeat(4, 1fr);
    }

    .grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    .card {
      background: var(--surface);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: transform var(--transition), box-shadow var(--transition);
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-md);
    }

    .feature-icon {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 16px;
    }

    .card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .card p {
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* 比分卡片 */
    .score-card {
      background: white;
      border-radius: var(--radius);
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: var(--shadow-sm);
      border-left: 5px solid var(--border);
      margin-bottom: 20px;
    }

    .score-card.live {
      border-left-color: #2ecc71;
    }

    .score-card.upcoming {
      border-left-color: #3498db;
    }

    .score-card.finished {
      border-left-color: #95a5a6;
    }

    .team {
      font-weight: 700;
      font-size: 1.2rem;
    }

    .score {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      font-feature-settings: "tnum";
    }

    .vs {
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    .match-info {
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    .status-badge {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .bg-live {
      background: #2ecc7130;
      color: #1e7e34;
    }

    .bg-upcoming {
      background: #3498db30;
      color: #1a5276;
    }

    /* 案例卡片 */
    .case-card {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      background: #111;
      height: 260px;
      display: flex;
      align-items: flex-end;
    }

    .case-card img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .case-overlay {
      position: absolute;
      bottom: 0;
      width: 100%;
      padding: 24px;
      background: linear-gradient(transparent, rgba(0,0,0,0.8));
      color: white;
    }

    .solutions-row {
      display: flex;
      gap: 48px;
      align-items: center;
      margin-bottom: 60px;
    }

    .solutions-row.reverse {
      flex-direction: row-reverse;
    }

    .solutions-text {
      flex: 1;
    }

    .solutions-img {
      flex: 1;
      background: #e9edf2;
      border-radius: var(--radius);
      height: 240px;
      background-image: url('/assets/images/coverpic/cover-2.webp');
      background-size: cover;
    }

    .faq-item {
      border-bottom: 1px solid var(--border);
      padding: 18px 0;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      font-weight: 600;
      cursor: pointer;
      font-size: 1.1rem;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-secondary);
    }

    .faq-item.open .faq-answer {
      max-height: 120px;
      margin-top: 12px;
    }

    .cta-section {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      text-align: center;
      padding: 80px 24px;
      border-radius: var(--radius);
    }

    .footer {
      background: #0C1A2D;
      color: #B0C4DE;
      padding: 60px 24px 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
    }

    .footer a:hover {
      color: var(--accent);
    }

    @media (max-width: 1024px) {
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .solutions-row, .solutions-row.reverse {
        flex-direction: column;
      }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero h1 { font-size: 2rem; }
      .grid-4, .grid-3 { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .hero { padding: 120px 16px 80px; }
    }
