/*
Theme Name: BeMatrx
Theme URI: https://bematrx.com
Author: BeMatrx Team
Author URI: https://bematrx.com
Description: Custom theme for BeMatrx - Social Network + 2D RPG Mobile App
Version: 0.1.0
License: All Rights Reserved
Text Domain: bematrx
*/

/*
 * BeMatrx Theme — Design Tokens
 * Single source of truth. See docs/DESIGN.md.
 */
:root {
  /* Typography */
  --bm-font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --bm-font-ar: "Noto Sans Arabic", -apple-system, sans-serif;
  --bm-font-zh: "Noto Sans SC", -apple-system, sans-serif;

  --bm-fs-h1: clamp(2.5rem, 5vw + 1rem, 5rem);
  --bm-fs-h2: clamp(2rem, 3vw + 1rem, 3.5rem);
  --bm-fs-h3: clamp(1.5rem, 1.5vw + 1rem, 2.25rem);
  --bm-fs-h4: clamp(1.25rem, 0.5vw + 1rem, 1.5rem);
  --bm-fs-h5: 1.125rem;
  --bm-fs-h6: 1rem;
  --bm-fs-body-lg: clamp(1.0625rem, 0.3vw + 1rem, 1.25rem);
  --bm-fs-body: 1rem;
  --bm-fs-small: 0.875rem;
  --bm-fs-xs: 0.75rem;

  /* Color */
  --bm-primary: #E8415A;
  --bm-primary-hover: #D63651;
  --bm-primary-soft: #FDEEF1;
  --bm-dark: #1A1A2E;
  --bm-white: #FFFFFF;
  --bm-bg: #FFFFFF;
  --bm-bg-alt: #F5F5FA;
  --bm-text: #1A1A2E;
  --bm-text-muted: #6B7280;
  --bm-text-subtle: #9CA3AF;
  --bm-border: #E5E7EB;
  --bm-border-strong: #D1D5DB;
  --bm-success: #22C55E;
  --bm-warning: #F59E0B;
  --bm-info: #3B82F6;
  --bm-int: #EC4899;
  --bm-phy: #D97706;
  --bm-inf: #06B6D4;
  --bm-gold: #FFD700;
  --bm-overlay-dark: rgba(26, 26, 46, 0.6);
  --bm-overlay-light: rgba(255, 255, 255, 0.8);

  /* Spacing */
  --bm-space-1: 4px;
  --bm-space-2: 8px;
  --bm-space-3: 16px;
  --bm-space-4: 24px;
  --bm-space-5: 32px;
  --bm-space-6: 48px;
  --bm-space-7: 64px;
  --bm-space-8: 96px;
  --bm-space-9: 128px;

  /* Radius */
  --bm-radius-sm: 6px;
  --bm-radius-md: 12px;
  --bm-radius-lg: 20px;
  --bm-radius-xl: 32px;
  --bm-radius-full: 9999px;

  /* Shadow */
  --bm-shadow-sm: 0 1px 2px rgba(26,26,46,.06), 0 1px 3px rgba(26,26,46,.04);
  --bm-shadow-md: 0 4px 12px rgba(26,26,46,.08), 0 2px 4px rgba(26,26,46,.04);
  --bm-shadow-lg: 0 12px 32px rgba(26,26,46,.10), 0 4px 12px rgba(26,26,46,.06);
  --bm-shadow-xl: 0 24px 64px rgba(26,26,46,.14), 0 8px 24px rgba(26,26,46,.08);
  --bm-shadow-primary: 0 8px 24px rgba(232,65,90,.30);

  /* Motion */
  --bm-dur-fast: 150ms;
  --bm-dur-base: 300ms;
  --bm-dur-slow: 600ms;
  --bm-dur-hero: 1200ms;
  --bm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --bm-ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --bm-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Breakpoints (reference only — CSS uses min-width media queries) */
  --bm-bp-md: 768px;
  --bm-bp-lg: 1024px;
  --bm-bp-xl: 1280px;

  /* Z-index */
  --bm-z-base: 1;
  --bm-z-dropdown: 100;
  --bm-z-sticky: 200;
  --bm-z-overlay: 300;
  --bm-z-modal: 400;
  --bm-z-toast: 500;
}

/* RTL + CJK font swaps */
html[lang="ar"] body { font-family: var(--bm-font-ar); }
html[lang="zh"] body { font-family: var(--bm-font-zh); }

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--bm-font-sans);
  font-size: var(--bm-fs-body);
  line-height: 1.65;
  color: var(--bm-text);
  background: var(--bm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--bm-dark); }
h1 { font-size: var(--bm-fs-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: var(--bm-fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: var(--bm-fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
h4 { font-size: var(--bm-fs-h4); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
h5 { font-size: var(--bm-fs-h5); font-weight: 600; line-height: 1.4; }
h6 { font-size: var(--bm-fs-h6); font-weight: 600; line-height: 1.4; }
p  { margin: 0 0 var(--bm-space-3); }
a  { color: var(--bm-primary); text-decoration: none; transition: color var(--bm-dur-fast) var(--bm-ease-out); }
a:hover { color: var(--bm-primary-hover); }
img, svg, video { max-width: 100%; height: auto; display: block; }

/* Container */
.bm-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--bm-space-3);
}
@media (min-width: 1024px) {
  .bm-container { padding-inline: var(--bm-space-5); }
}

/* Section */
.bm-section { padding-block: var(--bm-space-8); }
@media (min-width: 1024px) {
  .bm-section { padding-block: var(--bm-space-9); }
}
.bm-section--alt { background: var(--bm-bg-alt); }

/* ===== Buttons ===== */
.bm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--bm-space-3) var(--bm-space-5);
  font-size: var(--bm-fs-body);
  font-weight: 600;
  border-radius: var(--bm-radius-md);
  text-decoration: none;
  transition: transform var(--bm-dur-fast) var(--bm-ease-out),
              background var(--bm-dur-fast) var(--bm-ease-out),
              box-shadow var(--bm-dur-fast) var(--bm-ease-out);
  border: 1px solid transparent;
  cursor: pointer;
}
.bm-btn--primary {
  background: var(--bm-primary);
  color: var(--bm-white);
  box-shadow: var(--bm-shadow-primary);
}
.bm-btn--primary:hover {
  background: var(--bm-primary-hover);
  color: var(--bm-white);
  transform: translateY(-1px);
}
.bm-btn--ghost {
  background: transparent;
  color: var(--bm-dark);
  border-color: var(--bm-border-strong);
}
.bm-btn--ghost:hover {
  background: var(--bm-bg-alt);
  color: var(--bm-dark);
}

/* ===== Hero ===== */
.bm-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--bm-space-6);
}
.bm-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, var(--bm-primary-soft) 0%, transparent 60%);
  z-index: var(--bm-z-base);
  pointer-events: none;
}
.bm-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bm-space-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .bm-hero__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--bm-space-8);
  }
}

.bm-hero__copy { max-width: 36rem; }

.bm-hero__eyebrow {
  display: inline-block;
  padding: var(--bm-space-1) var(--bm-space-3);
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  font-size: var(--bm-fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--bm-radius-full);
  margin-bottom: var(--bm-space-4);
}
.bm-hero__title {
  font-size: clamp(2.25rem, 3.5vw + 1rem, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--bm-space-4);
}
.bm-hero__lead {
  font-size: var(--bm-fs-body-lg);
  color: var(--bm-text-muted);
  max-width: 36rem;
  margin-bottom: var(--bm-space-5);
}
.bm-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bm-space-3);
}
.bm-hero__stores { display: flex; flex-wrap: wrap; gap: var(--bm-space-3); }
.bm-hero__store { display: inline-block; pointer-events: none; opacity: 0.85; cursor: default; }
.bm-hero__store img { width: 150px; height: auto; display: block; }

.bm-hero__visual {
  position: relative;
  width: 100%;
  max-width: 30rem;
  min-height: 480px;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
}
.bm-hero__phone {
  position: absolute;
  top: 4%; left: 18%; right: 18%; bottom: 4%;
  background: #0A0A15;
  border: 6px solid #0A0A15;
  border-radius: 36px;
  box-shadow: var(--bm-shadow-xl);
  transform: rotate(-4deg);
  overflow: hidden;
}
.bm-hero__phone-notch {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 20px;
  background: #0A0A15;
  border-radius: 0 0 var(--bm-radius-md) var(--bm-radius-md);
  z-index: 3;
}
.bm-hero__phone-screen {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(165deg, #1A1A2E 0%, #2D1B3D 50%, #1A1A2E 100%);
  overflow: hidden;
}

/* Fake BeMatrx app UI inside hero phone */
.bm-app {
  position: absolute; inset: 0;
  padding: 32px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  color: #fff; font-size: 11px;
}
.bm-app__topbar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: rgba(255,255,255,0.6); padding: 0 4px;
}
.bm-app__time { font-weight: 600; color: #fff; }

.bm-app__stats {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px; background: rgba(255,255,255,0.06);
  border-radius: 12px; backdrop-filter: blur(10px);
}
.bm-stat {
  display: grid; grid-template-columns: 28px 1fr 24px;
  align-items: center; gap: 8px;
}
.bm-stat__label { font-size: 9px; font-weight: 700; letter-spacing: 0.05em; }
.bm-stat--int .bm-stat__label { color: var(--bm-int); }
.bm-stat--phy .bm-stat__label { color: var(--bm-phy); }
.bm-stat--inf .bm-stat__label { color: var(--bm-inf); }
.bm-stat__bar {
  height: 5px; background: rgba(255,255,255,0.12);
  border-radius: var(--bm-radius-full); overflow: hidden;
}
.bm-stat__bar span { display: block; height: 100%; border-radius: inherit; }
.bm-stat--int .bm-stat__bar span { background: var(--bm-int); }
.bm-stat--phy .bm-stat__bar span { background: var(--bm-phy); }
.bm-stat--inf .bm-stat__bar span { background: var(--bm-inf); }
.bm-stat__val { font-size: 10px; font-weight: 700; text-align: right; color: #fff; }

.bm-app__hero {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 10px;
  background: linear-gradient(135deg, rgba(232,65,90,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.bm-app__avatar {
  width: 44px; height: 44px;
  border-radius: var(--bm-radius-full);
  background: linear-gradient(135deg, var(--bm-primary), #8B5CF6);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  box-shadow: 0 4px 12px rgba(232,65,90,0.4);
}
.bm-app__name { font-size: 14px; font-weight: 700; color: #fff; }
.bm-app__tier { font-size: 10px; color: #10B981; font-weight: 600; letter-spacing: 0.03em; }

.bm-app__wallet {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 12px; background: rgba(255,255,255,0.06);
  border-radius: 12px; margin-top: auto;
}
.bm-app__wallet-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 600; color: #fff;
}
.bm-app__wallet-row--muted { font-size: 10px; color: rgba(255,255,255,0.6); font-weight: 500; }
.bm-app__coins { color: var(--bm-gold); font-weight: 700; }
.bm-hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--bm-space-2);
  padding: var(--bm-space-2) var(--bm-space-3);
  background: var(--bm-bg);
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow-lg);
  font-size: var(--bm-fs-small);
  font-weight: 600;
  color: var(--bm-dark);
  white-space: nowrap;
}
.bm-hero__card-icon {
  font-size: 1.25rem;
}
.bm-hero__card--xp { top: 6%; right: -4%; }
.bm-hero__card--level { top: 46%; left: -8%; }
.bm-hero__card--job { bottom: 8%; right: -2%; }


/* ===== Header (WhatsApp-style) ===== */
body { padding-top: 72px; }
body.admin-bar { padding-top: 104px; }
.bm-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--bm-z-sticky);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--bm-dur-base) var(--bm-ease-out),
              background var(--bm-dur-base) var(--bm-ease-out);
}
.bm-header.is-scrolled {
  border-bottom-color: var(--bm-border);
  background: rgba(255,255,255,0.98);
}
.bm-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: var(--bm-space-5);
}
.bm-header__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.bm-header__logo-wordmark { height: 24px; width: auto; display: block; }
.bm-header__nav {
  display: none; align-items: center; gap: var(--bm-space-5);
  flex: 1; margin-left: var(--bm-space-6);
}
.bm-header__nav a {
  font-size: 15px; font-weight: 500; color: var(--bm-text-muted);
  text-decoration: none;
  transition: color var(--bm-dur-fast) var(--bm-ease-out);
}
.bm-header__nav a:hover { color: var(--bm-dark); }
@media (min-width: 1024px) { .bm-header__nav { display: flex; } }
.bm-header__right {
  display: flex; align-items: center; gap: var(--bm-space-3); flex-shrink: 0;
}
.bm-header__burger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.bm-header__burger span {
  display: block; width: 100%; height: 2px;
  background: var(--bm-dark); border-radius: 2px;
  transition: transform var(--bm-dur-fast) var(--bm-ease-out),
              opacity var(--bm-dur-fast) var(--bm-ease-out);
}
.bm-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bm-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bm-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .bm-header__burger { display: none; } }

/* Header language dropdown */
.bm-header__langs { position: relative; display: none; }
@media (min-width: 1024px) { .bm-header__langs { display: block; } }
.bm-header__lang-toggle { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); padding: 12px 20px; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--bm-text-muted); cursor: pointer; transition: all var(--bm-dur-fast) var(--bm-ease-out); }
.bm-header__lang-toggle:hover { color: var(--bm-dark); border-color: var(--bm-border-strong); }
.bm-header__lang-toggle svg { transition: transform var(--bm-dur-fast) var(--bm-ease-out); }
.bm-header__lang-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bm-header__lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: var(--bm-white); border: 1px solid var(--bm-border); border-radius: var(--bm-radius-md); box-shadow: var(--bm-shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all var(--bm-dur-fast) var(--bm-ease-out); z-index: var(--bm-z-dropdown); }
.bm-header__langs.is-open .bm-header__lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.bm-header__lang-item { display: block; padding: 8px 12px; font-size: 14px; color: var(--bm-text); text-decoration: none; border-radius: var(--bm-radius-sm); transition: background var(--bm-dur-fast) var(--bm-ease-out); }
.bm-header__lang-item:hover { background: var(--bm-bg-alt); }
.bm-header__lang-item.is-active { color: var(--bm-primary); font-weight: 600; background: var(--bm-primary-soft); }

.bm-header__mobile {
  display: none; flex-direction: column; gap: var(--bm-space-3);
  padding: var(--bm-space-4) var(--bm-space-3);
  background: var(--bm-bg); border-top: 1px solid var(--bm-border);
}
.bm-header__mobile:not([hidden]) { display: flex; }
@media (min-width: 1024px) { .bm-header__mobile { display: none !important; } }
.bm-header__mobile a {
  font-size: 16px; font-weight: 500; color: var(--bm-dark);
  text-decoration: none; padding: var(--bm-space-2) 0;
}

/* ===== Section shell ===== */
.bm-section-head { text-align: center; max-width: 48rem; margin: 0 auto var(--bm-space-7); }
.bm-section-head__title { margin: var(--bm-space-3) 0; }
.bm-section-head__lead { font-size: clamp(1.0625rem, .3vw + 1rem, 1.25rem); color: var(--bm-text-muted); margin: 0; }

/* ===== Features ===== */
.bm-features { display: grid; grid-template-columns: 1fr; gap: var(--bm-space-4); }
@media (min-width: 768px) { .bm-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bm-features { grid-template-columns: repeat(3, 1fr); gap: var(--bm-space-5); } }
.bm-feature {
  padding: var(--bm-space-5);
  background: var(--bm-white);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-lg);
  transition: transform var(--bm-dur-base) var(--bm-ease-out),
              box-shadow var(--bm-dur-base) var(--bm-ease-out);
}
.bm-feature:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-lg); }
.bm-feature__icon {
  width: 56px; height: 56px;
  border-radius: var(--bm-radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--bm-space-4);
  font-size: 28px;
}
.bm-feature--primary .bm-feature__icon { background: var(--bm-primary-soft); color: var(--bm-primary); }
.bm-feature--int .bm-feature__icon     { background: rgba(236,72,153,0.10); color: var(--bm-int); }
.bm-feature--inf .bm-feature__icon     { background: rgba(6,182,212,0.10);  color: var(--bm-inf); }
.bm-feature--phy .bm-feature__icon     { background: rgba(217,119,6,0.10);  color: var(--bm-phy); }
.bm-feature--success .bm-feature__icon { background: rgba(34,197,94,0.10);  color: var(--bm-success); }
.bm-feature--purple .bm-feature__icon  { background: rgba(139,92,246,0.10); color: #8B5CF6; }
.bm-feature__title { font-size: 1.25rem; font-weight: 600; margin: 0 0 10px; }
.bm-feature__desc { color: var(--bm-text-muted); margin: 0; font-size: 15px; line-height: 1.6; }

/* ===== How it works ===== */
.bm-steps { display: grid; grid-template-columns: 1fr; gap: var(--bm-space-6); max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .bm-steps { grid-template-columns: repeat(3, 1fr); } }
.bm-step { text-align: center; }
.bm-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: var(--bm-radius-full);
  background: var(--bm-primary); color: var(--bm-white);
  font-size: 24px; font-weight: 800;
  margin-bottom: var(--bm-space-4);
  box-shadow: var(--bm-shadow-primary);
}
.bm-step__title { font-size: 1.25rem; font-weight: 600; margin: 0 0 10px; }
.bm-step__desc { color: var(--bm-text-muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* ===== Screenshots ===== */
.bm-screens { display: grid; grid-template-columns: 1fr; gap: var(--bm-space-5); align-items: center; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .bm-screens { grid-template-columns: repeat(3, 1fr); } }
.bm-screen {
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bm-dark);
  padding: 6px;
  box-shadow: var(--bm-shadow-xl);
}
.bm-screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; display: block; }
@media (min-width: 768px) { .bm-screen--lifted { transform: translateY(-24px); } }

/* ===== FAQ ===== */
.bm-faq { max-width: 48rem; margin: 0 auto; }
.bm-faq__item { border-bottom: 1px solid var(--bm-border); }
.bm-faq__q {
  width: 100%; background: transparent; border: 0;
  padding: var(--bm-space-4) 0;
  font-family: inherit; font-size: 1.125rem; font-weight: 600;
  color: var(--bm-dark); text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--bm-space-3); cursor: pointer;
}
.bm-faq__plus {
  font-size: 28px; font-weight: 300; color: var(--bm-text-muted);
  transition: transform var(--bm-dur-base) var(--bm-ease-out);
  flex-shrink: 0;
}
.bm-faq__item.is-open .bm-faq__plus { transform: rotate(45deg); color: var(--bm-primary); }
.bm-faq__a { max-height: 0; overflow: hidden; transition: max-height var(--bm-dur-slow) var(--bm-ease-out); }
.bm-faq__item.is-open .bm-faq__a { max-height: 300px; }
.bm-faq__a p { color: var(--bm-text-muted); font-size: 15px; line-height: 1.6; margin: 0 0 var(--bm-space-4); }

/* ===== Final CTA ===== */
.bm-cta { position: relative; padding: var(--bm-space-7) var(--bm-space-3); text-align: center; overflow: hidden; background: var(--bm-dark); color: var(--bm-white); }
.bm-cta__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(232,65,90,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 80% 70%, rgba(6,182,212,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 50%, rgba(236,72,153,0.15) 0%, transparent 60%);
}
.bm-cta__inner { position: relative; z-index: 1; max-width: 40rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.bm-cta__eyebrow { background: rgba(255,255,255,0.12); color: var(--bm-white); }
.bm-cta__title { color: var(--bm-white); margin: var(--bm-space-3) 0; font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); }
.bm-cta__lead { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: var(--bm-space-4); }
.bm-cta__stores { display: flex; flex-wrap: wrap; gap: var(--bm-space-3); justify-content: center; }

/* ===== Footer (WhatsApp-style) ===== */
.bm-footer {
  background: var(--bm-bg-alt);
  padding: var(--bm-space-8) 0 var(--bm-space-5);
  border-top: 1px solid var(--bm-border);
}
.bm-footer__grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--bm-space-6); margin-bottom: var(--bm-space-7);
}
@media (min-width: 768px) {
  .bm-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--bm-space-5); }
}
.bm-footer__brand { max-width: 22rem; }
.bm-footer__tagline {
  margin-top: var(--bm-space-3); font-size: 14px;
  color: var(--bm-text-muted); line-height: 1.6;
}
.bm-footer__social {
  display: flex; gap: var(--bm-space-3); margin-top: var(--bm-space-4);
}
.bm-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--bm-radius-full);
  background: var(--bm-bg); color: var(--bm-text-muted);
  border: 1px solid var(--bm-border);
  transition: color var(--bm-dur-fast) var(--bm-ease-out),
              border-color var(--bm-dur-fast) var(--bm-ease-out),
              transform var(--bm-dur-fast) var(--bm-ease-out);
}
.bm-footer__social a:hover {
  color: var(--bm-primary); border-color: var(--bm-primary);
  transform: translateY(-2px);
}
.bm-footer__col h4 {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--bm-dark);
  margin: 0 0 var(--bm-space-3);
}
.bm-footer__col a {
  display: block; font-size: 14px; color: var(--bm-text-muted);
  text-decoration: none; padding: 7px 0;
  transition: color var(--bm-dur-fast) var(--bm-ease-out);
}
.bm-footer__col a:hover { color: var(--bm-primary); }
/* Footer logo */
.bm-footer__logo { display: inline-block; }
.bm-footer__logo img { height: 22px; width: auto; display: block; }

/* Footer bottom */
.bm-footer__bottom { padding-top: 0; }

.bm-footer__copyright { padding-top: var(--bm-space-4); margin-top: var(--bm-space-4); border-top: 1px solid var(--bm-border); font-size: 13px; color: var(--bm-text-subtle); text-align: center; }

/* ===== Mobile overrides ===== */
@media (max-width: 767px) {
  .bm-hero { padding-block: var(--bm-space-5); min-height: auto; }
  .bm-hero__visual { max-width: 22rem; min-height: 420px; margin-top: var(--bm-space-5); }
  .bm-hero__card--xp   { top: 4%; right: 2%; }
  .bm-hero__card--level{ top: 42%; left: 2%; }
  .bm-hero__card--job  { bottom: 4%; right: 2%; }
  .bm-hero__card { font-size: 12px; padding: 8px 12px; }
  .bm-hero__card-icon { font-size: 16px; }
  .bm-section { padding-block: var(--bm-space-7); }
  .bm-section-head { margin-bottom: var(--bm-space-5); }
  .bm-features { gap: var(--bm-space-3); }
  .bm-feature { padding: var(--bm-space-4); }
  .bm-feature__icon { width: 48px; height: 48px; font-size: 24px; }
  .bm-hero__store img { width: 130px; }
  .bm-footer__grid { gap: var(--bm-space-5); }
  .bm-cta { padding: var(--bm-space-6) var(--bm-space-3); }
  .bm-cta__title { font-size: 1.75rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
