/* ===========================================================================
   Voimmo — site styles. Dark, visual, clean & accessible.
   Brand identity: violet → magenta → cyan energy (the orb).
   =========================================================================== */

:root {
  /* VammvA — "reading / focus" identity: blue → teal, with amber emphasis (distinct from Voimmo's
     violet/magenta). Variable names kept from the shared base; values recoloured. */
  --bg: #0a0e16;
  --bg-soft: #10151f;
  --surface: #141b27;
  --surface-2: #1a2433;
  --text: #E8EDF5;
  --text-dim: #9AA7BD;
  --text-faint: #66748A;
  --violet: #4F86FF;          /* primary accent (blue) */
  --violet-bright: #79A8FF;
  --magenta: #22C7C7;         /* teal */
  --cyan: #2DD4BF;            /* teal-green */
  --amber: #F6B23A;           /* bionic emphasis */
  --accent: var(--violet);
  --accent-soft: rgba(79, 134, 255, 0.14);
  --border: #233044;
  --border-soft: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1080px;
  --grad: linear-gradient(120deg, #4F86FF 0%, #22C7C7 58%, #2DD4BF 100%);
  --grad-warm: linear-gradient(120deg, #F6B23A 0%, #4F86FF 100%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

/* ---------- i18n: show only the active language (12 langs) ---------- */
[data-l] { display: none; }
html[data-lang="en"] [data-l="en"],
html[data-lang="es"] [data-l="es"],
html[data-lang="de"] [data-l="de"],
html[data-lang="fr"] [data-l="fr"],
html[data-lang="it"] [data-l="it"],
html[data-lang="nl"] [data-l="nl"],
html[data-lang="pt"] [data-l="pt"],
html[data-lang="el"] [data-l="el"],
html[data-lang="ja"] [data-l="ja"],
html[data-lang="ko"] [data-l="ko"],
html[data-lang="pl"] [data-l="pl"],
html[data-lang="tr"] [data-l="tr"] { display: revert; }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Ambient energy glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(79, 134, 255, 0.16), transparent 60%),
    radial-gradient(55% 45% at 88% 14%, rgba(34, 199, 199, 0.13), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(45, 212, 191, 0.12), transparent 60%);
  pointer-events: none;
}

/* ---------- hero app icon ---------- */
.hero-icon {
  width: clamp(96px, 16vw, 130px);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 12px 34px rgba(79, 134, 255, .5)) drop-shadow(0 0 50px rgba(216, 75, 208, .35));
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- bionic reading demo (VammvA's signature visual) ---------- */
.bionic {
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  line-height: 1.85;
  font-weight: 400;
  color: var(--text-dim);
  max-width: 24ch;
  margin: 0 auto 30px;
  text-align: left;
}
.bionic b {
  font-weight: 800;
  color: var(--text);
}
.bionic .hi { color: var(--amber); font-weight: 800; }
.bionic-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  display: inline-block;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.bionic-card::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 60%;
  background: radial-gradient(50% 80% at 50% 0, rgba(79, 134, 255, .18), transparent 70%);
  pointer-events: none;
}

a { color: var(--violet-bright); text-decoration: none; transition: color .18s ease; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 14px;
}
.lead { color: var(--text-dim); font-size: 1.08rem; max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 10, 18, 0.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--text); font-size: 1.05rem; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(139, 92, 246, .55)); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-dim); font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 16px; border-radius: 999px; font-weight: 650; font-size: .9rem;
  background: var(--accent-soft); color: var(--violet-bright);
  border: 1px solid rgba(139, 92, 246, .35);
}
.nav-cta:hover { background: rgba(139, 92, 246, .22); color: #fff; }

/* language selector */
.lang-select {
  font-family: var(--font); font-size: .9rem; color: var(--text-dim);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 30px 7px 12px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23A39FBE' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
  transition: border-color .18s ease, color .18s ease;
}
.lang-select:hover { color: var(--text); border-color: var(--violet); }
.lang-select:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 34px -12px rgba(139, 92, 246, .7); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 44px -12px rgba(139, 92, 246, .85); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--violet); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

.badge {
  display: inline-block; padding: 7px 15px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--accent-soft); color: var(--violet-bright); border: 1px solid rgba(79, 134, 255, .3);
}

/* ---------- hero ---------- */
.hero { padding: 96px 0 64px; text-align: center; position: relative; }
.hero .orb {
  width: clamp(180px, 34vw, 300px); height: auto; margin: 0 auto 30px;
  filter: drop-shadow(0 0 60px rgba(139, 92, 246, .55)) drop-shadow(0 0 120px rgba(226, 92, 200, .25));
  animation: orbFloat 7s ease-in-out infinite, orbSpin 60s linear infinite;
}
@keyframes orbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .tagline { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text-dim); max-width: 62ch; margin: 18px auto 30px; }

/* ---------- feature grid / cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  position: relative; overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .5); }
.card:hover::after { opacity: 1; }
.card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); margin-bottom: 16px; font-size: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: .96rem; margin: 0; }

/* ---------- steps (everyday use) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step .n {
  counter-increment: step; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--grad); margin-bottom: 14px;
}
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: .95rem; margin: 0; }

/* ---------- highlight band ---------- */
.band {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 44px; text-align: center; position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 70%;
  background: radial-gradient(50% 80% at 50% 0, rgba(139, 92, 246, .25), transparent 70%);
  pointer-events: none;
}

/* ---------- target audience pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.center .pills { justify-content: center; }
.pill {
  padding: 9px 16px; border-radius: 999px; font-size: .92rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
}

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.price-card .feature-list { flex: 1 1 auto; }
.price-card.featured { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 26px 60px -30px rgba(79, 134, 255, .6); transform: scale(1.05); position: relative; z-index: 1; }
.price { font-size: 2.2rem; font-weight: 800; margin: 8px 0 2px; }
.price small { display: block; font-size: .85rem; color: var(--text-dim); font-weight: 500; }
.same-note { margin: 10px 0 0; font-size: .82rem; color: var(--text-faint); }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li { padding: 8px 0 8px 28px; position: relative; color: var(--text-dim); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--violet-bright); font-weight: 800; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; }
.legal .updated { color: var(--text-faint); font-size: .9rem; margin-bottom: 28px; }
.legal h2 { margin-top: 40px; }
.legal h3 { margin-top: 26px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); }
.legal ul { padding-left: 22px; }
.legal a { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 44px 0 56px; margin-top: 40px; color: var(--text-dim); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.footer-brand img { height: 22px; width: auto; opacity: .85; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--text-dim); font-size: .9rem; }
.footer-links a:hover { color: var(--text); }
.footer-legal { margin-top: 18px; font-size: .85rem; color: var(--text-faint); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- focus & a11y ---------- */
:focus-visible { outline: 2px solid var(--violet-bright); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--violet); color: #fff;
  padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 620px) {
  section { padding: 56px 0; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-links .hide-sm { display: none; }
  .band { padding: 30px 22px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .orb { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
