/* Idea M&J — spoločný vizuálny systém pre všetky stránky */
:root {
  --ink: #10213a;
  --muted: #61708a;
  --line: #dfe7f1;
  --surface: #ffffff;
  --surface-soft: #f4f8fc;
  --blue: #2563eb;
  --blue-dark: #1748b8;
  --sky: #38bdf8;
  --violet: #8b5cf6;
  --luna: #d35c86;
  --luna-soft: #fff1f6;
  --shadow-sm: 0 10px 30px rgba(28, 62, 109, 0.08);
  --shadow-lg: 0 28px 80px rgba(28, 62, 109, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.section--soft { background: var(--surface-soft); }
.section--compact { padding: 76px 0; }
.section-heading { max-width: 700px; margin-bottom: 50px; }
.section-heading--center { margin-inline: auto; text-align: center; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.25rem, 7.6vw, 6.6rem); }
h2 { font-size: clamp(2.15rem, 4.4vw, 3.65rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.25rem); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 15px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(221, 230, 241, 0.85);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 30px rgba(29, 59, 102, 0.05);
  backdrop-filter: blur(18px);
}

.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; }
.brand span { font-size: 1.04rem; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a { color: #46566f; font-size: 0.93rem; font-weight: 650; transition: color 0.2s ease; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--blue); }
.nav-cta { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); }

.hero {
  position: relative;
  min-height: 820px;
  padding: 180px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 16%, rgba(56, 189, 248, 0.14), transparent 28%),
    radial-gradient(circle at 12% 58%, rgba(37, 99, 235, 0.09), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, #fff 72%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -90px;
  bottom: -180px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 74px rgba(37, 99, 235, 0.025), 0 0 0 150px rgba(56, 189, 248, 0.018);
}

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr 0.86fr; gap: 76px; align-items: center; }
.hero__copy { max-width: 750px; }
.hero__copy h1 { max-width: 760px; background: linear-gradient(125deg, #0e1c31 15%, #1e4f99 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__copy .lead { max-width: 690px; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--blue), #2f83eb); box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24); }
.button--primary:hover { box-shadow: 0 18px 40px rgba(37, 99, 235, 0.3); }
.button--secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.82); }
.button--light { color: var(--blue-dark); background: #fff; }

.hero-art { position: relative; height: 470px; }
.hero-art__panel {
  position: absolute;
  width: 310px;
  height: 390px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}
.hero-art__panel--back { top: 16px; right: 6px; transform: rotate(7deg); opacity: 0.78; }
.hero-art__panel--front { bottom: 0; left: 0; transform: rotate(-4deg); }
.hero-art__screen { height: 100%; padding: 24px; border-radius: 25px; background: linear-gradient(150deg, #edf5ff, #fff); }
.hero-art__screen--violet { background: linear-gradient(150deg, #f2edff, #fff 64%, #ffeef7); }
.mini-logo { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--sky)); font-size: 1.55rem; font-weight: 850; box-shadow: 0 12px 28px rgba(37, 99, 235, 0.23); }
.mini-logo--violet { background: linear-gradient(135deg, var(--violet), #ec4899); box-shadow: 0 12px 28px rgba(139, 92, 246, 0.22); }
.screen-line { height: 10px; margin-top: 24px; border-radius: 10px; background: #dce8f7; }
.screen-line--short { width: 62%; }
.screen-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 25px; }
.screen-card { height: 83px; border: 1px solid rgba(220, 232, 247, 0.8); border-radius: 16px; background: rgba(255, 255, 255, 0.8); }

.trust-line { display: flex; gap: 22px; align-items: center; margin-top: 44px; color: #728198; font-size: 0.88rem; }
.trust-line span { display: inline-flex; gap: 8px; align-items: center; }
.trust-line span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3bc588; box-shadow: 0 0 0 5px rgba(59, 197, 136, 0.12); }

.about-grid { display: grid; grid-template-columns: 0.7fr 1fr; gap: 100px; align-items: start; }
.about-copy { display: grid; gap: 22px; color: var(--muted); font-size: 1.08rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.stat { padding-top: 22px; border-top: 1px solid var(--line); }
.stat strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1.45rem; }
.stat span { color: var(--muted); font-size: 0.84rem; }

.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.app-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.app-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.app-card__visual { position: relative; display: grid; height: 290px; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eaf3ff, #f7fbff); }
.app-card--violet .app-card__visual,
.app-card--luna .app-card__visual { background: linear-gradient(145deg, #fff1f6, #f7efff); }
.app-card__orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.app-card__orb--one { top: -80px; right: -30px; width: 240px; height: 240px; border: 1px solid rgba(37, 99, 235, 0.16); box-shadow: 0 0 0 42px rgba(37, 99, 235, 0.03); }
.app-card__orb--two { bottom: -75px; left: -50px; width: 190px; height: 190px; background: rgba(56, 189, 248, 0.09); }
.app-card--violet .app-card__orb--one,
.app-card--luna .app-card__orb--one { border-color: rgba(211, 92, 134, 0.2); box-shadow: 0 0 0 42px rgba(211, 92, 134, 0.04); }
.app-card--violet .app-card__orb--two,
.app-card--luna .app-card__orb--two { background: rgba(236, 72, 153, 0.08); }
.app-icon { position: relative; display: grid; width: 114px; height: 114px; place-items: center; border-radius: 30px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 24px 48px rgba(37, 99, 235, 0.25); font-size: 3rem; font-weight: 850; }
.app-card--violet .app-icon,
.app-card--luna .app-icon { background: linear-gradient(135deg, var(--luna), #f2a5bd); box-shadow: 0 24px 48px rgba(211, 92, 134, 0.23); }
.app-icon-image {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 24px 52px rgba(0,0,0,.3);
}
.app-card__body { padding: 38px; }
.app-card__body h3 { margin-bottom: 14px; }
.app-card__body > p:not(.eyebrow) { min-height: 84px; color: var(--muted); }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 25px; color: var(--blue); font-weight: 750; }
.text-link span { transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(4px); }

.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.feature { min-height: 175px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.feature__icon { display: grid; width: 46px; height: 46px; margin-bottom: 26px; place-items: center; border: 1px solid rgba(23,105,224,.11); border-radius: 15px; color: var(--blue); background: linear-gradient(145deg, #f0f6ff 0%, #e5efff 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 14px 28px rgba(23,105,224,.08); }
.feature__icon svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1rem; line-height: 1.35; letter-spacing: -0.01em; }

.contact-grid { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: 72px; align-items: start; }
.contact-list { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; color: var(--muted); font-size: 0.77rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-list strong { font-size: 1rem; }
.placeholder { color: #9aa7ba; font-style: italic; font-weight: 500; }
.contact-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { color: #3d4d65; font-size: 0.85rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid #d7e0eb; border-radius: 12px; color: var(--ink); background: #fbfdff; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09); }
.form-meta { margin-top: 12px; color: var(--muted); font-size: 0.77rem; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; color: #1a5a40; background: #e9f9f1; font-size: 0.86rem; }
.form-status.is-error { color: #8b1e2d; background: #fff0f2; }
.form-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 !important; }

.site-footer { padding: 74px 0 28px; color: #c6d3e4; background: #0d1a2d; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 60px; padding-bottom: 54px; }
.site-footer .brand { color: #fff; }
.footer-intro p { max-width: 420px; margin-top: 18px; color: #899ab2; }
.footer-column h2 { margin-bottom: 18px; color: #fff; font-size: 0.84rem; letter-spacing: 0.11em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.footer-links a { color: #9caac0; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); color: #7e8da4; font-size: 0.85rem; }

/* Produktové podstránky */
.product-hero { position: relative; padding: 174px 0 100px; overflow: hidden; background: linear-gradient(180deg, #f6faff 0%, #fff 100%); }
.product-hero__grid { display: grid; grid-template-columns: 1fr 0.76fr; gap: 80px; align-items: center; }
.product-hero h1 { font-size: clamp(3.4rem, 7vw, 6rem); }
.product-hero .lead { max-width: 620px; margin-top: 22px; }
.product-preview { position: relative; height: 440px; }
.phone { position: absolute; top: 0; left: 50%; width: 235px; height: 440px; padding: 11px; border: 4px solid #15243b; border-radius: 42px; background: #15243b; box-shadow: var(--shadow-lg); transform: translateX(-50%) rotate(4deg); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 50%; width: 80px; height: 20px; border-radius: 20px; background: #15243b; transform: translateX(-50%); }
.phone__screen { height: 100%; padding: 48px 18px 18px; border-radius: 29px; background: linear-gradient(150deg, #eaf3ff, #fff); }
.phone__title { font-size: 1.3rem; font-weight: 850; }
.progress-ring { display: grid; width: 120px; height: 120px; margin: 35px auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) 74%, #dfe9f5 0); }
.progress-ring::before { content: "74 %"; display: grid; width: 92px; height: 92px; place-items: center; border-radius: 50%; color: var(--ink); background: #fff; font-weight: 800; }
.phone__tile { height: 56px; margin-top: 10px; border: 1px solid rgba(210, 224, 240, .85); border-radius: 14px; background: rgba(255,255,255,.78); }
.product-logo { width: 86px; height: 86px; margin: 0 0 22px; border-radius: 22px; object-fit: cover; box-shadow: 0 18px 38px rgba(0,0,0,.24); }
.phone--screenshot { padding: 7px; overflow: hidden; border-color: #111827; background: linear-gradient(135deg,#353941,#080b10 36%,#4f535a 64%,#111318); }
.phone--screenshot::before { top: 11px; width: 78px; height: 19px; background: #05070b; }
.phone__screen--screenshot { padding: 0; overflow: hidden; background: #fff; }
.phone__screen--screenshot img { width: 100%; height: 100%; object-fit: fill; object-position: center top; }
.phone--product-screenshot .phone__screen--screenshot img { object-fit: cover; }
.product-intro { display: grid; grid-template-columns: .8fr 1fr; gap: 100px; align-items: start; }
.product-intro__copy { display: grid; gap: 19px; color: var(--muted); font-size: 1.08rem; }
.function-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.function-card { min-height: 185px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .2s, transform .2s; }
.function-card:hover { border-color: #abc6ee; transform: translateY(-3px); }
.function-card__number { display: grid; width: 38px; height: 38px; margin-bottom: 30px; place-items: center; border-radius: 12px; color: var(--blue); background: #ebf3ff; font-size: .78rem; font-weight: 850; }
.function-card p { margin-top: 9px; color: var(--muted); font-size: .9rem; }
.notice { display: flex; gap: 22px; max-width: 900px; margin-inline: auto; padding: 28px 30px; border: 1px solid #e8d7b0; border-radius: 20px; background: #fffaf0; }
.notice__icon { flex: 0 0 auto; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; color: #8a6115; background: #f7e9c9; font-weight: 850; }
.notice h2 { margin-bottom: 7px; font-size: 1.1rem; letter-spacing: -.01em; }
.notice p { color: #6d6047; }
.download-cta { position: relative; overflow: hidden; padding: 76px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, #1748b8, #2689df); box-shadow: var(--shadow-lg); }
.download-cta::after { content: ""; position: absolute; right: -100px; bottom: -150px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.025); }
.download-cta__content { position: relative; z-index: 1; max-width: 690px; }
.download-cta .eyebrow { color: #bde7ff; }
.download-cta p { margin-top: 16px; color: rgba(255,255,255,.77); }
.download-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-button { display: inline-flex; min-width: 188px; padding: 11px 17px; gap: 11px; align-items: center; border: 0; border-radius: 13px; color: var(--ink); background: #fff; font: inherit; text-align: left; text-decoration: none; appearance: none; }
.store-button--active { box-shadow: 0 18px 40px rgba(5, 18, 42, .2); transition: transform .2s ease, box-shadow .2s ease; }
.store-button--active:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(5, 18, 42, .26); }
.store-button--disabled { cursor: not-allowed; opacity: .58; filter: grayscale(.18); }
.store-button__icon { font-size: 1.4rem; }
.store-button small { display: block; color: var(--muted); font-size: .63rem; line-height: 1.1; text-transform: uppercase; }
.store-button strong { display: block; font-size: .95rem; line-height: 1.35; }
.download-cta--platforms { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, .55fr); gap: 48px; align-items: center; padding: 58px 64px; }
.download-cta--platforms .download-cta__content { max-width: none; }
.download-cta--platforms::after { right: -130px; bottom: -180px; }
.download-buttons--platforms { align-items: stretch; }
.download-qr-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; justify-self: end; width: 100%; max-width: 470px; }
.download-qr-card { display: grid; gap: 13px; justify-items: center; align-content: start; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); text-align: center; }
.download-qr-card--disabled { opacity: .72; }
.download-qr-card strong { color: #fff; font-size: .95rem; }
.download-qr-box { display: grid; width: clamp(168px, 13vw, 190px); aspect-ratio: 1; place-items: center; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 22px 48px rgba(5, 18, 42, .22); }
.download-qr-box img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; image-rendering: auto; }
.download-qr-box--placeholder { gap: 10px; color: #74819a; background: rgba(255,255,255,.92); }
.download-qr-box--placeholder p { max-width: 145px; margin: 0; color: #667085; font-size: .78rem; font-weight: 750; line-height: 1.35; text-align: center; }
.qr-placeholder-icon { position: relative; display: block; width: 58px; height: 58px; border-radius: 14px; background:
  linear-gradient(#7a879d 0 0) 9px 9px / 14px 14px no-repeat,
  linear-gradient(#7a879d 0 0) 35px 9px / 14px 14px no-repeat,
  linear-gradient(#7a879d 0 0) 9px 35px / 14px 14px no-repeat,
  linear-gradient(#c4cad5 0 0) 35px 35px / 6px 6px no-repeat,
  linear-gradient(#c4cad5 0 0) 45px 35px / 4px 14px no-repeat,
  linear-gradient(#c4cad5 0 0) 35px 45px / 14px 4px no-repeat;
  border: 2px solid #d7dce6;
}
.support-strip { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 36px 0; }
.support-strip p { color: var(--muted); }
.support-strip__actions {
  display: grid;
  min-width: min(100%, 230px);
  gap: 14px;
  justify-items: stretch;
}
.support-strip__actions .button {
  width: 100%;
  white-space: nowrap;
}
.support-strip__actions .button + .button { margin-top: 2px; }
.product-hero--luna {
  background:
    radial-gradient(circle at 80% 32%, rgba(236, 114, 154, .27), transparent 31%),
    linear-gradient(125deg,#14070d,#25101a 64%,#120914);
}
.product-hero--luna .eyebrow,
.product-hero--luna .lead { color: rgba(255, 239, 245, .76); }
.product-preview--luna .phone { transform: translateX(-50%) rotate(3deg); }
.notice--luna { border-color: #f0bfd0; background: #fff6f9; }
.notice--luna .notice__icon { color: #9f315b; background: #ffe4ee; }
.notice--luna p { color: #6c4a58; }
.download-cta--luna { background: linear-gradient(135deg, #b93669, #e989aa); }

/* Textové a právne stránky */
.page-hero { padding: 170px 0 74px; background: linear-gradient(180deg, #f6faff, #fff); }
.page-hero__copy { max-width: 820px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero .lead { margin-top: 20px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 780px); gap: 76px; align-items: start; }
.legal-nav { position: sticky; top: 110px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.legal-nav strong { display: block; margin-bottom: 13px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-nav ol { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--muted); font-size: .85rem; }
.legal-nav a:hover { color: var(--blue); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 120px; margin-bottom: 48px; }
.legal-content h2 { margin-bottom: 16px; font-size: 1.65rem; letter-spacing: -.025em; }
.legal-content h3 { margin: 24px 0 9px; font-size: 1.06rem; letter-spacing: -.01em; }
.legal-content p, .legal-content li { color: #52627a; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { display: grid; gap: 8px; padding-left: 22px; }
.to-fill { display: inline-block; padding: 1px 7px; border: 1px dashed #e7a632; border-radius: 5px; color: #77500d; background: #fff8e7; font-weight: 750; }
.legal-callout { margin: 0 0 40px; padding: 21px 23px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: #eef5ff; color: #415b7e; }
.account-deletion-content a:not(.button) { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.email-request-card { display: grid; gap: 20px; margin: 18px 0 22px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #f7faff; }
.email-request-card p { display: grid; gap: 3px; }
.email-request-card p span { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.email-request-card p strong { color: var(--ink); font-size: 1.02rem; }
.email-request-card .button { width: fit-content; margin-top: 2px; }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.support-card__icon { display: grid; width: 48px; height: 48px; margin-bottom: 26px; place-items: center; border-radius: 14px; color: var(--blue); background: #eaf2ff; font-weight: 850; }
.support-card p { margin-top: 10px; color: var(--muted); }
.support-card a { display: inline-block; margin-top: 20px; color: var(--blue); font-weight: 750; }
.support-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support-card__app-icon {
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 26px;
  border-radius: 21px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(4,13,26,.2);
}
.faq { max-width: 820px; margin: 0 auto; }
.faq details { padding: 21px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-size: 1.35rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 720px; margin-top: 13px; color: var(--muted); }

.not-found { display: grid; min-height: 100vh; place-items: center; padding: 40px; text-align: center; background: var(--surface-soft); }
.not-found__code { color: var(--blue); font-size: clamp(5rem, 16vw, 10rem); font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.not-found h1 { margin-top: 20px; font-size: clamp(2rem, 5vw, 3.5rem); }
.not-found p { max-width: 540px; margin: 18px auto 28px; color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .product-intro { gap: 60px; }
  .contact-grid { gap: 45px; }
}

@media (max-width: 880px) {
  .section { padding: 86px 0; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 78px 20px auto; display: grid; gap: 2px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a { padding: 12px; border-radius: 10px; }
  .nav-cta { border: 0; background: var(--surface-soft); }
  .hero { min-height: auto; padding: 145px 0 90px; }
  .hero__grid, .product-hero__grid { grid-template-columns: 1fr; gap: 55px; }
  .hero__copy { text-align: center; margin-inline: auto; }
  .hero__actions, .trust-line { justify-content: center; }
  .hero-art { width: min(100%, 560px); margin: auto; }
  .about-grid, .contact-grid, .product-intro { grid-template-columns: 1fr; gap: 38px; }
  .function-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero__copy { text-align: center; }
  .product-hero .lead { margin-inline: auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-nav { position: static; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .brand span { font-size: .96rem; }
  .hero { padding-top: 125px; }
  .hero__actions .button { width: 100%; }
  .hero-art { height: 365px; }
  .hero-art__panel { width: 235px; height: 310px; padding: 16px; border-radius: 29px; }
  .hero-art__screen { padding: 17px; border-radius: 20px; }
  .hero-art__panel--back { right: 0; }
  .mini-logo { width: 48px; height: 48px; border-radius: 14px; }
  .screen-card { height: 60px; }
  .trust-line { flex-direction: column; gap: 9px; }
  .app-grid, .function-grid, .support-grid { grid-template-columns: 1fr; }
  .app-card__visual { height: 225px; }
  .app-card__body { padding: 28px; }
  .app-card__body > p:not(.eyebrow) { min-height: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { min-height: 155px; padding: 20px; }
  .feature__icon { margin-bottom: 18px; }
  .stat-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .contact-panel { padding: 22px; }
  .product-hero { padding: 140px 0 80px; }
  .product-preview { height: 390px; }
  .phone { width: 210px; height: 390px; }
  .download-cta { padding: 45px 25px; }
  .download-buttons { display: grid; }
  .store-button { width: 100%; }
  .support-strip { align-items: flex-start; flex-direction: column; }
  .support-strip__actions { width: 100%; min-width: 0; }
  .support-strip__actions .button { width: 100%; }
  .notice { padding: 22px; }
  .notice__icon { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .email-request-card { padding: 21px; }
  .email-request-card .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Vizuálny smer 2026 — striedmy firemný systém
   Menej dekorácie, presnejšia typografia a jasnejšia produktová hierarchia.
   -------------------------------------------------------------------------- */
:root {
  --ink: #0b1830;
  --muted: #5e6b80;
  --line: #dce3ec;
  --surface-soft: #f5f7fa;
  --blue: #1769e0;
  --blue-dark: #0e4ba7;
  --sky: #30b7e8;
  --shadow-sm: 0 12px 35px rgba(11, 24, 48, 0.055);
  --shadow-lg: 0 30px 70px rgba(11, 24, 48, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1160px;
}

body { line-height: 1.6; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { font-size: clamp(3.2rem, 6.7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: .71rem; letter-spacing: .18em; }
.lead { line-height: 1.55; }
.section { padding: 104px 0; }
.section--soft { background: #f6f8fb; }
.section-heading { margin-bottom: 42px; }

.site-header { padding: 12px 0; }
.site-header.is-scrolled { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 rgba(11,24,48,.06); }
.brand { gap: 11px; }
.brand img {
  content: url("/assets/icons/idea-mj-logo-transparent.svg?v=2");
  width: 56px;
  height: 46px;
  object-fit: contain;
}
.site-header .brand img { mix-blend-mode: multiply; }
.site-footer .brand img {
  filter: invert(1);
  mix-blend-mode: screen;
}
.site-nav { gap: 30px; }
.site-nav > a { color: #405069; font-size: .88rem; }
.nav-cta { padding: 9px 16px; border-radius: 8px; color: #fff !important; border-color: var(--ink); background: var(--ink); }

.hero {
  min-height: 720px;
  padding: 158px 0 92px;
  background:
    linear-gradient(rgba(23,105,224,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,105,224,.04) 1px, transparent 1px),
    linear-gradient(180deg, #f8faff 0%, #fff 78%);
  background-size: 56px 56px, 56px 56px, auto;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,250,255,.15), rgba(248,250,255,.9) 47%, rgba(248,250,255,.15)); }
.hero::after { right: -180px; bottom: -330px; width: 660px; height: 660px; border-color: rgba(23,105,224,.1); box-shadow: none; }
.hero__grid { grid-template-columns: 1.06fr .8fr; gap: 90px; }
.hero__copy h1 {
  position: relative;
  display: inline-block;
  max-width: 760px;
  color: var(--ink);
  background: none;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.075em;
}
.hero__copy h1::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  width: 38%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
.hero__copy .lead { max-width: 635px; margin-top: 22px; font-size: clamp(1.08rem, 1.55vw, 1.2rem); }
.hero__actions { margin-top: 32px; }
.button { min-height: 48px; padding: 11px 20px; border-radius: 9px; font-size: .92rem; }
.button--primary { background: var(--blue); box-shadow: 0 10px 24px rgba(23,105,224,.2); }
.button--primary:hover { background: var(--blue-dark); box-shadow: 0 13px 28px rgba(23,105,224,.24); }
.button--secondary { border-color: #cfd8e5; background: rgba(255,255,255,.88); }
.trust-line { margin-top: 38px; font-size: .82rem; }
.trust-line span::before { width: 6px; height: 6px; box-shadow: none; }

.hero-art { height: 410px; }
.hero-art__panel { width: 265px; height: 330px; padding: 9px; border-color: #dfe6ef; border-radius: 22px; background: #fff; box-shadow: 0 22px 60px rgba(11,24,48,.12); backdrop-filter: none; }
.hero-art__panel--back { top: 0; right: 0; transform: none; opacity: 1; }
.hero-art__panel--front { bottom: 0; left: 0; transform: none; }
.hero-art__screen { padding: 24px; border-radius: 15px; background: #f1f6fd; }
.hero-art__screen--violet { background: #f6f2fb; }
.mini-logo { width: 48px; height: 48px; border-radius: 12px; font-size: 1.25rem; box-shadow: none; }
.screen-line { height: 7px; margin-top: 20px; background: #d5dfec; }
.screen-cards { margin-top: 24px; }
.screen-card { height: 66px; border-radius: 10px; box-shadow: 0 4px 14px rgba(11,24,48,.04); }

.about-grid { grid-template-columns: .75fr 1fr; gap: 110px; }
.about-copy { font-size: 1.03rem; }
.stat-row { gap: 26px; }
.stat strong { font-size: 1.1rem; }

.app-grid { grid-template-columns: 1fr; gap: 22px; }
.app-card { display: grid; grid-template-columns: 42% 58%; min-height: 360px; border-radius: 20px; box-shadow: none; }
.app-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(11,24,48,.09); }
.app-card__visual { height: auto; min-height: 360px; background: #edf4fc; }
.app-card--violet .app-card__visual,
.app-card--luna .app-card__visual { background: #fff1f6; }
.app-card__orb--one { top: -100px; right: -60px; border-color: rgba(23,105,224,.12); box-shadow: none; }
.app-card__orb--two { background: rgba(48,183,232,.07); }
.app-icon { width: 96px; height: 96px; border-radius: 23px; font-size: 2.4rem; box-shadow: 0 16px 32px rgba(23,105,224,.2); }
.app-card__body { display: flex; padding: 54px 58px; flex-direction: column; justify-content: center; }
.app-card__body h3 { font-size: 2.15rem; }
.app-card__body > p:not(.eyebrow) { min-height: 0; max-width: 570px; }

.feature-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { min-height: 150px; padding: 24px; border-radius: 14px; }
.feature__icon { width: 40px; height: 40px; margin-bottom: 22px; border-radius: 13px; }
.feature__icon svg { width: 21px; height: 21px; }

.contact-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contact-panel { padding: 30px; border-radius: 17px; box-shadow: none; }
.field input, .field textarea, .field select { border-radius: 8px; background: #fff; }

.site-footer { padding-top: 62px; background: #091426; }
.footer-top { padding-bottom: 44px; }

.product-hero { padding: 154px 0 90px; background: linear-gradient(180deg, #f7f9fc, #fff); }
.product-hero h1 { font-size: clamp(3.2rem, 6.4vw, 5.4rem); }
.phone { width: 220px; height: 420px; border-width: 3px; border-radius: 32px; transform: translateX(-50%); box-shadow: 0 28px 60px rgba(11,24,48,.16); }
.phone__screen { border-radius: 22px; }
.function-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.function-card { min-height: 170px; padding: 24px; border-radius: 14px; }
.function-card__number { margin-bottom: 25px; border-radius: 8px; }
.download-cta { padding: 66px; border-radius: 20px; background: #1059c7; box-shadow: none; }
.store-button { border-radius: 9px; }
.notice { border-radius: 14px; }
.support-card { border-radius: 14px; }

@media (max-width: 880px) {
  .hero__grid, .product-hero__grid { grid-template-columns: 1fr; }
  .hero__grid { gap: 45px; }
  .app-card { grid-template-columns: 38% 62%; }
  .app-card__body { padding: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .hero { padding-top: 125px; background-size: 38px 38px, 38px 38px, auto; }
  .hero__copy h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .hero__copy h1::after { right: 50%; bottom: -12px; width: 44%; height: 5px; transform: translateX(50%); }
  .hero-art { height: 330px; }
  .hero-art__panel { width: 210px; height: 270px; }
  .app-card { display: block; min-height: 0; }
  .app-card__visual { min-height: 210px; }
  .app-card__body { padding: 30px 25px; }
  .app-card__body h3 { font-size: 1.7rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 125px; }
  .download-cta { padding: 40px 24px; }
}

/* --------------------------------------------------------------------------
   Finálny farebný rytmus a mikroanimácie
   Tmavá → svetlá → tmavá → svetlá → tmavá naprieč celým webom.
   -------------------------------------------------------------------------- */
.section { padding-block: 116px; }
.section--soft {
  color: #f8fafc;
  background:
    radial-gradient(circle at 78% 18%, rgba(23,105,224,.12), transparent 30%),
    linear-gradient(135deg,#050c17,#091525 62%,#07111f);
}
.section--soft h2,.section--soft h3 { color: #f8fafc; }
.section--soft .lead,.section--soft .support-strip p { color: rgba(255,255,255,.62); }
.section--soft .eyebrow { color: #7db5ff; }

/* Karty ostávajú dobre čitateľné aj na tmavých sekciách. */
.section--soft .app-card { border-color: rgba(255,255,255,.1); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.section--soft .app-card h3 { color: var(--ink); }
.section--soft .function-card {
  border-color: rgba(255,255,255,.11);
  color: #fff;
  background: rgba(255,255,255,.045);
}
.section--soft .function-card:hover { border-color: rgba(125,181,255,.48); }
.section--soft .function-card p { color: rgba(255,255,255,.56); }
.section--soft .function-card__number { color: #9cc8ff; background: rgba(23,105,224,.18); }
.section--soft .faq details { border-color: rgba(255,255,255,.12); }
.section--soft .faq summary { color: #fff; }
.section--soft .faq details p { color: rgba(255,255,255,.58); }
.section--soft .support-strip .button { color: #091321; background: #fff; box-shadow: none; }

/* Vnútorné hero sekcie používajú rovnaký tmavý jazyk ako domovská stránka. */
.product-hero,.page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 35%, rgba(23,105,224,.2), transparent 30%),
    linear-gradient(125deg,#030914,#081525 65%,#07111e);
}
.product-hero h1,.page-hero h1 { color: #fff; font-family: Georgia,"Times New Roman",serif; font-weight: 500; }
.product-hero .lead,.page-hero .lead { color: rgba(255,255,255,.67); }
.product-hero .eyebrow,.page-hero .eyebrow { color: #83baff; }
.product-hero .button--secondary { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }

/* Biele logo a navigácia nad tmavým hero; po scrollovaní sa vrátia do čiernej. */
body:not(.home-page) .site-header:not(.is-scrolled) .brand img {
  filter: invert(1);
  mix-blend-mode: screen;
}
body:not(.home-page) .site-header:not(.is-scrolled) .brand span { color: #fff; }
body:not(.home-page) .site-header:not(.is-scrolled) .site-nav > a { color: rgba(255,255,255,.76); }
body:not(.home-page) .site-header:not(.is-scrolled) .site-nav > a:hover { color: #fff; }
body:not(.home-page) .site-header:not(.is-scrolled) .nav-cta { border-color: rgba(255,255,255,.4); color: #fff !important; background: transparent; }
body:not(.home-page) .site-header:not(.is-scrolled) .nav-toggle { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
body:not(.home-page) .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
body:not(.home-page) .site-header.is-scrolled .brand img { filter: none; mix-blend-mode: normal; }
.site-header.is-scrolled .brand img { filter: none; mix-blend-mode: normal; }

/* Skutočne transparentné logo už nepotrebuje režim prelínania. */
.site-header .brand img { mix-blend-mode: normal; }
.site-footer .brand img { filter: invert(1); mix-blend-mode: normal; }
.home-page .site-header--home:not(.is-scrolled) .brand img { filter: invert(1); mix-blend-mode: normal; }
.home-page .site-header--home.is-scrolled .brand img { filter: none; mix-blend-mode: normal; }

/* Kontaktná sekcia je posledný tmavý blok domovskej stránky. */
.home-page #kontakt h2 { color: #fff; }
.home-page #kontakt .lead { color: rgba(255,255,255,.62); }
.home-page #kontakt .contact-list li { border-color: rgba(255,255,255,.12); }
.home-page #kontakt .contact-list li:nth-child(n+3) { display: none !important; }
.home-page #kontakt .contact-list span { color: rgba(255,255,255,.48); }
.home-page #kontakt .placeholder { color: rgba(255,255,255,.7); }

/* Pohyb telefónov: pomalý, malý a oddelený od scroll parallaxu rodiča. */
.hero-devices { transform: translateY(var(--parallax-y,0)); transition: transform .12s linear; }
.device--zbrojak { animation: floatDevice 7.1s ease-in-out -2.4s infinite; }
.device--luna { animation: floatDevice 7.6s ease-in-out -1s infinite; }
@keyframes floatDevice {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* Úvod sa objaví plynulo, ďalšie bloky používa existujúci IntersectionObserver. */
.hero__copy,.hero-devices,.product-hero__copy,.product-preview,.page-hero__copy {
  animation: introFade .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero-devices,.product-preview { animation-delay: .14s; }
@keyframes introFade {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 880px) {
  .section { padding-block: 90px; }
  body:not(.home-page) .site-header:not(.is-scrolled) .site-nav { border-color: rgba(255,255,255,.14); background: rgba(4,10,20,.97); }
}

@media (max-width: 640px) {
  .section { padding-block: 74px; }
  .section--soft { background: linear-gradient(145deg,#050c17,#091525); }
  .support-grid--two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-devices { transform: none !important; }
  .device--zbrojak,.hero__copy,.hero-devices,.product-hero__copy,.product-preview,.page-hero__copy { animation: none !important; }
}

/* Domovská stránka — tmavý prémiový hero podľa firemného vizuálneho smeru */
.home-page .site-header--home:not(.is-scrolled) { border-color: transparent; color: #fff; }
.home-page .site-header--home:not(.is-scrolled) .brand img {
  filter: invert(1);
  mix-blend-mode: screen;
}
.home-page .site-header--home:not(.is-scrolled) .site-nav > a { color: rgba(255,255,255,.82); }
.home-page .site-header--home:not(.is-scrolled) .site-nav > a:hover { color: #fff; }
.home-page .site-header--home:not(.is-scrolled) .nav-cta {
  border-color: rgba(255,255,255,.5);
  color: #fff !important;
  background: transparent;
}
.home-page .site-header--home:not(.is-scrolled) .nav-toggle { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.home-page .site-header--home:not(.is-scrolled) .nav-toggle span { background: #fff; }
.home-page .site-header--home.is-scrolled .brand img { filter: none; mix-blend-mode: multiply; }

.home-page .hero {
  min-height: 860px;
  padding: 142px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 79% 55%, rgba(22,105,224,.28), transparent 30%),
    radial-gradient(circle at 58% 76%, rgba(18,78,151,.16), transparent 28%),
    linear-gradient(125deg, #020711 0%, #07111f 56%, #061426 100%);
}
.home-page .hero::before {
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 75%);
}
.home-page .hero::after { right: 7%; bottom: 120px; width: 430px; height: 430px; border: 0; background: rgba(25,108,225,.18); filter: blur(90px); }
.home-page .hero__grid { min-height: 525px; grid-template-columns: .92fr 1.08fr; gap: 40px; }
.home-page .hero__copy { position: relative; z-index: 3; }
.home-page .hero__copy .eyebrow { color: rgba(255,255,255,.72); }
.home-page .hero__copy h1 {
  max-width: none;
  color: #f8f7f3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 7.2vw, 7.1rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.home-page .hero__copy h1::after { display: none; }
.home-page .hero__copy .lead { max-width: 580px; color: rgba(255,255,255,.82); font-size: clamp(1.02rem,1.55vw,1.18rem); }
.home-page .hero__actions { margin-top: 34px; }
.home-page .hero .button--primary { color: #091321; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.home-page .hero .button--primary:hover { background: #eef5ff; }
.home-page .hero .button--secondary { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.home-page .trust-line { color: rgba(255,255,255,.76); }
.home-page .trust-line span::before { background: #fff; }

.hero-devices { position: relative; z-index: 2; height: 520px; perspective: 1400px; }
.device {
  position: absolute;
  width: 225px;
  height: 455px;
  padding: 7px;
  border: 2px solid #4b5159;
  border-radius: 35px;
  background: linear-gradient(135deg,#30343a,#090b0f 32%,#51555b 60%,#101216);
  box-shadow: 0 30px 70px rgba(0,0,0,.58), inset 0 0 0 1px rgba(255,255,255,.17);
}
.device--zbrojak { z-index: 1; top: 68px; right: 3%; transform: rotate(10deg); }
.hero-devices--single .device--zbrojak { z-index: 2; top: 22px; right: 50%; transform: translateX(50%) rotate(5deg); }
.hero-devices--duo .device--zbrojak { z-index: 2; top: 16px; left: 9%; right: auto; transform: rotate(-6deg); }
.hero-devices--duo .device--luna { z-index: 1; top: 58px; right: 8%; transform: rotate(7deg); }
.device__notch { position: absolute; z-index: 2; top: 11px; left: 50%; width: 82px; height: 21px; border-radius: 0 0 13px 13px; background: #030508; transform: translateX(-50%); }
.device__screen { position: relative; height: 100%; padding: 16px 13px; overflow: hidden; border-radius: 27px; color: #fff; background: linear-gradient(180deg,#060a11,#0a111d); }
.device__screen--screenshot { padding: 0; background: #071522; }
.device__screenshot { width: 100%; height: 100%; object-fit: fill; object-position: center top; }
.device__status { display: flex; justify-content: space-between; padding: 0 6px 14px; font-size: 7px; opacity: .8; }
.device__title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
.device__title strong { font-size: 15px; }
.device__meta { margin-top: 16px; color: rgba(255,255,255,.58); font-size: 9px; line-height: 1.6; }
.device__meta strong { color: #fff; font-weight: 500; }
.device h3 { margin-top: 5px; color: #fff; font-size: 17px; letter-spacing: -.02em; }
.cycle-ring { width: 112px; height: 112px; margin: 25px auto 16px; border-radius: 50%; background: conic-gradient(#a855f7,#ec4899,#5b43e8,#a855f7); mask: radial-gradient(farthest-side,transparent calc(100% - 11px),#000 0); }
.device__screen > p { color: rgba(255,255,255,.42); font-size: 8px; text-align: center; }
.device__button { margin-top: 19px; padding: 11px; border-radius: 8px; color: rgba(255,255,255,.72); background: #111b29; font-size: 8px; text-align: center; }
.device__tabs { position: absolute; right: 15px; bottom: 16px; left: 15px; display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.08); font-size: 10px; }
.test-tile { position: relative; margin-top: 18px; padding: 14px; border-radius: 10px; background: #101927; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.test-tile strong,.test-tile small { display: block; }
.test-tile strong { font-size: 12px; }
.test-tile small { margin-top: 5px; color: rgba(255,255,255,.5); font-size: 8px; }
.test-tile button { width: 100%; margin-top: 15px; padding: 9px; border: 0; border-radius: 7px; color: #0b1018; background: #fff; font-size: 9px; font-weight: 700; }
.test-tile--small { min-height: 68px; }
.test-tile--small > span { position: absolute; top: 25px; right: 14px; font-size: 20px; }

.hero-pillars {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(100%, 1320px);
  margin: 42px auto 0;
  padding: 30px max(40px,calc((100% - var(--container))/2));
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
}
.hero-pillars article { display: flex; min-height: 78px; padding: 0 28px; gap: 16px; align-items: flex-start; border-right: 1px solid rgba(255,255,255,.11); }
.hero-pillars article:first-child { padding-left: 0; }
.hero-pillars article:last-child { padding-right: 0; border-right: 0; }
.pillar-icon { flex: 0 0 auto; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 34px rgba(0,0,0,.18); }
.pillar-icon svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.hero-pillars strong { display: block; margin-bottom: 5px; font-size: .92rem; }
.hero-pillars p { color: rgba(255,255,255,.5); font-size: .76rem; line-height: 1.55; }

@media (max-width: 880px) {
  .home-page .site-header--home:not(.is-scrolled) .site-nav { border-color: rgba(255,255,255,.15); background: rgba(4,10,20,.97); }
  .home-page .site-header--home:not(.is-scrolled) .nav-cta { border: 1px solid rgba(255,255,255,.35); background: transparent; }
  .home-page .hero { min-height: 0; padding-top: 128px; }
  .home-page .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .home-page .hero__copy { max-width: 620px; margin: 0; text-align: left; }
  .home-page .hero__actions,.home-page .trust-line { justify-content: flex-start; }
  .hero-devices { width: min(100%,520px); height: 480px; margin-inline: auto; }
  .hero-devices--duo { width: min(100%, 560px); height: 500px; }
  .hero-devices--duo .device--zbrojak { left: 9%; top: 10px; transform: rotate(-5deg); }
  .hero-devices--duo .device--luna { right: 9%; top: 54px; transform: rotate(5deg); }
  .hero-pillars { grid-template-columns: repeat(2,1fr); margin-top: 0; padding: 28px 30px; }
  .hero-pillars article { padding: 18px 24px; }
  .hero-pillars article:first-child { padding-left: 24px; }
  .hero-pillars article:nth-child(2) { border-right: 0; }
  .hero-pillars article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.11); }
}

@media (max-width: 640px) {
  .function-grid { grid-template-columns: 1fr; }
  .home-page .site-header .brand img { width: 48px; height: 40px; }
  .home-page .hero { padding-top: 116px; }
  .home-page .hero__copy .eyebrow { max-width: 230px; line-height: 1.8; }
  .home-page .hero__copy h1 { font-size: clamp(3.9rem,19vw,5rem); line-height: .98; letter-spacing: -.055em; }
  .home-page .hero__copy .lead { margin-top: 24px; }
  .home-page .hero__actions { display: grid; }
  .home-page .trust-line { align-items: flex-start; }
  .hero-devices { height: 430px; overflow: hidden; }
  .device { width: 205px; height: 415px; }
  .device--zbrojak { display: none; }
  .hero-devices--single .device--zbrojak { display: block; top: 8px; right: 50%; transform: translateX(50%) rotate(2deg); }
  .hero-devices--duo { display: grid; height: auto; gap: 24px; overflow: visible; perspective: none; }
  .hero-devices--duo .device { position: relative; display: block; inset: auto; margin-inline: auto; transform: none !important; }
  .hero-devices--duo .device--zbrojak,
  .hero-devices--duo .device--luna { top: auto; right: auto; left: auto; }
  .hero-pillars { grid-template-columns: 1fr; padding: 18px 14px; }
  .hero-pillars article,.hero-pillars article:first-child { padding: 20px 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .hero-pillars article:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Finálna responzívna vrstva
   Musí zostať na konci súboru, aby mobilné pravidlá neprepísali neskoršie
   desktopové varianty komponentov.
   -------------------------------------------------------------------------- */
main,
main > section,
.container,
.about-grid > *,
.contact-grid > *,
.product-intro > *,
.legal-layout > *,
.form-grid > * { min-width: 0; }

.field input,
.field textarea,
.field select { min-width: 0; max-width: 100%; }

.contact-list strong,
.legal-content,
.support-card,
.function-card { overflow-wrap: break-word; }

/* Tablet: obsahové a formulárové bloky dostanú plnú použiteľnú šírku. */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .product-intro,
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .about-copy,
  .product-intro__copy { max-width: 780px; }

  .contact-grid > :first-child { max-width: 760px; }
  .contact-panel { width: 100%; max-width: 860px; }
  .legal-content { width: 100%; max-width: 820px; }
  .legal-nav { position: static; width: 100%; max-width: 820px; }
}

/* Mobil: každý hlavný obsahový grid je striktne jedostĺpcový. */
@media (max-width: 767px) {
  .container { width: min(calc(100% - 28px), var(--container)); }

  .hero__grid,
  .about-grid,
  .app-grid,
  .feature-grid,
  .contact-grid,
  .form-grid,
  .footer-top,
  .product-hero__grid,
  .product-intro,
  .function-grid,
  .support-grid,
  .support-grid--two,
  .legal-layout,
  .stat-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid,
  .contact-grid,
  .product-intro,
  .legal-layout { gap: 34px; }

  .field,
  .field--wide { grid-column: auto; width: 100%; }

  .field input,
  .field textarea,
  .field select { width: 100%; }

  .contact-panel,
  .support-card,
  .function-card,
  .legal-nav,
  .email-request-card { padding: 22px; }

  .app-card { display: block; min-height: 0; }
  .app-card__visual { min-height: 220px; }
  .app-card__body { padding: 30px 24px; }

  .contact-list strong { display: block; line-height: 1.5; }
  .contact-list a[href^="mailto:"],
  .contact-list a[href^="tel:"] { white-space: nowrap; }

  .site-nav { inset: 76px 14px auto; }
  .nav-shell { gap: 16px; }
  .brand { min-width: 0; }
  .brand span { white-space: nowrap; }

  .page-hero__copy,
  .product-hero__copy { max-width: 100%; }

  h1,
  h2,
  h3,
  p,
  li { overflow-wrap: break-word; }
}

/* Luna download availability card: final Google Play + App Store layout. */
@media (max-width: 1024px) {
  .download-cta--platforms {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .download-qr-grid {
    max-width: 560px;
  }
}

@media (max-width: 767px) {
  .download-cta--platforms {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 22px;
  }

  .download-buttons--platforms {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .download-buttons--platforms .store-button {
    width: 100%;
    justify-content: center;
  }

  .download-qr-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .download-qr-card {
    width: 100%;
    padding: 15px;
    border-radius: 20px;
  }

  .download-qr-box {
    width: min(100%, 210px);
    padding: 13px;
    border-radius: 18px;
  }
}

/* Final override: Luna store card must stay aligned with the website template. */
.download-cta.download-cta--platforms {
  display: grid !important;
  grid-template-columns: minmax(0, .45fr) minmax(0, .55fr) !important;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(42px, 5vw, 64px);
  border-radius: var(--radius-lg);
}

.download-cta.download-cta--platforms .download-cta__content {
  max-width: 540px;
}

.download-cta.download-cta--platforms h2 {
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: .98;
}

.download-cta.download-cta--platforms .download-buttons--platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.download-cta.download-cta--platforms .store-button {
  min-width: 220px;
  min-height: 68px;
  padding: 13px 18px;
  border-radius: 15px;
}

.download-cta.download-cta--platforms .download-qr-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px;
  width: 100%;
  max-width: 470px;
  justify-self: end;
}

.download-cta.download-cta--platforms .download-qr-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: start;
  min-width: 0;
  padding: 18px;
}

.download-cta.download-cta--platforms .download-qr-box {
  width: min(100%, 190px);
  max-width: 190px;
  padding: 14px;
}

.download-cta.download-cta--platforms .download-qr-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .download-cta.download-cta--platforms {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .download-cta.download-cta--platforms .download-qr-grid {
    justify-self: start;
    max-width: 470px;
  }
}

@media (max-width: 767px) {
  .download-cta.download-cta--platforms {
    padding: 32px 22px;
  }

  .download-cta.download-cta--platforms .download-buttons--platforms {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .download-cta.download-cta--platforms .store-button {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .download-cta.download-cta--platforms .download-qr-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 250px);
    margin-inline: auto;
    justify-self: center;
  }

  .download-cta.download-cta--platforms .download-qr-box {
    width: min(100%, 200px);
  }
}
