/* ============================================================
   ELIXIR LANDING — Design tokens
   Blend: app navy/blue (#0b1e4a / #1648d0) + shop purple (#5a1264)
   ============================================================ */
:root {
  --ink:            #0a0e1f;
  --navy:           #0b1530;
  --navy-soft:      #101a3d;
  --blue:           #1648d0;
  --blue-light:     #3d7bff;
  --purple:         #5a1264;
  --purple-light:   #8a2f99;
  --purple-deep:    #2f0a37;
  --gold:           #c9a227;

  --bg:             #f7f7fb;
  --surface:        #ffffff;
  --surface-alt:    #f1eef6;
  --text:           #14121c;
  --text-muted:     #5b5a68;
  --text-on-dark:   #eceaf5;
  --text-on-dark-muted: #a9a6c2;
  --border:         #e7e4ef;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(20, 10, 40, .06);
  --shadow-md: 0 12px 32px rgba(20, 10, 40, .12);
  --shadow-lg: 0 24px 60px rgba(20, 10, 40, .20);

  --font-head: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);

  color-scheme: light dark;

  /* Text-on-dark accent colors — kept bright enough to stay readable
     against dark surfaces (used inside always-dark sections + dark mode) */
  --price-color:  var(--purple);
  --link-color:   var(--blue);
}

/* ---------- Dark theme — applied by JS via [data-theme="dark"],
   defaults to the OS preference on first load ---------- */
:root[data-theme="dark"] {
  --bg:             #0b0e1c;
  --surface:        #141832;
  --surface-alt:    #11142a;
  --text:           #eef0fb;
  --text-muted:     #9b9bb8;
  --border:         #262b4a;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, .45);
  --shadow-lg: 0 26px 64px rgba(0, 0, 0, .55);

  --price-color: #e08fe8;
  --link-color:  #7fb0ff;
}
:root[data-theme="dark"] body { background: var(--bg); }
:root[data-theme="dark"] .platform { background: var(--bg); }
:root[data-theme="dark"] .products { background: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%); }
:root[data-theme="dark"] .device-frame { border-color: rgba(255,255,255,.06); }
:root[data-theme="dark"] .nav { background: rgba(6, 8, 18, .6); }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; color: var(--text-muted); line-height: 1.65; }
section { position: relative; }
ul { margin: 0; padding: 0; list-style: none; }

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 14px 0 16px; }
.section-head p { font-size: 17px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-light);
}
.eyebrow--dark { color: #c45fd1; }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 130%);
  color: #fff; box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--ghost { border-color: rgba(255,255,255,.28); color: var(--text-on-dark); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn--outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn--outline-dark { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--outline-dark:hover { border-color: var(--price-color); color: var(--price-color); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  /* No backdrop-filter here on purpose: it's a fixed element, so a live
     blur of whatever scrolls behind it has to be recomputed on every
     single scroll frame — one of the most common causes of scroll jank.
     A solid-enough background colour gives the same legibility for free. */
  background: rgba(9, 12, 26, .92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s var(--ease);
}
.nav__inner {
  max-width: 1180px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav__brand-mark { width: 28px; height: 28px; color: var(--blue-light); }
.nav__brand-mark svg { width: 100%; height: 100%; }
.nav__brand-text { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  color: var(--text-on-dark-muted); font-size: 14.5px; font-weight: 600;
  transition: color .2s;
}
.nav__links a:hover { color: #fff; }
.nav__cta { padding: 10px 22px; font-size: 14px; }
.nav__right { display: flex; align-items: center; gap: 16px; }

/* ---------- mobile nav (hamburger) ---------- */
.nav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 0; border: none; background: transparent; cursor: pointer;
}
.nav__burger span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__links-mobile {
  display: none; flex-direction: column;
  max-height: 0; overflow: hidden;
  background: rgba(9, 12, 26, .97);
  border-top: 1px solid rgba(255,255,255,.08);
  transition: max-height .25s var(--ease);
}
.nav__links-mobile a {
  display: block; padding: 14px 28px; color: var(--text-on-dark-muted);
  font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__links-mobile a:hover { color: #fff; }
.nav__links-mobile.is-open { max-height: 360px; }

/* ---------- theme toggle ---------- */
.theme-toggle {
  position: relative;
  width: 52px; height: 28px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  cursor: pointer; padding: 0; flex-shrink: 0;
  transition: background .3s var(--ease);
}
.theme-toggle:hover { background: rgba(255,255,255,.16); }
.theme-toggle__icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); transition: color .3s var(--ease);
}
.theme-toggle__icon--sun { left: 7px; }
.theme-toggle__icon--moon { right: 7px; }
.theme-toggle__knob {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--purple-light));
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  transition: transform .35s var(--ease);
}
:root[data-theme="dark"] .theme-toggle__knob { transform: translateX(24px); }
:root[data-theme="dark"] .theme-toggle__icon--moon { color: #fff; }
.theme-toggle__icon--sun { color: #ffd76a; }

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 100%);
  overflow: hidden;
}
.ticker__track {
  display: flex; gap: 56px; white-space: nowrap; padding: 9px 0;
  animation: tickerScroll 22s linear infinite;
  width: max-content;
}
.ticker__track span {
  font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
  display: flex; align-items: center; gap: 12px;
}
.ticker__track span::after { content: '\2022'; opacity: .55; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 100% at 15% 0%, var(--navy-soft) 0%, var(--ink) 55%, var(--purple-deep) 130%);
  padding: 198px 28px 110px;
  overflow: hidden;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35;
  animation: blobDrift 16s ease-in-out infinite;
  will-change: transform;
}
/* Pause expensive blurred animations once their section scrolls out of
   view — continuous filter:blur() animation forces the browser to keep
   recompositing the whole page every frame, which shows up as jank/shake
   during scroll even far below the hero. */
.hero.is-offscreen .hero__glow,
.hero.is-offscreen .hero__particles span {
  animation-play-state: paused;
}
.hero__glow--a { width: 480px; height: 480px; background: var(--blue); top: -160px; left: -120px; }
.hero__glow--b { width: 420px; height: 420px; background: var(--purple); bottom: -180px; right: -80px; animation-delay: -8s; animation-direction: reverse; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, 30px) scale(1.12); }
  66%      { transform: translate(-30px, 20px) scale(.94); }
}

.hero__particles { position: absolute; inset: 0; overflow: hidden; }
.hero__particles span {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: rgba(150, 175, 255, .55);
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .4; }
  100% { transform: translateY(-720px) translateX(var(--drift, 30px)); opacity: 0; }
}
.hero__pulse-line {
  position: absolute; left: 0; right: 0; bottom: 14%; height: 120px;
  color: rgba(120, 150, 255, .22);
  opacity: 0;
}
.hero__pulse-line svg { width: 100%; height: 100%; }
#pulsePath { stroke-dasharray: 1600; stroke-dashoffset: 1600; }

.hero__content { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(34px, 4.6vw, 54px); color: #fff; margin: 22px 0 22px;
  font-weight: 700;
  min-height: 2.6em;
  display: flex; align-items: flex-start;
}
.hero__sub { font-size: 17.5px; color: var(--text-on-dark-muted); max-width: 540px; margin-bottom: 36px; }

.tw-cycle { display: inline; }
.tw-cursor {
  display: inline-block; width: 4px; height: .85em; margin-left: 4px;
  background: var(--blue-light); vertical-align: -.08em;
  animation: twBlink .85s step-end infinite;
}
@keyframes twBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__showcase { position: relative; z-index: 1; }

.device-frame {
  background: var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid rgba(255,255,255,.08);
}
.hero__showcase .device-frame {
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.hero__showcase:hover .device-frame { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.device-frame__bar { display: flex; gap: 6px; padding: 10px 14px; background: #151930; }
.device-frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a3f63; }
.device-frame img {
  width: 100%; display: block;
  aspect-ratio: 16 / 9.4; object-fit: cover; object-position: top center;
}
.device-frame--sm { border-radius: var(--radius-md); }
.device-frame--xs { border-radius: var(--radius-sm); }

/* ---------- Hero artistic visual ---------- */
.hero-visual { position: relative; }
.hero-visual__glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle at 50% 50%, var(--blue) 0%, var(--purple) 45%, transparent 75%);
  opacity: .35; filter: blur(60px); z-index: 0;
  animation: blobDrift 14s ease-in-out infinite;
  will-change: transform;
}
.hero-visual img {
  position: relative; z-index: 1; width: 100%; display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
  animation: widgetFloat 6s ease-in-out infinite;
}
.hero.is-offscreen .hero-visual__glow,
.hero.is-offscreen .hero-visual img {
  animation-play-state: paused;
}

/* ---------- Slim widget — narrow chat panel, shown uncropped ---------- */
.feature-row__visual--widget { display: flex; justify-content: center; }
.widget-frame { position: relative; width: 100%; max-width: 340px; }
.widget-frame__glow {
  position: absolute; inset: -30px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  opacity: .22; filter: blur(30px); z-index: 0;
  animation: blobDrift 10s ease-in-out infinite;
  will-change: transform;
}
.widget-frame.is-offscreen .widget-frame__glow,
.widget-frame.is-offscreen .device-frame--widget {
  animation-play-state: paused;
}
.device-frame--widget {
  position: relative; z-index: 1;
  animation: widgetFloat 5s ease-in-out infinite;
}
.device-frame--widget img {
  aspect-ratio: 379 / 606; object-fit: contain; background: #fff;
}
@keyframes widgetFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   PLATFORM SECTION
   ============================================================ */
.platform {
  background: var(--bg); padding: 130px 28px 90px;
  position: relative;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--text) 10%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
}
.platform::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 90px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 22%, 0 100%);
}
.feature-row {
  max-width: 1180px; margin: 0 auto 130px;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 130%);
  color: #fff; margin-bottom: 22px;
}
.feature-row__text h3 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 14px; }
.feature-row__text p { font-size: 16px; max-width: 420px; }
.feature-row__visual .device-frame { box-shadow: var(--shadow-md); }

.mini-grid {
  max-width: 1180px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: 32px;
  perspective: 1200px;
}
.mini-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.mini-card:hover { box-shadow: var(--shadow-md); }
.mini-card .device-frame { margin-bottom: 20px; }
.mini-card h4 { font-size: 18px; margin-bottom: 8px; }
.mini-card p { font-size: 14.5px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%);
  padding: 120px 28px;
}
.product-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  perspective: 1200px;
}
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: block;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  transform-style: preserve-3d; will-change: transform;
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--purple-light); }
.product-card__img {
  aspect-ratio: 4/3; background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 26px; border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product-card__img img { max-height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__body { padding: 20px 22px 24px; }
.product-card__body h3 { font-size: 16.5px; margin-bottom: 8px; }
.product-card__price {
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--price-color);
  margin-bottom: 16px;
}
.product-card__cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--link-color);
}
.product-card__cta svg { transition: transform .25s var(--ease); }
.product-card:hover .product-card__cta svg { transform: translateX(3px); }

.products__more { text-align: center; margin-top: 52px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg); padding: 130px 28px; }
.pricing__grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.pricing-card--main {
  padding: 40px 44px;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface) 60%, color-mix(in srgb, var(--purple) 6%, var(--surface)) 100%);
  position: relative; overflow: hidden;
}
.pricing-card__badge {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 130%);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 18px;
}
.pricing-card--main h3 { font-size: 24px; margin-bottom: 10px; }
.pricing-card__desc { font-size: 15px; max-width: 460px; margin-bottom: 28px; }
.pricing-card__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 30px; }
.pricing-card__amount { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: var(--text); }
.pricing-card__period { font-size: 13.5px; color: var(--text-muted); }
.pricing-card__price--sm .pricing-card__amount { font-size: 28px; }

.pricing-card__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px;
  margin-bottom: 30px; padding-top: 26px; border-top: 1px solid var(--border);
}
.pricing-card__list { display: flex; flex-direction: column; gap: 13px; }
.pricing-card__list li {
  position: relative; padding-left: 24px;
  font-size: 14px; color: var(--text); line-height: 1.4;
}
.pricing-card__list li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 130%);
}
.pricing-card__list li::after {
  content: ''; position: absolute; left: 4.5px; top: 7.5px;
  width: 6px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg);
}

.pricing-card__renewal {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface-alt); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 10px;
}
.pricing-card__renewal-label { font-size: 13.5px; color: var(--text-muted); font-weight: 600; }
.pricing-card__renewal-amount { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--price-color); }
.pricing-card__fine { font-size: 12.5px; margin-bottom: 26px; }

.pricing-card--addon {
  padding: 32px 30px 30px; display: flex; flex-direction: column;
  height: 100%;
}
.pricing-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-alt); color: var(--blue);
  margin-bottom: 18px;
}
.pricing-card--addon h4 { margin-bottom: 10px; }
.pricing-card--addon p { margin-bottom: 0; }

.nfc-card-photo {
  position: relative; width: 100%; max-width: 280px;
  margin: 22px auto; align-self: center;
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  transition: transform .4s var(--ease);
}
.pricing-card--addon:hover .nfc-card-photo { transform: translateY(-4px); }
.nfc-card-photo img {
  width: 100%; aspect-ratio: 447 / 558; object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(20, 10, 40, .2));
}
.pricing-card--addon .pricing-card__price { margin-top: 0; margin-bottom: 0; }
.nfc-card-photo__badge {
  position: absolute; bottom: 8px; right: 4px;
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 130%);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px 5px 8px; border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
.pricing-card--addon h4 { font-size: 17px; margin-bottom: 10px; }
.pricing-card--addon p { font-size: 13.5px; margin-bottom: 22px; flex-grow: 1; }

.pricing__note { text-align: center; margin-top: 36px; font-size: 14px; color: var(--text-muted); }
.pricing__note a { color: var(--link-color); font-weight: 700; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--ink); padding: 120px 28px; color: var(--text-on-dark); }
.about__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center;
}
.about__text h2 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin: 16px 0 18px; }
.about__text p { font-size: 16.5px; color: var(--text-on-dark-muted); max-width: 520px; }
.about__stats { display: flex; flex-direction: column; gap: 30px; }
.about__stat-num {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 42px; background: linear-gradient(120deg, var(--blue-light), var(--purple-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__stat-label { font-size: 14px; color: var(--text-on-dark-muted); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: linear-gradient(120deg, var(--blue) 0%, var(--purple) 100%);
  padding: 110px 28px; text-align: center;
}
.cta__inner { max-width: 620px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.82); font-size: 16.5px; margin-bottom: 34px; }
.cta .btn--primary { background: #fff; color: var(--purple); }
.cta .btn--primary:hover { box-shadow: 0 18px 40px rgba(0,0,0,.25); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--text-on-dark); padding: 80px 28px 28px; }
.footer__inner { max-width: 1180px; margin: 0 auto; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.footer__brand .nav__brand-mark { color: var(--blue-light); }
.footer__tag { margin: 14px 0 50px; color: var(--text-on-dark-muted); font-size: 15px; max-width: 360px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer__col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-on-dark-muted); margin-bottom: 18px; }
.footer__col a, .footer__addr {
  display: flex; align-items: center; gap: 9px;
  color: var(--text-on-dark); font-size: 14.5px; margin-bottom: 13px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--blue-light); }
.footer__col svg { flex-shrink: 0; opacity: .7; }
.footer__bottom {
  max-width: 1180px; margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: var(--text-on-dark-muted);
}

/* ============================================================
   SPLASH LOADER
   ============================================================ */
#elixir-splash {
  position: fixed; inset: 0; z-index: 99999;
  background: #080e1e;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  transition: opacity .6s ease;
}
#elixir-splash.fade-out { opacity: 0; pointer-events: none; }
.elixir-splash-label {
  color: rgba(255,255,255,.7); font-family: var(--font-body);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  margin: 0; animation: splPulse 2s ease-in-out infinite;
}
@keyframes splPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* ============================================================
   DEMO SIGNUP MODAL
   ============================================================ */
.demo-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.demo-modal.is-open { opacity: 1; visibility: visible; }
.demo-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 8, 18, .68); backdrop-filter: blur(6px);
}
.demo-modal__card {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px 30px;
  transform: translateY(18px) scale(.97); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.demo-modal.is-open .demo-modal__card { transform: translateY(0) scale(1); opacity: 1; }
.demo-modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--surface-alt); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.demo-modal__close:hover { background: var(--border); color: var(--text); }
.demo-modal__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 130%);
  color: #fff; margin-bottom: 18px;
}
.demo-modal__head h3 { font-size: 21px; margin-bottom: 8px; }
.demo-modal__head p { font-size: 14.5px; margin-bottom: 26px; }

.demo-form__field { display: block; margin-bottom: 16px; }
.demo-form__field span {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  color: var(--text-muted); margin-bottom: 7px;
}
.demo-form__field input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg);
  font-family: var(--font-body); font-size: 14.5px; color: var(--text);
  outline: none; transition: border-color .2s;
}
.demo-form__field input:focus { border-color: var(--blue-light); }
.demo-form__field input.is-invalid { border-color: #d64545; }

.demo-form__msg { font-size: 13.5px; min-height: 18px; margin-bottom: 6px; }
.demo-form__msg.is-error { color: #d64545; }
.demo-form__msg.is-success { color: #1c9d5c; }

.demo-form__submit { width: 100%; justify-content: center; margin-top: 6px; }
.demo-form__submit[disabled] { opacity: .65; cursor: not-allowed; }
.demo-form__fine { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }

.demo-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: demoSpin .7s linear infinite;
}
@keyframes demoSpin { to { transform: rotate(360deg); } }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 36px rgba(0,0,0,.34); }
.wa-float__ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #25D366; opacity: .55;
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(.85); opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.wa-float__tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-pill); white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Stagger children that reveal as a group */
.product-grid > [data-reveal]:nth-child(1) { transition-delay: 0s; }
.product-grid > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.product-grid > [data-reveal]:nth-child(3) { transition-delay: .16s; }
.product-grid > [data-reveal]:nth-child(4) { transition-delay: .24s; }
.product-grid > [data-reveal]:nth-child(5) { transition-delay: .32s; }
.product-grid > [data-reveal]:nth-child(6) { transition-delay: .4s; }
.mini-grid > [data-reveal]:nth-child(1) { transition-delay: 0s; }
.mini-grid > [data-reveal]:nth-child(2) { transition-delay: .12s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero { padding: 168px 24px 80px; text-align: left; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__showcase { order: 2; }
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .feature-row__visual { order: -1; }
  .mini-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing-card--main { padding: 32px 28px; }
  .pricing-card__features { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links-mobile { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero { padding-top: 150px; }
  .ticker__track span { font-size: 11px; }
  /* At narrow widths (320-360px phones, or any phone with display zoom
     enabled, which shrinks the effective CSS viewport) .nav__inner's
     content — brand + theme toggle + "Try Demo" CTA + burger — was wider
     than the viewport with no shrink/wrap allowed, pushing the burger
     button off-screen entirely (and since body has overflow-x:hidden,
     there was no scrollbar to reveal it either — it was just gone).
     Tightening padding/gaps here reclaims ~50px, enough headroom down to
     320px viewports. */
  .nav__inner { padding: 14px 14px; }
  .nav__right { gap: 8px; }
  .nav__cta { padding: 8px 14px; font-size: 13px; }
}
