/* ====== Night City — social casino · neon dark theme ====== */

/* Fonts (self-hosted) */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('/assets/fonts/orbitron-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}

:root {
  --c-bg: #07070f;
  --c-bg2: #0d0a1a;
  --c-panel: #110d22;
  --c-panel-2: #160f2e;
  --c-line: rgba(255, 255, 255, .08);
  --c-line-2: rgba(0, 229, 255, .22);
  --c-cyan: #00e5ff;
  --c-magenta: #ff2bd6;
  --c-text: #e8e9f3;
  --c-muted: #9aa0bd;
  --c-grad: linear-gradient(115deg, #00e5ff 0%, #6a7bff 45%, #ff2bd6 100%);
  --c-grad-soft: linear-gradient(115deg, rgba(0,229,255,.16), rgba(255,43,214,.16));
  --glow-cyan: 0 0 22px rgba(0, 229, 255, .45);
  --glow-mag: 0 0 22px rgba(255, 43, 214, .42);
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.34, 1.2, .4, 1);
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 43, 214, .10), transparent 60%),
    radial-gradient(1000px 600px at 0% 0%, rgba(0, 229, 255, .10), transparent 55%),
    var(--c-bg);
  color: var(--c-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .1px;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .4px;
  overflow-wrap: break-word;
  word-break: break-word;
  text-wrap: balance;
}

p { overflow-wrap: break-word; word-break: break-word; }

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
}

img { max-width: 100%; display: block; }

ul { list-style: none; }

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- utilities ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 28px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-tap {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.neon-text {
  background: var(--c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding-block: clamp(56px, 8vw, 110px); position: relative; }

.section__head { margin-bottom: clamp(28px, 4vw, 52px); max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(26px, 4.4vw, 46px); }
.section__lead { margin-top: 14px; color: var(--c-muted); font-size: clamp(15px, 1.6vw, 18px); }

.tag-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 16px;
}
.tag-kicker::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--c-grad);
  border-radius: 2px;
}

/* ---- buttons ---- */
.btn {
  --b: 1px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .6px;
  border-radius: 999px;
  border: var(--b) solid transparent;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--primary {
  color: #04121a;
  background: var(--c-grad);
  box-shadow: 0 10px 30px rgba(0, 229, 255, .28), 0 4px 16px rgba(255, 43, 214, .26);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 229, 255, .42), 0 8px 24px rgba(255, 43, 214, .38);
}

.btn--ghost {
  color: var(--c-text);
  border-color: var(--c-line-2);
  background: rgba(0, 229, 255, .05);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--c-cyan);
  box-shadow: var(--glow-cyan);
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 7, 15, .72);
  border-bottom: 1px solid var(--c-line);
  overflow: visible;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--c-grad-soft);
  border: 1px solid var(--c-line-2);
  color: var(--c-cyan);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, .18);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name b { color: var(--c-cyan); }
.brand__name i { font-style: normal; color: var(--c-magenta); }

/* nav — neon glow hover, NO underline/dot */
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .8px;
  color: var(--c-muted);
  padding: 6px 2px;
  transition: color .3s var(--ease), text-shadow .3s var(--ease), transform .3s var(--ease);
}
.nav a:hover,
.nav a:focus-visible { color: #fff; text-shadow: var(--glow-cyan); }
.nav a.is-active { color: var(--c-text); }
.nav a.is-active::before {
  content: '';
  position: absolute;
  left: 50%; top: -3px;
  width: 5px; height: 5px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--c-magenta);
  box-shadow: var(--glow-mag);
}
.nav a.btn { margin-left: 6px; padding: 12px 24px; font-size: 13px; }
.nav a.btn--primary,
.nav a.btn--primary:hover,
.nav a.btn--primary:focus-visible { color: #04121a; text-shadow: none; }
.nav a.btn--ghost,
.nav a.btn--ghost:hover { color: var(--c-text); }

/* burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 229, 255, .06);
  border: 1px solid var(--c-line-2);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--c-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 229, 255, .6);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1220px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    width: 100%; max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 70px));
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 28px 28px;
    background: linear-gradient(165deg, #0a0918 0%, #150f2c 100%);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s var(--ease), opacity .26s var(--ease), visibility 0s linear .32s;
  }
  .nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .32s var(--ease), opacity .26s var(--ease), visibility 0s linear 0s;
  }
  .nav a {
    width: 100%;
    padding: 17px 4px;
    font-size: 18px;
    border-bottom: 1px solid var(--c-line);
  }
  .nav a.is-active::before { left: 4px; transform: rotate(45deg); top: 50%; margin-top: -2px; }
  .nav .btn { margin: 18px 0 0; width: 100%; padding: 15px; font-size: 15px; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 12vw, 150px);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(7, 7, 15, .55) 0%, rgba(7, 7, 15, .82) 70%, var(--c-bg) 100%),
    url('/assets/img/hero/hero-bg.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 360px at 18% 30%, rgba(0, 229, 255, .18), transparent 60%),
    radial-gradient(640px 360px at 88% 70%, rgba(255, 43, 214, .18), transparent 60%);
  animation: aura 9s var(--ease) infinite alternate;
}
.hero__inner { max-width: 880px; }
.hero__title {
  font-size: clamp(38px, 7.5vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 1px;
}
.hero__title span { display: block; }
.hero__title .glow {
  background: var(--c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(0, 229, 255, .35));
}
.hero__lead {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(16px, 2vw, 21px);
  color: #c7cbe4;
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__note {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: .4px;
}
.hero__note b { color: var(--c-cyan); font-family: 'Orbitron', sans-serif; }

/* scanning neon line at bottom of hero */
.hero__scan {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 2;
  background: var(--c-grad);
  opacity: .7;
  animation: scanline 5.5s var(--ease) infinite;
}

/* ====== Feature cards (why choose) ====== */
.why { background: var(--c-bg2); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--c-panel) 0%, var(--c-panel-2) 100%);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-grad-soft);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.feature:hover {
  transform: translateY(-8px);
  border-color: var(--c-line-2);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 229, 255, .12);
}
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: var(--c-cyan);
  background: rgba(0, 229, 255, .08);
  border: 1px solid var(--c-line-2);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, .14);
  transition: color .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:nth-child(even) .feature__icon { color: var(--c-magenta); border-color: rgba(255,43,214,.28); box-shadow: inset 0 0 18px rgba(255,43,214,.16); }
.feature:hover .feature__icon { box-shadow: inset 0 0 18px rgba(0,229,255,.14), 0 0 22px rgba(0,229,255,.3); }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 18px; margin-bottom: 9px; letter-spacing: .5px; }
.feature p { color: var(--c-muted); font-size: 15px; }

/* ====== Reviews carousel ====== */
.reviews { background: var(--c-bg); }
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--r); }
.carousel__track {
  display: flex;
  gap: 22px;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.review {
  flex: 0 0 calc(50% - 11px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 64px) clamp(30px, 4vw, 46px);
  background:
    radial-gradient(460px 220px at 50% -10%, rgba(0, 229, 255, .16), transparent 62%),
    radial-gradient(360px 200px at 50% 120%, rgba(255, 43, 214, .12), transparent 60%),
    linear-gradient(160deg, var(--c-panel) 0%, var(--c-panel-2) 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
}
/* neon top filament + corner brackets — distinct billboard look */
.review::before {
  content: '';
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 3px;
  background: var(--c-grad);
  box-shadow: 0 0 18px rgba(0, 229, 255, .6);
}
.review__quote {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 86px;
  line-height: .7;
  height: 42px;
  background: var(--c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .55;
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, .4));
}
.review__media {
  position: relative;
  width: 108px; height: 108px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  background: linear-gradient(var(--c-panel-2), var(--c-panel-2)) padding-box,
              var(--c-grad) border-box;
  box-shadow: 0 0 0 6px rgba(0, 229, 255, .08), 0 0 34px rgba(0, 229, 255, .28);
}
.review__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.review__stars { display: inline-flex; justify-content: center; gap: 4px; color: var(--c-cyan); }
.review__stars svg { width: 19px; height: 19px; filter: drop-shadow(0 0 7px rgba(0, 229, 255, .55)); }
.review__text { font-size: clamp(17px, 2.1vw, 22px); line-height: 1.55; color: #e2e5f6; font-weight: 500; }
.review__name { margin-top: 4px; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .8px; color: #fff; }
.review__role { color: var(--c-cyan); font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: .3px; }

.carousel__nav {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.carousel__btn {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(0, 229, 255, .06);
  border: 1px solid var(--c-line-2);
  color: var(--c-text);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.carousel__btn:hover { transform: translateY(-2px); box-shadow: var(--glow-cyan); background: rgba(0,229,255,.12); }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev svg { transform: rotate(180deg); }
.carousel__dots { display: flex; gap: 10px; }
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  background: transparent;
  cursor: pointer;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.carousel__dot.is-active { background: var(--c-grad); border-color: transparent; box-shadow: var(--glow-cyan); transform: scale(1.2); }

/* ====== Demo game ====== */
.demo { background: var(--c-bg2); }
.demo__frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--c-line-2);
  background: #000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 43, 214, .1);
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(0,229,255,.12), rgba(255,43,214,.12));
  border-bottom: 1px solid var(--c-line-2);
}
/* equalizer-style city signal meter — unique HUD */
.demo__sig { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.demo__sig i {
  width: 4px;
  border-radius: 2px;
  background: var(--c-grad);
  box-shadow: 0 0 8px rgba(0, 229, 255, .55);
  animation: equalize 1.1s var(--ease) infinite;
}
.demo__sig i:nth-child(1) { height: 7px; animation-delay: 0s; }
.demo__sig i:nth-child(2) { height: 14px; animation-delay: .15s; }
.demo__sig i:nth-child(3) { height: 10px; animation-delay: .3s; }
.demo__sig i:nth-child(4) { height: 17px; animation-delay: .45s; }
.demo__label {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--c-text);
}
.demo__coins {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: .6px;
  color: #04121a;
  background: var(--c-grad);
  box-shadow: 0 0 16px rgba(0, 229, 255, .3);
}
.demo__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-cyan); letter-spacing: 1.4px; font-family: 'Orbitron', sans-serif; font-weight: 700; }
.demo__live::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c-cyan); box-shadow: var(--glow-cyan); animation: pulse 1.6s var(--ease) infinite; }

@keyframes equalize { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.demo__stage { position: relative; aspect-ratio: 16 / 10; width: 100%; background: #05050c; }
.demo__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo__poster {
  position: absolute; inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(7,7,15,.6), rgba(7,7,15,.86)),
    radial-gradient(500px 300px at 50% 30%, rgba(0,229,255,.2), transparent 60%);
  cursor: pointer;
  z-index: 2;
  transition: opacity .5s var(--ease);
}
.demo__poster.is-hidden { opacity: 0; pointer-events: none; }
.demo__poster h3 { font-size: clamp(20px, 3vw, 30px); }
.demo__poster p { color: var(--c-muted); max-width: 460px; }
.demo__play {
  display: grid; place-items: center;
  width: 78px; height: 78px;
  border-radius: 50%;
  color: #04121a;
  background: var(--c-grad);
  box-shadow: 0 0 40px rgba(0, 229, 255, .5);
  animation: pulse 2.2s var(--ease) infinite;
}
.demo__play svg { width: 32px; height: 32px; margin-left: 4px; }
.demo__about { margin-top: clamp(26px, 4vw, 44px); }
.demo__about-title { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 14px; color: var(--c-cyan); }
.demo__about p { color: #c7cbe4; font-size: clamp(15px, 1.7vw, 17px); }
.demo__feats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 26px;
}
.demo__feats li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--c-panel), var(--c-panel-2));
  border: 1px solid var(--c-line);
  color: #d7daf0;
  font-size: 15px;
}
.demo__feat-ic {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  color: var(--c-cyan);
  background: rgba(0, 229, 255, .08);
  border: 1px solid var(--c-line-2);
}
.demo__feats li:nth-child(even) .demo__feat-ic { color: var(--c-magenta); border-color: rgba(255,43,214,.28); background: rgba(255,43,214,.08); }
.demo__feat-ic svg { width: 20px; height: 20px; }

/* ====== Business model ====== */
.model {
  background-image:
    linear-gradient(180deg, rgba(7,7,15,.86), rgba(7,7,15,.92)),
    url('/assets/img/sections/business-bg.avif');
  background-size: cover;
  background-position: center;
}
.model__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.model__copy p { color: #c7cbe4; margin-top: 16px; }
.model__steps { display: flex; flex-direction: column; gap: 16px; }
.model__step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--c-panel) 0%, var(--c-panel-2) 100%);
  border: 1px solid var(--c-line);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.model__step:hover { border-color: var(--c-line-2); transform: translateX(6px); }
.model__num {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #04121a;
  background: var(--c-grad);
  box-shadow: 0 0 22px rgba(0, 229, 255, .3);
}
.model__step h3 { font-size: 17px; margin-bottom: 6px; }
.model__step p { color: var(--c-muted); font-size: 15px; }

/* ====== Community ====== */
.community {
  position: relative;
  isolation: isolate;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(7,7,15,.78), rgba(7,7,15,.9)),
    url('/assets/img/sections/community-bg.avif');
  background-size: cover;
  background-position: center;
}
.community__inner { max-width: 760px; margin-inline: auto; }
.community__title { font-size: clamp(28px, 5vw, 52px); }
.community__lead { margin-top: 18px; color: #d2d6ef; font-size: clamp(16px, 2vw, 19px); }
.community__cta { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.rg-box {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  text-align: left;
  padding: 22px 26px;
  border-radius: var(--r);
  background: rgba(13, 10, 26, .7);
  border: 1px solid var(--c-line-2);
  backdrop-filter: blur(6px);
}
.rg-box__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--c-magenta); background: rgba(255,43,214,.1); border: 1px solid rgba(255,43,214,.28); }
.rg-box__icon svg { width: 28px; height: 28px; }
.rg-box h3 { font-size: 16px; margin-bottom: 4px; }
.rg-box p { color: var(--c-muted); font-size: 14px; }

/* ====== Generic prose (about / legal) ====== */
.prose-block { margin-top: 26px; }
.prose-block h2 { font-size: clamp(22px, 3vw, 30px); margin: 40px 0 14px; }
.prose-block h3 { font-size: clamp(18px, 2.4vw, 22px); margin: 28px 0 10px; color: var(--c-cyan); }
.prose-block p { color: #c4c8e2; margin-bottom: 14px; }
.prose-block ul.dotted { margin: 8px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.prose-block ul.dotted li { position: relative; padding-left: 26px; color: #c4c8e2; }
.prose-block ul.dotted li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--c-grad); box-shadow: var(--glow-cyan);
}

.page-hero {
  padding-block: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--c-line);
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(0,229,255,.12), transparent 60%),
    radial-gradient(600px 300px at 90% 30%, rgba(255,43,214,.12), transparent 60%),
    var(--c-bg2);
}
.page-hero h1 { font-size: clamp(32px, 6vw, 62px); }
.page-hero p { margin-top: 16px; max-width: 720px; color: var(--c-muted); font-size: clamp(15px, 1.8vw, 19px); }

/* legal full width */
.legal-content { /* no max-width — fills container */ }
.legal-meta { color: var(--c-muted); font-size: 14px; margin-bottom: 8px; }

/* ====== About highlights ====== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.value-card {
  padding: 28px 24px;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--c-panel), var(--c-panel-2));
  border: 1px solid var(--c-line);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--c-line-2); }
.value-card .feature__icon { margin-bottom: 14px; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--c-muted); font-size: 15px; }

/* ====== Contact ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.form-card, .info-card {
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--c-panel), var(--c-panel-2));
  border: 1px solid var(--c-line);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--c-muted); letter-spacing: .4px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(7, 7, 15, .6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: none; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #5d6280; }

/* custom select */
.cselect { position: relative; }
.cselect__trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  background: rgba(7, 7, 15, .6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-size: 15px;
  cursor: pointer;
  transition: border-color .3s var(--ease);
}
.cselect__trigger[aria-expanded="true"] { border-color: var(--c-cyan); }
.cselect__trigger svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .3s var(--ease); color: var(--c-cyan); }
.cselect__trigger[aria-expanded="true"] svg { transform: rotate(-90deg); }
.cselect.is-placeholder .cselect__trigger { color: #5d6280; }
.cselect__panel {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  z-index: 30;
  padding: 6px;
  background: var(--c-panel-2);
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-sm);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.cselect__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear 0s; }
.cselect__opt { padding: 12px 14px; border-radius: 8px; cursor: pointer; font-size: 15px; transition: background .2s var(--ease); }
.cselect__opt:hover, .cselect__opt.is-active { background: rgba(0, 229, 255, .1); color: #fff; }

.info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 6px; }
.info-item { position: relative; padding-left: 56px; min-height: 40px; }
.info-item__icon { position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--c-cyan); background: rgba(0,229,255,.08); border: 1px solid var(--c-line-2); }
.info-item__icon svg { width: 21px; height: 21px; }
.info-item h3 { font-size: 14px; letter-spacing: .6px; margin-bottom: 3px; }
.info-item p, .info-item a { color: var(--c-muted); font-size: 15px; }
.info-item a:hover { color: var(--c-cyan); }

/* ====== Footer ====== */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, var(--c-bg) 0%, #050509 100%);
  border-top: 1px solid var(--c-line);
  padding-top: clamp(48px, 7vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-col h4 { font-size: 14px; letter-spacing: 1.2px; margin-bottom: 18px; color: var(--c-text); }
.footer-about .brand { margin-bottom: 16px; }
.footer-about p { color: var(--c-muted); font-size: 14.5px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--c-muted); font-size: 14.5px; transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer-links a:hover { color: var(--c-cyan); padding-left: 6px; }

.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--c-muted);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--c-line);
  transition: color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.footer-social a:hover { color: var(--c-cyan); transform: translateY(-3px); border-color: var(--c-line-2); box-shadow: var(--glow-cyan); }
.footer-social svg { width: 20px; height: 20px; }
.footer-company { color: var(--c-muted); font-size: 13px; margin-top: 16px; }
.footer-company b { color: var(--c-text); font-family: 'Orbitron', sans-serif; font-weight: 700; }

/* RG logos row */
.footer-rg {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--c-line);
}
.footer-rg h4 { font-size: 13px; letter-spacing: 1px; color: var(--c-muted); margin-bottom: 18px; text-align: center; }
.rg-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.rg-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--c-line);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.rg-logo:hover { border-color: var(--c-line-2); transform: translateY(-3px); background: rgba(0,229,255,.05); }
.rg-logo__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: #04121a;
  background: var(--c-grad);
}
.rg-logo__txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.rg-logo__txt b { font-size: 14px; font-family: 'Orbitron', sans-serif; letter-spacing: .4px; }
.rg-logo__txt span { font-size: 11px; color: var(--c-muted); }
.rg-logo { min-height: 56px; }
.rg-logo__img { display: block; flex-shrink: 0; object-fit: contain; }
.rg-logo__img--icon { width: 30px; height: 30px; }
.rg-logo__img--word { height: 28px; width: auto; max-width: 160px; }
.rg-logo__img--invert { filter: brightness(0) invert(1); }
.rg-age {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2px;
}

/* disclaimer bar */
.footer-disclaimer {
  margin-top: 34px;
  padding: 20px 24px;
  border-radius: var(--r);
  text-align: center;
  color: #d2d6ef;
  font-size: 14px;
  background: rgba(255, 43, 214, .06);
  border: 1px solid rgba(255, 43, 214, .22);
}
.footer-disclaimer b { color: var(--c-magenta); font-family: 'Orbitron', sans-serif; }

.footer-bottom {
  margin-top: 30px;
  padding-block: 22px 30px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--c-muted);
  font-size: 13px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom nav a:hover { color: var(--c-cyan); }

/* ====== Chat widget ====== */
.chat-toggle {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  color: #04121a;
  background: var(--c-grad);
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 229, 255, .42), 0 0 0 6px rgba(0, 229, 255, .08);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease);
}
.chat-toggle:hover { transform: scale(1.08) rotate(-6deg); }
.chat-toggle svg { width: 28px; height: 28px; }
.chat-toggle__ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c-cyan); animation: ping 2.4s var(--ease) infinite; }
.chat-toggle__badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  color: #fff;
  background: var(--c-magenta);
  border: 2px solid var(--c-bg);
  border-radius: 999px;
  box-shadow: var(--glow-mag);
}
.chat-toggle.is-open .chat-toggle__ping,
.chat-toggle.is-open .chat-toggle__badge { display: none; }

.chat-panel {
  position: fixed;
  right: 24px; bottom: 98px;
  z-index: 81;
  width: 360px; height: 460px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 130px);
  display: flex;
  flex-direction: column;
  background: var(--c-panel-2);
  border: 1px solid var(--c-line-2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .35s var(--ease-soft), visibility 0s linear .35s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition: opacity .35s var(--ease), transform .35s var(--ease-soft), visibility 0s linear 0s; }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(120deg, rgba(0,229,255,.16), rgba(255,43,214,.16));
  border-bottom: 1px solid var(--c-line);
}
.chat-head__avatar { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-line-2); }
.chat-head__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-head__meta b { display: block; font-family: 'Orbitron', sans-serif; font-size: 14px; letter-spacing: .5px; }
.chat-head__meta span { font-size: 12px; color: var(--c-cyan); display: inline-flex; align-items: center; gap: 6px; }
.chat-head__meta span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-cyan); box-shadow: var(--glow-cyan); }
.chat-head__close { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid var(--c-line); color: var(--c-text); cursor: pointer; }
.chat-head__close svg { width: 18px; height: 18px; }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-msg { max-width: 82%; padding: 11px 15px; font-size: 14px; line-height: 1.5; border-radius: 14px; animation: msgIn .4s var(--ease) both; }
.chat-msg--bot { align-self: flex-start; background: rgba(0, 229, 255, .1); border: 1px solid var(--c-line-2); border-bottom-left-radius: 4px; }
.chat-msg--user { align-self: flex-end; color: #04121a; background: var(--c-grad); border-bottom-right-radius: 4px; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 13px 16px; border-radius: 14px; background: rgba(0,229,255,.1); border: 1px solid var(--c-line-2); }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-cyan); animation: typing 1.3s var(--ease) infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }

.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-quick button {
  font-size: 12px; padding: 8px 12px; border-radius: 999px;
  color: var(--c-cyan); background: rgba(0,229,255,.06);
  border: 1px solid var(--c-line-2); cursor: pointer;
  transition: background .25s var(--ease);
}
.chat-quick button:hover { background: rgba(0,229,255,.14); }

.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--c-line); background: rgba(7,7,15,.5); }
.chat-form input { flex: 1; min-width: 0; padding: 12px 15px; background: rgba(7,7,15,.6); border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-text); font-family: inherit; font-size: 14px; }
.chat-form input:focus { outline: none; border-color: var(--c-cyan); }
.chat-form button { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; color: #04121a; background: var(--c-grad); border: none; cursor: pointer; transition: transform .3s var(--ease); }
.chat-form button:hover { transform: scale(1.08); }
.chat-form button svg { width: 20px; height: 20px; }

/* ====== Toast ====== */
.toast-backdrop {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(5, 5, 12, .68);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.toast-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s linear 0s; }
.toast {
  text-align: center;
  max-width: 380px;
  padding: 32px 30px;
  border-radius: 20px;
  background: var(--c-panel-2);
  border: 1px solid var(--c-line-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  transform: scale(.9);
  transition: transform .35s var(--ease-soft);
}
.toast-backdrop.is-open .toast { transform: scale(1); }
.toast__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; color: #04121a; background: var(--c-grad); box-shadow: var(--glow-cyan); }
.toast__icon svg { width: 32px; height: 32px; }
.toast h3 { font-size: 20px; margin-bottom: 10px; }
.toast p { color: var(--c-muted); font-size: 15px; }
.toast--error .toast__icon { background: linear-gradient(115deg, #ff2bd6, #ff5f57); }

/* ====== Reveal animations ====== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* hero above-fold: pure CSS (no JS flash) */
.hero-anim { opacity: 0; transform: translateY(28px); animation: riseIn .9s var(--ease) forwards; }
.hero-anim--1 { animation-delay: .05s; }
.hero-anim--2 { animation-delay: .2s; }
.hero-anim--3 { animation-delay: .35s; }
.hero-anim--4 { animation-delay: .5s; }

@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes aura { from { opacity: .7; } to { opacity: 1; } }
@keyframes scanline { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .8; } 100% { transform: translateY(-100vh); opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .55; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-anim, .reveal { opacity: 1 !important; transform: none !important; }
}

/* ====== Responsive ====== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .model__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .values-grid { grid-template-columns: 1fr; }
  .carousel__track { gap: 0; }
  .review { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .rg-logo { width: 100%; }
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: 90px; }
  .chat-toggle { right: 16px; bottom: 16px; }
  .demo__play { width: 44px; height: 44px; }
  .demo__play svg { width: 18px; height: 18px; margin-left: 2px; }
  .demo__feats { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .btn { padding: 14px 22px; font-size: 14px; }
  .brand { font-size: 17px; }
  .brand__mark { width: 38px; height: 38px; }
}
