:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;

  --primary:#E57373;
  --primary-2:#d65f5f;

  /* Pozadí za sekcí testování */
  --tint:#FACDBD;

  --shadow: 0 10px 30px rgba(17,24,39,.08);
  --radius: 18px;
  --radius2: 26px;
  --max: 1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
.container{max-width:var(--max); margin:0 auto; padding:0 18px;}

/* TOP BAR */
.topbar{
  position:sticky; top:0; z-index:50;
  background:var(--primary);
  border-bottom:1px solid rgba(255,255,255,.18);
}
.topbar__inner{
  display:flex; align-items:center; gap:14px;
  padding:12px 0;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:#fff;
}
.brand__name{
  font-weight:800;
  letter-spacing:-.02em;
  white-space:nowrap;
}

/* Desktop nav */
.nav{display:flex; gap:10px; margin-left:auto;}
.nav a{
  text-decoration:none;
  color:rgba(255,255,255,.92);
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
}
.nav a:hover{
  color:#fff;
  background:rgba(255,255,255,.16);
}

/* Lang switch */
.lang{display:flex; align-items:center; gap:8px; margin-left:6px;}
.lang__item{
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}
.lang__item.is-active{color:#fff}
.lang__sep{color:rgba(255,255,255,.65)}

/* Burger */
.burger{
  display:none;
  margin-left:8px;
  width:42px; height:42px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.10);
  border-radius:12px;
}
.burger span{
  display:block;
  height:2px;
  margin:7px 10px;
  background:#fff;
  border-radius:2px
}

/* Mobile menu */
.mobile{
  border-top:1px solid rgba(255,255,255,.18);
  padding:10px 18px 16px;
  background:var(--primary);
}
.mobile a{
  display:block;
  padding:10px 10px;
  text-decoration:none;
  color:#fff;
  border-radius:12px;
  font-weight:700;
}
.mobile a:hover{background:rgba(255,255,255,.14)}
.mobile__langs{display:flex; gap:12px; padding:10px}
.mobile__langs a{flex:0 0 auto}
.mobile__langs a.is-active{
  background:rgba(255,255,255,.16);
}

/* HERO */
.hero{padding:52px 0 28px}
.hero__grid{
  display:grid; grid-template-columns: 1.2fr .8fr;
  gap:22px; align-items:center;
}

/* Logo na bílé ploše */
.hero__brand{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:14px;
}
.hero__logo{
  width:220px;
  max-width:60vw;
  height:auto;
  display:block;
}
.hero__appname{
  font-weight:900;
  letter-spacing:-.02em;
  font-size:18px;
  margin:0;
  color:var(--text);
}

.badge{
  display:inline-block;
  padding:6px 10px;
  background:rgba(229,115,115,.12);
  color:var(--primary-2);
  border:1px solid rgba(229,115,115,.25);
  border-radius:999px;
  font-weight:800;
  font-size:12px;
}
h1{font-size:44px; line-height:1.08; letter-spacing:-.03em; margin:12px 0}
.lead{font-size:18px; color:var(--muted); margin:0 0 18px}
.actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 10px}
.fine{font-size:13px; color:var(--muted); margin:10px 0 0}

.hero__panel .panel__card{
  background:linear-gradient(180deg, #fff, #fff7f8);
  border:1px solid rgba(229,231,235,.8);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:var(--shadow);
}
.hero__panel{
  min-height:320px;
}
.hero__panel .panel__shot{
  display:block;
  width:100%;
  max-width:100%;
  aspect-ratio:9 / 16;
  height:auto;
  border-radius:var(--radius2);
  object-fit:contain;
  margin:0 auto;
}
.panel__row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px}
.pill{
  font-size:12px; font-weight:800;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(229,115,115,.25);
  background:rgba(229,115,115,.10);
  color:var(--primary-2);
}
.panel__mock{border-radius:18px; border:1px solid rgba(229,231,235,.9); background:white; padding:14px}
.mock__line{height:10px; background:#f3f4f6; border-radius:999px; margin:10px 0}
.mock__line.short{width:70%}
.mock__box{height:90px; background:rgba(229,115,115,.10); border:1px dashed rgba(229,115,115,.35); border-radius:16px; margin:14px 0}

.section{padding:52px 0}

/* Sekce testeři */
.section--tint{
  background:linear-gradient(180deg, rgba(250,205,189,.72), rgba(250,205,189,1));
}
.section h2{font-size:28px; margin:0 0 10px; letter-spacing:-.02em}
.section__lead{color:var(--muted); margin:0 0 22px; max-width:760px}

.cards{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
.card{
  background:white;
  border:1px solid rgba(229,231,235,.85);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 1px 0 rgba(17,24,39,.03);
}
.card--soft{background:rgba(255,255,255,.78)}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted)}

.steps{list-style:none; padding:0; margin:0; display:grid; gap:12px}
.step{
  display:grid; grid-template-columns: 40px 1fr;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(229,231,235,.85);
  border-radius:var(--radius);
  background:white;
}
.step__num{
  width:34px; height:34px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(229,115,115,.12);
  color:var(--primary-2);
  font-weight:900;
}
.step h3{margin:0 0 4px; font-size:16px}
.step p{margin:0; color:var(--muted)}

.split{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.split__col{
  border:1px solid rgba(229,231,235,.85);
  background:white;
  border-radius:var(--radius);
  padding:18px;
}
.split__col h3{margin:0 0 6px}
.split__col p{margin:0; color:var(--muted)}

.grid2{display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:start}

.form label{display:block; font-size:13px; font-weight:700; color:#374151; margin:12px 0 6px}
.form input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(229,231,235,.95);
  background:white;
  font-size:14px;
  outline:none;
}
.form input:focus{
  border-color:rgba(229,115,115,.55);
  box-shadow:0 0 0 6px rgba(229,115,115,.18);
}
.req{color:var(--primary-2)}

.list{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.faq details{
  border:1px solid rgba(229,231,235,.85);
  border-radius:var(--radius);
  padding:14px 16px;
  background:white;
  margin:10px 0;
}
.faq summary{cursor:pointer; font-weight:900}
.faq p{color:var(--muted); margin:10px 0 0}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(229,231,235,.95);
  text-decoration:none;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
}
.btn--primary{
  background:var(--primary);
  border-color:rgba(229,115,115,.9);
  color:white;
  box-shadow:0 12px 24px rgba(229,115,115,.22);
}
.btn--primary:hover{background:var(--primary-2)}
.btn--ghost{
  background:white;
  color:var(--text);
}
.btn--ghost:hover{background:#f9fafb}

.contact{display:flex; gap:12px; flex-wrap:wrap}

.footer{
  border-top:1px solid rgba(229,231,235,.85);
  padding:22px 0;
}
.footer__inner{display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap}
.footer p{margin:0; color:var(--muted)}

@media (max-width: 920px){
  .nav{display:none}
  .burger{display:inline-block}
  .hero__grid{grid-template-columns:1fr}
  h1{font-size:36px}
  .cards{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}

  .hero__brand{flex-direction:column; align-items:flex-start}
  .hero__logo{width:220px; max-width:80vw}
}

/* -------------------- */
/* Brevo UX polish      */
/* -------------------- */

.brevo-card{
  padding:18px;
}

.brevo-iframe{
  display:none;
  width:0;
  height:0;
  border:0;
}

#sib-container{
  border-radius:18px !important;
  overflow:hidden;
}

#sib-container .input{
  border-radius:14px !important;
  border:1px solid rgba(229,231,235,.95) !important;
  padding:12px 12px !important;
  font-family:Inter, Helvetica, sans-serif !important;
}

#sib-container .input:focus{
  border-color:rgba(229,115,115,.55) !important;
  box-shadow:0 0 0 6px rgba(229,115,115,.18) !important;
}

#sib-container .sib-form-block__button{
  box-shadow:0 12px 24px rgba(229,115,115,.22) !important;
}

.brevo-thanks{
  margin:12px 16px 16px;
  padding:12px 14px;
  border:1px solid rgba(229,231,235,.85);
  border-radius:16px;
  background:rgba(255,255,255,.78);
  text-align:left;
}
.brevo-thanks__title{
  font-weight:900;
  color:#111827;
  margin-bottom:6px;
}
.brevo-thanks__text{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.brevo-thanks__small{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#6b7280;
}

/* drž web v light i při dark-mode v systému */
html, body { background: #ffffff; color: #111827; }
input, textarea, select, button { color: #111827; background: #ffffff; }

/* iOS/Chrome občas ztmavuje pozadí inputu */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #111827;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* Extra hard-lock proti dark režimu prohlížeče */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
  html, body { background:#ffffff !important; color:#111827 !important; }
  .card, .step, .split__col, .faq details, .panel__card, .panel__mock {
    background:#ffffff !important;
    color:#111827 !important;
  }
  .lead, .fine, .section__lead, .card p, .step p, .split__col p, .faq p, .footer p {
    color:#6b7280 !important;
  }
  a { color: inherit; }
}


/* ============================ */
/* BREVO – FINÁL (CZ)           */
/* (NOVINKY + TESTEŘI)          */
/* VLOŽ NA KONEC styles.css     */
/* ============================ */

/* iframe targety ať nedělají layout */
.brevo-iframe{
  width:0 !important;
  height:0 !important;
  border:0 !important;
  display:block !important;
}

/* zruš "dvojitou kartu" jen u Brevo embedů */
.card.brevo-card{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  box-shadow:none !important;
}

/* zruš bílé pozadí Brevo wrapperu */
.card.brevo-card .sib-form{
  background:transparent !important;
}

/* ---------- společný thanks box ---------- */
.card.brevo-card .brevo-thanks{
  margin:12px 16px 16px !important;
  padding:12px 14px !important;
  border:1px solid rgba(229,231,235,.85) !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.78) !important;
  text-align:left !important;
}
.card.brevo-card .brevo-thanks__title{
  font-weight:900 !important;
  color:#111827 !important;
  margin-bottom:6px !important;
}
.card.brevo-card .brevo-thanks__text{
  color:#6b7280 !important;
  font-size:13px !important;
  line-height:1.45 !important;
}
.card.brevo-card .brevo-thanks__small{
  display:block !important;
  margin-top:6px !important;
  font-size:12px !important;
  color:#6b7280 !important;
}

/* ============================ */
/* BREVO: TESTEŘI (CZ)          */
/* ============================ */

/* pozadí boxu stejné jako card--soft (aby nesplýval) */
#sib-container-beta{
  background:rgba(255,255,255,.78) !important;
  border-color:rgba(229,231,235,.85) !important;
}

/* tlačítko: jen víc zaoblit (jak chceš) */
#sib-container-beta .brevo-beta__btn{
  border-radius:14px !important; /* víc zaoblené */
}

/* ============================ */
/* BREVO: NOVINKY (CZ)          */
/* ============================ */

/* vynutit správný červený box */
#sib-container-news{
  background:#E57373 !important;
  border-radius:25px !important;
  border:0 !important;
  overflow:hidden !important;
  box-shadow:0 10px 24px rgba(17,24,39,.12) !important;
}

/* bílá typografie uvnitř */
#sib-container-news,
#sib-container-news p,
#sib-container-news .sib-form-block,
#sib-container-news label{
  color:#ffffff !important;
}

/* input: bílý, čitelný */
#sib-container-news .input{
  background:#ffffff !important;
  color:#111827 !important;
  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:4px !important;
  padding:10px 12px !important;
  box-shadow:none !important;
}
#sib-container-news .input::placeholder{
  color:#c7cace !important;
}

/* malý popisek pod inputem */
#sib-container-news .entry__specification{
  color:#ffecec !important;
}

/* tlačítko: bílé, černý text, zaoblené */
#sib-container-news .brevo-news__btn{
  background:#fafafa !important;
  color:#0d0d0d !important;
  border:0 !important;
  border-radius:18px !important;
  padding:10px 18px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

/* loader ikonu skryj (ať je čistý button jako na fotce) */
#sib-container-news .brevo-news__btn svg{
  display:none !important;
}


/* ============================ */
/* BREVO: UPDATES (EN)          */
/* ============================ */

#sib-container-news-en{
  background:#E57373 !important;
  border-radius:25px !important;
  border:0 !important;
  overflow:hidden !important;
  box-shadow:0 10px 24px rgba(17,24,39,.12) !important;
}

#sib-container-news-en,
#sib-container-news-en p,
#sib-container-news-en .sib-form-block,
#sib-container-news-en label{
  color:#ffffff !important;
}

#sib-container-news-en .input{
  background:#ffffff !important;
  color:#111827 !important;
  border:1px solid rgba(255,255,255,.55) !important;
  border-radius:4px !important;
  padding:10px 12px !important;
  box-shadow:none !important;
}
#sib-container-news-en .input::placeholder{
  color:#c7cace !important;
}
#sib-container-news-en .entry__specification{
  color:#ffecec !important;
}
#sib-container-news-en .brevo-news__btn{
  background:#fafafa !important;
  color:#0d0d0d !important;
  border:0 !important;
  border-radius:18px !important;
  padding:10px 18px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}
#sib-container-news-en .brevo-news__btn svg{
  display:none !important;
}
#sib-container-beta-en{
  background: rgba(255,255,255,.78) !important;
  border-color: rgba(229,231,235,.85) !important;
  overflow: hidden !important;
}

/* tlačítko – stejné zaoblení jako CZ */
#sib-container-beta-en .brevo-beta__btn{
  border-radius: 14px !important;
}

/* Global nav refresh */
.nav--primary a.is-active,
.mobile a.is-active{
  background:rgba(255,255,255,.22);
  color:#fff;
}

.subnav{
  position:sticky;
  top:67px;
  z-index:40;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  box-shadow:0 2px 8px rgba(17,24,39,.04);
}
.subnav__inner{
  display:flex;
  gap:6px;
  overflow:auto;
  padding:10px 18px;
  scrollbar-width:thin;
}
.subnav a{
  text-decoration:none;
  color:#111827;
  font-size:14px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
  padding:8px 10px;
  border-radius:8px;
  border-bottom:2px solid transparent;
  transition:color .2s ease, background .2s ease, border-color .2s ease;
}
.subnav a:hover{background:#f3f4f6}
.subnav a.is-active,
.subnav a[aria-current="true"]{
  color:#111827;
  font-weight:700;
  border-bottom-color:var(--primary);
}

/* Article pages */
.article-hero{
  background:#fff;
  padding-top:28px;
}
.article-hero__image{
  width:min(100% - 48px, 1120px);
  margin:0 auto;
  height:320px;
  aspect-ratio:16 / 9;
  object-fit:cover;
  display:block;
  border-radius:14px;
}
.article-content{
  max-width:860px;
  padding-top:34px;
  padding-bottom:56px;
}
.article-content h1,
.article-content h2,
.article-content h3{line-height:1.2; letter-spacing:-.01em; margin-top:1.4em}
.article-content h1{font-size:40px; margin-top:.2em}
.article-content h2{font-size:30px}
.article-content h3{font-size:24px}
.article-content p,
.article-content li{font-size:18px; color:#111827; line-height:1.75}
.article-content ul{padding-left:1.3rem}
.article-content a{color:#1f4f99}

.article-sources{
  margin-top:48px;
  padding-top:16px;
  border-top:1px solid #e5e7eb;
  color:#6b7280;
}
.article-sources h2{font-size:16px; margin:0 0 10px}
.article-sources p,
.article-sources li{
  font-size:13px;
  line-height:1.45;
  color:#6b7280;
}

@media (max-width:920px){
  .subnav{top:65px}
  .article-hero{padding-top:18px}
  .article-hero__image{
    width:min(100% - 32px, 1120px);
    height:240px;
    border-radius:12px;
  }
}

/* Legal pages */
.legal-page{padding:32px 0 56px}
.legal-layout{max-width:800px;margin:0 auto;padding:0 18px}
.legal-meta{color:var(--muted);margin:8px 0 22px}
.legal-toc{border:1px solid var(--border);border-radius:14px;padding:14px 16px;background:#fff7f8;margin-bottom:24px}
.legal-toc h2{font-size:18px;margin:0 0 8px}
.legal-toc ul{margin:0;padding-left:18px;display:grid;gap:6px}
.legal-toc a{color:var(--primary-2);text-decoration:none}
.legal-toc a:hover{text-decoration:underline}
.legal-content h2{margin-top:28px;font-size:24px}
.legal-content h3{margin-top:16px;font-size:19px}
.legal-content p,.legal-content li{line-height:1.7}
.legal-content ul{padding-left:20px}
.footer__links{display:flex;gap:14px;flex-wrap:wrap}
.footer__links a{color:var(--muted);text-decoration:none;font-weight:600}
.footer__links a:hover{text-decoration:underline}
