/* ============================================================
   VIZAPP — index.css
   Landing page specific styles
   ============================================================ */

/* ============================================================
   Brand override — len pre index.html
   main.css zostáva spoločný pre celý web (register/support/...),
   tu prepisujeme premenné a zopár natvrdo farbených miest v main.css
   len pre túto stránku (index.css sa nikde inde nenačítava).
   Fialová appku nereprezentuje — appka je sýto modrá, tak je aj web.
   ============================================================ */
:root {
  --bg:            #05081a;
  --bg-2:          #070f2b;
  --accent:        #3b5bfd;
  --accent-2:      #1b2f8f;
  --accent-cyan:   #5a78ff;
  --accent-light:  #8fa4ff;

  --glass-bg:      rgba(90, 120, 255, 0.05);
  --glass-border:  rgba(140, 160, 255, 0.12);
  --glass-blur:    blur(16px);
  --glass-hover-bg: rgba(90, 120, 255, 0.09);
  --glass-hover-border: rgba(150, 170, 255, 0.2);

  --gradient-primary: linear-gradient(135deg, #3b5bfd 0%, #1b2f8f 100%);
  --gradient-subtle:  linear-gradient(135deg, rgba(59,91,253,0.15) 0%, rgba(27,47,143,0.15) 100%);
  --gradient-text:    linear-gradient(135deg, #8fa4ff 0%, #5a78ff 100%);
}

/* main.css definuje tieto farby natvrdo (nie cez premenné) —
   prepisujeme ich tu, nie v main.css, aby ostatné stránky ostali beze zmeny. */
.bg-shape--purple   { background: var(--accent); }
.bg-shape--blue     { background: var(--accent-2); }
.bg-shape--cyan     { background: var(--accent-cyan); }
.bg-shape--purple-2 { background: var(--accent); }

.section-label,
.section-label::before {
  color: var(--accent-light);
  background: var(--accent-light);
}
.section-label::before { color: transparent; }

/* ============================================================
   Grain — jemná textúra namiesto "mäkkého" farebného blur pozadia.
   Signature detail, nie ozdoba: dodáva hmatovosť, nevypína sa do očí.
   ============================================================ */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Main layout wrapper
   ============================================================ */
main {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 91, 253, 0.12);
  border: 1px solid rgba(59, 91, 253, 0.25);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 13px;
  font-weight: 500;
  color: #b9c6ff;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b5bfd;
  box-shadow: 0 0 8px rgba(59, 91, 253, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero__heading {
  font-size: clamp(44px, 6.5vw, 92px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero__sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   Business Card Visual
   ============================================================ */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  position: relative;
  z-index: 2;
}

.biz-card {
  width: 360px;
  height: 210px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 28px 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  animation: float 3.5s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

.biz-card:hover {
  transform: rotateY(-8deg) rotateX(3deg) scale(1.03);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  animation-play-state: paused;
}

/* Gradient border top */
.biz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.6), rgba(96, 165, 250, 0.6), transparent);
}

/* Inner glow shimmer */
.biz-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-16px) rotate(-0.5deg); }
}

.biz-card__logo {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.biz-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.biz-card__title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.biz-card__contacts {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.biz-card__contact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.biz-card__contact-icon {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* NFC chip visual */
.biz-card__nfc {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 36px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  z-index: 1;
}

.biz-card__nfc::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

/* ============================================================
   Section: Ako to funguje
   ============================================================ */
.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(59, 91, 253, 0.03) 50%, transparent 100%);
}

.section__header {
  text-align: center;
  margin-bottom: 96px;
}

.section__heading {
  margin-bottom: 16px;
}

.section__sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ============================================================
   Section eyebrow + title (shared nové sekcie)
   ============================================================ */
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 80px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 36px 32px;
  position: relative;
}

.step-card__number {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.step-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.step-card__title {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-card__text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ============================================================
   Section: Čo dostaneš — Feature Grid
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px 28px;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
}

.feature-card__icon--purple,
.feature-card__icon--blue,
.feature-card__icon--cyan {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card__title {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.feature-card__text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ============================================================
   Section: Cena
   ============================================================ */
.pricing-wrapper {
  display: flex;
  justify-content: center;
}

.pricing-card {
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.pricing-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa4ff;
  margin-bottom: 20px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.pricing-card__currency {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.pricing-card__note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 36px;
}

.pricing-card__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 32px 0;
}

.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-card__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

/* ============================================================
   Section: Ukážka vizitky — Phone Mockup
   ============================================================ */
.preview-wrapper {
  display: flex;
  gap: 80px;
  align-items: center;
}

.preview-text {
  flex: 1;
}

.preview-text .section__heading {
  text-align: left;
  margin-bottom: 20px;
}

.preview-text .section__sub {
  text-align: left;
  margin: 0 0 32px 0;
}

.preview-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: 16px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  animation: float 4s ease-in-out infinite;
}

/* Notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: rgba(8, 8, 16, 0.9);
  border-radius: 20px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 26, 0.95);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 16px 24px;
}

.phone-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.phone-profile-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 4px;
}

.phone-profile-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.phone-action-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
}

.phone-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-family: var(--font-body);
  cursor: default;
}

.phone-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
}

.phone-link-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.phone-link-text {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
}

/* ============================================================
   CTA Banner Section
   ============================================================ */
.cta-banner {
  text-align: center;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cta-banner__inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 72px 60px;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.cta-banner__glow {
  display: none;
}

.cta-banner__heading {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner__sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Scrollytelling Hero
   ============================================================ */

/* Desktop hero — 100vh, žiadny scroll-rig. Príbeh (kopa → jedna karta →
   telefón → uložené) sa prehráva raz automaticky, časovo, nie scrollom. */
.scrolly {
  display: block;
  position: relative;
  height: 100vh;
  width: 100%;
  background: #06060f;
  /* Posun telefónu (a s ním ripple kruhov + NFC kartičky) v pokojovom stave —
     jedna hodnota, zdieľaná JS aj CSS, aby sa vždy pohybovali synchrónne. */
  --hero-shift: clamp(90px, 8vw, 150px);
}

/* Blurred background blobs */
.scrolly__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.scrolly__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}

.scrolly__blob--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #3b5bfd, transparent 70%);
  opacity: 0.18;
  top: -200px;
  left: -150px;
}

.scrolly__blob--2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #1b2f8f, transparent 70%);
  opacity: 0.14;
  bottom: -100px;
  right: 5%;
}

.scrolly__blob--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #5a78ff, transparent 70%);
  opacity: 0.10;
  top: 35%;
  left: 38%;
}

/* NFC tap ripple — signature motív namiesto ďalšieho farebného blobu.
   Echo toho, čo appka reálne robí (priloženie karty), nie dekorácia navyše. */
.scrolly__ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  transform: translateX(var(--hero-shift));
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrolly__ripple span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  border: 1px solid rgba(90, 120, 255, 0.35);
  opacity: 0;
  animation: ripple-pulse 3.6s ease-out infinite;
}

.scrolly__ripple span:nth-child(2) { animation-delay: 1.2s; }
.scrolly__ripple span:nth-child(3) { animation-delay: 2.4s; }

@keyframes ripple-pulse {
  0%   { transform: scale(0.6); opacity: 0.5; }
  70%  { opacity: 0.12; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* Záblesk presne v momente, keď kopa splynie do jednej karty — jednorazový,
   spustí sa pridaním .is-active (JS), nie nekonečná slučka ako ripple. */
.scrolly__flash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 195, 255, 0.85) 0%, rgba(90, 120, 255, 0.35) 35%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.scrolly__flash.is-active {
  animation: flash-burst 0.7s ease-out forwards;
}

@keyframes flash-burst {
  0%   { opacity: 0; transform: scale(0.5); }
  18%  { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

/* Generované vizitky (js/hero-animation.js) — kontajner, samotný pohyb
   je čisto WAAPI (transform/opacity), žiadny CSS calc()/scroll-tying. */
.hero-cards {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 4;
}

.hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 90px;
  margin: -45px 0 0 -75px;
  border-radius: 10px;
  background: #f5f1e8;
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 18px;
  color: #2a2a2a;
  will-change: transform, opacity;
}

.hero-card__company {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-card__name {
  font-size: 10.5px;
  opacity: 0.65;
}

/* Ohnutý roh — statický, len na niektorých kartách (JS náhodne) */
.hero-card--bent {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.hero-card--bent::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent rgba(0,0,0,0.15) transparent transparent;
}

/* Mobilná scéna — menšie karty, zmestia sa do plochy pod textom */
.hero-cards--mobile .hero-card {
  width: 96px;
  height: 58px;
  margin: -29px 0 0 -48px;
  padding: 0 12px;
}
.hero-cards--mobile .hero-card__company { font-size: 9px; }
.hero-cards--mobile .hero-card__name { font-size: 8.5px; }
.hero-cards--mobile .hero-card--bent::after { border-width: 0 11px 11px 0; }

/* Hero vizitka (posledná, "moja") v mobilnej scéne — zmenšená verzia .scrolly__paper */
.hero-cards--mobile .scrolly__paper {
  width: 150px;
  height: 94px;
  padding: 14px 16px;
  border-radius: 10px;
}
.hero-cards--mobile .scrolly__paper-brand { font-size: 9px; }
.hero-cards--mobile .scrolly__paper-brand--logo { width: 68px; height: 8px; }
.hero-cards--mobile .scrolly__paper-name { font-size: 13px; }
.hero-cards--mobile .scrolly__paper-role { font-size: 9px; }

/* Sticky viewport */
.scrolly__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Stage — centrovaný kontajner pre paper a phone (0×0, deti absolútne) */
.scrolly__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  perspective: 1200px;
  pointer-events: none;
  z-index: 5;
}

/* Titulky 3 dejstiev — viditeľné len počas intro, JS strieda .is-active */
.scrolly__cinematic {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

html.hero-intro .scrolly__cinematic {
  opacity: 1;
}

.scrolly__cinematic-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scrolly__cinematic-line.is-active {
  opacity: 1;
}


/* Floating stats row */
.scrolly__stats {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
}

.scrolly__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scrolly__stat-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.scrolly__stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.scrolly__stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}


/* Paper card */
.scrolly__paper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 214px;
  border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 0%, #2a2a30 0%, #141418 55%, #0b0b0e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 28px;
  color: #fff;
  font-family: var(--font-heading);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}
.scrolly__paper-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scrolly__paper-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scrolly__paper-brand--logo {
  display: block;
  width: 93px;
  height: 11px;
  background: var(--gradient-text);
  -webkit-mask-image: url('../photos/logo.svg');
  mask-image: url('../photos/logo.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: unset;
}
.scrolly__paper-nfc {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
}
.scrolly__paper-id {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.scrolly__paper-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #f4f4f6;
}
.scrolly__paper-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
}
.scrolly__paper-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.6);
}

/* Phone frame — východiskový stav = finálna poloha (posunutá o --hero-shift).
   Počas intra (html.hero-intro) je skrytý, JS ho odkryje WAAPI reveal(). */
.scrolly__phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(var(--hero-shift));
  width: 280px;
  height: 580px;
  border-radius: 48px;
  background: #09090b;
  border: 8px solid #27272a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1);
  overflow: hidden;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

html.hero-intro .scrolly__phone {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

/* Fyzická NFC kartička — východiskový stav = finálna poloha za telefónom.
   Počas intra skrytá, odkryje sa WAAPI reveal() tesne pred telefónom. */
.scrolly__nfc-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 208px;
  height: 128px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(155deg, #34343c 0%, #121216 70%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 54px -14px rgba(0,0,0,0.75);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 1;
  transform: translate(-50%, -50%) translateX(var(--hero-shift)) translate(42px, 232px) rotate(-8deg);
  z-index: 2;
}

html.hero-intro .scrolly__nfc-card {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(var(--hero-shift)) translate(42px, 232px) rotate(-8deg) scale(0.85);
}

.scrolly__nfc-card-brand {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
}

.scrolly__nfc-card-icon {
  align-self: flex-end;
  color: rgba(255,255,255,0.3);
}

/* Outro — nadpis, odstavec, CTA a výhody vľavo; východiskový stav = viditeľný,
   počas intra (html.hero-intro) skrytý, odkryje sa spolu s telefónom. */
.scrolly__outro {
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translate(0, -50%) translateX(0);
  max-width: 480px;
  z-index: 6;
  opacity: 1;
  pointer-events: auto;
}

/* Skryté počas intra, WAAPI reveal() ho odkryje presne v momente telefónu,
   nie CSS transitionou naviazanou na odstránenie hero-intro (to nastalo
   až po doznení notifikácie a pôsobilo ako oneskorené "preblikne"). */
html.hero-intro .scrolly__outro {
  opacity: 0;
  pointer-events: none;
  transform: translate(0, -50%) translateX(-16px);
}

.scrolly__outro-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 16px;
}

.scrolly__outro-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 400px;
}

.scrolly__outro-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-secondary-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hero-secondary-link:hover {
  color: #ffffff;
  text-decoration-color: rgba(255,255,255,0.7);
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-perks span {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.hero-perks span::before {
  content: '✓';
  margin-right: 6px;
  color: #7c93ff;
}

/* Dynamic island notch */
.scrolly__phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 24px;
  background: #27272a;
  border-radius: 0 0 12px 12px;
  z-index: 50;
}

/* Phone screens */
.scrolly__screen {
  position: absolute;
  inset: 0;
  will-change: opacity;
  transition: opacity 0.6s ease;
}

/* Screen 1: Digital card */
.scrolly__screen--1 {
  background: linear-gradient(160deg, #0d0d1a 0%, #1a0a2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 64px;
  padding-left: 20px;
  padding-right: 20px;
}

.sc1__avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.sc1__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a78ff, #1b2f8f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 8px 32px rgba(93, 104, 197, 0.4);
  flex-shrink: 0;
}

.sc1__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  text-align: center;
}

.sc1__title {
  font-size: 13px;
  color: #8fa4ff;
  margin-bottom: 24px;
  text-align: center;
}

.sc1__contacts {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.sc1__contact-row {
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
}

.sc1__contact-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.sc1__contact-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
}

/* Notifikácia "Nový kontakt" — nad save tlačidlom, jednorazovo po animácii
   (desktop) alebo s každým cyklom slučky (mobil). Collapsed cez max-height,
   nie display:none, aby mal prechod plynulé rozbalenie/zbalenie. */
.sc1__notify {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  transition: max-height 0.4s ease, opacity 0.35s ease, margin-bottom 0.4s ease, padding 0.4s ease;
  margin-bottom: 0;
  flex-shrink: 0;
}

.sc1__notify.is-visible {
  max-height: 52px;
  opacity: 1;
  margin-bottom: 10px;
  padding: 10px 12px;
}

.sc1__notify-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(90,120,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.sc1__notify-text {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
}

.sc1__notify-text strong {
  color: #ffffff;
  font-weight: 600;
}

/* Save button — text sa prekríži na "Uložené ✓" podľa --p-save (JS),
   žiadny layout shift, žiadna druhá farba navyše. */
.sc1__save-btn {
  --p-save: 1;
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #5a78ff, #1b2f8f);
  border-radius: 14px;
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.sc1__save-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.15s linear;
}

.sc1__save-label--default { opacity: calc(1 - var(--p-save, 0)); }
.sc1__save-label--done    { opacity: var(--p-save, 0); transform: scale(calc(0.85 + var(--p-save, 0) * 0.15)); }

/* ============================================================
   Section: features + preview + cta — padding
   ============================================================ */
.features,
.section,
.cta-banner {
  padding: 160px 0;
}

/* ============================================================
   Section: Bento Grid
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.bento-tile--hero {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.bento-tile--wide {
  grid-column: span 2;
}

.bento-tile--sm {
  grid-column: span 1;
}

.bento-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-tile:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 8, 16, 0.3) 0%, rgba(8, 8, 16, 0.6) 100%);
}

.bento-tile__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento-icon {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.bento-tile h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 10px;
}

.bento-tile p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.01em;
}

.bento-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-top: auto;
  padding-top: 24px;
}

.bento-bar {
  flex: 1;
  background: rgba(59, 91, 253, 0.5);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}

/* ============================================================
   Section: Ako to funguje (how)
   ============================================================ */
.how {
  padding: 160px 0;
}

.how-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.how-step:last-child {
  margin-bottom: 0;
}

.how-step--reverse {
  direction: rtl;
}

.how-step--reverse > * {
  direction: ltr;
}

.how-step__num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.how-step__text h3 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
}

.how-step__text p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  letter-spacing: -0.01em;
  max-width: 420px;
  margin: 0;
}

.how-step__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  display: block;
}

.how-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 72px;
}

.how-col .how-step__num {
  margin-bottom: 16px;
}

.how-col h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 12px;
}

.how-col p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin: 0;
}

.how-banner img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  display: block;
}

.how--process {
  padding-top: 0;
}

.bento-tile--dark {
  background: linear-gradient(135deg, rgba(59, 91, 253, 0.14), rgba(255, 255, 255, 0.03));
}

.bento-tile--dark .bento-icon {
  width: 40px;
  height: 40px;
}

.bento-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 164, 255, 0.4);
  font-family: var(--font-body, inherit);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(143, 164, 255, 0.9);
}

/* scrolly-mobile je skrytý na desktope */
.scrolly-mobile {
  display: none;
}

@media (max-width: 900px) {
  .scrolly {
    display: none;
  }

  .scrolly-mobile {
    display: block;
  }

  /* ── Hero blok ── */
  .sm-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 24px 40px;
    overflow: hidden;
  }

  .sm-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  .sm-hero__blob {
    position: absolute;
    border-radius: 50%;
  }

  .sm-hero__blob--purple {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59,91,253,0.35), transparent 70%);
    top: -40px;
    right: -60px;
  }

  .sm-hero__blob--blue {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(90,120,255,0.25), transparent 70%);
    bottom: 80px;
    left: -50px;
  }

  .sm-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sm-hero__heading {
    font-family: var(--font-heading);
    font-size: clamp(38px, 11vw, 56px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.07;
    color: #fff;
    margin: 0;
  }

  .sm-hero__sub {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 340px;
  }

  .sm-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
  }

  /* ── How it works steps ── */
  .sm-how {
    padding: 60px 24px 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .sm-how__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(143,164,255,0.7);
    margin-bottom: -16px;
  }

  .sm-how__step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .sm-how__step-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: rgba(59,91,253,0.3);
    letter-spacing: -0.02em;
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    padding-top: 2px;
  }

  .sm-how__step-text h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
  }

  .sm-how__step-text p {
    font-size: 14px;
    color: rgba(161,161,170,0.8);
    line-height: 1.6;
    margin: 0;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .preview-wrapper {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  .preview-text .section__heading,
  .preview-text .section__sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .biz-card {
    width: 300px;
    height: 175px;
    padding: 22px 24px;
  }

  .biz-card__name {
    font-size: 18px;
  }

  .pricing-card {
    padding: 36px 28px;
  }

  .cta-banner__inner {
    padding: 48px 28px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  /* Bento mobile */
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-tile--hero,
  .bento-tile--wide,
  .bento-tile--sm {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-tile--hero {
    min-height: 280px;
  }

  /* How mobile: sekcia 1 je zastúpená .sm-how pod hero */
  .how--tap {
    display: none;
  }

  .how {
    padding: 80px 0;
  }

  .how--process {
    padding-top: 0;
  }

  .how-cols {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .how-step,
  .how-step--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
    margin-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Pricing — nové prvky
   ============================================================ */
.pricing-card__anchor{
  font-size:13px;
  line-height:1.5;
  color:rgba(255,255,255,.45);
  margin-top:10px;
  max-width:30ch;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.pricing-addon{
  text-align:left;
  padding:18px 20px;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
  margin-bottom:22px;
}
.pricing-addon__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.pricing-addon__title{
  font-size:15px;
  font-weight:650;
  color:rgba(255,255,255,.92);
}
.pricing-addon__price{
  font-size:14px;
  font-weight:600;
  color:rgba(255,255,255,.7);
  white-space:nowrap;
}
.pricing-addon__desc{
  font-size:13.5px;
  line-height:1.6;
  color:rgba(255,255,255,.55);
  margin-bottom:8px;
}
.pricing-addon__note{
  font-size:12.5px;
  line-height:1.5;
  color:rgba(255,255,255,.38);
}

.pricing-card__demo{
  display:block;
  text-align:center;
  margin-top:14px;
  font-size:14px;
  font-weight:500;
  color:rgba(255,255,255,.6);
  text-decoration:none;
  transition:color .2s ease;
}
.pricing-card__demo:hover{color:rgba(255,255,255,.95)}

.pricing-alts{
  max-width:520px;
  margin:28px auto 0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pricing-alts__item{
  font-size:13.5px;
  line-height:1.6;
  color:rgba(255,255,255,.45);
  text-align:center;
}
.pricing-alts__item strong{
  color:rgba(255,255,255,.75);
  font-weight:600;
}
.pricing-alts__item a{
  color:rgba(255,255,255,.75);
  text-decoration:underline;
  text-underline-offset:3px;
}

/* ============================================================
   Pricing — B2B kalkulačka
   ============================================================ */
#pricing.calc-section {
  display: flex;
  align-items: center;
}

@media (min-width: 901px) {
  #pricing.calc-section {
    min-height: 100vh;
  }
}

.pricing-wrapper {
  width: 100%;
}

.calc {
  max-width: none;
  width: 100%;
  padding: 56px 48px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "count    result"
    "tiers    breakdown"
    "footer   footer";
  column-gap: 64px;
  row-gap: 36px;
}

/* ---- Vľavo: počet ľudí + pásma ---- */
.calc__count {
  grid-area: count;
}

.calc__count-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.calc__count-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.calc__count-input {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  width: 3.2ch;
  padding: 0;
  font-variant-numeric: tabular-nums;
}

.calc__count-input::-webkit-outer-spin-button,
.calc__count-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc__count-input:focus {
  outline: 2px solid var(--accent-light);
  outline-offset: 6px;
}

.calc__count-suffix {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
}

.calc__slider {
  display: block;
  width: 100%;
  accent-color: var(--accent);
  margin-bottom: 10px;
}

.calc__slider:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

.calc__input-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.calc__tiers {
  grid-area: tiers;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc__tier {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.calc__tier-price {
  font-weight: 600;
}

.calc__tier--active {
  background: rgba(90, 120, 255, 0.12);
  border-color: var(--glass-border);
  color: rgba(255, 255, 255, 0.85);
}

.calc__tier--active .calc__tier-price {
  color: var(--accent-light);
}

/* ---- Vpravo: výsledok + rozpis ---- */
.calc__result {
  grid-area: result;
}

.calc__result-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.calc__result-value {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.calc__result-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.calc__result-note span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.calc__breakdown-wrap {
  grid-area: breakdown;
}

.calc__breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.calc__breakdown-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.calc__breakdown-row > span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.calc__breakdown-detail {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}

.calc__hint {
  font-size: 13px;
  color: var(--accent-light);
  background: rgba(90, 120, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.calc__custom {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.calc__cta {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* ---- Dole: spoločný riadok poznámok ---- */
.calc__footer {
  grid-area: footer;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.calc__addon-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.calc__note {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.35);
}

#pricing.calc-section > .container {
  min-width: 0;
}

.calc > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .calc {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "count"
      "result"
      "tiers"
      "breakdown"
      "footer";
    padding: 40px 24px;
    row-gap: 28px;
  }
}

@media (max-width: 480px) {
  .calc {
    padding: 32px 20px;
  }
}

/* ── FAQ ── */
.faq{
  max-width:720px;
  margin:0 auto;
}
.faq__item{
  border-bottom:1px solid rgba(255,255,255,.08);
}
.faq__item:first-child{
  border-top:1px solid rgba(255,255,255,.08);
}
.faq__q{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 4px;
  font-size:17px;
  font-weight:600;
  letter-spacing:-.01em;
  color:rgba(255,255,255,.92);
  cursor:pointer;
  list-style:none;
  transition:color .2s ease;
}
.faq__q::-webkit-details-marker{display:none}
.faq__q:hover{color:#fff}
.faq__q::after{
  content:'';
  flex:0 0 10px;
  width:10px;height:10px;
  border-right:2px solid rgba(255,255,255,.4);
  border-bottom:2px solid rgba(255,255,255,.4);
  transform:rotate(45deg) translateY(-3px);
  transition:transform .25s ease;
}
.faq__item[open] .faq__q::after{
  transform:rotate(-135deg) translateY(-3px);
}
.faq__a{
  padding:0 4px 24px;
  font-size:15px;
  line-height:1.65;
  color:rgba(255,255,255,.55);
  max-width:60ch;
}
.faq__a p + p{margin-top:12px}
.faq__a a{color:rgba(255,255,255,.85)}
@media (max-width:640px){
  .faq__q{font-size:16px;padding:19px 2px}
  .faq__a{font-size:14.5px}
}

