/* ============================================================
   MedicalWay — Design System 2026
   Light-only. Editorial typography + structural layout.
   Fonturi self-hostate (fără CDN terț — coerent cu promisiunea GDPR).
   ============================================================ */

/* ---- Fonturi locale ------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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 {
  /* Brand palette — hex-ul rămâne sursa de adevăr, ca marca să nu se schimbe.
     Nuanțele derivate se calculează cu color-mix în oklab (luminozitate
     percepută constantă), în loc de zeci de rgba() scrise de mână. */
  --brand-blue: #0077C8;
  --brand-cyan: #2e9fcf;
  --brand-teal: #50bdc0;
  --brand-deep: #003a6b;
  --ink: #0f172a;

  /* Nuanțe derivate din brand */
  --brand-tint-4: color-mix(in oklab, var(--brand-cyan) 4%, transparent);
  --brand-tint-8: color-mix(in oklab, var(--brand-cyan) 8%, transparent);
  --brand-tint-14: color-mix(in oklab, var(--brand-cyan) 14%, transparent);
  --brand-tint-24: color-mix(in oklab, var(--brand-cyan) 24%, transparent);
  --brand-blue-tint-8: color-mix(in oklab, var(--brand-blue) 8%, transparent);
  --brand-blue-tint-16: color-mix(in oklab, var(--brand-blue) 16%, transparent);

  /* Surfaces */
  --bg: #f6f8fb;
  --bg-alt: #ffffff;
  --surface-sunken: color-mix(in oklab, var(--brand-cyan) 5%, #eef2f7);
  --bg-dark: #0a1224;
  --bg-glass: color-mix(in oklab, #ffffff 65%, transparent);
  --bg-glass-strong: color-mix(in oklab, #ffffff 88%, transparent);
  --bg-glass-dark: rgba(15, 27, 50, 0.55);

  /* Text */
  --text: var(--ink);
  --text-soft: #475569;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;

  /* Status */
  --success: #16a34a;
  --success-soft: #d1fae5;
  --warning: #f97316;
  --warning-soft: #fed7aa;
  --danger: #DC2626;
  --purple: #8b5cf6;
  --pink: #ec4899;

  /* Borders & shadows — hairline vizibil + umbră strânsă,
     în loc de umbre difuze (arată mai precis, mai „software"). */
  --border: color-mix(in oklab, var(--ink) 9%, transparent);
  --border-strong: color-mix(in oklab, var(--ink) 15%, transparent);
  --shadow-sm: 0 1px 2px color-mix(in oklab, var(--ink) 5%, transparent);
  --shadow-md:
    0 1px 2px color-mix(in oklab, var(--ink) 4%, transparent),
    0 8px 24px -14px color-mix(in oklab, var(--ink) 22%, transparent);
  --shadow-lg:
    0 1px 2px color-mix(in oklab, var(--ink) 4%, transparent),
    0 28px 56px -24px color-mix(in oklab, var(--ink) 30%, transparent);
  --shadow-glow: 0 0 60px color-mix(in oklab, var(--brand-cyan) 16%, transparent);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #2e9fcf 0%, #50bdc0 100%);
  --gradient-brand-dark: linear-gradient(135deg, #0077C8 0%, #2e9fcf 50%, #50bdc0 100%);
  --gradient-aurora: linear-gradient(135deg, #0077C8 0%, #2e9fcf 25%, #50bdc0 50%, #8b5cf6 100%);
  --gradient-soft: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Serif editorial doar pentru titlurile mari. Dacă nu-ți place direcția,
     e o singură linie de schimbat: pune aici var(--font-ui). */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Fallback pentru browsere fără color-mix() (pre-2023). */
@supports not (color: color-mix(in oklab, red 50%, transparent)) {
  :root {
    --brand-tint-4: rgba(46, 159, 207, 0.04);
    --brand-tint-8: rgba(46, 159, 207, 0.08);
    --brand-tint-14: rgba(46, 159, 207, 0.14);
    --brand-tint-24: rgba(46, 159, 207, 0.24);
    --brand-blue-tint-8: rgba(0, 119, 200, 0.08);
    --brand-blue-tint-16: rgba(0, 119, 200, 0.16);
    --surface-sunken: #eef2f7;
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-strong: rgba(255, 255, 255, 0.88);
    --border: rgba(15, 23, 42, 0.09);
    --border-strong: rgba(15, 23, 42, 0.15);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -14px rgba(15, 23, 42, 0.22);
    --shadow-lg: 0 1px 2px rgba(15, 23, 42, 0.04), 0 28px 56px -24px rgba(15, 23, 42, 0.3);
    --shadow-glow: 0 0 60px rgba(46, 159, 207, 0.16);
  }
}

/* ============================================================
   Reset + base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 4rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Etichetă editorială, nu pastilă colorată: mai discretă, mai precisă. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  background: none;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  flex: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 1rem 0 1rem;
  text-wrap: balance;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-soft);
  max-width: 620px;
  line-height: 1.65;
  text-wrap: pretty;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  background: color-mix(in oklab, #ffffff 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  view-transition-name: site-nav;
}

/* Se strânge la scroll — dă senzația de interfață, nu de banner static. */
.nav.scrolled {
  padding: 0.7rem 0;
  background: color-mix(in oklab, #ffffff 88%, transparent);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  /* Logotipul rămâne sans: serif-ul e rezervat titlurilor. */
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand .brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  line-height: 1;
}

.brand .brand-name .crm {
  font-size: 0.72em;
  font-weight: 600;
  padding: 0.2em 0.5em;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(11, 160, 230, 0.12), rgba(63, 192, 240, 0.12));
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  border: 1px solid rgba(11, 160, 230, 0.2);
}

.footer .brand,
.footer .brand .brand-name .crm {
  color: white;
}

.footer .brand .brand-name .crm {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Shimmer-ul infinit de pe logo a fost scos: mișcare permanentă fără scop,
   care atrăgea atenția în locul conținutului. */
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 1px 2px color-mix(in oklab, var(--brand-blue) 30%, transparent),
    0 6px 14px -8px color-mix(in oklab, var(--brand-blue) 50%, transparent);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}


.nav-links {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}

/* Specificitate mai mare decât `.btn { display: inline-flex }`, care e definit
   mai jos în fișier: altfel butonul „Cere demo" rămânea vizibil pe mobil,
   peste logo și peste butonul de meniu. */
.nav .nav-cta {
  display: none;
}

/* Fără `flex: none`, butonul de meniu se strivea (ajungea la 2px lățime) pe
   ecrane înguste, pentru că logotipul e inline-flex și nu cedează spațiu. */
.nav-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--ink) 4%, transparent);
  border: 1px solid var(--border);
}

/* Logotipul poate ceda spațiu; butonul de meniu, nu. */
.brand {
  min-width: 0;
}

@media (max-width: 400px) {
  .brand {
    font-size: 0.95rem;
    gap: 0.5rem;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand .brand-name .crm {
    font-size: 0.66em;
    padding: 0.18em 0.4em;
  }
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  padding: 2rem 1.5rem;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  padding: 1rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: rgba(46, 159, 207, 0.08);
  border-color: rgba(46, 159, 207, 0.2);
}

.mobile-menu .btn {
  margin-top: 1rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 44px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Etichetele lungi de buton depășeau lățimea ecranului pe mobil
   (`white-space: nowrap` + inline-flex). Sub 560px au voie să se rupă. */
@media (max-width: 560px) {
  .btn {
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
  }
}

/* Fără „shimmer sweep" la hover — efectul era semnătura anilor 2021-2022.
   Rămâne gradientul de brand, cu o umbră mai strânsă și un lift discret. */
.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow:
    0 1px 2px color-mix(in oklab, var(--brand-blue) 30%, transparent),
    0 6px 16px -8px color-mix(in oklab, var(--brand-blue) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow:
    0 1px 2px color-mix(in oklab, var(--brand-blue) 34%, transparent),
    0 10px 22px -10px color-mix(in oklab, var(--brand-blue) 60%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: white;
  border-color: color-mix(in oklab, var(--brand-cyan) 55%, transparent);
  color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.05);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  min-height: 52px;
}

/* ============================================================
   HERO
   ============================================================ */
/* Hero: structură în loc de blob-uri blurate animate.
   Blob-urile costau trei straturi mari compozitate, repictate continuu pe
   mobil — și erau elementul cel mai „template" din pagină. */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%,
      color-mix(in oklab, var(--brand-cyan) 20%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, #eef6fb 0%, #f7fafc 46%, #ffffff 100%);
  z-index: -2;
}

/* Grilă fină — dă senzația de instrument de lucru, nu de poster. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}

/* Rămâne ca plasă de siguranță dacă vreun marcaj vechi mai are blob-uri. */
.hero-blob { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 400;
  /* Serif la 400: se poate strânge mai mult decât un sans bold, dar lăsăm
     loc accentelor românești (Î, Â, Ă) să nu fie retezate. */
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 26ch;
  text-wrap: balance;
}

/* Accent pe culoare, nu pe gradient clipuit: gradient-text pe diacritice
   cerea hack-uri de padding și tot rămânea fragil. */
.hero h1 .grad {
  color: var(--brand-blue);
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 640px;
  /* Ancoră pentru mingea care sare peste enumerare (vezi script.js). */
  position: relative;
}

/* ---- Mingea care sare din cuvânt în cuvânt -------------------
   Cuvintele-țintă rămân text normal: dacă animația nu rulează
   (reduced-motion, JS oprit), nu se pierde nimic.               */
.hop {
  position: relative;
  transition: color 0.35s ease;
}

/* Doar culoare, fără schimbare de grosime: `font-weight` ar re-așeza rândul
   sub minge, iar cuvintele următoare s-ar deplasa în timpul saltului.
   Aprinderea ține mai mult decât saltul, așa că în urma mingii rămâne o
   dâră scurtă de câteva cuvinte. */
.hop.is-hit {
  color: var(--brand-blue);
}

/* Trei niveluri de transform: X, Y și turtirea la aterizare —
   fiecare are nevoie de propriul `transform`. */
.hop-ball {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.hop-ball.is-live {
  opacity: 1;
}

.hop-ball-y {
  display: block;
  will-change: transform;
}

.hop-ball i {
  display: block;
  width: 11px;
  height: 11px;
  /* Centrată pe cuvânt, așezată exact deasupra lui. */
  margin: -13px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--gradient-brand-dark);
  box-shadow:
    0 2px 5px color-mix(in oklab, var(--brand-blue) 45%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform-origin: 50% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hop-ball { display: none; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 380px;
  margin-top: 0.5rem;
}

@media (min-width: 500px) {
  .hero-actions {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* Hero preview mockup */
.hero-preview {
  position: relative;
  margin-top: 3.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(46, 159, 207, 0.15);
  overflow: hidden;
  backdrop-filter: blur(10px);
  z-index: 1;
}

.hero-preview-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--border);
}

.hero-preview-bar .dots {
  display: flex;
  gap: 0.35rem;
}

.hero-preview-bar .dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.15);
}

.hero-preview-bar .url {
  flex: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

.hero-preview-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-height: 320px;
}

@media (min-width: 768px) {
  .hero-preview-body {
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
}

.hero-preview-sidebar {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-cyan));
  border-radius: var(--radius-sm);
  color: white;
}

@media (min-width: 768px) {
  .hero-preview-sidebar { display: flex; }
}

.hero-preview-sidebar .menu-item {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
}

.hero-preview-sidebar .menu-item.active {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.hero-preview-sidebar .menu-item svg {
  width: 16px;
  height: 16px;
}

.hero-preview-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.preview-stat {
  padding: 0.85rem;
  background: rgba(46, 159, 207, 0.06);
  border: 1px solid rgba(46, 159, 207, 0.15);
  border-radius: 12px;
}

.preview-stat .v {
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
}

.preview-stat .l {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.preview-chart {
  padding: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.preview-chart-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.preview-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: calc(100% - 30px);
}

.preview-bars .bar {
  flex: 1;
  background: var(--gradient-brand);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  animation: bar-grow 1.2s ease-out backwards;
}

@keyframes bar-grow {
  from { height: 0 !important; opacity: 0; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  padding: 2.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust-stat .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ============================================================
   USP cards (3 main pillars)
   ============================================================ */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .usp-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.usp-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 159, 207, 0.3);
}

.usp-card:hover::before {
  transform: scaleX(1);
}

.usp-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(46, 159, 207, 0.12), rgba(80, 189, 192, 0.12));
  border: 1px solid rgba(46, 159, 207, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--brand-blue);
}

.usp-icon svg {
  width: 26px;
  height: 26px;
}

.usp-card h3 {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.usp-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Modules — Bento grid
   ============================================================ */
.modules {
  background: var(--bg);
  position: relative;
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }

  /* Spotlight tiles span larger */
  .bento .tile.tile-lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento .tile.tile-wide {
    grid-column: span 2;
  }
}

.tile {
  position: relative;
  padding: 1.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: default;
  /* Permite card-urilor să reacționeze la lățimea LOR, nu la cea a ecranului. */
  container-type: inline-size;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in oklab, var(--brand-cyan) 40%, transparent);
}

.tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-tint-14);
  color: var(--brand-blue);
  border: 1px solid var(--brand-tint-14);
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.tile h4 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tile p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Spotlight tile (calendar) */
.tile-lg {
  background: linear-gradient(135deg, #003a6b 0%, #0077C8 100%);
  color: white;
  border: none;
  min-height: 280px;
}

.tile-lg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(80, 189, 192, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.tile-lg .tile-icon {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.tile-lg p {
  color: rgba(255, 255, 255, 0.85);
}

.tile-lg .tile-preview {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding-top: 1rem;
}

.tile-lg .tile-preview span {
  height: 30px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.tile-lg .tile-preview span.has {
  background: rgba(80, 189, 192, 0.7);
}

.tile-lg .tile-preview span.has-2 {
  background: rgba(255, 255, 255, 0.4);
}

/* Wide tile (GDPR) */
.tile-wide {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), rgba(80, 189, 192, 0.05));
  border-color: rgba(22, 163, 74, 0.2);
}

.tile-wide .tile-icon {
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
}

.tile-feature-list {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
  padding-top: 0.5rem;
}

/* Două coloane doar dacă tile-ul chiar are lățime — container query,
   nu media query: card-ul nu mai ghicește după ecran. */
@container (min-width: 380px) {
  .tile-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tile-feature-list li {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tile-feature-list svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================================
   Personas
   ============================================================ */
.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .personas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .personas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.persona {
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.persona:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.persona-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(46, 159, 207, 0.3);
}

.persona h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.persona .role {
  font-size: 0.8rem;
  color: var(--brand-blue);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.persona p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.persona ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.persona ul li {
  font-size: 0.82rem;
  color: var(--text-soft);
  padding-left: 1rem;
  position: relative;
}

.persona ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
}

/* ============================================================
   GDPR / Security spotlight
   ============================================================ */
.spotlight {
  background: linear-gradient(135deg, #0a1224 0%, #0f1e3a 50%, #003a6b 100%);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(46, 159, 207, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(80, 189, 192, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.spotlight .container {
  position: relative;
  z-index: 1;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.spotlight .eyebrow {
  color: var(--brand-teal);
}

.spotlight h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 1rem 0;
}

.spotlight p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.65;
}

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 500px) {
  .spotlight-features { grid-template-columns: repeat(2, 1fr); }
}

.spotlight-feature {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.spotlight-feature .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(80, 189, 192, 0.15);
  color: var(--brand-teal);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.spotlight-feature .ic svg {
  width: 18px;
  height: 18px;
}

.spotlight-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.3rem;
}

.spotlight-feature p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ============================================================
   Reports section
   ============================================================ */
.reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reports-grid { grid-template-columns: repeat(3, 1fr); }
}

.report-item {
  padding: 1.1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.25s;
}

.report-item:hover {
  background: rgba(46, 159, 207, 0.04);
  border-color: rgba(46, 159, 207, 0.3);
  transform: translateX(4px);
}

.report-item .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(46, 159, 207, 0.1);
  color: var(--brand-blue);
  flex-shrink: 0;
}

.report-item .ic svg {
  width: 18px;
  height: 18px;
}

.report-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--brand-blue);
}

.faq-question .arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(46, 159, 207, 0.08);
  display: grid;
  place-items: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.faq-question .arrow svg {
  width: 16px;
  height: 16px;
  color: var(--brand-blue);
  transition: transform 0.3s;
}

.faq-item.open .faq-question .arrow {
  background: var(--brand-blue);
}

.faq-item.open .faq-question .arrow svg {
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-card {
  position: relative;
  padding: 3rem 1.5rem;
  background: var(--gradient-brand-dark);
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4.5rem 3rem;
  }
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(80, 189, 192, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.4) 0%, transparent 50%);
  z-index: -1;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-card p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.cta-card .btn-primary {
  background: white;
  color: var(--brand-blue);
}

.cta-card .btn-primary:hover {
  background: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Butonul secundar era aproape ilizibil pe gradient (alb translucid 10%
   peste albastru deschis). Conturul plin dă contrastul necesar. */
.cta-card .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.cta-card .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: white;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto;
}

@media (min-width: 500px) {
  .cta-actions {
    flex-direction: row;
    max-width: none;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0a1224;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand .brand {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: var(--brand-teal);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* ============================================================
   Functionalities page
   ============================================================ */
.page-header {
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 70% at 50% -10%,
      color-mix(in oklab, var(--brand-cyan) 16%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, #eef6fb 0%, #ffffff 100%);
  z-index: -1;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 78%);
  z-index: -1;
  pointer-events: none;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 1.1rem 0;
  text-wrap: balance;
}

.page-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.module-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.module-detail:last-child {
  border-bottom: none;
}

.module-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .module-row {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }

  .module-detail:nth-child(even) .module-row {
    grid-template-columns: 1.2fr 1fr;
  }

  .module-detail:nth-child(even) .module-row .module-visual {
    order: -1;
  }
}

.module-meta .eyebrow {
  margin-bottom: 1rem;
}

.module-meta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.module-meta p.lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.module-meta ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* `display: flex` pe <li> transforma fiecare <strong> și fiecare bucată de
   text dintre ele în câte un flex item separat — bullet-urile cu text
   îngroșat se rupeau în coloane. Textul rămâne flux inline normal, iar
   iconița se poziționează absolut. */
.module-meta ul li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}

.module-meta ul li svg {
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

/* Slot de vizual: acum conține mockup-uri desenate, dar e deja dimensionat
   ca să primească screenshot-uri reale fără să se rearanjeze layout-ul. */
.module-visual {
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

/* Când vine captura reală: <div class="module-visual is-shot"><img …></div> */
.module-visual.is-shot {
  padding: 0;
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.module-visual.is-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* ============================================================
   Pricing page
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.pricing-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .pricing-card {
    padding: 2.5rem 2rem;
  }
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 159, 207, 0.25);
}

.pricing-card.popular {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--gradient-brand-dark) border-box;
  box-shadow: var(--shadow-md), 0 0 60px rgba(46, 159, 207, 0.18);
}

.pricing-card.popular:hover {
  box-shadow: var(--shadow-lg), 0 0 80px rgba(46, 159, 207, 0.25);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.95rem;
  border-radius: 100px;
  box-shadow: 0 6px 16px rgba(46, 159, 207, 0.4);
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 0.65rem;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.pricing-tag {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: 0.65rem;
  min-height: 3.1em;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  /* Serif-ul are letter-spacing negativ, deci „250" și „lei" se lipeau. */
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pricing-price .amount {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}

.pricing-price .currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-vat {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
  align-items: flex-start;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li.highlight {
  font-weight: 600;
}

.pricing-features li.highlight svg {
  color: var(--brand-blue);
}

.pricing-features-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-notes {
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 1.5rem;
  background: rgba(46, 159, 207, 0.05);
  border: 1px solid rgba(46, 159, 207, 0.15);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .pricing-notes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.pricing-note svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
  }
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 1rem 0;
}

.contact-info p {
  color: var(--text-soft);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.channel:hover {
  border-color: rgba(46, 159, 207, 0.3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.channel .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(46, 159, 207, 0.1);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.channel .ic svg {
  width: 20px;
  height: 20px;
}

.channel small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.channel strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-top: 0.15rem;
}

.contact-form {
  padding: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  transition: all 0.2s;
  min-height: 48px;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(46, 159, 207, 0.12);
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  cursor: pointer;
}

.field-check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-blue);
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 12px;
  color: var(--success);
  font-size: 0.92rem;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

/* ============================================================
   Reveal animations on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================================
   Utility
   ============================================================ */
.text-gradient {
  color: var(--brand-blue);
}

.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }
.center { text-align: center; }

/* ============================================================
   Accesibilitate: focus vizibil
   Înainte exista doar `outline: none` pe input-uri, fără înlocuitor —
   navigarea de la tastatură era practic invizibilă.
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible,
.nav-links a:focus-visible,
.mobile-menu a:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: -2px;
}

/* Pe fundal întunecat (footer, tile-ul mare), conturul trebuie să contrasteze. */
.footer :focus-visible,
.tile-lg :focus-visible,
.cta-card :focus-visible {
  outline-color: #ffffff;
}

/* ============================================================
   Tranziții între pagini (View Transitions API)
   Navigarea index → module → prețuri devine un fade continuu în loc de
   flash alb. Browserele fără suport ignoră blocul, fără efecte secundare.
   ============================================================ */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-out 0.18s ease both;
}

::view-transition-new(root) {
  animation: vt-in 0.28s ease both;
}

@keyframes vt-out {
  to { opacity: 0; }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   Animații legate de scroll, native CSS
   Când browserul suportă animation-timeline, revelarea nu mai depinde de
   JavaScript și urmărește poziția reală în scroll, nu un prag binar.
   IntersectionObserver-ul din script.js rămâne ca fallback.
   ============================================================ */
@supports (animation-timeline: view()) {
  .reveal,
  .reveal.in {
    opacity: 0;
    transform: translateY(22px);
    transition: none;
    animation: reveal-scroll linear both;
    animation-timeline: view();
    animation-range: entry 4% cover 26%;
  }

  @keyframes reveal-scroll {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Preferința de mișcare redusă bate tot, inclusiv scroll-driven. */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }
}

/* ============================================================
   Slot pentru capturi de ecran reale
   Rezervă spațiul din start (aspect-ratio), ca înlocuirea mockup-urilor
   cu imagini să nu miște layout-ul și să nu producă CLS.
   ============================================================ */
.shot {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-sunken);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  background: color-mix(in oklab, #ffffff 86%, transparent);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
