/* roulang page: index */
:root {
      --primary: #0F4C81;
      --primary-dark: #0A2E52;
      --primary-light: #1E40AF;
      --accent: #0284C7;
      --accent-glow: #06B6D4;
      --bg-page: #F8FAFC;
      --bg-card: #FFFFFF;
      --bg-dark: #0A192F;
      --text-main: #1E293B;
      --text-body: #334155;
      --text-muted: #64748B;
      --border: #E2E8F0;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --shadow-sm: 0 2px 8px rgba(15, 76, 129, 0.04);
      --shadow-md: 0 6px 20px -2px rgba(15, 76, 129, 0.08);
      --shadow-hover: 0 16px 32px -4px rgba(15, 76, 129, 0.16);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      background-color: var(--bg-page);
      color: var(--text-body);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
    }

    a { color: var(--accent); text-decoration: none; transition: var(--transition); }
    a:hover { color: var(--primary); }
    img { max-width: 100%; height: auto; display: block; }
    h1, h2, h3, h4, h5, h6 {
      color: var(--text-main);
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 0.75rem;
    }

    /* Container Utility */
    .site-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    /* Section Base */
    .site-section {
      padding: 90px 0;
      position: relative;
    }
    .site-section.alt-bg {
      background-color: #F1F5F9;
    }
    .site-section.dark-bg {
      background-color: var(--bg-dark);
      color: #E2E8F0;
    }
    .site-section.dark-bg h2, .site-section.dark-bg h3, .site-section.dark-bg h4 {
      color: #FFFFFF;
    }
    .site-section.dark-bg p {
      color: #94A3B8;
    }

    /* Section Header */
    .section-header {
      text-align: center;
      max-width: 780px;
      margin: 0 auto 3.5rem auto;
    }
    .section-badge {
      display: inline-block;
      font-size: 0.8125rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--primary);
      background-color: rgba(15, 76, 129, 0.08);
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      margin-bottom: 0.85rem;
    }
    .dark-bg .section-badge {
      background-color: rgba(6, 182, 212, 0.15);
      color: var(--accent-glow);
    }
    .section-title {
      font-size: 2.25rem;
      margin-bottom: 1rem;
    }
    .section-desc {
      font-size: 1.0625rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Buttons */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
      color: #FFFFFF !important;
      font-weight: 600;
      font-size: 0.9375rem;
      padding: 0.75rem 1.65rem;
      border-radius: var(--radius-sm);
      box-shadow: 0 4px 12px rgba(15, 76, 129, 0.25);
      border: 1px solid transparent;
      transition: var(--transition);
      cursor: pointer;
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15, 76, 129, 0.35);
      background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    }
    .btn-ghost {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: transparent;
      color: var(--primary) !important;
      font-weight: 600;
      font-size: 0.9375rem;
      padding: 0.75rem 1.65rem;
      border-radius: var(--radius-sm);
      border: 1px solid var(--primary);
      transition: var(--transition);
      cursor: pointer;
    }
    .btn-ghost:hover {
      background-color: rgba(15, 76, 129, 0.05);
      transform: translateY(-2px);
    }
    .dark-bg .btn-ghost {
      color: #FFFFFF !important;
      border-color: rgba(255, 255, 255, 0.3);
    }
    .dark-bg .btn-ghost:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    /* Cards */
    .card-box {
      background-color: var(--bg-card);
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      padding: 2rem;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      height: 100%;
    }
    .card-box:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
      border-color: rgba(15, 76, 129, 0.2);
    }

    /* Top utility bar */
    .top-utility-bar {
      background-color: #0A192F;
      color: #94A3B8;
      font-size: 0.8125rem;
      padding: 0.4rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .top-utility-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .utility-links a {
      color: #94A3B8;
      margin-left: 1.25rem;
      font-size: 0.8125rem;
    }
    .utility-links a:hover { color: #38BDF8; }

    /* Main Sticky Nav */
    .main-nav-wrapper {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }
    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 72px;
    }
    .brand-logo {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
    }
    .brand-logo i {
      font-size: 1.6rem;
      color: var(--accent);
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.75rem;
      list-style: none;
      margin: 0;
    }
    .nav-links li a {
      color: var(--text-main);
      font-weight: 500;
      font-size: 0.9375rem;
      position: relative;
      padding: 0.35rem 0;
    }
    .nav-links li a:hover, .nav-links li a.active {
      color: var(--primary);
    }
    .nav-links li a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--primary);
      transition: var(--transition);
    }
    .nav-links li a:hover::after, .nav-links li a.active::after {
      width: 100%;
    }
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--text-main);
      cursor: pointer;
    }

    /* Bento Hero Section */
    .bento-hero {
      padding: 40px 0 80px 0;
      background: linear-gradient(180deg, #EDF4FB 0%, var(--bg-page) 100%);
    }
    .bento-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      grid-gap: 1.5rem;
      margin-bottom: 1.5rem;
    }
    .bento-main {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 3.5rem 3rem;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .bento-main::before {
      content: '';
      position: absolute;
      top: -50px;
      right: -50px;
      width: 200px;
      height: 200px;
      background: radial-gradient(circle, rgba(2,132,199,0.1) 0%, rgba(255,255,255,0) 70%);
      border-radius: 50%;
    }
    .bento-side-stack {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .bento-sub-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 2rem;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      display: flex;
      align-items: center;
      gap: 1.5rem;
      transition: var(--transition);
    }
    .bento-sub-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }
    .bento-sub-icon {
      width: 60px;
      height: 60px;
      border-radius: var(--radius-md);
      background-color: rgba(15, 76, 129, 0.08);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      flex-shrink: 0;
    }
    .bento-cta-bar {
      background: linear-gradient(90deg, #0F4C81 0%, #0284C7 100%);
      border-radius: var(--radius-md);
      padding: 1.5rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #FFFFFF;
      box-shadow: 0 10px 25px rgba(15, 76, 129, 0.2);
    }
    .hero-h1 {
      font-size: 2.75rem;
      letter-spacing: -0.5px;
      margin-bottom: 1.25rem;
      color: var(--primary-dark);
    }
    .hero-desc {
      font-size: 1.0625rem;
      color: var(--text-body);
      margin-bottom: 2rem;
      line-height: 1.8;
    }

    /* Pain points */
    .pain-card {
      background: #FFFFFF;
      border-left: 4px solid #EF4444;
      padding: 1.75rem;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      box-shadow: var(--shadow-sm);
      margin-bottom: 1.25rem;
    }
    .gain-card {
      background: #FFFFFF;
      border-left: 4px solid #10B981;
      padding: 1.75rem;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      box-shadow: var(--shadow-sm);
      margin-bottom: 1.25rem;
    }

    /* Advantages Grid */
    .adv-icon {
      width: 52px;
      height: 52px;
      border-radius: var(--radius-sm);
      background: rgba(2, 132, 199, 0.1);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 1.25rem;
    }

    /* Game Showcase */
    .game-card {
      background: #FFFFFF;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }
    .game-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-6px);
    }
    .game-card-img {
      height: 200px;
      overflow: hidden;
      position: relative;
    }
    .game-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    .game-card:hover .game-card-img img {
      transform: scale(1.05);
    }
    .game-tag-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(15, 76, 129, 0.85);
      color: #FFF;
      padding: 0.25rem 0.65rem;
      font-size: 0.75rem;
      border-radius: 4px;
      backdrop-filter: blur(4px);
    }
    .game-card-body {
      padding: 1.75rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .game-stat-bar {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid var(--border);
      padding-top: 1rem;
      margin-top: 1.25rem;
      font-size: 0.875rem;
    }

    /* Workflow Timeline */
    .workflow-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      position: relative;
    }
    .workflow-step-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 2rem 1.5rem;
      position: relative;
      box-shadow: var(--shadow-sm);
    }
    .step-number {
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      opacity: 0.8;
      margin-bottom: 0.75rem;
    }

    /* Metrics Strip */
    .metrics-bar-section {
      background: #FFFFFF;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 60px 0;
    }
    .metric-item {
      text-align: center;
      padding: 1rem;
    }
    .metric-value {
      font-size: 2.75rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 0.5rem;
      font-family: Consolas, "PingFang SC", sans-serif;
    }
    .metric-label {
      font-size: 0.9375rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* FAQ Accordion */
    .accordion {
      background: transparent;
      border: none;
    }
    .accordion-item {
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      background: #FFFFFF;
      margin-bottom: 1rem;
      overflow: hidden;
    }
    .accordion-title {
      font-size: 1.0625rem;
      font-weight: 600;
      color: var(--text-main);
      padding: 1.25rem 1.5rem;
      border: none;
    }
    .accordion-title:hover, .accordion-title:focus {
      background-color: #F8FAFC;
      color: var(--primary);
    }
    .accordion-content {
      padding: 1.25rem 1.5rem;
      border-top: 1px solid var(--border);
      color: var(--text-body);
      font-size: 0.9375rem;
      line-height: 1.7;
    }

    /* Footer */
    .site-footer {
      background-color: #061120;
      color: #94A3B8;
      padding: 70px 0 30px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.875rem;
    }
    .footer-brand {
      font-size: 1.35rem;
      font-weight: 800;
      color: #FFFFFF;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      margin-top: 50px;
      padding-top: 25px;
      text-align: center;
      font-size: 0.8125rem;
    }

    /* Form Styling */
    .cta-form-card {
      background: #FFFFFF;
      padding: 2.5rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
    }
    .form-group {
      margin-bottom: 1.25rem;
    }
    .form-group label {
      display: block;
      font-size: 0.875rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: var(--text-main);
    }
    .form-control {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 0.9375rem;
      transition: var(--transition);
      background-color: #F8FAFC;
    }
    .form-control:focus {
      outline: none;
      border-color: var(--accent);
      background-color: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .workflow-grid { grid-template-columns: repeat(2, 1fr); }
      .bento-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .site-section { padding: 60px 0; }
      .section-title { font-size: 1.75rem; }
      .hero-h1 { font-size: 2rem; }
      .top-utility-bar { display: none; }
      .nav-links { display: none; }
      .mobile-menu-toggle { display: block; }
      .nav-links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #FFFFFF;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
      }
      .workflow-grid { grid-template-columns: 1fr; }
      .bento-cta-bar { flex-direction: column; text-align: center; gap: 1rem; }
      .metric-value { font-size: 2.2rem; }
    }
