/* roulang page: index */
:root {
      --primary: #0F2B46;
      --primary-deep: #071B2E;
      --accent: #C8943E;
      --accent-light: #E0B55F;
      --bg-light: #F8F9FA;
      --bg-card: #FFFFFF;
      --bg-metrics: #EEF2F6;
      --success: #1B7B54;
      --danger: #B33A3A;
      --text-main: #1e2b3c;
      --text-secondary: #5a6a7e;
      --text-light: #ffffff;
      --border-light: #e0e6ed;
      --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
      --shadow-card: 0 8px 24px rgba(0,0,0,0.05);
      --shadow-hover: 0 14px 32px rgba(0,0,0,0.09);
      --radius-lg: 20px;
      --radius-md: 14px;
      --radius-sm: 10px;
      --radius-btn: 12px;
      --transition: 0.25s ease-in-out;
      --sidebar-width: 240px;
      --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: var(--font-sans);
      background: var(--bg-light);
      color: var(--text-main);
      line-height: 1.7;
      font-size: 16px;
      display: flex;
      min-height: 100vh;
      flex-direction: row;
    }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: var(--transition);
    }
    button, .button {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
    }
    .app-shell {
      display: flex;
      width: 100%;
    }
    /* 左侧导航 App Shell */
    .sidebar {
      width: var(--sidebar-width);
      background: var(--primary);
      color: white;
      display: flex;
      flex-direction: column;
      padding: 2rem 1.25rem;
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      z-index: 40;
      box-shadow: 2px 0 18px rgba(0,0,0,0.08);
      transition: transform 0.35s ease;
    }
    .sidebar-logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 2.5rem;
      font-weight: 700;
      font-size: 1.7rem;
      letter-spacing: 0.5px;
      color: white;
      border-bottom: 1px solid rgba(255,255,255,0.15);
      padding-bottom: 1.5rem;
    }
    .sidebar-logo i {
      color: var(--accent);
      font-size: 2rem;
    }
    .sidebar-nav {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      flex: 1;
    }
    .sidebar-nav a {
      color: rgba(255,255,255,0.8);
      padding: 0.75rem 1rem;
      border-radius: var(--radius-sm);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      border-left: 3px solid transparent;
      transition: all 0.2s;
    }
    .sidebar-nav a i {
      width: 20px;
      font-size: 1.1rem;
      opacity: 0.7;
    }
    .sidebar-nav a:hover,
    .sidebar-nav a.active {
      background: rgba(255,255,255,0.08);
      color: white;
      border-left-color: var(--accent);
    }
    .sidebar-bottom {
      font-size: 0.8rem;
      color: rgba(255,255,255,0.5);
      margin-top: 1.5rem;
      border-top: 1px solid rgba(255,255,255,0.15);
      padding-top: 1.2rem;
    }
    /* 主内容区 */
    .main-content {
      margin-left: var(--sidebar-width);
      width: calc(100% - var(--sidebar-width));
      background: var(--bg-light);
    }
    /* 移动端顶部导航 */
    .mobile-header {
      display: none;
      background: var(--primary);
      color: white;
      padding: 0.75rem 1.5rem;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 45;
    }
    .mobile-logo {
      font-weight: 700;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .hamburger {
      font-size: 1.6rem;
      background: none;
      border: none;
      color: white;
    }
    .drawer {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary);
      z-index: 50;
      display: flex;
      flex-direction: column;
      padding: 2rem;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }
    .drawer.open {
      transform: translateX(0);
    }
    .drawer-close {
      align-self: flex-end;
      background: none;
      border: none;
      color: white;
      font-size: 2rem;
    }
    .drawer-nav a {
      color: white;
      padding: 1rem 0;
      font-size: 1.3rem;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      display: block;
    }
    /* 通用板块 */
    section {
      padding: 5rem 2rem;
    }
    .container-custom {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
    }
    h1 {
      font-size: 3.2rem;
      font-weight: 800;
      line-height: 1.3;
      letter-spacing: -0.5px;
      color: white;
    }
    h2 {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 2rem;
      color: var(--primary);
      letter-spacing: -0.3px;
    }
    h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-main);
    }
    .text-accent {
      color: var(--accent);
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-light));
      color: white;
      padding: 0.9rem 2.2rem;
      border-radius: var(--radius-btn);
      font-weight: 700;
      display: inline-block;
      text-align: center;
      box-shadow: 0 6px 16px rgba(200,148,62,0.25);
      transition: var(--transition);
      border: none;
    }
    .btn-primary:hover {
      transform: scale(1.03);
      box-shadow: 0 10px 22px rgba(200,148,62,0.35);
      color: white;
    }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
      padding: 0.85rem 2rem;
      border-radius: var(--radius-btn);
      font-weight: 700;
      transition: var(--transition);
    }
    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }
    /* Hero */
    #hero {
      background: linear-gradient(135deg, var(--primary) 0%, #0a1e33 100%);
      color: white;
      padding: 5rem 2rem;
      position: relative;
      overflow: hidden;
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 3rem;
    }
    .hero-text {
      flex: 1;
    }
    .hero-badge {
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(8px);
      border-radius: var(--radius-lg);
      padding: 1.2rem 2rem;
      display: inline-flex;
      gap: 2rem;
      margin-top: 2rem;
      color: white;
    }
    .counter {
      font-weight: 800;
      font-size: 2.2rem;
      letter-spacing: -0.5px;
      color: var(--accent-light);
    }
    /* 指标看板 */
    .metrics-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: space-between;
    }
    .metric-item {
      background: var(--bg-metrics);
      border-radius: var(--radius-lg);
      padding: 1.8rem 2rem;
      flex: 1 1 180px;
      text-align: center;
    }
    .metric-icon {
      color: var(--accent);
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
    .metric-number {
      font-weight: 800;
      font-size: 2.6rem;
    }
    /* 服务卡片 */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.8rem;
    }
    .service-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 2rem;
      box-shadow: var(--shadow-card);
      transition: all 0.3s;
      border: 1px solid var(--border-light);
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--accent);
    }
    .service-card.featured {
      grid-column: span 2;
      background: linear-gradient(120deg, #fcf8f0, #fffaf2);
      border-left: 6px solid var(--accent);
    }
    /* 对比 */
    .compare-columns {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }
    .compare-box {
      flex: 1;
      background: white;
      border-radius: var(--radius-lg);
      padding: 2rem;
    }
    .compare-box.traditional {
      background: #f4f5f7;
      color: #4a5568;
    }
    .compare-box.ebet {
      background: #f0f6fa;
      border: 1px solid var(--accent-light);
    }
    .compare-list li {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      margin-bottom: 0.8rem;
    }
    /* FAQ */
    .accordion-title {
      font-size: 1.2rem;
      font-weight: 600;
      background: white;
      border-radius: var(--radius-md);
      padding: 1rem 1.5rem;
      border: 1px solid var(--border-light);
    }
    .accordion-content {
      background: #f9fbfd;
      padding: 1rem 1.5rem;
      border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    /* CTA */
    #contact {
      background: linear-gradient(135deg, var(--primary), #0a1e33);
      color: white;
    }
    .contact-form input {
      padding: 0.9rem;
      border-radius: var(--radius-sm);
      border: none;
      width: 100%;
    }
    .footer {
      background: var(--primary-deep);
      color: rgba(255,255,255,0.8);
      padding: 2rem;
      text-align: center;
    }
    @media (max-width: 1024px) {
      .sidebar {
        display: none;
      }
      .main-content {
        margin-left: 0;
        width: 100%;
      }
      .mobile-header {
        display: flex;
      }
      .services-grid {
        grid-template-columns: repeat(2,1fr);
      }
    }
    @media (max-width: 640px) {
      h1 { font-size: 2.2rem; }
      .hero-grid { flex-direction: column; }
      .services-grid { grid-template-columns: 1fr; }
      .service-card.featured { grid-column: span 1; }
      .compare-columns { flex-direction: column; }
    }
