/* ===========================================================
   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. */
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);
}

.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 { padding: 7px 16px; }
.hero h1 { margin-top: 20px; }
.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 { padding: 7px 16px; }
.hero h1 { margin-top: 20px; }
.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); }

/* ---------- 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%; } }

/* ---------- FEATURES (bento: první dlaždice přes 2 sloupce) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.bento-cell {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
}
.bento-wide { grid-column: span 2; background: linear-gradient(135deg, #FFF8E4 0%, var(--gold-soft) 100%); border-color: #F2DFA6; padding: 40px; }
.bento-wide h3 { font-size: 28px; }
.bento-wide p { font-size: 17px; max-width: 46ch; color: #5b4a17; }
.bento-cell:nth-child(2) { background: var(--blue-soft); border-color: #CFE1FC; }
.bento-cell:nth-child(2) .feat-ic { background: #fff; color: var(--blue); }
.bento-wide .feat-ic { background: #fff; }
.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; }
.bento-cell:nth-child(4) .feat-ic { background: var(--blue-soft); color: var(--blue); }
.bento-cell:nth-child(5) .feat-ic { background: var(--green-soft); color: var(--green-strong); }
.bento-cell h3 { font-size: 20px; letter-spacing: -0.015em; }
.bento-cell p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.bento-cell:nth-child(2) p { color: #31507a; }

/* ---------- 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; }
}

/* ---------- 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; }

/* ---------- 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-h { margin: 0; font: inherit; }
.faq-a[hidden] { display: none; }
.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: 16px; 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: #9A9AA0; }
.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); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .switch .knob, .nav { transition: 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; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::before { display: none; }
  .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; }
  .bento, .steps, .price-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; padding: 30px; }
  .bento-wide h3 { font-size: 22px; }
  .step::before { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  section.band { padding: 68px 0; }
  .wrap { padding: 0 22px; }
}

/* ---------- přístupnost a drobnosti (redesign 2026-10-30) ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.nav a:focus-visible, .nav summary:focus-visible { outline-color: var(--ink); }
html { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
#nav-sentinel { height: 1px; margin-top: -1px; }
h2[id], section[id], header[id] { scroll-margin-top: 90px; }

/* lišta: přihlášení vpravo + menu pro úzké obrazovky */
.nav-login { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--ink); padding: 9px 18px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.55); white-space: nowrap; transition: background .15s; }
.nav-login:hover { background: #fff; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: var(--radius-pill); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary, .nav-menu summary:hover { background: rgba(0,0,0,0.08); }
.nav-menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; }
.nav-menu-list a { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 500; color: var(--ink); }
.nav-menu-list a:hover { background: var(--bg); }
@media (max-width: 1080px) { .nav-menu { display: block; } }
@media (max-width: 420px) { .nav-menu summary span { display: none; } .nav-inner { gap: 12px; } }

/* hero: přihlašovací karta */
.login-card .login-title { font-size: 24px; letter-spacing: -0.02em; }
.field label .req { color: var(--blue); }
.login-hint { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--muted); }
.login-hint svg { flex-shrink: 0; margin-top: 2px; }
.reg-text { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 4px 0 18px; }
.form-err { background: #FFE9E7; color: #B00012; padding: 10px 13px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; }
.form-ok { display: flex; gap: 8px; align-items: flex-start; background: var(--green-soft); color: var(--green-strong); padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.form-ok svg { flex-shrink: 0; margin-top: 2px; }

/* sekce: střídání pozadí místo modrých pásů */
.portal-band { background: var(--surface); }
.steps-band { background: var(--surface); }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head a { color: var(--blue-strong); font-weight: 600; }
.section-head a:hover { text-decoration: underline; }
.price-toggle-wrap { display: flex; justify-content: center; }
.price-grid { margin: 48px auto 0; }
.price-card .plan { margin: 0; }
.price-card li > span { min-width: 0; }
.price-amount .num { font-variant-numeric: tabular-nums; }
.price-foot a { color: var(--blue-strong); font-weight: 600; }
ol.steps { list-style: none; padding: 0; }

/* Google Kalendář: světlá karta (dřív druhý stejný modrý pás jako převod dat) */
.gcal { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 38px; }
.gcal-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.gcal-text h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; }
.gcal-text p { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 75ch; }
.gcal-text strong { font-weight: 600; }
.gcal-note { font-size: 14px; color: var(--muted) !important; }
.gcal-note a { color: var(--blue-strong); font-weight: 600; }
.gcal-note a:hover { text-decoration: underline; }
@media (max-width: 680px) { .gcal { grid-template-columns: 1fr; padding: 26px 22px; } }

/* kontakt */
.contact-card h2 { margin: 0; }
.contact-methods b { display: block; font-size: 17px; }
.contact-methods a > span > span { font-size: 13px; color: #B4B4B8; }
.contact-form .field:first-of-type { margin-top: 0; }
.contact-form .field-msg { color: #FF8A80; }
.contact-form .form-err { background: rgba(255,90,80,0.14); color: #FFB4AE; }
.contact-form .form-ok { background: rgba(47,168,79,0.18); color: #9BE3B0; }
.contact-form .btn { margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* patička */
.footer-col h2 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.footer-hours { color: var(--faint); font-size: 13.5px; }
.hero-trial .ht-badge { white-space: nowrap; }
@media (max-width: 680px) {
  .hero-pill { font-size: 13px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-card { padding: 30px 20px; gap: 32px; }
  .contact-form { padding: 20px; }
  .nav-login { padding: 8px 14px; font-size: 14px; }
}
/* grid/flex děti se jinak nezúží pod šířku obsahu → Portál žáka přetékal na mobilu doprava */
.portal-grid > *, .hero-grid > *, .faq-wrap > *, .contact-card > * { min-width: 0; }
.portal-feat > div { min-width: 0; }
.portal-mock { width: 100%; }

/* bento: dlaždice přes celou šířku (bezpečnost dat) */
.bento-full { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 28px; align-items: center;
  background: linear-gradient(135deg, #EEF8F1 0%, var(--green-soft) 100%); border-color: #CDEBD6; padding: 34px 40px; }
.bento-full .feat-ic { background: #fff; color: var(--green-strong); margin-bottom: 0; }
.bento-full h3 { font-size: 24px; }
.bento-full .bento-hlava p { color: #2c5a3a; }
.bento-body { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.bento-body li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.bento-body svg { flex-shrink: 0; margin-top: 2px; color: var(--green-strong); }
@media (max-width: 1000px) { .bento-full { grid-template-columns: auto minmax(0, 1fr); } .bento-full .bento-body { grid-column: 1 / -1; margin-top: 10px; } }
@media (max-width: 680px) { .bento-full { grid-template-columns: 1fr; padding: 28px 24px; } .bento-full .feat-ic { margin-bottom: 8px; } .bento-body { grid-template-columns: 1fr; } }
