/* roulang page: index */
:root {
      --primary: #E8452D;
      --primary-deep: #C0392B;
      --secondary: #1B2A3B;
      --accent: #00E5A0;
      --bg-light: #F8F9FA;
      --bg-dark: #0F1923;
      --card-white: #FFFFFF;
      --text-main: #1F2937;
      --text-muted: #6B7280;
      --text-light: #F9FAFB;
      --border-light: #E5E7EB;
      --radius-card: 12px;
      --radius-btn: 8px;
      --radius-input: 6px;
      --shadow-sm: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
      --transition: 0.2s ease;
      --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-main);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }
    img {
      max-width: 100%;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    button, input, select {
      font-family: inherit;
    }
    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      backdrop-filter: blur(12px);
      background: rgba(15, 25, 35, 0.75);
      transition: background 0.3s, box-shadow 0.3s;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .navbar.scrolled {
      background: var(--secondary);
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }
    .logo {
      font-weight: 700;
      font-size: 1.5rem;
      color: white;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo span {
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-links a {
      color: rgba(255,255,255,0.8);
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a:hover {
      color: white;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.2s;
    }
    .nav-links a:hover::after {
      width: 100%;
    }
    .btn-nav {
      background: var(--primary);
      color: white;
      padding: 10px 24px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: background 0.2s, transform 0.1s;
      border: none;
      cursor: pointer;
    }
    .btn-nav:hover {
      background: var(--primary-deep);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
    }
    .hamburger span {
      width: 24px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: 0.2s;
    }
    @media (max-width: 768px) {
      .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        transform: translateY(-150%);
        transition: transform 0.3s;
        box-shadow: var(--shadow-md);
      }
      .nav-links.active {
        transform: translateY(0);
      }
      .hamburger {
        display: flex;
      }
    }
    /* 通用区块 */
    section {
      padding: 80px 0;
    }
    @media (max-width: 640px) {
      section { padding: 48px 0; }
    }
    .btn {
      display: inline-block;
      padding: 14px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      transition: all 0.2s;
      border: none;
      cursor: pointer;
    }
    .btn-primary {
      background: var(--primary);
      color: white;
    }
    .btn-primary:hover {
      background: var(--primary-deep);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }
    .btn-outline:hover {
      background: rgba(232, 69, 45, 0.1);
    }
    h1, h2, h3 {
      line-height: 1.3;
    }
    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(15,25,35,0.9) 0%, rgba(27,42,59,0.85) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      color: white;
      position: relative;
      padding-top: 80px;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-text {
      flex: 1;
    }
    .hero-text h1 {
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .hero-text p {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-bottom: 32px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .hero-data-card {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(12px);
      border-radius: 16px;
      padding: 24px;
      width: 280px;
      border: 1px solid rgba(255,255,255,0.15);
      box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }
    .live-badge {
      color: var(--accent);
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .score-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 16px 0;
      font-size: 1.8rem;
      font-weight: 700;
    }
    .odds-text {
      color: var(--accent);
      font-size: 0.9rem;
    }
    @media (max-width: 900px) {
      .hero-grid {
        flex-direction: column;
        text-align: center;
      }
      .hero-data-card {
        width: 100%;
        max-width: 320px;
      }
    }
    /* 指标看板 */
    .dashboard {
      background: var(--bg-dark);
      color: white;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 24px;
      margin-bottom: 16px;
    }
    .stat-card {
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-card);
      padding: 24px;
      border: 1px solid rgba(255,255,255,0.08);
    }
    .stat-number {
      font-size: 2rem;
      font-weight: 700;
      color: var(--accent);
    }
    .stat-label {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.7);
      margin-top: 8px;
    }
    .update-hint {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.5);
    }
    @media (max-width: 768px) {
      .stats-grid { grid-template-columns: 1fr 1fr; }
    }
    /* 服务矩阵 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
      margin-top: 40px;
    }
    .service-card {
      background: var(--card-white);
      border-radius: var(--radius-card);
      padding: 24px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      box-shadow: var(--shadow-sm);
      transition: all 0.25s;
      border: 1px solid transparent;
    }
    .service-card:hover {
      border-color: var(--primary);
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .service-icon {
      width: 48px;
      height: 48px;
      background: var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.4rem;
      flex-shrink: 0;
    }
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 640px) {
      .services-grid { grid-template-columns: 1fr; }
    }
    /* 对比 */
    .comparison-wrapper {
      display: flex;
      gap: 32px;
      margin-top: 40px;
      align-items: stretch;
    }
    .compare-col {
      flex: 1;
      padding: 24px;
      border-radius: var(--radius-card);
    }
    .compare-left {
      background: #f3f4f6;
      color: #6b7280;
    }
    .compare-right {
      background: #fff5f3;
      border: 1px solid var(--primary);
    }
    .progress-item {
      margin-bottom: 20px;
    }
    .progress-bar {
      height: 8px;
      background: #e5e7eb;
      border-radius: 4px;
      margin-top: 8px;
    }
    .progress-fill {
      height: 100%;
      border-radius: 4px;
      background: var(--primary);
      width: 0%;
    }
    .progress-fill.gray {
      background: #9ca3af;
    }
    @media (max-width: 768px) {
      .comparison-wrapper { flex-direction: column; }
    }
    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
      padding: 20px 0;
    }
    .faq-question {
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      color: var(--text-muted);
      line-height: 1.8;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      margin-top: 12px;
    }
    /* 表单 */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
      background: linear-gradient(105deg, #f9fafb 0%, #fff 100%);
      border-radius: var(--radius-card);
      padding: 40px;
    }
    .form-input {
      width: 100%;
      padding: 12px 16px;
      background: #f3f4f6;
      border: 1px solid transparent;
      border-radius: var(--radius-input);
      margin-bottom: 16px;
      transition: 0.2s;
    }
    .form-input:focus {
      border-color: var(--primary);
      outline: none;
      background: white;
    }
    @media (max-width: 768px) {
      .contact-grid { grid-template-columns: 1fr; }
    }
    /* 页脚 */
    .footer {
      background: var(--secondary);
      color: rgba(255,255,255,0.8);
      padding: 48px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
    }
    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
