/* =========================================================
   NEXT8 Performance — Habitline-style light theme
   Brand accent: FF1947 / gradient E6002E · #000 · #FFF
   Fonts: Google Sans Flex (body) · Stack Sans Headline (headings)
   ========================================================= */

/* Google Sans Flex — latin + latin-ext */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400; font-stretch: 100%; font-display: swap;
  src: url(https://fonts.gstatic.com/s/googlesansflex/v21/t5sJIQcYNIWbFgDgAAzZ34auoVyXkJCOvp3SFWJbN5hF8Ju1x6sKCyp0l9sI40swNJwInycYAJzz0m7kJ4qFQOJBOjLvDSndo0SKMpKSTzwliVdHAy4bxTDHg_ugnAakp8ub-cJgVKDEIULcjrCO.woff) format('woff');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal; font-weight: 400; font-stretch: 100%; font-display: swap;
  src: url(https://fonts.gstatic.com/s/googlesansflex/v21/t5sJIQcYNIWbFgDgAAzZ34auoVyXkJCOvp3SFWJbN5hF8Ju1x6sKCyp0l9sI40swNJwInycYAJzz0m7kJ4qFQOJBOjLvDSndo0SKMpKSTzwliVdHAy4bxTDHg_ugnAakp8ub-cxgVKDEIULcjg.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Stack Sans Headline — latin + latin-ext (400 & 500) */
@font-face {
  font-family: 'Stack Sans Headline';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(https://fonts.gstatic.com/s/stacksansheadline/v1/1Ptyg9jZXvmMnkLnuURbaukKZJTyrDV38amvG549LTdlwA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Stack Sans Headline';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(https://fonts.gstatic.com/s/stacksansheadline/v1/1Ptyg9jZXvmMnkLnuURbaukKZJTyrDV38aevG549LTc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Stack Sans Headline';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url(https://fonts.gstatic.com/s/stacksansheadline/v1/1Ptyg9jZXvmMnkLnuURbaukKZJTyrDV38amvG549LTdlwA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Stack Sans Headline';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url(https://fonts.gstatic.com/s/stacksansheadline/v1/1Ptyg9jZXvmMnkLnuURbaukKZJTyrDV38aevG549LTc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #FF1947;
  --red-deep: #E6002E;
  --grad: linear-gradient(135deg, #FF1947 0%, #E6002E 100%);

  --bg: #f3f2f1;          /* page background (cream/light gray) */
  --bg-alt: #efeeec;
  --white: #ffffff;
  --dark: #0e0e11;        /* dark cards / dark sections */
  --dark-2: #17171b;

  --ink: #101013;         /* near-black headings */
  --text: #1c1c20;
  --muted: #6a6a73;
  --muted-2: #9a9aa2;
  --line: #e4e3e1;
  --line-dark: rgba(255,255,255,.1);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 10px 30px -14px rgba(0,0,0,.18);
  --shadow: 0 30px 70px -30px rgba(0,0,0,.35);
  --shadow-btn: 0 14px 30px -10px rgba(0,0,0,.45);
  --shadow-red: 0 20px 50px -18px rgba(255,25,71,.5);

  --maxw: 1200px;
  --font: "Google Sans Flex", "Inter Tight", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-head: "Stack Sans Headline", "Google Sans Flex", "Inter Tight", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
section { position: relative; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 60px 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,.display,.h1,.h2,.h3 { font-family: var(--font-head); }
h1,h2,h3,h4 { line-height: 1.02; letter-spacing: -.03em; font-weight: 500; color: var(--ink); }
.display { font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.red { color: var(--red); }

/* Pill badge */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 700; color: var(--ink);
}
.badge--center { margin: 0 auto; }
.badge--dark { background: var(--dark); color: #fff; border-color: transparent; }
.badge .tag { background: var(--dark); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
.badge--dark .tag { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 1px solid transparent; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--dark { background: var(--dark); color: #fff; box-shadow: var(--shadow-btn); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -16px rgba(255,25,71,.65); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: #fff; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn .play { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.btn--white .play { background: var(--red); }

/* ---------- Store badges (dark pill) ---------- */
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px; border-radius: 999px; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s; }
.store--dark { background: var(--dark); color: #fff; box-shadow: var(--shadow-btn); }
.store--light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.store:hover { transform: translateY(-3px); }
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .04em; opacity: .7; line-height: 1; }
.store span { display: block; font-size: 1rem; line-height: 1.2; }

/* ---------- Navbar ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; margin-top: 18px; }
.nav__pill { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; width: 54px; height: 54px; padding: 0; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.03em; font-size: 1.16rem; color: var(--ink); }
.brand__mark { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: .72rem; font-weight: 900; color: #fff; }
.brand__ico { width: 30px; height: 30px; object-fit: contain; display: block; }

/* Partneři / kempy */
.partners-sec { padding-top: 10px; }
.partners { background: var(--dark, #0e0e11); border-radius: var(--radius-xl, 28px); padding: 40px 32px; text-align: center; box-shadow: var(--shadow); }
.partners__label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 26px; }
.partners__logos { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.partners__logos img { height: 92px; width: auto; object-fit: contain; opacity: .92; transition: opacity .2s, transform .2s; }
.partners__logos img:hover { opacity: 1; transform: translateY(-3px); }
@media (max-width: 640px){ .partners__logos { gap: 34px; } .partners__logos img { height: 70px; } }
.brand small { color: var(--red); font-weight: 900; }
.brand__logo { height: 26px; width: auto; display: block; }
.brand__mark-img { height: 28px; width: auto; display: block; }
.footer__brand .brand__logo { height: 30px; }
.nav__links { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 7px 10px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.nav__links a { font-size: .93rem; font-weight: 600; color: var(--muted); padding: 8px 15px; border-radius: 999px; transition: .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--ink); background: var(--bg); }
.nav__right { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 7px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.nav__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; transition: .2s; }
.nav__icon:hover { background: var(--dark); color: #fff; }
.nav__icon svg { width: 20px; height: 20px; }
.nav__toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; width: 46px; height: 46px; box-shadow: var(--shadow-sm); }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO (full-bleed photo) ---------- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; padding: 130px 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg .ph, .hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2.5px) saturate(.95); transform: scale(1.05); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,4,6,.5) 0%, rgba(10,4,6,.32) 45%, rgba(10,4,6,.2) 80%, var(--bg) 100%); }
/* jistota bílé úplně dole (pod vektorem), aby nevznikl šev */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--bg); z-index: 4; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 24px; }
.hero__title { color: #fff; margin: 22px 0 20px; text-shadow: 0 4px 40px rgba(0,0,0,.35); font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.04; }
.hero__sub { color: rgba(255,255,255,.86); font-weight: 400; font-size: clamp(.95rem,1.1vw,1.08rem); line-height: 1.55; max-width: 40ch; margin: 0 auto; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__badge { background: rgba(0,0,0,.45); backdrop-filter: blur(8px); color: #fff; border-color: rgba(255,255,255,.18); }
.hero__badge .tag { background: var(--red); }
/* hero vizuál: řada [radar · telefon · karta] jako v Habitline */
.hero__stage { position: relative; z-index: 2; margin-top: 34px; width: 100%; max-width: 860px; overflow: visible; display: flex; justify-content: center; align-items: flex-start; gap: 1.5rem; }
.hero-dash { height: auto; display: block; }
.hero-dash--l { width: 132px; margin-top: 1.2rem; filter: drop-shadow(0 22px 40px rgba(0,0,0,.4)); }
.hero-dash--mid { width: min(300px, 58vw); filter: drop-shadow(0 44px 74px rgba(0,0,0,.55)); }
.hero-dash--r { width: 236px; margin-top: 8.5rem; filter: drop-shadow(0 26px 46px rgba(0,0,0,.45)); }
.hero__overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: var(--bg); z-index: 4; pointer-events: none; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: -80px; width: 100%; height: 380px; z-index: 5; pointer-events: none; }
@media (max-width: 620px) { .hero-dash--l { width: 92px; } .hero-dash--mid { width: 60vw; } .hero-dash--r { width: 150px; margin-top: 5rem; } .hero__fade { height: 240px; } }
.hero__phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
.hero__phone .phone { width: 268px; }
.float-card { position: absolute; background: var(--dark); color: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line-dark); z-index: 3; }
.float-card--l { left: 9%; top: 120px; width: 150px; text-align: center; }
.float-card--r { right: 9%; top: 185px; width: 210px; }
.float-card .fc-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 10px; box-shadow: var(--shadow-red); }
.float-card b { font-size: .92rem; }
.float-card .row3 { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.float-card .row3 > div { text-align: center; }
.float-card .row3 .ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; margin: 0 auto 6px; }
.float-card .row3 span { font-size: .78rem; color: var(--muted-2); }

/* ---------- Phone mock (light UI variant available) ---------- */
.phone { width: 300px; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #26262c, #0a0a0d); border: 1px solid #333; box-shadow: 0 50px 90px -40px rgba(0,0,0,.7); }
.phone__screen { border-radius: 36px; overflow: hidden; background: #0c0c0f; aspect-ratio: 300/620; position: relative; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #000; border-radius: 999px; z-index: 3; }
.appui { height: 100%; padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: #fff; }
.appui__top { display: flex; justify-content: space-between; color: #9a9aa2; }
.appui__brand { font-weight: 900; } .appui__brand b { color: var(--red); }
.appui__card { background: #17171b; border: 1px solid var(--line-dark); border-radius: 16px; padding: 13px; }
.appui__tag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.appui__ring { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.ring { --p: 46; width: 60px; height: 60px; border-radius: 50%; flex: none; background: conic-gradient(var(--red) calc(var(--p)*1%), rgba(255,255,255,.1) 0); display: grid; place-items: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; background: #17171b; border-radius: 50%; }
.ring b { position: relative; font-size: 16px; font-weight: 900; }
.appui__ring .val { font-size: 14px; font-weight: 800; }
.appui__ring .up { color: #37d67a; font-size: 10px; font-weight: 700; }
.appui__stats { display: flex; gap: 8px; margin-top: 8px; }
.appui__stats > div { flex: 1; } .appui__stats .k { color: #9a9aa2; font-size: 9px; } .appui__stats .v { font-weight: 800; font-size: 14px; }
.appui__chart { height: 66px; display: flex; align-items: flex-end; gap: 4px; margin-top: 8px; }
.appui__chart i { flex: 1; background: var(--grad); border-radius: 3px 3px 0 0; opacity: .9; }
.appui__nav { display: flex; justify-content: space-between; padding-top: 6px; color: #6a6a73; font-size: 8px; }
.appui__nav span:first-child { color: var(--red); font-weight: 800; }

/* ---------- Bold statement ---------- */
.statement { text-align: center; }
.statement .h1 { font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.08; max-width: 24ch; margin: 0 auto; }
.statement .h1 .emoji { display: inline-grid; place-items: center; width: 64px; height: 40px; border-radius: 999px; background: var(--dark); vertical-align: middle; margin: 0 6px; overflow: hidden; }
.statement .h1 .emoji .ph { min-height: 0; }
.tagpills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.tagpills span { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.subnote { text-align: center; color: var(--muted); margin-top: 22px; }

/* ---------- Phone with scrolling tile band (Habitline marquee) ---------- */
.showcase { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 18px; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mrow { overflow: hidden; }
.mtrack { display: flex; gap: 18px; width: max-content; will-change: transform; }
.mrow--top .mtrack { animation: mscroll 46s linear infinite reverse; }
.mrow--bot .mtrack { animation: mscroll 40s linear infinite; }
.marquee:hover .mtrack { animation-play-state: paused; }
@keyframes mscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.stile { flex: none; width: 172px; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.stile--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stile--label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 16px; }
.stile--label b { font-size: .96rem; color: var(--ink); }
.stile__ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
/* app metric tiles */
.stile--app { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: left; background: #fff; }
.stile--dark { background: #14141a; color: #fff; }
.stile__h { font-size: 7.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.stile__t { font-size: 12px; font-weight: 900; line-height: 1.1; color: var(--ink); }
.stile--dark .stile__t { color: #fff; }
.stile__sub { font-size: 8.5px; color: #9a9aa2; margin-top: -3px; }
.ring { position: relative; width: 68px; height: 68px; margin: 4px auto 2px; }
.ring i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--red) calc(var(--p,78) * 1%), #2b2b33 0); }
.ring i::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #14141a; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 900; color: var(--red); }
.stchart { width: 100%; height: auto; display: block; margin-top: 2px; }
.stlegend { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 8px; font-weight: 800; }
.stgauge { display: flex; justify-content: center; margin: 2px 0; }
.mets { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; margin-top: 2px; }
.met .v { font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1; }
.met .k { font-size: 7.5px; color: #9a9aa2; margin-top: 2px; }
.stbig { display: flex; align-items: baseline; gap: 3px; }
.stbig .n { font-size: 30px; font-weight: 900; color: var(--ink); line-height: 1; }
.stbig .u { font-size: 12px; font-weight: 800; color: #9a9aa2; }
.showcase .phone { position: relative; z-index: 3; flex: none; }
.showcase .phone-mockup { position: relative; z-index: 3; flex: none; width: 300px; height: auto; display: block; filter: drop-shadow(0 40px 70px rgba(0,0,0,.45)); }
@media (max-width: 640px) { .showcase .phone-mockup { width: 232px; } }
.mini { position: absolute; background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; width: 150px; }
.mini--img { height: 130px; }
.mini--img .ph { min-height: 0; height: 100%; }
.mini--label { padding: 20px 16px; text-align: center; }
.mini__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; color: #fff; }
.mini b { font-size: .92rem; color: var(--ink); }
@media (max-width: 640px){ .stile { width: 140px; } }
@media (prefers-reduced-motion: reduce){ .mrow--top .mtrack, .mrow--bot .mtrack { animation: none; } }
.showcase__rating { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--ink); margin-top: 20px; }
.stars { display: inline-flex; gap: 1px; } .stars svg { width: 15px; height: 15px; fill: #f5a623; }

/* ---------- Section head (left aligned split) ---------- */
.shead { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.shead .h2 { margin: 16px 0 12px; }
.shead .lead { margin: 0 auto; }
.shead-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 40px; }
.shead-split .lead { margin: 0; }

/* ---------- Bento cards ---------- */
.bento2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bcard { border-radius: var(--radius-xl); padding: 34px; position: relative; overflow: hidden; min-height: 440px; }
.bcard--light { background: #e9e8e6; }
.bcard--dark { background: var(--dark); color: #fff; }
.bcard--photo { background: linear-gradient(180deg, rgba(10,20,10,.5), rgba(10,20,10,.85)), #14301a; color: #fff; }
.bcard h3 { color: inherit; font-size: 1.5rem; margin-bottom: 10px; }
.bcard--light h3 { color: var(--ink); }
.bcard p { color: rgba(255,255,255,.7); max-width: 34ch; }
.bcard--light p { color: var(--muted); }
.bcard--wide { grid-column: 1 / -1; min-height: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }

.mockcard { background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); color: var(--ink); }
.mockcard--center { text-align: center; }
.streak-fire { font-size: 2.4rem; }
.streak-days { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.streak-days .d { width: 44px; height: 60px; border-radius: 14px; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 800; position: relative; font-size: .9rem; }
.streak-days .d small { position: absolute; bottom: -20px; color: var(--muted); font-weight: 600; }
.streak-days .d--red { background: var(--red); }
.pillrow { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pillrow .p { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .88rem; }
.pillrow .p .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; }

/* planner list */
.planner { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 18px; margin-top: 20px; }
.planner__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.planner__row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.planner__row .t { font-size: .78rem; color: rgba(255,255,255,.7); width: 56px; }
.planner__row .task { flex: 1; display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; }
.planner__row.done .task { background: rgba(55,214,122,.18); border: 1px solid rgba(55,214,122,.4); }

/* ---------- Rings dark card ---------- */
.rings { display: flex; gap: 22px; justify-content: center; margin-top: 20px; }
.rings .r { text-align: center; }
.rings .ring2 { --p:80; --c:#f5a623; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p)*1%), rgba(255,255,255,.12) 0); display: grid; place-items: center; position: relative; margin: 0 auto 8px; }
.rings .ring2::before { content: ""; position: absolute; inset: 9px; background: var(--dark-2); border-radius: 50%; }
.rings .ring2 b { position: relative; font-weight: 900; font-size: 1.1rem; }
.rings .r span { font-size: .86rem; color: rgba(255,255,255,.7); }
.twostat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.twostat > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px; }
.twostat .big { font-size: 1.8rem; font-weight: 900; float: right; }
.twostat .k { font-weight: 700; } .twostat .sub { color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 20px; }
.notif { background: var(--dark-2); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px; max-width: 320px; margin: 30px auto 0; box-shadow: var(--shadow); }
.notif .meta { color: var(--muted-2); font-size: .78rem; }
.notif b { display: block; margin: 4px 0; }
.notif p { color: rgba(255,255,255,.7); font-size: .86rem; }
.notif .acts { display: flex; gap: 10px; margin-top: 12px; }
.notif .acts .btn { padding: 9px 18px; font-size: .85rem; }

/* ---------- App-realistic mockups (bento) ---------- */
.appmock { background: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow); color: var(--ink); margin-top: 24px; }
.appmock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.appmock__head b { font-size: 1.05rem; }
.appmock__share { display: inline-flex; align-items: center; gap: 6px; background: #f4f4f5; border-radius: 999px; padding: 7px 13px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.appmock__share svg { width: 14px; height: 14px; }

/* streak */
.amk-eq { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; background: #f4f4f5; border-radius: 14px; padding: 12px; font-size: .84rem; color: var(--muted); font-weight: 600; }
.amk-eq b { color: var(--red); }
.amk-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.amk-stat { background: #f6f6f7; border-radius: 16px; padding: 14px 8px; text-align: center; }
.amk-stat .ic { font-size: 1.15rem; }
.amk-stat .n { font-size: 1.7rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.amk-stat .l { font-size: .74rem; color: var(--muted); }
.amk-stat--fire .n { color: #f59e0b; } .amk-stat--best .n { color: #eab308; } .amk-stat--total .n { color: #3b82f6; }
.amk-medals { display: flex; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.amk-medal { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .7rem; color: var(--muted); }
.amk-medal .disc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; font-size: .95rem; box-shadow: inset 0 -3px 6px rgba(0,0,0,.15); }
.amk-medal .disc--bronze { background: linear-gradient(160deg,#d98a4e,#b5652c); }
.amk-medal .disc--silver { background: linear-gradient(160deg,#d7d9de,#a6abb5); }

/* gauges */
.gauges { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.gcard { background: #fff; border-radius: 18px; padding: 14px 10px 12px; box-shadow: var(--shadow-sm); text-align: center; }
.gcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.gcard__top b { font-size: .84rem; } .gcard__top span { font-size: .9rem; opacity: .5; }
.gauge { width: 100%; height: auto; display: block; }
.gauge .track { fill: none; stroke: #ededf0; stroke-width: 9; stroke-linecap: round; }
.gauge .fill { fill: none; stroke-width: 9; stroke-linecap: round; }
.gcard .val { font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; margin-top: -6px; }
.gcard .st { font-size: .74rem; font-weight: 700; }
.c-green { color: #22c55e; } .c-amber { color: #eab308; } .s-green { stroke: #22c55e; } .s-amber { stroke: #eab308; }

/* sleep detail */
.sleep-bars { display: grid; gap: 10px; margin: 6px 0 16px; }
.sleep-bars .bar { height: 12px; border-radius: 999px; background: #eeeeef; overflow: hidden; }
.sleep-bars .bar i { display: block; height: 100%; border-radius: 999px; background: #22c55e; }
.sleep-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.sleep-stats .k { font-size: .8rem; color: var(--muted); }
.sleep-stats .v { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; }

/* training history */
.hist__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hist__head b { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; }
.hist__head b .hi { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,25,71,.12); display: grid; place-items: center; }
.hist__head b .hi svg { width: 15px; height: 15px; stroke: var(--red); }
.hist__head span { font-size: .78rem; color: var(--muted); }
.hist-day { font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; margin: 12px 0 6px; }
.hist-item { display: flex; align-items: center; gap: 12px; background: #fafafa; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.hist-item .tico { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.hist-item .tico svg { width: 20px; height: 20px; }
.hist-item .tico--red { background: rgba(255,25,71,.12); } .hist-item .tico--red svg { stroke: var(--red); }
.hist-item .tico--blue { background: rgba(59,130,246,.14); } .hist-item .tico--blue svg { stroke: #3b82f6; }
.hist-item .body { flex: 1; min-width: 0; }
.hist-item .title { font-weight: 800; font-size: .95rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hist-item .title .when { color: var(--muted); font-weight: 600; font-size: .82rem; }
.hist-item .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 5px; font-size: .8rem; color: var(--muted); }
.hist-item .meta .rpe { color: var(--red); font-weight: 700; }
.hist-item .meta .rpe--mid { color: #f59e0b; }
.zone { font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.zone--z3 { background: rgba(234,179,8,.18); color: #a16207; }
.zone--z2 { background: rgba(34,197,94,.18); color: #15803d; }
.hist-item .load { flex: none; text-align: center; background: #f1f1f2; border-radius: 12px; padding: 8px 12px; }
.hist-item .load .n { font-size: 1.2rem; font-weight: 900; letter-spacing: -.03em; }
.hist-item .load .l { font-size: .6rem; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 520px){ .amk-stat .n { font-size: 1.4rem; } .hist-item .meta { gap: 7px; } }

/* ---------- Tab section ---------- */
.dots-bg { background: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px); background-size: 22px 22px; border-radius: var(--radius-xl); padding: 60px 24px; }
.tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 34px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-weight: 700; font-family: inherit; cursor: pointer; color: var(--muted); transition: .2s; }
.tabs button.active { color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-visual { max-width: 960px; margin: 0 auto; }
.tab-visual .frame { position: relative; }
.tab-visual .overlay { position: absolute; right: 20px; bottom: 20px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); color: #fff; border-radius: 18px; padding: 20px; max-width: 320px; }
.tab-visual .overlay .big { font-size: 2rem; font-weight: 900; }
.hashtags { text-align: center; margin-top: 30px; color: var(--muted); font-weight: 600; }
.hashtags .row { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.hashtags .row span { color: var(--ink); font-weight: 800; }

/* ---------- Portrait testimonial cards ---------- */
.portraits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/3.3; box-shadow: var(--shadow); }
.pcard .ph { min-height: 100%; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 35%, rgba(0,0,0,.75) 100%); }
.pcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pcard .top { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2; color: #fff; font-weight: 800; }
.pcard .top span { color: rgba(255,255,255,.7); font-weight: 600; }
.pcard .bottom { position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 2; color: #fff; font-weight: 700; font-size: .98rem; }

/* ---------- Big number stat ---------- */
.bignum { text-align: center; }
.bignum .n { font-size: clamp(4rem, 12vw, 9rem); font-weight: 900; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.bignum .tagnote { display: inline-block; background: #fff; box-shadow: var(--shadow-sm); border-radius: 999px; padding: 8px 18px; font-weight: 700; transform: rotate(-3deg); margin-top: -6px; position: relative; }
.stat3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; text-align: center; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.stat3 .n { font-size: clamp(2.4rem,4vw,3.2rem); font-weight: 900; color: var(--ink); letter-spacing: -.04em; }
.stat3 .n em { font-style: normal; color: var(--red); }
.stat3 .l { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- AI split ---------- */
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ai-visual { position: relative; }
.ai-visual .frame { aspect-ratio: 4/3.4; }
.ai-chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; font-weight: 700; font-size: .86rem; }
.ai-chip .go { display: inline-block; margin-top: 6px; color: var(--red); font-size: .8rem; }
.ai-chip--1 { left: -10px; top: 20%; background: var(--dark); color: #fff; }
.ai-chip--2 { left: -20px; top: 46%; }
.ai-chip--3 { left: 0; top: 70%; }
.feat4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 50px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.fcard .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 40px; }
.fcard h3 { font-size: 1.12rem; margin-bottom: 6px; }
.fcard p { color: var(--muted); font-size: .92rem; }

/* ---------- Reviews (light gray cards) ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.rcard { background: #e9e8e6; border-radius: var(--radius-lg); padding: 24px; }
.rcard p { color: var(--text); margin-bottom: 18px; }
.rcard .who { display: flex; align-items: center; gap: 12px; }
.rcard .av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.rcard .who b { display: block; font-size: .92rem; } .rcard .who span { color: var(--muted); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.faq-help { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-top: 24px; }
.faq-help .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; margin-bottom: 16px; box-shadow: var(--shadow-red); }
.faq { display: grid; gap: 14px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.qa__q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font-weight: 700; font-size: 1.02rem; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; font-family: inherit; }
.qa__q .plus { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--ink); font-size: 1.2rem; transition: transform .3s; flex: none; }
.qa.open .qa__q .plus { transform: rotate(45deg); background: var(--red); color: #fff; }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.qa__a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Download CTA ---------- */
.dl { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.dl__left h2 { margin-bottom: 12px; }
.dl__left .stores { flex-direction: column; align-items: flex-start; margin-top: 24px; }
.dl__phone { display: grid; place-items: center; }
.dl__qr { text-align: right; }
.qr { width: 150px; height: 150px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); padding: 14px; margin-left: auto; margin-top: 16px; }
.qr img, .qr svg { width: 100%; height: 100%; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px; color: var(--ink); font-family: inherit; font-size: .96rem; transition: .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,25,71,.14); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- Generic card/split reused by subpages ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,25,71,.1); border: 1px solid rgba(255,25,71,.25); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; stroke: var(--red); }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card--link { display: block; text-decoration: none; color: inherit; }
.card--link:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.card__more { display: inline-block; margin-top: 12px; color: var(--red); font-weight: 800; font-size: .9rem; }
.grid { display: grid; gap: 22px; } .grid--3 { grid-template-columns: repeat(3,1fr); } .grid--2 { grid-template-columns: repeat(2,1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; box-shadow: var(--shadow); }
.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checks li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.aud { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.aud__card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: #fff; box-shadow: var(--shadow-sm); transition: .3s var(--ease); }
.aud__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.aud__tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.aud__card h3 { margin: 12px 0 10px; font-size: 1.35rem; }
.aud__card ul { display: grid; gap: 9px; margin-top: 14px; }
.aud__card li { display: flex; gap: 10px; color: var(--muted); font-size: .93rem; }
.aud__card li::before { content: "→"; color: var(--red); font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: #fff; box-shadow: var(--shadow-sm); }
.step__n { font-size: 2.4rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.step h3 { font-size: 1.15rem; margin: 12px 0 8px; } .step p { color: var(--muted); font-size: .95rem; }
.pagehero { padding: 150px 0 40px; }
.pagehero .lead { margin-top: 16px; }
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; text-align: center; padding: 44px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-sm); }
.stat .n { font-size: clamp(2rem,4vw,3rem); font-weight: 900; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--muted); font-size: .9rem; margin-top: 4px; }
@media (max-width: 900px){ .stats-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .stats-band { grid-template-columns: 1fr; padding: 30px 20px; } }
.cta { border-radius: var(--radius-xl); padding: 64px; text-align: center; background: var(--dark); color: #fff; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.12); }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta .lead { color: rgba(255,255,255,.7); }

/* ---------- Ceník ---------- */
.billing { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; box-shadow: var(--shadow-sm); margin: 8px auto 0; }
.billing button { border: none; background: transparent; font: inherit; font-weight: 600; font-size: .92rem; color: var(--muted); padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: .2s; }
.billing button.active { background: var(--dark); color: #fff; }
.billing .save { font-size: .72rem; font-weight: 700; color: var(--red); background: rgba(255,25,71,.1); padding: 3px 8px; border-radius: 999px; margin-left: 4px; }
.plans { display: grid; gap: 20px; }
.plans--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--red); box-shadow: var(--shadow-red); }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; letter-spacing: -.02em; }
.plan__who { color: var(--muted); font-size: .9rem; margin-top: 4px; min-height: 2.6em; }
.plan__price { margin: 18px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.plan__price .amt { font-size: 2.5rem; font-weight: 900; letter-spacing: -.04em; }
.plan__price .per { color: var(--muted); font-size: .95rem; font-weight: 600; }
.plan__note { color: var(--muted); font-size: .82rem; min-height: 1.2em; margin-bottom: 20px; }
.plan .btn { width: 100%; justify-content: center; }
.plan__feats { list-style: none; margin: 22px 0 0; display: grid; gap: 11px; }
.plan__feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--text); }
.plan__feats li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; stroke: var(--red); }
.price-fine { text-align: center; color: var(--muted); font-size: .86rem; max-width: 60ch; margin: 34px auto 0; }
@media (max-width: 860px){ .plans--3 { grid-template-columns: 1fr; } .plans--2 { grid-template-columns: 1fr; max-width: 420px; } }
.ph { width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, rgba(255,25,71,.35), rgba(20,10,12,.75)), repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px), #1a1013; display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .04em; padding: 16px; }
.ph b { display: block; color: #fff; font-size: .92rem; margin-bottom: 4px; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 34px; border-top: 1px solid var(--line); margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 16px; }
.footer a { display: block; color: var(--muted); font-size: .94rem; padding: 5px 0; transition: .2s; }
.footer a:hover { color: var(--ink); }
.footer__brand p { color: var(--muted); font-size: .94rem; margin: 14px 0 18px; max-width: 32ch; }
.subscribe { display: flex; gap: 8px; max-width: 380px; }
.subscribe input { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px; font-family: inherit; }
.subscribe input:focus { outline: 0; border-color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.footer__social a:hover { background: var(--dark); }
.footer__social a:hover svg { fill: #fff; stroke: #fff; }
.footer__social svg { width: 17px; height: 17px; }

/* ---------- App UI bento (user tiles) ---------- */
.uipanel { position: relative; border-radius: var(--radius-xl); padding: 26px; overflow: hidden; box-shadow: var(--shadow); }
.uipanel::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(rgba(12,6,8,.5), rgba(12,6,8,.6)), url("../../images/locker-room.jpg") center / cover no-repeat; }
.uipanel .uibento { position: relative; z-index: 1; }
.uibento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 188px; grid-auto-flow: dense; gap: 16px; }
.uitile { position: relative; background: transparent; }
.uitile > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.u-wide { grid-column: span 2; }
.u-tall { grid-row: span 2; }
.u-big { grid-column: span 2; grid-row: span 2; }
.phone__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 4; }
/* Živé HTML dlaždice dashboardu */
.uibento .uitile { background: #120a0c; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; overflow: hidden; }
.uitile__t { font-weight: 800; color: #fff; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; }
.dgauge { position: relative; width: 104px; height: 104px; margin: auto; }
.dgauge i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p,60) * 1%), rgba(255,255,255,.10) 0); }
.dgauge i::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #120a0c; }
.dgauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; color: var(--c); }
.dsvg { width: 100%; height: auto; display: block; margin: auto 0; }
.dsvg--body { width: auto; max-width: 100%; max-height: 340px; margin: 8px auto 0; object-fit: contain; }
.u-tall .dsvg, .u-wide .dsvg { margin: 8px 0 0; }

@media (max-width: 900px) { .uibento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 620px) { .uibento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .u-wide, .u-big { grid-column: span 2; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ========== Interaktivita & animace (Habitline-style) ========== */
/* Nav — jemný stín po odscrollování */
.nav.is-scrolled .nav__pill,
.nav.is-scrolled .nav__links,
.nav.is-scrolled .nav__right { box-shadow: 0 16px 36px -20px rgba(0,0,0,.45); }

/* Hero — staggered nástup po načtení (jen když běží JS) */
.js .hero__badge,
.js .hero__title,
.js .hero__sub,
.js .hero__actions,
.js .hero__stage { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.is-loaded .hero__badge { opacity: 1; transform: none; transition-delay: .05s; }
.is-loaded .hero__title { opacity: 1; transform: none; transition-delay: .16s; }
.is-loaded .hero__sub { opacity: 1; transform: none; transition-delay: .27s; }
.is-loaded .hero__actions { opacity: 1; transform: none; transition-delay: .38s; }
.is-loaded .hero__stage { opacity: 1; transform: none; transition-delay: .5s; }

/* Hero prvky se jemně vznášejí */
.hero-dash { will-change: transform; }
.is-loaded .hero-dash--l { animation: floaty 6s ease-in-out .7s infinite; }
.is-loaded .hero-dash--mid { animation: floaty 7.5s ease-in-out .2s infinite; }
.is-loaded .hero-dash--r { animation: floaty 6.6s ease-in-out 1s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* Tlačítka — lesklý sweep při hoveru */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-18deg); pointer-events: none; }
.btn:hover::after { animation: sweep .75s var(--ease); }
@keyframes sweep { to { left: 140%; } }
.btn--white::after { background: linear-gradient(100deg, transparent, rgba(0,0,0,.06), transparent); }

/* Store tlačítka — jemný lesk */
.store { position: relative; overflow: hidden; }
.store::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-18deg); pointer-events: none; }
.store--dark:hover::after { animation: sweep .8s var(--ease); }

/* Přepínač tabů — jemný náběh obsahu */
.tab-anim { animation: tabin .5s var(--ease); }
@keyframes tabin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Karty & dlaždice — hladší hover s posunem */
.tile, .card, .aud__card, .fcard, .tcard, .rcard, .step, .plan { transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s; }
.uitile { transition: transform .32s var(--ease), box-shadow .32s var(--ease); }
.uitile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard { transition: transform .35s var(--ease); }
.pcard:hover { transform: translateY(-6px); }

/* Mraky (download sekce + patička) — vzdušný efekt jako v Habitline */
.dl-section { position: relative; overflow: hidden; }
.dl-section > .container { position: relative; z-index: 2; }
.cloud { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.cloud--a { width: 480px; left: -110px; top: 6px; opacity: .9; animation: drift 18s ease-in-out infinite; }
.cloud--b { width: 340px; right: -70px; top: 40px; opacity: .85; animation: drift 22s ease-in-out infinite reverse; }
.cloud--band { width: 112%; left: -6%; bottom: -40px; opacity: .8; animation: drift 28s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(26px); } }
.footer { position: relative; overflow: hidden; }
.footer > .container { position: relative; z-index: 2; }
.cloud--foot { width: 122%; left: -11%; top: -50px; opacity: .7; animation: drift 32s ease-in-out infinite reverse; }
@media (max-width: 620px) { .cloud--a, .cloud--b { display: none; } }

/* Ohleduplnost k pohybu */
@media (prefers-reduced-motion: reduce) {
  .hero-dash, .cloud { animation: none !important; }
  .btn::after, .store::after { display: none; }
  .reveal { transition-duration: .01ms; }
  .js .hero__badge, .js .hero__title, .js .hero__sub, .js .hero__actions, .js .hero__stage { transition-duration: .01ms; }
}


/* Trial note — 3 dny zdarma */
.trial-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: .88rem; margin-top: 14px; }
.trial-note svg { flex: none; }
.trial-note b { color: var(--ink); }
.hero .trial-note { color: rgba(255,255,255,.85); justify-content: center; }
.hero .trial-note b { color: #fff; }

/* ---------- Match dashboard (statistiky zápasu) ---------- */
.mdash { background: #0d0d10; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.mdash__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.mdash__title { color: #fff; font-weight: 900; font-size: 1.2rem; display: flex; align-items: center; gap: 12px; }
.mdash__ico { width: 46px; height: 46px; border-radius: 12px; background: #3a1116; display: grid; place-items: center; color: #ff2d55; flex: none; }
.mdash__title small { display: block; color: #9a9aa2; font-weight: 600; font-size: .8rem; margin-top: 2px; }
.mdash__score { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 900; }
.mdash__score b { background: #17171c; border: 1px solid #26262e; border-radius: 10px; padding: 8px 16px; font-size: 1.3rem; }
.mtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.mtabs span { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: #9a9aa2; background: #141418; border: 1px solid #24242b; }
.mtabs span.on { background: #fff; color: #0d0d10; }
.mgrid2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.mcard { background: #141418; border: 1px solid #24242b; border-radius: 16px; padding: 18px; }
.mcard h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.evgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.evbtn { border-radius: 12px; padding: 13px 8px; text-align: center; font-weight: 800; font-size: .82rem; border: 1px solid; }
.advgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.advcard { background: #17171c; border: 1px solid #24242b; border-radius: 14px; padding: 16px 10px; text-align: center; }
.advcard .n { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.advcard .k { color: #9a9aa2; font-size: .78rem; margin-top: 2px; }
.mtable { width: 100%; border-collapse: separate; border-spacing: 8px 6px; }
.mtable td { padding: 10px; text-align: center; color: #fff; font-weight: 800; }
.mtable td.stat { color: #9a9aa2; font-weight: 600; width: 34%; }
.mtable td.v { background: #17171c; border: 1px solid #24242b; border-radius: 8px; }
.mrink { background: #131317; border-radius: 12px; padding: 12px; }
.mrink svg { display: block; width: 100%; height: auto; }
.mlegend { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; color: #9a9aa2; font-size: .78rem; font-weight: 600; }
.mlegend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
@media (max-width: 820px) { .mgrid2 { grid-template-columns: 1fr; } .advgrid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Přepínač publika na Funkcích ---------- */
.fswitch { display: flex; justify-content: center; margin: 6px auto 40px; }
.fswitch__in { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-sm); gap: 4px; }
.fswitch button { border: 0; background: none; font-family: inherit; font-weight: 800; color: var(--muted); padding: 12px 24px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s; white-space: nowrap; }
.fswitch button.on { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.fpanel[hidden] { display: none; }
@media (max-width: 620px) { .fswitch__in { width: 100%; } .fswitch button { flex: 1; padding: 12px 6px; font-size: .86rem; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .portraits { grid-template-columns: repeat(2,1fr); }
  .feat4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .bento2, .bcard--wide, .ai-split, .faq-split, .shead-split, .dl { grid-template-columns: 1fr; }
  .dl__qr { text-align: center; } .qr { margin: 16px auto 0; }
  .dl__left .stores { align-items: center; }
  .rev-grid, .aud, .steps, .grid--3, .split, .split--rev .split__media, .stat3 { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.mobile { display: flex; position: fixed; inset: 90px 16px auto 16px; flex-direction: column; padding: 12px; border-radius: 24px; box-shadow: var(--shadow); }
  .nav__links.mobile a { padding: 14px; }
  .hero__stage { height: 360px; }
  .float-card { display: none; }
  .showcase__cards { display: none; }
  .showcase__side { display: none; }
  .showcase { gap: 0; }
  .ai-chip { position: static; display: inline-block; margin: 8px 8px 0 0; }
  .ai-visual .frame { margin-bottom: 12px; }
}
@media (max-width: 620px) {
  .section { padding: 66px 0; }
  .stat3, .grid--2, .feat4, .portraits, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .rings { flex-wrap: wrap; }
  .cta { padding: 40px 22px; }
  .bcard { padding: 26px; min-height: 0; }
}
/* ---------- Taktická tabule (scroll animace) ---------- */
.tactics { position: relative; }
.tboard { position: relative; margin-top: 34px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(180deg, #ffffff 0%, #eef4f8 100%); padding: 3.4% 3%; }
.tboard__svg { display: block; width: 100%; height: auto; }
.tplayer text { font-family: var(--font-head); font-weight: 700; fill: #fff; text-anchor: middle; dominant-baseline: central; font-size: 34px; pointer-events: none; }
.tplayer circle { filter: drop-shadow(0 4px 8px rgba(0,0,0,.45)); }
.tboard__legend { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 20px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.tboard__legend .dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.tboard__scrub { position: absolute; left: 3%; right: 3%; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; }
.tboard__scrub i { display: block; height: 100%; width: 0%; background: var(--grad); border-radius: 4px; }
@media (max-width: 620px) { .tboard { padding: 5% 4%; border-radius: 20px; } .tplayer text { font-size: 40px; } }

/* ---------- Detailní stránky funkcí ---------- */
.fp-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.fp-hero__media { display: flex; justify-content: center; }
.fp-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.fp-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-sm); }

/* Telefon + rekonstrukce obrazovky aplikace */
.device { width: 300px; flex: none; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #26262c, #0a0a0d); border: 1px solid #333; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.device__scr { position: relative; border-radius: 34px; overflow: hidden; background: #0b0b0e; }
.ascreen { background: #0b0b0e; color: #fff; padding: 40px 15px 15px; display: flex; flex-direction: column; gap: 11px; font-size: 13px; }
.ascreen__bar { position: absolute; top: 15px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 24px; font-size: 11px; color: #e8e8ee; font-weight: 600; z-index: 2; }
.ascreen__top { display: flex; align-items: center; justify-content: space-between; }
.ascreen__logo { font-weight: 900; letter-spacing: -.02em; }
.acard { background: #161619; border: 1px solid #24242b; border-radius: 18px; padding: 14px; }
.acard--accent { background: linear-gradient(180deg, #1e1013, #161619); border-color: #3a1f27; }
.arow { display: flex; align-items: center; justify-content: space-between; }
.amut { color: #9a9aa2; }
.aval { font-weight: 800; }
.a-ring { position: relative; width: 92px; height: 92px; flex: none; }
.a-ring i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#ff2d55 calc(var(--p,67) * 1%), #2a2a30 0); }
.a-ring i::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #161619; }
.a-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 29px; font-weight: 900; color: #ff2d55; }
.aeyebrow { color: #ff2d55; font-weight: 800; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.anav { display: flex; justify-content: space-between; padding: 8px 4px 0; color: #6a6a73; font-size: 8.5px; }
.anav span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.anav .on { color: #ff2d55; }

/* Rozpad výpočtu — vstupy s pruhy */
.calc { display: grid; gap: 12px; max-width: 640px; }
.calc__row { display: grid; grid-template-columns: 140px 1fr 52px; gap: 14px; align-items: center; }
.calc__row .lbl { font-weight: 700; }
.calc__row .track { height: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.calc__row .track i { display: block; height: 100%; background: var(--grad); border-radius: 8px; }
.calc__row .num { text-align: right; font-weight: 800; }

/* Pásma indexu */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zone { border-radius: 18px; padding: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.zone__bar { height: 8px; border-radius: 6px; margin-bottom: 14px; }
.zone .rng { font-weight: 900; font-size: 1.5rem; letter-spacing: -.03em; }
.zone h4 { font-size: 1.05rem; margin: 2px 0 6px; }

/* Navigace zpět / mezi funkcemi */
.fp-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.fp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.fp-step { position: relative; padding-top: 14px; }
.fp-step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; margin-bottom: 14px; }
.fp-step h4 { font-size: 1.1rem; margin-bottom: 6px; }

/* Samostatný vizuál (radar, křivka, zóny, silueta) */
.fp-visual { max-width: 560px; margin: 8px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); }
.fp-visual--dark { background: #0f0f13; border-color: #24242b; }
.fp-visual svg { display: block; width: 100%; height: auto; }
.fp-legend { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-weight: 600; font-size: .85rem; }
.fp-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.fp-visual--dark .fp-legend { color: #c9c9d2; }
.hrz { display: grid; gap: 12px; }
.hrz__row { display: grid; grid-template-columns: 40px 1fr 56px; gap: 12px; align-items: center; }
.hrz__row b { font-weight: 800; }
.hrz__bar { height: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.hrz__bar i { display: block; height: 100%; border-radius: 8px; }
.hrz__row .t { text-align: right; color: var(--muted); font-weight: 700; font-size: .9rem; }

@media (max-width: 900px) { .fp-hero { grid-template-columns: 1fr; gap: 30px; } .fp-hero__media { order: -1; } .zones, .fp-steps { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc__row { grid-template-columns: 96px 1fr 40px; gap: 10px; } }

/* Velmi malé displeje (≤400px) — poslední pojistka proti přetékání */
@media (max-width: 400px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .plan { padding: 26px 20px; }
  .plan__price .amt { font-size: 2.2rem; }
  .plans--2 { max-width: 100%; }
  .stile { width: 128px; }
}

/* ============================================================
   ODZNAKY / ACHIEVEMENTS — čistá kompaktní galerie
   ============================================================ */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  align-items: start;
  margin-top: 28px;
}
.ach-card {
  background: transparent;
  border: 0;
  padding: 6px 4px;
  text-align: center;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.ach-card:hover { transform: translateY(-5px); filter: drop-shadow(0 20px 26px rgba(0,0,0,.28)); }
.ach-card__img { display: block; height: 138px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.ach-card__name { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .3px; text-transform: uppercase; }
.ach-card__desc { font-size: .72rem; line-height: 1.4; color: rgba(255,255,255,.55); margin-top: 5px; }

/* Poznámka o sdílení v aplikaci */
.ach-note {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; text-align: left;
  margin: 24px auto 0; max-width: 620px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}
.ach-note svg { width: 22px; height: 22px; flex: none; color: var(--red); }
.ach-note p { margin: 0; font-size: .95rem; color: var(--text); }
.ach-note b { color: var(--ink); }

@media (max-width: 560px) {
  .ach-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ach-card__img { height: 124px; }
}

.dl__phone-img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; filter: drop-shadow(0 40px 70px rgba(0,0,0,.35)); }

/* ============================================================
   Cookie souhlas banner (GDPR / Consent Mode v2)
   ============================================================ */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cc-banner--in { opacity: 1; transform: none; }
.cc-banner__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 20px; }
.cc-banner__text { margin: 0; flex: 1 1 320px; font-size: .9rem; color: var(--text); line-height: 1.5; }
.cc-banner__text a { color: var(--red); font-weight: 700; }
.cc-banner__btns { display: flex; gap: 10px; flex: 0 0 auto; }
.cc-btn { padding: 10px 20px; border-radius: 999px; font-weight: 700; font-family: inherit; font-size: .9rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s; }
.cc-btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-red); }
.cc-btn--primary:hover { transform: translateY(-2px); }
.cc-btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.cc-btn--ghost:hover { background: var(--bg-alt); }
@media (max-width: 520px) {
  .cc-banner__inner { padding: 14px 16px; }
  .cc-banner__btns { width: 100%; }
  .cc-btn { flex: 1; }
}

/* Právní stránka (ochrana údajů) */
.legal h2.h3 { margin: 30px 0 10px; }
.legal h2.h3:first-child { margin-top: 0; }
.legal p { color: var(--text); margin: 0 0 12px; line-height: 1.65; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 7px; }
.legal li { color: var(--text); line-height: 1.55; }
.legal a { color: var(--red); font-weight: 600; }

/* ============================================================
   Odznaky — plynulý posuvný pás (marquee)
   ============================================================ */
.ach-marquee {
  overflow: hidden;
  margin: 34px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.ach-marquee__track {
  display: flex;
  align-items: flex-end;
  gap: 68px;
  width: max-content;
  animation: ach-scroll 55s linear infinite;
}
.ach-marquee:hover .ach-marquee__track { animation-play-state: paused; }
.ach-mq { flex: 0 0 auto; transition: transform .3s var(--ease); }
.ach-mq:hover { transform: translateY(-6px); }
.ach-mq__img { height: 172px; width: auto; display: block; }
@keyframes ach-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ach-marquee__track { animation: none; }
}
@media (max-width: 560px) {
  .ach-marquee__track { gap: 40px; animation-duration: 42s; }
  .ach-mq__img { height: 138px; }
}

/* ============================================================
   BLOG — přehled článků + článek
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.post-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 22px 24px 26px; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.post-card__body .post-card__cat, .post-card__cat { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.post-card__title { font-size: 1.28rem; line-height: 1.25; margin: 12px 0 10px; }
.post-card__excerpt { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.post-card__meta { display: block; margin-top: 16px; color: var(--muted-2); font-size: .82rem; font-weight: 600; }

.post-meta { color: var(--muted); font-size: .9rem; font-weight: 600; margin-top: 14px; }
.article { font-size: 1.06rem; }
.article .lead { margin-bottom: 22px; }
.article h2.h3 { margin: 34px 0 12px; }
.article p { color: var(--text); line-height: 1.75; margin: 0 0 16px; }
.article ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.article li { line-height: 1.65; }
.article b { color: var(--ink); }
.post-cta { margin-top: 40px; padding: 34px; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--line); text-align: center; }
.post-cta h3 { font-size: 1.4rem; }
.post-cta p { color: var(--muted); max-width: 46ch; margin: 10px auto 0; }

/* ============================================================
   Mobilní doladění (menu, audience karty, telefon v patičce)
   ============================================================ */
@media (max-width: 900px) {
  /* store ikonky v horní liště na mobilu překážely — schovat (jsou v heru i download sekci) */
  .nav__right { display: none; }
}
@media (max-width: 640px) {
  /* audience taby: širší poměr ořezával text v overlayi → udělat vyšší a overlay přes celou šířku */
  .tab-visual .frame { aspect-ratio: 3 / 4 !important; }
  .tab-visual .overlay { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 18px; }
  .tab-visual .overlay p { font-size: .9rem; }
  .tab-visual .overlay .big { font-size: 1.9rem; }
  /* telefon v download sekci byl na mobilu moc dlouhý */
  .dl__phone-img { max-width: 188px; }
}

/* Blog — úvodní obrázek článku */
.post-hero-img { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 26px; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   NOVINKY / changelog
   ============================================================ */
.release { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 34px; margin-bottom: 26px; }
.release__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.release__ver { display: inline-block; background: var(--grad); color: #fff; font-weight: 800; font-size: .82rem; padding: 5px 14px; border-radius: 999px; letter-spacing: .02em; }
.release__date { color: var(--muted); font-weight: 600; font-size: .9rem; }
.release__title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin: 14px 0 12px; }
.release__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.release__tags span { background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.release__group { margin-top: 22px; }
.release__group h3 { font-size: 1.05rem; margin-bottom: 10px; }
.release__group ul { list-style: none; display: grid; gap: 9px; padding: 0; }
.release__group li { display: flex; gap: 10px; color: var(--text); line-height: 1.6; font-size: .96rem; }
.release__group li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--red); }
@media (max-width: 560px) { .release { padding: 24px 20px; } }

/* Blog — grafy, vzorce, shrnutí */
.chartfig { margin: 28px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 18px; box-shadow: var(--shadow-sm); }
.chartfig svg { width: 100%; height: auto; display: block; }
.chartfig figcaption { margin-top: 12px; color: var(--muted); font-size: .85rem; line-height: 1.5; text-align: center; }
.chartfig figcaption b { color: var(--ink); }
.article .formula { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 16px 20px; margin: 18px 0; font-size: 1rem; line-height: 1.7; }
.article .formula b { color: var(--ink); }
.tldr { background: #0e0e11; color: #fff; border-radius: var(--radius-lg); padding: 28px 30px; margin-top: 38px; }
.tldr h3 { color: #fff; margin-bottom: 12px; font-size: 1.3rem; }
.tldr ul { padding-left: 20px; display: grid; gap: 8px; }
.tldr li { color: rgba(255,255,255,.85); line-height: 1.6; }
.tldr b { color: #fff; }
@media (max-width: 560px) { .chartfig { padding: 14px 12px; } }
