/* SNAJDY web – shared styles.
   Palette "Jantárová": Night #0B0805, Amber #FF6A13, Ember #B84A08, Glow #FFA94D, Mist #FBF6F2, Ink #160C08,
   Smoke #6E655F, Ash #A89E97. Never white text on Amber; buttons with white text use Ember. Font: Sora only.
   No zigzag anywhere; the brand texture is a huge outlined S symbol placed per section (assets/brand/symbol-outline.svg).
   Icons: Phosphor (MIT) sprite in assets/icons/icons.svg.
   Dark sections by default; wrap a run of sections in .light for the Mist variant. */

:root {
  --night: #0b0805;
  --amber: #ff6a13;
  --ember: #b84a08;
  --glow: #ffa94d;
  --mist: #fbf6f2;
  --ink: #160c08;
  --smoke: #6e655f;
  --ash: #a89e97;

  /* themeable roles (dark) */
  --bg: #120c08;
  --text: var(--mist);
  --muted: var(--ash);
  --accent-text: var(--amber);
  --eyebrow: var(--glow);
  --line: rgba(251, 246, 242, .10);
  --line-strong: rgba(251, 246, 242, .18);
  --glass-top: rgba(251, 246, 242, .075);
  --glass-bottom: rgba(251, 246, 242, .03);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .8);

  --radius: 22px;
  --wrap: 1180px;
  --font: "Sora", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.light {
  --bg: var(--mist);
  --text: var(--ink);
  --muted: var(--smoke);
  --accent-text: var(--ember);
  --eyebrow: var(--ember);
  --line: rgba(22, 12, 8, .10);
  --line-strong: rgba(22, 12, 8, .16);
  --glass-top: rgba(255, 255, 255, .9);
  --glass-bottom: rgba(255, 255, 255, .6);
  --glass-shadow: inset 0 1px 0 #fff, 0 24px 50px -28px rgba(70, 35, 10, .35);
  background: var(--bg);
  color: var(--text);
  padding-bottom: 120px;
}
.dark {
  --bg: #120c08; --text: var(--mist); --muted: var(--ash); --accent-text: var(--amber); --eyebrow: var(--glow);
  --line: rgba(251, 246, 242, .10); --line-strong: rgba(251, 246, 242, .18);
  --glass-top: rgba(251, 246, 242, .075); --glass-bottom: rgba(251, 246, 242, .03);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .8);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.accent { color: var(--accent-text); }
.ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }

/* Brand texture: one huge outlined S symbol per dark section, cropped by the section and placed
   with --x / --y / --h. A second, fainter copy (.echo) sits a little behind it like a shutter stutter. */
.has-mark { position: relative; isolation: isolate; overflow: hidden; }
.mark {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  height: var(--h, 2400px); width: auto; max-width: none;
  left: var(--x, 50%); top: var(--y, 50%);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  opacity: var(--o, .2);
}
.mark.echo { --o: .07; margin-left: var(--dx, -32px); }
.glow-bg {
  background:
    radial-gradient(900px 560px at 80% 0%, rgba(255, 106, 19, .26), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(255, 169, 77, .10), transparent 60%),
    var(--bg);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(18, 12, 8, .7);
  border-bottom: 1px solid var(--line);
  color: var(--mist);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 22px; width: auto; }
.logo .sub { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ash); padding-left: 12px; border-left: 1px solid var(--line-strong); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ash); }
.nav a:not(.btn) { transition: color .2s; }
.nav a:not(.btn):hover { color: var(--mist); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 14px/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .ico-arrow { transform: translate(2px, -2px); }
.btn-primary {
  background: linear-gradient(180deg, #cf560d, var(--ember));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(255, 106, 19, .55), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 106, 19, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-glass { background: var(--glass-bottom); border-color: var(--line-strong); }
.btn-glass:hover { background: var(--glass-top); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 12px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 15px; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--eyebrow);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.eyebrow.plain::before { display: none; }
.section { padding-block: 120px 0; }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px; margin-bottom: 48px; }
.section-head h2, .big-h { font-size: clamp(34px, 5vw, 58px); line-height: 1; text-transform: uppercase; margin-top: 16px; }
.section-head p { color: var(--muted); max-width: 380px; justify-self: end; }
.glass {
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- product hero ---------- */
.hero { padding-block: 88px 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: .94; text-transform: uppercase; margin-top: 24px; }
.hero h1 .accent { display: block; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 480px; margin-top: 28px; }
.hero .lead strong { color: var(--text); font-weight: 600; }
.hero .cta { display: flex; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.hero .price-note { font-size: 13px; color: var(--muted); }
.hero .price-note b { color: var(--text); font-weight: 600; }

.device { position: relative; padding: 14px; justify-self: center; width: min(400px, 100%); }
.device-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.device-bar .live { display: flex; align-items: center; gap: 6px; }
.device-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.device-screen { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; max-height: 600px; margin-inline: auto; }
.device-screen video { width: 100%; height: 100%; object-fit: cover; }
.sound {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px);
}
.sound .ico { width: 18px; height: 18px; }
.sound[hidden] { display: none; }
.timeline { display: grid; grid-template-rows: 18px 22px; gap: 4px; margin-top: 12px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); position: relative; }
.timeline .track { display: flex; gap: 3px; }
.timeline .clip { border-radius: 4px; display: flex; align-items: center; padding: 0 6px; overflow: hidden; white-space: nowrap; }
.timeline .layer { background: rgba(255, 106, 19, .22); border: 1px solid rgba(255, 106, 19, .55); color: var(--glow); margin-left: 34%; width: 22%; }
.timeline .v1 { background: rgba(251, 246, 242, .07); border: 1px solid var(--line); flex: 1; }
.timeline .playhead { position: absolute; top: -4px; bottom: -4px; left: 45%; width: 2px; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: scrub 4s linear infinite; }
@keyframes scrub { from { left: 8%; } to { left: 92%; } }
.chip {
  position: absolute; right: -28px; bottom: 64px;
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-radius: 14px; font-size: 13px; font-weight: 600;
  background: rgba(251, 246, 242, .94); color: var(--ink);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7);
}
.chip .ico { width: 20px; height: 20px; color: var(--ember); }

/* ---------- feature strip ---------- */
.strip { border-block: 1px solid var(--line); }
.strip .wrap { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; flex-wrap: wrap; }
.strip span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.strip .ico { color: var(--accent-text); }

/* ---------- three columns ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cols > div { padding: 28px 28px 0 0; }
.cols > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.cols .k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cols h3 { font-size: 26px; line-height: 1.1; margin: 18px 0 14px; }
.cols p { color: var(--muted); font-size: 15px; }

/* ---------- inside ---------- */
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel-mock { padding: 18px; max-width: 440px; }
.panel-mock .bar { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); padding: 2px 4px 14px; }
.panel-mock .bin { border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(251, 246, 242, .1); padding: 10px; }
.panel-mock .bin-title { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--glow); padding: 4px 6px 10px; }
.panel-mock ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.panel-mock li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14px; background: rgba(251, 246, 242, .04); transition: background .2s; }
.panel-mock li:hover { background: rgba(255, 106, 19, .14); }
.panel-mock .fx { font-size: 10px; font-weight: 700; padding: 2px 5px; border-radius: 4px; border: 1px solid rgba(251, 246, 242, .18); color: var(--ash); font-style: italic; }
.panel-mock li em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ash); }
.checklist { margin: 36px 0 0; padding: 0; display: grid; }
.checklist li { list-style: none; display: grid; grid-template-columns: 28px 1fr; padding: 18px 0; border-top: 1px solid var(--line); }
.checklist .ico { color: var(--accent-text); margin-top: 4px; }
.checklist b { font-weight: 600; }
.checklist small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.req { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--accent-text); width: 20px; height: 20px; transition: transform .25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; }

/* ---------- final price card (always dark) ---------- */
.buy { display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; padding: 0; background: #120c08; }
.buy-left { padding: 56px; }
.buy-left h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1; text-transform: uppercase; margin-top: 18px; }
.buy-left p { color: var(--muted); margin-top: 22px; max-width: 440px; }
.buy-left .ticks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.buy-left .ticks span { display: flex; align-items: center; gap: 6px; }
.buy-left .ticks .ico { color: var(--amber); }
.buy-right {
  padding: 56px 40px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: linear-gradient(160deg, rgba(255, 169, 77, .2), rgba(255, 106, 19, .08) 50%, rgba(255, 106, 19, .02));
  border-left: 1px solid var(--line-strong);
}
.buy-right .k { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--glow); }
.buy-right .price { font-size: 104px; font-weight: 700; line-height: 1; letter-spacing: -.05em; margin: 14px 0 6px; }
.buy-right .price sup { font-size: .42em; vertical-align: .9em; margin-right: 4px; color: var(--ash); font-weight: 600; }
.buy-right .per { color: var(--ash); font-size: 14px; }
.buy-right .btn { margin-top: 28px; width: 100%; }
.buy-right small { display: block; margin-top: 16px; font-size: 11px; color: var(--ash); line-height: 1.5; }

/* ---------- home ---------- */
.home-hero { padding-block: 128px 120px; text-align: center; }
.home-hero h1 { font-size: clamp(56px, 10vw, 132px); line-height: .9; text-transform: uppercase; margin-top: 28px; }
.home-hero p { font-size: 19px; color: var(--muted); margin: 28px auto 0; max-width: 520px; }
.home-hero .cta { display: flex; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.tool { padding: 12px; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s; }
.tool:hover { transform: translateY(-4px); border-color: rgba(255, 106, 19, .5); }
.tool .media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.tool .media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.tool .body { padding: 20px 10px 10px; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; }
.tool h3 { font-size: 20px; }
.tool .type { font-size: 13px; color: var(--muted); }
.tool .tag { font-size: 15px; font-weight: 700; }
.tool.soon { justify-content: center; align-items: flex-start; padding: 40px; min-height: 300px; border-style: dashed; background: transparent; box-shadow: none; backdrop-filter: none; }
.tool.soon:hover { transform: none; border-color: var(--line-strong); }
.tool.soon h3 { font-size: 26px; margin: 18px 0 10px; }
.tool.soon p { color: var(--muted); max-width: 300px; }
.app-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #1a0a03, #8e3a08 40%, var(--amber) 75%, var(--glow)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.app-icon .ico { width: 26px; height: 26px; }
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about p { color: var(--muted); font-size: 18px; }
.about p + p { margin-top: 18px; }
.about strong { color: var(--text); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #120c08; color: var(--ash); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px; flex-wrap: wrap; font-size: 13px; }
.site-footer .left { display: flex; align-items: center; gap: 16px; }
.site-footer img { height: 26px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a:hover { color: var(--mist); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 14px 20px; border-radius: 14px; font-size: 14px; z-index: 100; color: var(--mist);
  background: rgba(22, 12, 8, .92); border: 1px solid rgba(251, 246, 242, .18); backdrop-filter: blur(16px);
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .timeline .playhead, .device-bar .live::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .inside, .faq, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .chip { right: 8px; bottom: auto; top: 64px; }
  .section { padding-top: 88px; }
  .light { padding-bottom: 88px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .cols { grid-template-columns: 1fr; }
  .cols > div, .cols > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .buy { grid-template-columns: 1fr; }
  .buy-right { border-left: 0; border-top: 1px solid var(--line-strong); }
  .panel-mock { max-width: none; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .logo .sub { display: none; }
  .buy-left, .buy-right { padding: 36px 24px; }
  .hero .btn-lg { width: 100%; }
}
