/* roulang page: index */
:root {
      --primary: #0A7E3D;
      --primary-hover: #088535;
      --primary-active: #066B2B;
      --secondary: #1A1A2E;
      --accent: #F5A623;
      --accent-hover: #e6960e;
      --body-bg: #FAFBF7;
      --card-bg: #FFFFFF;
      --light-gray: #F0F2EB;
      --border-light: #E8ECE5;
      --text-primary: #0D1B0E;
      --text-body: #2D3A2E;
      --text-muted: #6B7A6C;
      --text-on-dark: #E8EDE5;
      --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
      --font-mono: 'SF Mono', 'Menlo', 'Consolas', 'PingFang SC', monospace;
      --border-radius: 0.5rem;
      --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
      --shadow-md: 0 6px 20px rgba(26, 26, 46, 0.12);
      --shadow-btn: 0 2px 6px rgba(10, 126, 61, 0.3);
      --shadow-btn-hover: 0 4px 12px rgba(10, 126, 61, 0.4);
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-sans);
      background-color: var(--body-bg);
      color: var(--text-body);
      line-height: 1.7;
      margin: 0;
      padding-top: 72px;
    }

    a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.2s;
    }
    a:hover {
      color: var(--primary-hover);
    }

    .container {
      max-width: 1140px;
    }

    /* 导航栏 SaaS 命令栏风格 */
    .navbar {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 1px 4px rgba(0,0,0,0.04);
      height: 72px;
      padding: 0 1.5rem;
      border-bottom: 1px solid var(--border-light);
    }
    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary) !important;
      letter-spacing: -0.5px;
    }
    .navbar-brand span {
      font-weight: 400;
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-left: 4px;
    }
    .nav-link {
      color: var(--text-body) !important;
      font-weight: 500;
      padding: 0.5rem 1rem !important;
      border-bottom: 2px solid transparent;
      transition: 0.2s;
      margin: 0 0.2rem;
    }
    .nav-link:hover, .nav-link.active {
      color: var(--primary) !important;
      border-bottom-color: var(--primary);
    }
    .search-box {
      background: var(--light-gray);
      border-radius: 20px;
      padding: 0.4rem 1rem;
      width: 180px;
      transition: width 0.25s ease, background 0.2s, border 0.2s;
      border: 1px solid transparent;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--text-muted);
      font-size: 0.9rem;
      cursor: text;
    }
    .search-box:focus-within {
      width: 240px;
      background: white;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(10,126,61,0.1);
    }
    .search-box i {
      font-size: 0.9rem;
    }
    .search-box input {
      border: none;
      background: transparent;
      outline: none;
      width: 100%;
      font-size: 0.9rem;
      color: var(--text-primary);
    }
    .btn-cta-nav {
      background: var(--accent);
      color: var(--secondary) !important;
      font-weight: 600;
      border-radius: 6px;
      padding: 0.5rem 1.2rem;
      font-size: 0.9rem;
      border: none;
      transition: 0.2s;
      box-shadow: 0 2px 6px rgba(245,166,35,0.25);
    }
    .btn-cta-nav:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 10px rgba(245,166,35,0.4);
    }

    /* Hero 区域 */
    .hero-section {
      background: linear-gradient(135deg, #1A1A2E 0%, #0D2B1A 100%);
      padding: 2rem 0 4rem;
      color: white;
      position: relative;
      overflow: hidden;
    }
    .hero-section::after {
      content: "";
      position: absolute;
      bottom: 0; right: 0;
      width: 300px; height: 300px;
      background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
      pointer-events: none;
    }

    .dashboard-panel {
      background: rgba(26, 26, 46, 0.75);
      backdrop-filter: blur(10px);
      border-radius: 12px;
      padding: 1.2rem;
      margin-bottom: 2.5rem;
      border: 1px solid rgba(255,255,255,0.1);
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem;
    }
    .live-scores {
      flex: 2;
      min-width: 280px;
      display: flex;
      overflow-x: auto;
      gap: 0.8rem;
      padding-bottom: 4px;
      scrollbar-width: thin;
    }
    .live-score-card {
      background: rgba(255,255,255,0.08);
      border-radius: 8px;
      padding: 0.7rem 1rem;
      min-width: 160px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.8rem;
      flex-shrink: 0;
    }
    .score-number {
      font-family: var(--font-mono);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--accent);
      margin: 0.2rem 0;
    }
    .match-minute {
      font-size: 0.7rem;
      color: var(--text-on-dark);
      opacity: 0.8;
    }
    .metrics {
      flex: 1;
      display: flex;
      justify-content: space-around;
      align-items: center;
      min-width: 200px;
    }
    .metric-item {
      text-align: center;
    }
    .metric-number {
      font-family: var(--font-mono);
      font-size: 2rem;
      font-weight: 700;
      color: white;
      line-height: 1.2;
    }
    .refresh-tag {
      font-size: 0.75rem;
      color: var(--accent);
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .breath-dot {
      width: 8px; height: 8px;
      background: var(--accent);
      border-radius: 50%;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse { 0% { opacity:1; } 50% { opacity:0.4; } 100% { opacity:1; } }

    .hero-content {
      display: flex;
      align-items: center;
      gap: 2.5rem;
    }
    .hero-text h1 {
      font-size: 2.5rem;
      font-weight: 700;
      line-height: 1.25;
      color: white;
    }
    .hero-text .lead {
      color: rgba(255,255,255,0.8);
      font-size: 1.15rem;
      margin: 1rem 0 1.8rem;
    }
    .btn-primary-custom {
      background: var(--primary);
      color: white;
      border-radius: 6px;
      padding: 0.75rem 2rem;
      font-weight: 600;
      border: none;
      box-shadow: var(--shadow-btn);
      transition: 0.2s;
      display: inline-block;
    }
    .btn-primary-custom:hover {
      background: var(--primary-hover);
      box-shadow: var(--shadow-btn-hover);
      transform: translateY(-1px);
      color: white;
    }
    .btn-outline-light-custom {
      border: 1.5px solid white;
      color: white;
      background: transparent;
      border-radius: 6px;
      padding: 0.75rem 2rem;
      font-weight: 600;
      transition: 0.2s;
    }
    .btn-outline-light-custom:hover {
      background: rgba(255,255,255,0.1);
      color: white;
    }

    /* 通用区块 */
    .section-title {
      font-size: 2rem;
      font-weight: 650;
      color: var(--text-primary);
      margin-bottom: 1rem;
      letter-spacing: -0.3px;
    }
    .feature-card {
      background: var(--card-bg);
      border-radius: 8px;
      padding: 2rem 1.5rem;
      border: 1px solid var(--border-light);
      box-shadow: var(--shadow-sm);
      position: relative;
      transition: all 0.25s;
      height: 100%;
      border-left: 4px solid transparent;
    }
    .feature-card:hover {
      border-left: 4px solid var(--primary);
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }
    .service-card {
      background: var(--card-bg);
      border-radius: 8px;
      padding: 1.5rem;
      display: flex;
      gap: 1.5rem;
      border: 1px solid var(--border-light);
      transition: 0.2s;
      height: 100%;
    }
    .service-card:hover {
      border-color: var(--primary);
    }
    .comparison-table th {
      background: var(--secondary);
      color: white;
      font-weight: 600;
    }
    .highlight-col {
      background: #F0F7F2;
    }
    .accordion-button:not(.collapsed) {
      background: transparent;
      color: var(--primary);
      box-shadow: none;
      border-left: 3px solid var(--primary);
    }
    .accordion-button {
      font-weight: 500;
      border-left: 3px solid transparent;
    }
    .form-area {
      background: var(--light-gray);
      border-radius: 12px;
      padding: 2.5rem;
    }
    .footer-dark {
      background: var(--secondary);
      color: #B0B8AE;
    }
    @media (max-width: 768px) {
      .hero-content { flex-direction: column; }
      .navbar { height: 60px; }
      .search-box { width: 140px; }
    }
