/* ──────────────────────────────────────────────────────────────
   Jsem OK — produktová podstránka calmbit.cz/jsem-ok
   Postaveno na design systému CalmBit „Hlubina" (tmavý rám),
   s produktovým akcentem z loga: rajče + zelená.
   Vše scopnuté pod .jsemok — base tokeny, nav, patička, .container,
   .btn, .mono, .section a reveal přicházejí z app.css.
   ────────────────────────────────────────────────────────────── */

/* Produktové tokeny — nascopované, ať neprosáknou do zbytku webu. */
.jsemok {
  --brand: #E0593C;            /* rajče, zesvětlené pro tmavé pozadí */
  --brand-ink: #1A0E0A;
  --ok: #6FC44E;               /* zelená „OK", zesvětlená pro kontrast na navy */
  --ok-deep: #5BB23E;
  --ok-ink: #08130A;
  --cream: #F7F1E8;            /* obrazovka telefonu */
  --font-app: 'Nunito', system-ui, sans-serif;  /* pouze uvnitř mockupů */
}

/* Lokální akcent (zelená/rajče platí jen uvnitř .jsemok) */
.jsemok .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ok);
  color: var(--ok-ink);
}
.jsemok .btn:hover { background: #7ED15D; }
.jsemok .btn:focus-visible { outline-color: var(--ok); }
.jsemok .mono,
.jsemok .section__kicker { color: var(--brand); }
.jsemok .hero h1 em { color: var(--ok); }

/* ---------- Hero (přepis homepage heru) ---------- */
.jsemok .hero {
  text-align: left;
  padding: 104px 0 92px;
}
.jsemok .hero__glow {
  top: -220px;
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    color-mix(in oklch, var(--brand) 16%, transparent),
    transparent 62%);
}
.jsemok .hero > .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.jsemok .hero__copy { max-width: 600px; }
.jsemok .hero__badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.jsemok .app-icon {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(224, 89, 60, 0.28);
  display: block;
}
.jsemok .hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--brand);
  line-height: 1.5;
}
.jsemok .hero__eyebrow b { display: block; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: 0; }
.jsemok .hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.06;
}
.jsemok .hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 520px;
  margin: 26px 0 0;
}
.jsemok .hero__actions {
  justify-content: flex-start;
  align-items: center;
  margin-top: 38px;
}
.jsemok .hero__note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.jsemok .hero__note .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--ok); flex: none; }

/* App Store „brzy" badge */
.jsemok .store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 18px;
  border-radius: 12px;
  background: #000;
  border: 1px solid #2A2A2A;
  position: relative;
  cursor: default;
}
.jsemok .store-badge svg { width: 26px; height: 26px; flex: none; }
.jsemok .store-badge .sb-text { line-height: 1.15; text-align: left; }
.jsemok .store-badge .sb-small { font-size: 11px; color: #B9C0C8; font-family: var(--font-sans); }
.jsemok .store-badge .sb-big { font-size: 19px; color: #fff; font-weight: 600; font-family: var(--font-sans); letter-spacing: -0.01em; }
.jsemok .store-badge .sb-flag {
  position: absolute;
  top: -9px; right: -9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  background: var(--brand);
  color: #fff;
  padding: 3px 8px;
  border-radius: 99px;
}

/* Hero — telefon ve výřezu */
.jsemok .hero__device { display: flex; justify-content: center; }

/* ---------- Telefon mockup ---------- */
.jsemok .phone {
  position: relative;
  width: 268px;
  height: 560px;
  border-radius: 42px;
  background: #0A0A0C;
  padding: 9px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  flex: none;
}
.jsemok .phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: var(--cream);
  overflow: hidden;
  font-family: var(--font-app);
  color: #2A1A12;
  display: flex;
  flex-direction: column;
}
.jsemok .phone__island {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 24px;
  border-radius: 99px;
  background: #0A0A0C;
  z-index: 5;
}
.jsemok .scr {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 50px 22px 26px;
}

/* Home screen */
.jsemok .scr-home__top { display: flex; align-items: center; justify-content: space-between; }
.jsemok .scr-home__status { display: flex; align-items: center; gap: 7px; }
.jsemok .scr-home__status .live { width: 8px; height: 8px; border-radius: 99px; background: var(--ok-deep); }
.jsemok .scr-home__status span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: rgba(45,22,14,0.55); }
.jsemok .scr-home__gear { width: 30px; height: 30px; border-radius: 9px; border: 1px solid rgba(45,22,14,0.1); background: #fff; display: flex; align-items: center; justify-content: center; }
.jsemok .scr-home__gear i { width: 3px; height: 3px; border-radius: 99px; background: #2A1A12; box-shadow: 6px 0 #2A1A12, -6px 0 #2A1A12; }
.jsemok .scr-home__greet { margin-top: 26px; }
.jsemok .scr-home__greet .when { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: rgba(45,22,14,0.4); }
.jsemok .scr-home__greet h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.4px; margin: 5px 0 0; line-height: 1.15; }
.jsemok .scr-home__btnwrap { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.jsemok .scr-home__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(45,22,14,0.08); }
.jsemok .scr-home__ring.r1 { width: 188px; height: 188px; }
.jsemok .scr-home__ring.r2 { width: 158px; height: 158px; }
.jsemok .scr-home__btn {
  position: relative;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--ok-deep);
  color: var(--cream);
  border: none;
  font-family: var(--font-app);
  font-size: 22px; font-weight: 700; letter-spacing: -0.3px;
  box-shadow: 0 14px 30px rgba(91,178,62,0.4), 0 2px 0 #3F8C28 inset;
}
.jsemok .scr-home__contacts { text-align: center; }
.jsemok .scr-home__contacts .names { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #2A1A12; line-height: 1.7; }
.jsemok .scr-home__contacts .last { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; color: rgba(45,22,14,0.4); margin-top: 8px; }

/* Message preview screen (co dorazí blízkým) */
.jsemok .scr-msg { background: #ECE3D5; }
.jsemok .scr-msg__head { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: rgba(45,22,14,0.45); text-align: center; }
.jsemok .scr-msg__thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-bottom: 6px; }
.jsemok .bubble {
  align-self: flex-start;
  max-width: 86%;
  background: #fff;
  border-radius: 16px 16px 16px 5px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(45,22,14,0.07);
}
.jsemok .bubble--me { align-self: flex-end; background: var(--ok-deep); color: var(--cream); border-radius: 16px 16px 5px 16px; }
.jsemok .bubble .maplink { color: var(--brand); font-weight: 700; }
.jsemok .bubble--me .maplink { color: #EAFBE2; text-decoration: underline; }
.jsemok .bubble .sign { color: rgba(45,22,14,0.5); }
.jsemok .bubble--me .sign { color: rgba(255,255,255,0.75); }
.jsemok .map-chip {
  align-self: flex-start;
  width: 86%;
  height: 86px;
  border-radius: 14px;
  background:
    linear-gradient(rgba(91,178,62,0.06), rgba(91,178,62,0.06)),
    repeating-linear-gradient(0deg, #E4DBCB 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, #E4DBCB 0 1px, transparent 1px 22px),
    #F1E9DB;
  position: relative;
  box-shadow: 0 2px 8px rgba(45,22,14,0.07);
  overflow: hidden;
}
.jsemok .map-chip::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -70%);
  background: var(--brand);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 6px 10px rgba(224,89,60,0.4);
}
.jsemok .scr-msg__time { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.06em; color: rgba(45,22,14,0.4); text-align: center; margin-top: 4px; }

/* Done screen */
.jsemok .scr-done { align-items: center; justify-content: center; text-align: center; gap: 0; }
.jsemok .scr-done__check { width: 78px; height: 78px; border-radius: 50%; background: var(--ok-deep); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(91,178,62,0.35); }
.jsemok .scr-done h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.4px; margin: 24px 0 0; }
.jsemok .scr-done p { font-size: 13.5px; color: rgba(45,22,14,0.6); margin: 12px 0 0; line-height: 1.5; max-width: 200px; }

/* ---------- Jak to funguje (3 kroky) ---------- */
.jsemok .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.jsemok .step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 30px 32px;
  position: relative;
}
.jsemok .step__num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--brand);
  letter-spacing: 0.06em;
}
.jsemok .step h3 { font-size: 21px; font-weight: 600; margin: 14px 0 0; letter-spacing: -0.01em; }
.jsemok .step p { font-size: 16px; color: var(--muted); margin: 10px 0 0; text-wrap: pretty; }
.jsemok .step__arrow { position: absolute; top: 38px; right: -18px; color: var(--line); z-index: 2; }
.jsemok .step:last-child .step__arrow { display: none; }

/* ---------- Vlastnosti (2×2) ---------- */
.jsemok .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.jsemok .feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.jsemok .feature:hover { border-color: #35465A; transform: translateY(-2px); }
.jsemok .feature__ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.jsemok .feature__ic svg { width: 22px; height: 22px; }
.jsemok .feature h3 { font-size: 19px; font-weight: 600; margin: 2px 0 0; letter-spacing: -0.01em; }
.jsemok .feature p { font-size: 16px; color: var(--muted); margin: 8px 0 0; text-wrap: pretty; }

/* ---------- Náhledy obrazovek ---------- */
.jsemok .shots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.jsemok .shots .phone-card { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.jsemok .shots .phone { transform: scale(0.92); }
.jsemok .shots .phone-card.is-hero .phone { transform: scale(1); }
.jsemok .shots .phone-cap { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); text-align: center; max-width: 220px; }

/* ---------- Soukromí (posíláme / neposíláme) ---------- */
.jsemok .privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
}
.jsemok .privacy-col {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 32px 34px;
}
.jsemok .privacy-col__head { display: flex; align-items: center; gap: 11px; }
.jsemok .privacy-col__head .badge { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.jsemok .privacy-col--yes .badge { background: color-mix(in srgb, var(--ok) 16%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 32%, transparent); }
.jsemok .privacy-col--no .badge { background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.jsemok .privacy-col__head h3 { font-size: 18px; font-weight: 600; margin: 0; }
.jsemok .privacy-col ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.jsemok .privacy-col li { font-size: 16px; color: var(--muted); padding-left: 26px; position: relative; line-height: 1.5; text-wrap: pretty; }
.jsemok .privacy-col li::before { position: absolute; left: 0; top: 1px; font-family: var(--font-mono); font-size: 14px; }
.jsemok .privacy-col--yes li::before { content: "✓"; color: var(--ok); }
.jsemok .privacy-col--no li::before { content: "✕"; color: var(--brand); }

/* ---------- Pro koho (3 karty) ---------- */
.jsemok .audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.jsemok .aud {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 30px 34px;
}
.jsemok .aud__ic { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
.jsemok .aud__ic svg { width: 30px; height: 30px; }
.jsemok .aud h3 { font-size: 19px; font-weight: 600; margin: 18px 0 0; letter-spacing: -0.01em; }
.jsemok .aud p { font-size: 16px; color: var(--muted); margin: 9px 0 0; text-wrap: pretty; }

/* ---------- FAQ ---------- */
.jsemok .faq { margin-top: 48px; max-width: 820px; }
.jsemok .faq__item { border-top: 1px solid var(--line-soft); }
.jsemok .faq__item:last-child { border-bottom: 1px solid var(--line-soft); }
.jsemok .faq__q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18.5px;
  font-weight: 500;
  text-align: left;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  position: relative;
  display: block;
  letter-spacing: -0.01em;
}
.jsemok .faq__q::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.22s ease;
}
.jsemok .faq__item.open .faq__q::after { transform: translateY(-35%) rotate(-135deg); }
.jsemok .faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s ease;
}
.jsemok .faq__item.open .faq__a { grid-template-rows: 1fr; }
.jsemok .faq__a > div { overflow: hidden; }
.jsemok .faq__a p { margin: 0 0 24px; font-size: 16.5px; color: var(--muted); max-width: 700px; text-wrap: pretty; line-height: 1.6; }

/* ---------- Závěrečné CTA ---------- */
.jsemok .endcta { text-align: center; }
.jsemok .endcta .container { display: flex; flex-direction: column; align-items: center; }
.jsemok .endcta img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 12px 30px rgba(224,89,60,0.28); }
.jsemok .endcta h2 { margin-top: 26px; }
.jsemok .endcta .hero__actions { justify-content: center; }

/* ---------- Responzivita (produktové gridy) ---------- */
@media (max-width: 1100px) {
  .jsemok .hero > .container { grid-template-columns: 1fr; gap: 48px; }
  .jsemok .hero__copy { max-width: 640px; }
  .jsemok .hero__device { order: -1; }
  .jsemok .steps { grid-template-columns: 1fr; }
  .jsemok .step__arrow { display: none !important; }
}

@media (max-width: 860px) {
  .jsemok .features { grid-template-columns: 1fr; }
  .jsemok .privacy-grid { grid-template-columns: 1fr; }
  .jsemok .audience { grid-template-columns: 1fr; }
}
