/* roulang page: index */
:root {
      --deep-charcoal-green: #1A211E;
      --compete-orange: #FF6B35;
      --data-cyan: #00D2D3;
      --bg-light: #F5F7F6;
      --white: #FFFFFF;
      --text-dark: #333333;
      --text-muted: #6B7280;
      --border-light: #E5E7EB;
      --glass-bg: rgba(26, 33, 30, 0.75);
      --card-shadow: 0 4px 12px rgba(0,0,0,0.04);
      --card-hover-shadow: 0 12px 24px rgba(0,0,0,0.08);
      --radius-md: 12px;
      --radius-btn: 30px;
      --transition: all 0.3s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
      background-color: var(--white);
      color: var(--text-dark);
      line-height: 1.7;
      font-weight: 400;
      font-size: 1rem;
      -webkit-font-smoothing: antialiased;
    }

    /* 等宽数字字体用于数据展示 */
    .mono, .data-board .metric-value, .stat-number {
      font-family: 'Roboto Mono', 'Courier New', monospace;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      color: var(--deep-charcoal-green);
    }

    h1 {
      font-size: 3.5rem;
      letter-spacing: -0.5px;
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    h2 {
      font-size: 2.25rem;
      line-height: 1.3;
      margin-bottom: 0.75rem;
    }

    h3 {
      font-size: 1.5rem;
      font-weight: 500;
    }

    p {
      color: var(--text-dark);
      margin-bottom: 1.5rem;
    }

    a {
      color: var(--compete-orange);
      text-decoration: none;
      transition: var(--transition);
    }

    a:hover {
      color: #e55a2b;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 按钮系统 */
    .btn-primary {
      background: var(--compete-orange);
      color: white;
      border: none;
      padding: 14px 36px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      font-size: 1.1rem;
      display: inline-block;
      text-align: center;
      transition: var(--transition);
      box-shadow: 0 6px 18px rgba(255, 107, 53, 0.25);
      cursor: pointer;
    }

    .btn-primary:hover {
      background: #e55a2b;
      box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
      transform: translateY(-1px);
      color: white;
    }

    .btn-secondary {
      background: transparent;
      color: var(--compete-orange);
      border: 2px solid var(--compete-orange);
      padding: 12px 32px;
      border-radius: var(--radius-btn);
      font-weight: 600;
      display: inline-block;
      transition: var(--transition);
      cursor: pointer;
    }

    .btn-secondary:hover {
      background: var(--compete-orange);
      color: white;
    }

    /* 卡片系统 */
    .card {
      background: var(--white);
      border-radius: var(--radius-md);
      box-shadow: var(--card-shadow);
      padding: 24px;
      transition: var(--transition);
      border: 1px solid transparent;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--card-hover-shadow);
      border-color: var(--compete-orange);
    }

    /* 导航栏 */
    .main-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: background 0.3s, box-shadow 0.3s;
      padding: 15px 0;
    }

    .header-transparent {
      background: transparent;
    }

    .header-solid {
      background: rgba(255,255,255,0.98);
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      backdrop-filter: blur(10px);
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .logo {
      font-size: 2rem;
      font-weight: 700;
      color: white;
      letter-spacing: -0.5px;
    }

    .header-solid .logo {
      color: var(--deep-charcoal-green);
    }

    .logo span {
      color: var(--compete-orange);
    }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      align-items: center;
    }

    .nav-links a {
      color: white;
      font-weight: 500;
      transition: var(--transition);
      font-size: 1rem;
    }

    .header-solid .nav-links a {
      color: var(--deep-charcoal-green);
    }

    .nav-links a:hover {
      color: var(--compete-orange);
    }

    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      color: white;
      cursor: pointer;
    }

    .header-solid .mobile-toggle {
      color: var(--deep-charcoal-green);
    }

    /* 移动端侧边栏 */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background: var(--white);
      box-shadow: -4px 0 20px rgba(0,0,0,0.1);
      z-index: 9999;
      transition: right 0.4s ease;
      padding: 30px 20px;
      display: flex;
      flex-direction: column;
    }

    .mobile-menu.open {
      right: 0;
    }

    .mobile-menu a {
      display: block;
      padding: 12px 0;
      border-bottom: 1px solid var(--border-light);
      color: var(--deep-charcoal-green);
      font-weight: 500;
      font-size: 1.1rem;
    }

    .close-menu {
      align-self: flex-end;
      background: none;
      border: none;
      font-size: 2rem;
      cursor: pointer;
      color: var(--deep-charcoal-green);
    }

    /* Hero 区域 */
    .hero {
      height: 100vh;
      min-height: 700px;
      background: radial-gradient(circle at 20% 30%, #1A211E 0%, #0e1210 100%);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    /* 动态粒子背景效果 */
    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      opacity: 0.25;
      mix-blend-mode: overlay;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      flex-wrap: wrap;
    }

    .hero-left {
      flex: 1;
      min-width: 300px;
      color: white;
    }

    .hero-left h1 {
      color: white;
      font-size: 3.8rem;
      margin-bottom: 0.5rem;
    }

    .hero-left .subtitle {
      font-size: 1.25rem;
      color: rgba(255,255,255,0.8);
      margin-bottom: 2rem;
    }

    .hero-right {
      flex: 1;
      min-width: 280px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .data-board {
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      border-radius: 16px;
      padding: 24px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      border: 1px solid rgba(255,255,255,0.15);
    }

    .metric {
      text-align: center;
    }

    .metric-label {
      color: rgba(255,255,255,0.7);
      font-size: 0.85rem;
      letter-spacing: 0.5px;
    }

    .metric-value {
      font-size: 2.2rem;
      font-weight: 600;
      color: var(--data-cyan);
      text-shadow: 0 0 8px rgba(0,210,211,0.4);
      animation: pulse-glow 2s infinite alternate;
    }

    @keyframes pulse-glow {
      0% { text-shadow: 0 0 6px rgba(0,210,211,0.3); }
      100% { text-shadow: 0 0 14px rgba(0,210,211,0.7); }
    }

    .hero-cta {
      margin-top: 10px;
    }

    /* 服务矩阵非对称布局 */
    .services {
      padding: 100px 0;
      background: var(--bg-light);
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .service-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr;
      gap: 24px;
      align-items: start;
    }

    .service-main-card {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 40px;
      box-shadow: var(--card-shadow);
      transition: var(--transition);
      border-left: 6px solid var(--compete-orange);
    }

    .service-main-card:hover {
      box-shadow: var(--card-hover-shadow);
    }

    .service-sub-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .service-card {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 24px;
      box-shadow: var(--card-shadow);
      display: flex;
      align-items: center;
      gap: 16px;
      transition: var(--transition);
    }

    .service-card:hover {
      transform: translateY(-4px);
      border-color: var(--compete-orange);
    }

    .service-icon {
      font-size: 2rem;
      color: var(--compete-orange);
      min-width: 40px;
    }

    /* 对比区 */
    .comparison {
      padding: 100px 0;
      background: var(--white);
    }

    .compare-container {
      display: flex;
      gap: 30px;
      align-items: center;
      flex-wrap: wrap;
    }

    .compare-box {
      flex: 1;
      padding: 40px;
      border-radius: var(--radius-md);
      transition: var(--transition);
    }

    .traditional {
      background: #f2f2f2;
      color: #555;
    }

    .ballbet-solution {
      background: var(--deep-charcoal-green);
      color: white;
      box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    }

    .ballbet-solution h3 {
      color: var(--compete-orange);
    }

    .stat-bar {
      background: #ddd;
      height: 8px;
      border-radius: 4px;
      margin: 15px 0;
    }

    .stat-fill {
      background: var(--compete-orange);
      height: 100%;
      border-radius: 4px;
      width: 0%;
      transition: width 1.2s ease;
    }

    /* FAQ */
    .faq {
      padding: 100px 0;
      background: var(--bg-light);
    }

    .accordion-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .accordion-item {
      background: white;
      border-radius: var(--radius-md);
      margin-bottom: 0;
      border: 1px solid var(--border-light);
    }

    .accordion-title {
      padding: 20px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: var(--transition);
    }

    .accordion-title .q-icon {
      color: var(--data-cyan);
      font-weight: 700;
    }

    .accordion-content {
      padding: 0 20px 20px;
      display: none;
      color: var(--text-dark);
    }

    .accordion-item.active {
      border-color: var(--compete-orange);
    }

    .accordion-item.active .accordion-content {
      display: block;
    }

    /* CTA */
    .cta-section {
      padding: 100px 0;
      background: var(--deep-charcoal-green);
      position: relative;
    }

    .cta-section::before {
      content: "";
      position: absolute;
      top:0;left:0;right:0;bottom:0;
      background: url('/assets/images/coverpic/cover-2.webp') center/cover no-repeat;
      opacity: 0.2;
    }

    .cta-inner {
      position: relative;
      display: flex;
      align-items: center;
      gap: 60px;
      flex-wrap: wrap;
    }

    .cta-text {
      flex:1;
      color: white;
    }

    .cta-form {
      flex:1;
      background: white;
      padding: 40px;
      border-radius: var(--radius-md);
    }

    .input-field {
      width: 100%;
      padding: 12px 0;
      border: none;
      border-bottom: 2px solid #ccc;
      margin-bottom: 25px;
      outline: none;
      transition: border 0.2s;
      font-size: 1rem;
    }

    .input-field:focus {
      border-bottom: 3px solid var(--compete-orange);
    }

    /* Footer */
    .footer {
      background: #0e1210;
      color: #ccc;
      padding: 60px 0 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }

    @media (max-width: 1024px) {
      h1 { font-size: 2.8rem; }
      .service-grid { grid-template-columns: 1fr; }
      .accordion-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .mobile-toggle { display: block; }
      .hero-content { flex-direction: column; text-align: center; }
      .hero-left h1 { font-size: 2.4rem; }
      .compare-container { flex-direction: column; }
      .cta-inner { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
    }
