/* ==========================================================================
   VIBESTORM — design system
   Dark "storm" aesthetic: deep navy base, electric brand gradient,
   four platform accents carried through every surface.
   ========================================================================== */

/* ---------------------------------------------------------------- fonts ---
   Self-hosted instead of fonts.googleapis.com: the Google stylesheet is a
   render-blocking third-party request that costs two extra DNS+TLS handshakes
   before a single glyph can even start downloading. Same files, same bytes,
   one connection — and <link rel=preload> in the head can start them during
   HTML parse. Archivo is a variable font, so one file covers 400-800.
   latin-ext is not optional here: ă, ș and ț live in it. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/archivo-black-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/archivo-black-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* base */
  --bg:        #04060e;
  --bg-2:      #070b16;
  --bg-3:      #0b1020;
  --line:      rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .055);
  --ink:       #eef3ff;
  --ink-dim:   #98a5c4;
  --ink-faint: #64718f;

  /* parent brand — electric storm */
  --brand-1: #22d3ee;
  --brand-2: #7c5cff;
  --brand-3: #ff3d9a;
  --brand-grad: linear-gradient(100deg, var(--brand-1), var(--brand-2) 48%, var(--brand-3));

  /* platform accents */
  --cars:   #2e9bff;
  --estate: #34d058;
  --equip:  #ffc219;
  --owx:    #ff2e45;

  --ok: #25d366; /* whatsapp */

  /* type */
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --shell: 1240px;
  --pad: clamp(18px, 4vw, 40px);
}

/* ---------------------------------------------------------------- reset -- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 420;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  /* Romanian uppercase carries Ă/Â/Î breves and Ș/Ț commas — a sub-1 line-height clips them. */
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0;
  text-transform: uppercase;
}

::selection { background: var(--brand-2); color: #fff; }

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

/* ------------------------------------------------------------- primitives - */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}

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

.grad-text {
  background: linear-gradient(95deg, var(--cars), var(--brand-2) 42%, var(--brand-3) 70%, var(--owx));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--ink-dim);
  font-size: clamp(15px, 1.55vw, 18px);
  max-width: 62ch;
  margin: 0;
}

/* buttons */

.btn {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), box-shadow .22s, background .22s, border-color .22s;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .22); }

.btn--wa {
  --btn-bg: linear-gradient(135deg, #1fbd5a, var(--ok));
  --btn-fg: #04140a;
  border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .65);
}
.btn--wa:hover { box-shadow: 0 16px 40px -12px rgba(37, 211, 102, .8); }

.btn--brand {
  --btn-bg: var(--brand-grad);
  --btn-fg: #05030f;
  border-color: transparent;
  box-shadow: 0 12px 34px -12px rgba(124, 92, 255, .8);
}
.btn--brand:hover { box-shadow: 0 18px 44px -14px rgba(124, 92, 255, .95); }

.btn--lg { padding: 17px 32px; font-size: 16px; }

/* section rhythm */

.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.section__title {
  font-size: clamp(32px, 5.4vw, 62px);
  margin-bottom: 20px;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ------------------------------------------------------------- atmosphere - */

.atmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.atmos__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .85;
  will-change: transform;
}

.atmos__blob--a {
  width: 60vw; height: 60vw; min-width: 460px; min-height: 460px;
  top: -22vw; left: -14vw;
  background: radial-gradient(circle, rgba(46, 155, 255, .55), transparent 65%);
  animation: drift-a 26s ease-in-out infinite;
}
.atmos__blob--b {
  width: 52vw; height: 52vw; min-width: 400px; min-height: 400px;
  top: 6vw; right: -16vw;
  background: radial-gradient(circle, rgba(255, 46, 69, .4), transparent 65%);
  animation: drift-b 32s ease-in-out infinite;
}
.atmos__blob--c {
  width: 56vw; height: 56vw; min-width: 420px; min-height: 420px;
  top: 52vh; left: 24vw;
  background: radial-gradient(circle, rgba(124, 92, 255, .42), transparent 65%);
  animation: drift-c 29s ease-in-out infinite;
}

.atmos__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 55% at 50% 22%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 22%, #000 25%, transparent 78%);
}

.atmos__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 130% 78% at 50% 4%, transparent 34%, rgba(4, 6, 14, .55) 74%, rgba(4, 6, 14, .92) 100%);
}

.atmos__noise {
  position: absolute;
  inset: -50%;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(7vw, 5vh, 0) scale(1.12); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.08); }
  50%      { transform: translate3d(-8vw, 7vh, 0) scale(.94); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.96); }
  50%      { transform: translate3d(6vw, -8vh, 0) scale(1.14); }
}

/* ------------------------------------------------------------------ logo - */

.logo { display: inline-flex; align-items: center; gap: 11px; }

.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__mark .bolt { animation: bolt-pulse 3.6s ease-in-out infinite; transform-origin: center; }
.logo__mark .swirl { animation: swirl-spin 14s linear infinite; transform-origin: 24px 24px; }

@keyframes bolt-pulse {
  0%, 100% { opacity: 1; }
  45%      { opacity: .58; }
}
@keyframes swirl-spin { to { transform: rotate(360deg); } }

.logo__word {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -.015em;
  text-transform: uppercase;
  line-height: 1;
}
.logo__word span {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------- nav - */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5, 8, 17, .78);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav__links a {
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}

/* ------------------------------------------------------------------ hero - */

.hero { padding: clamp(112px, 15vw, 152px) 0 clamp(40px, 6vw, 70px); text-align: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, .045);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 26px;
}
.hero__badge b {
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--brand-grad);
  color: #05030f;
  font-size: 11px;
  letter-spacing: .1em;
}

.hero__title {
  font-size: clamp(30px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero__title > span { display: block; }

.hero__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 6px;
  font-size: clamp(10.5px, 1.35vw, 13px);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 30px;
}
.hero__cats li::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, .17); }
.hero__cats li:last-child::after { content: none; }

.hero__lede { margin: 0 auto 34px; text-align: center; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(46px, 7vw, 78px);
}

/* ---------------------------------------------------------------- phones - */

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 1.6vw, 24px);
  perspective: 1600px;
}

.phone {
  --accent: var(--cars);
  flex: 0 0 auto;
  width: clamp(150px, 17.5vw, 236px);
  transform: translateY(var(--y, 0)) rotate(var(--rot, 0deg));
  animation: phone-float 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(var(--y, 0)) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(calc(var(--y, 0px) - 14px)) rotate(var(--rot, 0deg)); }
}

.phone__frame {
  position: relative;
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: 5px;
  background: linear-gradient(165deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #0a0f1c));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1) inset,
    0 34px 70px -24px rgba(0, 0, 0, .9),
    0 0 70px -18px color-mix(in srgb, var(--accent) 65%, transparent);
}

.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19;
  border-radius: clamp(16px, 2vw, 27px);
  overflow: hidden;
  background: #05070f;
  isolation: isolate;
}

.phone__screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.phone__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 6, 14, .88) 0%, transparent 26%),
    linear-gradient(0deg, rgba(3, 6, 14, .96) 12%, rgba(3, 6, 14, .35) 42%, transparent 62%);
}

.phone__ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(7px, .85vw, 11px);
  font-size: clamp(5.4px, .66vw, 8.5px);
  line-height: 1.35;
}

.phone__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.phone__top svg { width: 1.7em; height: 1.7em; opacity: .9; }

.phone__brand { text-align: center; line-height: 1.05; }
.phone__brand b {
  display: block;
  font-family: var(--display);
  font-size: 1.95em;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.phone__brand b i { font-style: normal; color: var(--accent); }
.phone__brand small {
  display: block;
  margin-top: .25em;
  font-size: .82em;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .72);
  text-transform: uppercase;
}

.phone__play {
  margin: auto;
  width: 3.9em;
  height: 3.9em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: .22em solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(3px);
  box-shadow: 0 0 1.6em rgba(0, 0, 0, .5);
}
.phone__play svg { width: 1.5em; height: 1.5em; margin-left: .12em; }

.phone__meta { margin-top: auto; }
.phone__meta .t { font-weight: 650; font-size: 1.12em; color: rgba(255, 255, 255, .95); }
.phone__meta .p {
  font-family: var(--display);
  font-size: 2.15em;
  line-height: 1.1;
  margin: .05em 0 .32em;
}
.phone__specs { display: flex; flex-wrap: wrap; gap: .45em; margin-bottom: .45em; }
.phone__specs li {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .24em .6em;
  border-radius: .5em;
  background: rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .88);
  font-size: .95em;
  font-weight: 600;
}
.phone__specs svg { width: 1.1em; height: 1.1em; }
.phone__loc {
  display: flex; align-items: center; gap: .3em;
  color: rgba(255, 255, 255, .72);
  font-weight: 600;
}
.phone__loc svg { width: 1.1em; height: 1.1em; color: var(--accent); }

.phone__nav {
  display: flex;
  justify-content: space-between;
  margin-top: .8em;
  padding-top: .7em;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.phone__nav i {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25em;
  font-style: normal;
  font-size: .82em;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
}
.phone__nav i:first-child { color: var(--accent); }
.phone__nav svg { width: 1.35em; height: 1.35em; }

/* ------------------------------------------------------------ marquee ---- */

.marquee {
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 46px;
  animation: slide 38s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: clamp(14px, 1.7vw, 20px);
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .24);
  white-space: nowrap;
}
.marquee span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- features -- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feature {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(8, 12, 24, .72);
  transition: background .25s;
}
.feature:hover { background: rgba(18, 24, 44, .9); }
.feature__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  margin-bottom: 18px;
  color: var(--brand-1);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16px; letter-spacing: .06em; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14px; color: var(--ink-dim); }

/* ------------------------------------------------------------ platforms -- */

.plat {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(34px, 5vw, 58px) 0;
  position: relative;
}
.plat + .plat { border-top: 1px solid var(--line-soft); }
.plat:nth-child(even) .plat__media { order: -1; }

/* Official app logos. They ship light-on-transparent, so they sit directly on
   the dark surface — a faint accent glow ties them to the section colour. */
.plat__logo {
  width: auto;
  height: clamp(58px, 6.4vw, 78px);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--accent) 45%, transparent));
}
/* Optical sizing: the four marks have very different text-to-artwork ratios.
   OWX is a single word (needs less height); EstatesReel hides its wordmark
   under a tall icon (needs more) so all four read at the same weight. */
.plat__logo--owx    { height: clamp(36px, 4vw, 48px); }
.plat__logo--estate { height: clamp(82px, 9vw, 110px); }

.plat__title { font-size: clamp(26px, 3.6vw, 44px); margin-bottom: 16px; }
.plat__title em { font-style: normal; color: var(--accent); }

.plat__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.plat__tags li {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
}

/* Platform CTAs. "Vezi aplicația" carries the section accent so the link stays
   colour-coded to its platform; "Cumpără pachet" uses the parent brand gradient
   so the purchase action looks identical across all four. */
.plat__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* One dark foreground serves every accent — the OWX red is the tightest at
   ~5.5:1 against #05030f, still above the 4.5:1 floor. */
.btn--app {
  --btn-bg: var(--accent);
  --btn-fg: #05030f;
  border-color: transparent;
  box-shadow: 0 12px 32px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}
.btn--app:hover { box-shadow: 0 18px 42px -14px color-mix(in srgb, var(--accent) 95%, transparent); }

.plat__media { position: relative; display: flex; justify-content: center; }
.plat__media::before {
  content: "";
  position: absolute;
  inset: 8% 14%;
  border-radius: 50%;
  filter: blur(70px);
  background: color-mix(in srgb, var(--accent) 55%, transparent);
  opacity: .5;
}
/* vertical "reel" card used as the platform visual */
.reel {
  position: relative;
  margin: 0;
  width: clamp(190px, 25vw, 268px);
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow:
    0 34px 70px -28px rgba(0, 0, 0, .95),
    0 0 60px -20px color-mix(in srgb, var(--accent) 70%, transparent);
  transform: rotate(var(--tilt, -3deg));
  transition: transform .45s cubic-bezier(.2, .8, .3, 1);
  animation: reel-float 8s ease-in-out infinite;
}
.plat:nth-child(even) .reel { --tilt: 3deg; }
.reel:hover { transform: rotate(0deg) scale(1.03); }

@keyframes reel-float {
  0%, 100% { transform: rotate(var(--tilt, -3deg)) translateY(0); }
  50%      { transform: rotate(var(--tilt, -3deg)) translateY(-12px); }
}

.reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 6, 14, .82) 4%, transparent 46%);
}

.reel__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .17);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}
.reel__play svg { width: 22px; height: 22px; margin-left: 3px; color: #fff; }
.reel__play::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ping 2.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping {
  0%       { transform: scale(1);   opacity: .9; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

.reel__chip {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(8, 12, 24, .72);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.reel__chip svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* --------------------------------------------------------------- steps --- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.step {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: var(--brand-grad);
  opacity: .8;
}
/* `.step p` below matches this too — keep the specificity above it. */
.step p.step__n {
  font-family: var(--display);
  font-size: 46px;
  line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.005em; }
.step p { margin: 0; color: var(--ink-dim); font-size: 14.5px; }

/* ------------------------------------------------------------- pricing --- */

.pricing { position: relative; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  align-items: start;
}

.pcol {
  --accent: var(--cars);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%),
    rgba(7, 11, 22, .82);
  padding: clamp(16px, 1.8vw, 22px);
  box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s;
}
.pcol:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--accent) 95%, transparent);
}

.pcol__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  /* OWX carries a three-word sub-label that wraps — reserve two lines in every
     column so the four price ladders stay on the same baseline. */
  min-height: 104px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.pcol__logo {
  width: auto;
  height: 46px;
  flex: none;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 40%, transparent));
}
.pcol__logo--owx    { height: 28px; }
.pcol__logo--estate { height: 64px; }
.pcol__head span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.tier {
  position: relative;
  display: block;
  padding: 15px 16px;
  border-radius: var(--r-md);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: rgba(255, 255, 255, .028);
  transition: border-color .22s, background .22s, transform .22s;
}
.tier + .tier { margin-top: 10px; }
.tier:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translateY(-2px);
}

.tier__slots {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.tier__slots b {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.tier__valid { font-size: 12px; color: var(--ink-dim); margin: 5px 0 0; font-weight: 600; }
.tier__incl { font-size: 11px; color: var(--ink-faint); margin: 1px 0 14px; }
.tier__price {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -.03em;
}
.tier__buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 13px;
  padding: 11px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, #1fbd5a, var(--ok));
  color: #04140a;
  font-weight: 750;
  font-size: 13px;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 8px 22px -10px rgba(37, 211, 102, .7);
}
.tier__buy svg { width: 16px; height: 16px; flex: none; }
.tier:hover .tier__buy { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .85); }

/* discount ribbon */

.discount {
  margin-top: clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 194, 25, .3);
  background:
    linear-gradient(120deg, rgba(255, 46, 69, .17), rgba(255, 194, 25, .17) 55%, rgba(46, 155, 255, .15));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.discount::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen {
  0%, 62% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}
.discount__big {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--equip);
  text-shadow: 0 0 34px rgba(255, 194, 25, .45);
}
.discount__txt {
  font-family: var(--display);
  font-size: clamp(15px, 2vw, 24px);
  text-transform: uppercase;
  line-height: 1.15;
  text-align: left;
}
.discount__txt em { font-style: normal; color: var(--owx); display: block; }
.discount__note { font-size: 13px; color: var(--ink-dim); font-weight: 600; }

/* ----------------------------------------------------------------- faq --- */

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .028);
  transition: border-color .2s, background .2s;
}
.faq details[open] { border-color: rgba(124, 92, 255, .38); background: rgba(124, 92, 255, .06); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 650;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  color: var(--brand-2);
  transition: transform .25s;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 22px 20px; color: var(--ink-dim); font-size: 14.5px; }

/* Multi-part answers: the 20px bottom padding above would double up between
   stacked blocks, so only the closing block keeps it. */
.faq p:not(:last-child) { padding-bottom: 12px; }

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0 22px 14px;
  display: grid;
  gap: 8px;
}
.faq__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  font-size: 14px;
  color: var(--ink-dim);
}
.faq__list b { color: var(--ink); font-weight: 700; }
/* Each row is tinted with its own platform accent, set inline per item. */
.faq__list span { color: var(--accent); font-weight: 700; white-space: nowrap; }

/* ----------------------------------------------------------------- cta --- */

.cta {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(124, 92, 255, .3), transparent 62%),
    rgba(7, 11, 22, .8);
  padding: clamp(38px, 6vw, 76px) var(--pad);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: var(--brand-grad);
}
.cta__title { font-size: clamp(28px, 5vw, 58px); margin-bottom: 18px; }

.contact {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  padding: 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}
.contact__num {
  font-family: var(--display);
  font-size: clamp(20px, 3.4vw, 34px);
  letter-spacing: -.01em;
  padding-inline: 14px;
}
.contact__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s, filter .2s;
}
.contact__pill svg { width: 19px; height: 19px; }
.contact__pill:hover { transform: translateY(-2px); filter: brightness(1.08); }
.contact__pill--wa { background: linear-gradient(135deg, #1fbd5a, var(--ok)); color: #04140a; }
.contact__pill--tg { background: linear-gradient(135deg, #2aabee, #229ed9); color: #021018; }

/* -------------------------------------------------------------- footer --- */

.footer { border-top: 1px solid var(--line-soft); padding: 44px 0 38px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--ink-dim); }
.footer__nav a:hover { color: var(--ink); }
.footer__tag {
  width: 100%;
  text-align: center;
  margin: 30px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer__legal { font-size: 12.5px; color: var(--ink-faint); }

/* --------------------------------------------------------- float button -- */

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, #1fbd5a, var(--ok));
  color: #04140a;
  font-weight: 750;
  font-size: 14px;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .7);
  opacity: 0;
  transform: translateY(20px) scale(.9);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------- reveals --- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .42s cubic-bezier(.2, .8, .3, 1), transform .42s cubic-bezier(.2, .8, .3, 1);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { justify-content: space-between; }
  .nav .btn--wa { display: none; }

  .plat { grid-template-columns: 1fr; }
  .plat:nth-child(even) .plat__media { order: 0; }
  .plat__media { margin-top: 8px; }

  .steps { grid-template-columns: 1fr; }

  .phones {
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 34px var(--pad) 20px;
    margin-inline: calc(var(--pad) * -1);
    gap: 16px;
    scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone {
    scroll-snap-align: center;
    width: 210px;
    --y: 0px !important;
    --rot: 0deg !important;
  }
}

@media (max-width: 620px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .discount { flex-direction: column; gap: 6px; }
  .discount__txt { text-align: center; }
  .contact { border-radius: var(--r-lg); }
  .fab span { display: none; }
  .fab { padding: 15px; }
}

/* mobile nav drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 96px var(--pad) 40px;
  background: rgba(4, 6, 14, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.drawer.is-open { display: flex; }
.drawer a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}
.drawer .btn { margin-top: 22px; }
.drawer__close {
  position: absolute;
  top: 22px; right: var(--pad);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}

/* ------------------------------------------------ mobile performance ---
   Phones have no frame budget to spare, and everything below was costing it
   every single frame while the user scrolls. The layout, colours and copy are
   untouched — only the per-frame work is removed. Desktop keeps all of it.   */

@media (max-width: 900px) {
  /* The three atmosphere blobs are fixed, screen-sized and blurred by 110px.
     Animated, that blur is recomputed on every frame forever; static, it is
     painted once into a composited layer and then simply reused. This single
     rule is the difference between a dropped-frame scroll and a smooth one. */
  .atmos__blob {
    animation: none;
    will-change: auto;
    filter: blur(80px);
  }

  /* backdrop-filter forces the browser to re-read and re-blur whatever sits
     behind the element — for the sticky nav that means once per scroll frame.
     Each of these already has a semi-opaque background; nudging it to fully
     opaque keeps the look and drops the per-frame cost to zero. */
  .nav { transition: background .3s, border-color .3s; }
  .nav.is-stuck {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5, 8, 17, .96);
  }
  .drawer {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(4, 6, 14, .99);
  }
  .phone__play, .reel__play, .reel__chip {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Decorative loops that never stop, on elements large enough for it to
     matter. The marquee and the 38px logo mark stay — they are cheap and they
     are part of the design. */
  .phone, .reel, .reel__play::before, .discount::after {
    animation: none !important;
  }

  /* Reveals: the stagger set inline via --d stacks up to .26s of dead time on
     top of the transition, which on tall single-column mobile blocks reads as
     content lagging behind the scroll. Everything fires at once instead. */
  [data-reveal] { transition-delay: 0s !important; }
}

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