/* Vlogger Buddy — stránky aplikácie na brtech.sk
   Tokeny a štýl sú prevzaté z hlavnej stránky (index.html).
   Žiadne externé fonty ani skripty: stránky nenačítavajú nič od tretích strán. */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-dark: #0b0b0e;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #a1a1a6;
  --line: #e6e6ea;
  --accent: oklch(0.55 0.18 265);
  --accent-light: oklch(0.78 0.14 265);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(20,20,40,.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,.06), 0 30px 80px rgba(20,20,40,.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--accent); font-weight: 600; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { left: 12px; }

/* ====== NAV ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.02em; font-size: 18px; color: var(--ink);
}
.brand small { font-weight: 500; font-size: 14px; color: var(--ink-2); letter-spacing: -0.01em; }
.brand small::before { content: "/"; margin-right: 10px; color: var(--ink-3); }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav__links a { transition: color .25s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta {
  font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  background: var(--ink); color: #fff;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); background: #2a2a2e; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); background: #2a2a2e; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--bg-soft); border-color: transparent; }

/* App Store tlačidlo. Pred spustením nahradiť oficiálnym odznakom „Download on the App Store"
   (developer.apple.com/app-store/marketing/guidelines/), Apple ho dovoľuje len v pôvodnej podobe. */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 16px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid #3a3a3d;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.appstore svg { width: 30px; height: 30px; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: .85; }
.appstore b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }

/* ====== LAYOUT ====== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-2); text-transform: uppercase; margin-bottom: 24px;
}
.h2 {
  font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; line-height: 1.04;
  letter-spacing: -0.035em; text-wrap: balance; margin-bottom: 20px;
}
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.5; max-width: 620px; }
section { padding: 100px 0; }

/* ====== HERO ====== */
.hero {
  position: relative; overflow: hidden; padding: 150px 0 90px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 70%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; animation: float 18s ease-in-out infinite; }
.hero__orb--a { width: 480px; height: 480px; top: -140px; left: -140px; background: radial-gradient(circle, oklch(0.85 0.12 265) 0%, transparent 70%); }
.hero__orb--b { width: 440px; height: 440px; bottom: -120px; right: -80px; background: radial-gradient(circle, oklch(0.88 0.08 320) 0%, transparent 70%); animation-delay: -9s; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,-30px); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title {
  font-size: clamp(44px, 6.4vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -0.045em;
  text-wrap: balance; margin-bottom: 24px;
}
.hero__title em { display: inline-block; }
.hero__lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--ink-2); line-height: 1.5; max-width: 560px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero__visual { display: flex; justify-content: center; }
.phone {
  width: min(320px, 78%); border-radius: 46px; overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,0,0,.08);
  transform: rotate(2deg);
}
.phone img { width: 100%; height: auto; }

/* ====== FEATURES ====== */
.features { background: var(--bg); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: oklch(0.96 0.02 265); color: var(--accent); margin-bottom: 6px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.card p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }

/* ====== SHOWCASE (tmavá sekcia s iPadom) ====== */
.showcase { background: var(--bg-dark); color: #f5f5f7; padding: 120px 0 110px; }
.showcase .eyebrow, .showcase .lede { color: #a1a1a6; }
.showcase em { color: var(--accent-light); }
.showcase__head { max-width: 720px; margin-bottom: 56px; }
.ipad {
  border-radius: 28px; overflow: hidden; border: 10px solid #1c1c20;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}
.ipad img { width: 100%; height: auto; }
.showcase__caption { margin-top: 22px; font-size: 14px; color: #8e8e93; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.step { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.step b { display: block; font-size: 13px; color: var(--accent-light); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: #a1a1a6; font-size: 15px; }

/* ====== SÚKROMIE (pruh) ====== */
.trust { background: var(--bg-soft); }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.trust__list { list-style: none; display: grid; gap: 14px; }
.trust__list li {
  display: flex; gap: 14px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 16px; color: var(--ink-2);
}
.trust__list li strong { color: var(--ink); display: block; font-size: 17px; margin-bottom: 2px; }
.trust__list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.textlink { font-weight: 600; border-bottom: 1px solid var(--ink-3); transition: border-color .2s var(--ease); }
.textlink:hover { border-color: var(--ink); }

/* ====== CTA ====== */
.cta { background: var(--ink); color: #fff; text-align: center; padding: 110px 0; }
.cta .h2 { font-size: clamp(38px, 6vw, 80px); letter-spacing: -0.04em; }
.cta em { color: var(--accent-light); }
.cta .lede { color: #a1a1a6; margin: 0 auto 40px; }
.cta__row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: transparent; }

/* ====== PODSTRÁNKY (podpora, súkromie) ====== */
.page { padding: 150px 0 90px; }
.page__head { margin-bottom: 48px; }
.page__title { font-size: clamp(38px, 5.4vw, 68px); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; margin-bottom: 18px; }
.page__meta { font-size: 14px; color: var(--ink-3); margin-top: 14px; }
.prose { max-width: 740px; }
.prose h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin: 48px 0 14px; }
.prose h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin: 26px 0 8px; }
.prose p, .prose li { color: #3a3a3e; font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0 22px; display: grid; gap: 8px; }
.prose a:not(.btn) { color: var(--accent); border-bottom: 1px solid oklch(0.55 0.18 265 / .35); }
.prose a:not(.btn):hover { border-color: var(--accent); }
.callout {
  margin: 28px 0; padding: 22px 24px; border-radius: var(--radius-md);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.callout strong { display: block; font-size: 17px; margin-bottom: 4px; }
.callout p { font-size: 16px; color: var(--ink-2); }
.mail-cta {
  display: flex; align-items: center; gap: 18px; padding: 22px 26px; margin: 8px 0 8px;
  background: var(--ink); color: #fff; border-radius: var(--radius-md); max-width: 560px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.mail-cta:hover { transform: translateY(-2px); background: #2a2a2e; }
.mail-cta span:first-child { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a1a1a6; }
.mail-cta b { font-size: clamp(17px, 3.5vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.mail-cta div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { padding-bottom: 20px; color: var(--ink-2); font-size: 16px; }
.faq details ul { margin-left: 22px; }
.faq details p + p { margin-top: 10px; }

/* ====== FOOTER ====== */
.footer { background: #0b0b0e; color: #a1a1a6; padding: 70px 0 30px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px 44px;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer .brand { color: #fff; margin-bottom: 14px; font-size: 22px; }
.footer__brand p { line-height: 1.6; font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer__cols a, .footer__cols span { display: block; padding: 4px 0; font-size: 14px; color: #a1a1a6; transition: color .2s var(--ease); }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 28px 28px 0;
  display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #6e6e73;
}
.footer__note { max-width: var(--maxw); margin: 0 auto; padding: 22px 28px 0; font-size: 12px; color: #55555a; }

/* ====== REVEAL (len keď beží JS) ====== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
  section { padding: 76px 0; }
  .hero { padding: 120px 0 64px; }
  .hero__grid, .trust__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { order: 2; }
  .phone { width: min(300px, 74%); transform: none; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__inner { padding: 12px 20px; }
  .brand small { display: none; }
  .wrap, .footer__inner, .footer__bottom, .footer__note { padding-left: 20px; padding-right: 20px; }
  .features__grid { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .ipad { border-width: 6px; border-radius: 18px; }
  .page { padding: 110px 0 64px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
