/* ===========================================================
   AGENDA POHODLNĚ — úvodní stránka
   Vizuální systém: account.apple.com (světlé, vzdušné, zaoblené)
   × barvy Portálu žáka (zlatá hlavička, modré akce, zelený úspěch)
   =========================================================== */

:root {
  /* Brand & akcenty (z Portálu žáka) */
  --gold: #F5B40C;              /* brandová zlatá/oranžová — hlavička */
  --gold-strong: #B97E00;       /* tmavší zlatá pro text na světlém */
  --gold-soft: #FDF3DA;
  --blue: #0A74F0;              /* primární akce (modré tlačítko) */
  --blue-strong: #0A5FCC;
  --blue-soft: #EAF2FE;
  --green: #2FA84F;             /* úspěch / pokrok / „Potvrzeno" */
  --green-strong: #1F8A40;
  --green-soft: #E6F5EB;

  /* Apple neutrály */
  --ink: #1D1D1F;
  --ink-2: #333336;
  --muted: #6E6E73;
  --faint: #86868B;

  --bg: #F5F5F7;               /* světle šedý canvas (Apple) */
  --surface: #FFFFFF;
  --surface-2: #FAFAFC;
  --border: #D2D2D7;
  --border-strong: #C7C7CC;

  /* Zpětná kompatibilita s inline styly v JSX */
  --primary: var(--blue);
  --primary-strong: var(--blue);
  --red: var(--gold);
  --on-red: #1D1D1F;
  --error: #D70015;            /* validační červená (nezávislá na brandu) */

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-pill: 980px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.10), 0 8px 20px rgba(0,0,0,0.06);

  --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', Helvetica, system-ui, Arial, sans-serif;
  --font-mono: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
/* scroll-padding-top = výška sticky lišty (72px) + mezera, aby kotvy (#top, #funkce…)
   neskončily schované pod hlavičkou — klik na logo tak ukáže i pill „Nové" nahoře */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.app { min-height: 100vh; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 0;
  color: var(--gold-strong);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); display: inline-block; }
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); margin: 14px 0 0; letter-spacing: -0.022em; }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 60ch; }

section.band { padding: 100px 0; position: relative; }
section.band.tight { padding: 76px 0; }

.perf { display: none; }

/* ---------- Buttons (Apple pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-strong); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f2; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn .dot { display: none; }

/* ---------- NAV (zlatá hlavička jako Portál žáka) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--gold);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.12); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-mark { border: 1px solid currentColor; color: var(--ink); display: grid; place-items: center; border-radius: var(--radius-sm); background: transparent; flex-shrink: 0; }
.brand-mark svg { width: 56%; height: 56%; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: #3a2f08;
  padding: 8px 14px; border-radius: var(--radius-pill); transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(0,0,0,0.08); color: #000; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .btn-ghost { color: #2a2208; border-color: rgba(0,0,0,0.28); }
.nav-cta .btn-ghost:hover { background: rgba(0,0,0,0.10); border-color: rgba(0,0,0,0.5); }
.nav-cta .btn-primary { background: var(--ink); color: #fff; }
.nav-cta .btn-primary:hover { background: #000; }

/* ---------- HERO ---------- */
/* Hero je <header>, ne <section>, takže `section.band` padding na něj nepadá —
   vlastní odsazení, aby pill „Nové" nelepil na žlutou lištu a hero dýchal. */
.hero { position: relative; overflow: hidden; padding: 50px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 580px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -0.03em; line-height: 1.02; }
.hero-lead { margin-top: 22px; font-size: 20px; color: var(--muted); max-width: 32em; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 6px 14px 6px 6px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.hero-pill .tag { background: var(--gold); color: var(--ink); font-weight: 600; font-size: 12px; padding: 3px 10px; border-radius: var(--radius-pill); letter-spacing: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trial { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.hero-trial .ht-badge { background: var(--green-soft); color: var(--green-strong); font-weight: 700; font-size: 13px; padding: 4px 11px; border-radius: var(--radius-pill); letter-spacing: -0.01em; }
/* Trust-staty drží na JEDNOM řádku (subtitle se zalomí uvnitr buňky), aby
   třetí stat „od 399 Kč" nepadal pod ostatní s visícím oddělovačem. */
.hero-trust { display: flex; align-items: stretch; gap: 22px; margin-top: 40px; }
.hero-trust .stat { display: flex; flex-direction: column; gap: 3px; flex: 1 1 0; min-width: 0; }
.hero-trust .stat b { font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.hero-trust .stat span { font-size: 13px; line-height: 1.3; color: var(--muted); }
.hero-trust .divider { width: 1px; background: var(--border); flex-shrink: 0; }
.hero-deco { display: none; }
.hero .wrap { position: relative; z-index: 1; }

/* hero — světlá (default, Apple canvas) */
.hero.v-light { background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); }

/* hero — zlatá (brandová) */
.hero.v-gold { background: linear-gradient(180deg, #FBD968 0%, var(--gold) 100%); }
.hero.v-gold .hero-lead { color: #4a3b0c; }
.hero.v-gold .hero-pill { background: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.8); color: var(--ink); }
.hero.v-gold .hero-pill .tag { background: var(--ink); color: #fff; }
.hero.v-gold .hero-trust .stat span { color: #4a3b0c; }
.hero.v-gold .hero-trust .divider { background: rgba(0,0,0,0.18); }
.hero.v-gold .btn-ghost { color: var(--ink); border-color: rgba(0,0,0,0.3); }
.hero.v-gold .btn-ghost:hover { background: rgba(0,0,0,0.08); border-color: var(--ink); }
.hero.v-gold .btn-primary { background: var(--ink); }
.hero.v-gold .btn-primary:hover { background: #000; }

/* hero — centrovaná */
.hero.v-center { background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); }
.hero.v-center .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
.hero.v-center .hero-copy { max-width: 820px; margin: 0 auto; }
.hero.v-center .hero-lead { margin-left: auto; margin-right: auto; }
.hero.v-center .hero-actions, .hero.v-center .hero-trust { justify-content: center; }

/* compat: pokud zůstane v-dark */
.hero.v-dark { background: var(--ink); color: #fff; }
.hero.v-dark .hero-lead { color: #B4B4B4; }

/* ---------- LOGIN CARD ---------- */
.login-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 32px; width: 100%; max-width: 430px; margin-left: auto;
}
.login-card h3 { font-size: 24px; letter-spacing: -0.02em; }
.login-card .sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.login-tabs { display: flex; gap: 4px; background: var(--bg); border-radius: var(--radius-pill); padding: 4px; margin: 22px 0 6px; }
.login-tabs button {
  flex: 1; border: none; background: transparent; color: var(--muted);
  font-size: 15px; font-weight: 500; padding: 10px; border-radius: var(--radius-pill); transition: all .15s;
}
.login-tabs button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.field { margin-top: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.input-wrap { position: relative; display: block; }
/* ikona je SVG bez třídy (z {define ico}) → cílíme přímo na svg, ať sedí UVNITŘ
   pole vlevo; input má padding-left místo ní, takže placeholder začíná hned za ikonou */
.input-wrap svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); pointer-events: none; }
.field input {
  width: 100%; font-family: inherit; font-size: 16px;
  padding: 13px 14px 13px 44px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field input.err { border-color: var(--error); box-shadow: 0 0 0 4px rgba(215,0,21,0.10); }
.field .pw-toggle { position: absolute; right: 8px; background: none; border: none; color: var(--faint); padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.field .pw-toggle:hover { color: var(--ink-2); background: var(--bg); }
.field-msg { font-size: 13px; color: var(--error); margin-top: 7px; display: flex; align-items: center; gap: 6px; }
.login-row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 14.5px; }
.checkbox { display: flex; align-items: center; gap: 8px; color: var(--ink-2); cursor: pointer; user-select: none; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--blue); }
.login-row a { color: var(--blue); font-weight: 500; }
.login-row a:hover { text-decoration: underline; }
.login-card .submit { margin-top: 22px; }
.login-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; font-size: 14.5px; color: var(--muted); }
.login-foot a { color: var(--blue); font-weight: 500; }
.login-foot a:hover { text-decoration: underline; }
.login-ok { margin-top: 16px; background: var(--green-soft); color: var(--green-strong); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }

/* ---------- PRODUCT SHOT ---------- */
.shot { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg); }
.shot .bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); display: inline-block; }
.shot .bar .addr { margin-left: 10px; font-size: 12.5px; color: var(--faint); }
.placeholder {
  background-color: var(--surface-2);
  background-image: radial-gradient(var(--border) 1px, transparent 1.5px);
  background-size: 22px 22px;
  display: grid; place-items: center; color: var(--muted);
  font-size: 13px; text-align: center; padding: 24px;
}
.placeholder span { background: var(--surface); border: 1px solid var(--border); padding: 8px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }

/* ---------- LOGO STRIP ---------- */
.logos { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.logos-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.logos .label { font-size: 13px; color: var(--faint); font-weight: 500; white-space: nowrap; }
.logos .row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.logos .logo-item { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-weight: 600; font-size: 15px; }

/* ---------- MIGRACE BAND (výrazná info o bezplatném převodu DB) ---------- */
.migrace-band { background: linear-gradient(135deg, #0A74F0, #0A5FCC); color: #fff; }
.migrace-inner { display: flex; align-items: center; gap: 20px; padding: 22px 32px; flex-wrap: wrap; }
.migrace-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,0.16); display: grid; place-items: center; }
.migrace-text { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 3px; }
.migrace-text b { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.migrace-text span { font-size: 15px; color: rgba(255,255,255,0.92); }
.migrace-text strong { color: #fff; }
.migrace-text .migrace-note { font-size: 12.5px; color: rgba(255,255,255,0.72); margin-top: 4px; line-height: 1.45; }
.migrace-cta { flex: 0 0 auto; background: #fff; color: var(--blue); font-weight: 600; }
.migrace-cta:hover { background: #f0f0f2; color: var(--blue-strong); }
@media (max-width: 680px) { .migrace-inner { padding: 20px 22px; } .migrace-cta { width: 100%; } }
.logos .logo-item svg { width: 8px; height: 8px; color: var(--gold); }

/* ---------- FEATURES ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-strong); margin-bottom: 20px; }
.feat-ic svg { width: 26px; height: 26px; }
.feat-card:nth-child(3n+2) .feat-ic { background: var(--blue-soft); color: var(--blue); }
.feat-card:nth-child(3n+3) .feat-ic { background: var(--green-soft); color: var(--green-strong); }
.feat-card h3 { font-size: 20px; letter-spacing: -0.015em; }
.feat-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- TILES (barevné panely: zlatá / modrá / zelená) ---------- */
.tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  border-radius: var(--radius-lg); padding: 38px 34px; color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  min-height: 230px; justify-content: center; box-shadow: var(--shadow-md);
}
.tile p { font-size: 17px; line-height: 1.5; max-width: 32ch; }
.tile-label { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.02em; margin-bottom: 14px; }
.tile-ic { margin-bottom: 16px; opacity: 0.96; }
.tile-teal { background: linear-gradient(160deg, #14B8A6, #0E9384); }
.tile-blue { background: linear-gradient(160deg, #3B91F5, var(--blue)); }
.tile-gold { background: linear-gradient(160deg, #F8C53D, var(--gold)); color: var(--ink); }

/* ---------- PORTÁL ŽÁKA ---------- */
.portal-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.portal-copy h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 18px; letter-spacing: -0.022em; }
.portal-lead { color: var(--ink-2); font-size: 18px; margin-bottom: 26px; }
.portal-lead b { font-weight: 600; }
.portal-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.portal-feat { display: flex; gap: 13px; }
.portal-feat-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-strong); }
.portal-feat:nth-child(3n+2) .portal-feat-ic { background: var(--blue-soft); color: var(--blue); }
.portal-feat:nth-child(3n+3) .portal-feat-ic { background: var(--green-soft); color: var(--green-strong); }
.portal-feat b { font-size: 15.5px; letter-spacing: -0.01em; }
.portal-feat p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.portal-link { margin-top: 30px; }

/* mock portálu */
.portal-mock { max-width: 440px; }
.portal-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--gold); border-bottom: 1px solid rgba(0,0,0,0.08); }
.portal-bar .portal-brand { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.portal-bar .portal-ava { width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.14); color: var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.portal-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.portal-progress { display: flex; align-items: center; gap: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.portal-progress .ring { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.portal-progress .ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.portal-progress .ring-bg { fill: none; stroke: var(--border); stroke-width: 3; }
.portal-progress .ring-fg { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.portal-progress .ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.portal-progress b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.portal-progress > div > span { font-size: 13.5px; color: var(--muted); }
.portal-list { display: flex; flex-direction: column; gap: 10px; }
.portal-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.portal-row .portal-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.portal-txt { flex: 1; min-width: 0; }
.portal-txt b { display: block; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-txt span { font-size: 12.5px; color: var(--muted); }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); }
.chip-ok { background: var(--green-soft); color: var(--green-strong); }
.chip-free { background: var(--blue); color: #fff; }
.portal-cta { margin-top: 2px; }

@media (max-width: 1000px) {
  .portal-grid { grid-template-columns: 1fr; gap: 48px; }
  .portal-media { order: 2; }
  .portal-mock { margin: 0 auto; }
}
@media (max-width: 680px) {
  .portal-feats { grid-template-columns: 1fr; }
}

/* ---------- STORY ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-media { position: relative; }
.story-badge { position: absolute; left: -16px; bottom: -22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 13px 17px; display: flex; align-items: center; gap: 13px; }
.story-badge b { display: block; font-size: 15px; }
.story-badge span { font-size: 12.5px; color: var(--muted); }
.story-copy h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 18px; letter-spacing: -0.022em; }
.story-copy p { color: var(--ink-2); font-size: 17px; margin-bottom: 14px; }
.story-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.story-copy .btn-dark { background: var(--blue); }
.story-copy .btn-dark:hover { background: var(--blue-strong); }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.step { position: relative; padding-top: 16px; }
.step .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.step h3 { font-size: 18px; letter-spacing: -0.015em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step::before { content: ""; position: absolute; top: 40px; left: 60px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 5px, transparent 5px 11px); }
.step:last-child::before { display: none; }

/* ---------- PRICING ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; }
.switch { position: relative; width: 52px; height: 30px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--bg); transition: background .18s, border-color .18s; }
.switch.on { background: var(--green); border-color: var(--green); }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.switch.on .knob { transform: translateX(22px); }
.price-toggle .opt { font-weight: 500; font-size: 15px; color: var(--muted); }
.price-toggle .opt.active { color: var(--ink); }
.save-badge { background: var(--green-soft); color: var(--green-strong); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; max-width: 900px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s; }
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.price-card .ribbon { position: absolute; top: -13px; left: 36px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.price-card .plan { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; }
.price-card .plan-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; min-height: 42px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; flex-wrap: wrap; }
.price-amount .num { font-family: var(--font-display); font-weight: 700; font-size: 52px; letter-spacing: -0.03em; line-height: 1; }
.price-amount .cur { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.price-amount .per { color: var(--muted); font-size: 15px; }
.price-note { font-size: 13.5px; color: var(--faint); }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.price-card li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-2); }
.price-card li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 1px; }
.price-card li.muted { color: var(--faint); }
.price-card li.muted svg { color: var(--faint); }
.price-card .price-cta { margin-top: 28px; }
.price-foot { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.price-foot a { color: var(--blue); font-weight: 500; } .price-foot a:hover { text-decoration: underline; }

/* ---------- TESTIMONIALS ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quote .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.quote .stars svg { width: 17px; height: 17px; }
.quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); flex: 1; }
.quote .by { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.quote .by b { display: block; font-size: 14.5px; }
.quote .by span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: none; padding: 20px 22px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.faq-q .chev { flex-shrink: 0; width: 22px; height: 22px; color: var(--muted); transition: transform .2s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- CONTACT ---------- */
.contact-card { background: var(--ink); border-radius: var(--radius-lg); color: #fff; padding: 60px; display: grid; grid-template-columns: 1fr 0.9fr; gap: 52px; align-items: center; position: relative; overflow: hidden; }
.contact-card h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.022em; }
.contact-card .lead { color: #B4B4B8; margin-top: 14px; font-size: 18px; }
.contact-card .eyebrow { color: var(--gold); }
.contact-card .eyebrow::before { background: var(--gold); }
.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.contact-methods a { display: flex; align-items: center; gap: 14px; color: #fff; }
.contact-methods .mic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.1); display: grid; place-items: center; }
.contact-methods .mic svg { width: 20px; height: 20px; }
.contact-methods a:hover .mic { background: var(--blue); }
.contact-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px; }
.contact-form .field input, .contact-form .field textarea { width: 100%; font-family: inherit; font-size: 15px; padding: 13px 15px; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); color: #fff; }
.contact-form .field textarea { resize: vertical; min-height: 84px; }
.contact-form .field input::placeholder, .contact-form .field textarea::placeholder { color: #8E8E93; }
.contact-form .field input:focus, .contact-form .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,116,240,0.25); }
.contact-form .field label { color: #D6D6DA; }
.contact-deco { display: none; }

/* ---------- FOOTER (světlý, Apple) ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 40px; margin-top: 0; }
.footer .brand { margin-bottom: 16px; }
.footer .brand-mark { color: var(--ink); }
.footer-about { color: var(--muted); font-size: 15px; max-width: 32ch; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13.5px; flex-wrap: wrap; }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .legal a:hover { color: var(--ink-2); }

/* ---------- MODAL ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,0.4); backdrop-filter: blur(6px); animation: fade .18s ease; }
.modal-overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 720px; max-height: 86vh; display: flex; flex-direction: column; overflow: hidden; animation: pop .24s cubic-bezier(.2,.8,.3,1); }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 30px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 26px; letter-spacing: -0.02em; }
.modal-head .eyebrow { margin-bottom: 8px; }
.modal-close { background: var(--bg); border: 1px solid var(--border); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }
.modal-close:hover { background: var(--surface-2); color: var(--ink); }
.modal-body { padding: 26px 30px 30px; overflow-y: auto; }
.modal-body h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 24px 0 8px; color: var(--ink); letter-spacing: -0.015em; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { color: var(--ink-2); font-size: 15px; margin-bottom: 7px; }
.modal-body ul { color: var(--ink-2); font-size: 15px; padding-left: 20px; margin: 7px 0; }
.modal-body li { margin-bottom: 7px; }
.modal-foot { padding: 18px 30px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; background: var(--surface-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .login-card { margin: 0 auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::before { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 52px; }
  .story-badge { left: 12px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .contact-card { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-cta .btn-ghost { display: none; }
  .hero-trust { flex-wrap: wrap; gap: 18px 20px; }
  .hero-trust .stat { flex: 0 0 calc(50% - 10px); }
  .hero-trust .divider { display: none; }
  .feat-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .step::before { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  section.band { padding: 68px 0; }
  .wrap { padding: 0 22px; }
  .modal { max-height: 92vh; }
}
