/* ============================================================
   Fire Protocol — landing
   Paleta: fire-orange #f97316 → rose #e11d48, na ciemnym tle
   ============================================================ */

:root {
  --bg: #06060a;
  --bg-soft: #0c0c14;
  --ink: #f4f4f7;
  --ink-soft: #a8a8b8;
  --ink-mut: #6e6e80;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --brand: #f97316;
  --brand-2: #fb923c;
  --rose: #e11d48;
  --violet: #7c3aed;
  --grad: linear-gradient(100deg, #fb923c 0%, #f97316 45%, #e11d48 100%);
  --radius: 18px;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Tło: aurora + grid + szum ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.aurora--1 { width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, #f97316, transparent 65%);
  animation: drift1 22s var(--ease) infinite alternate; }
.aurora--2 { width: 560px; height: 560px; top: 10%; right: -160px;
  background: radial-gradient(circle, #e11d48, transparent 65%); opacity: 0.45;
  animation: drift2 26s var(--ease) infinite alternate; }
.aurora--3 { width: 680px; height: 680px; bottom: -260px; left: 30%;
  background: radial-gradient(circle, #7c3aed, transparent 68%); opacity: 0.3;
  animation: drift3 30s var(--ease) infinite alternate; }

@keyframes drift1 { to { transform: translate(160px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 180px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(120px, -120px) scale(1.2); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.5;
}

.noise {
  position: absolute; inset: 0; opacity: 0.035; 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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 8, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: 'Space Grotesk', sans-serif; }
.brand__mark { display: block; border-radius: 10px; }
.brand__name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }

.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }

.nav__cta { margin-left: 4px; }

/* Przełącznik języka PL / EN */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); }
.lang-switch__btn { appearance: none; border: 0; cursor: pointer; background: transparent; color: var(--ink-soft); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.3px; padding: 5px 10px; border-radius: 999px; line-height: 1; transition: color 0.2s, background 0.2s; }
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active { background: var(--brand); color: #fff; }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; margin-left: auto; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(249, 115, 22, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(225, 29, 72, 0.65); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 110px; text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  font-size: 13.5px; color: var(--ink-soft); font-weight: 500; margin-bottom: 28px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(249, 115, 22, 0); } }

.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 24px; }
.hero__sub { max-width: 620px; color: var(--ink-soft); font-size: clamp(1.02rem, 2vw, 1.18rem); margin-bottom: 38px; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero__meta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 56px; }
.hero__meta > div {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px 22px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); min-width: 168px;
}
.hero__meta strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.18rem; }
.hero__meta span { font-size: 13px; color: var(--ink-mut); }

.hero__glow {
  position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16), transparent 60%);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.section__title { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.section__lead { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 30px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }
.card__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(225, 29, 72, 0.18));
  border: 1px solid rgba(249, 115, 22, 0.28);
}
.card__icon svg { width: 24px; height: 24px; color: var(--brand-2); }
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Phones / screeny ---------- */
.section--app { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent); }
.phones { display: flex; align-items: flex-end; justify-content: center; gap: 28px; flex-wrap: wrap; }
.phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone figcaption { color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.phone__frame {
  position: relative; width: 244px; height: 506px; border-radius: 40px; padding: 11px;
  background: linear-gradient(160deg, #1b1b25, #0a0a10);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone--hero .phone__frame { width: 268px; height: 556px; }
.phone--hero { transform: translateY(-18px); }
.phone__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 100px; height: 22px; background: #05050a; border-radius: 0 0 14px 14px; z-index: 2; }
.phone__screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  /* Fallback gradient gdy brak screena; po wrzuceniu pliku --shot przykryje go */
  background:
    var(--shot, none) center / cover no-repeat,
    linear-gradient(165deg, #181826, #0d0d16);
  position: relative;
}
.phone__screen::after {
  /* delikatny placeholder-hint widoczny tylko gdy brak obrazka (gradient prześwituje) */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(249, 115, 22, 0.16), transparent 60%);
}

/* ---------- Split (platformy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__text .section__title { text-align: left; margin-top: 14px; }
.split__text .section__lead { margin-bottom: 26px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.split__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.badges { display: flex; gap: 8px; }
.badge { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* Mock okna panelu */
.window { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.window__bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.window__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.window__shot { display: block; width: 100%; height: auto; }
.w-row { display: flex; align-items: center; gap: 14px; }
.w-chip { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); flex: none; }
.w-chip.grad-bg { background: var(--grad); }
.w-line { height: 11px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); flex: 1; }
.w-line--md { max-width: 70%; }
.w-line--sm { max-width: 45%; }

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 0 110px; }
.cta-band__inner {
  text-align: center; padding: 64px 32px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(225, 29, 72, 0.1));
  border: 1px solid rgba(249, 115, 22, 0.25); position: relative; overflow: hidden;
}
.cta-band__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.2), transparent 60%); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 28px; font-size: 1.06rem; }

/* ---------- Cennik ---------- */
.section--pricing { background: linear-gradient(180deg, transparent, rgba(225, 29, 72, 0.04), transparent); }

.section__head--pricing { max-width: 760px; }
.section__title--oneline { white-space: nowrap; }
@media (max-width: 720px) {
  .section__title--oneline { white-space: normal; }
}

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.price-card {
  position: relative;
  perspective: 1400px;
  transition: transform 0.35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }

/* Flip wokół osi pionowej (rotateY) — wyzwalany kliknięciem (.js-flip) */
.price-card__inner {
  display: grid; height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d; /* Safari/iOS — bez prefiksu spłaszcza 3D i widać tył przez przód */
  transition: transform 0.65s var(--ease);
}
.price-card.is-flipped .price-card__inner { transform: rotateY(180deg); }

.price-card__face {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  padding: 34px 30px 22px; border-radius: var(--radius);
  /* Szklany tint na NIEPRZEZROCZYSTEJ bazie — inaczej tył karty prześwituje po obróceniu */
  background: linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)), var(--bg-soft);
  border: 1px solid var(--line);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: border-color 0.35s, background 0.35s;
}
.price-card:hover .price-card__face { border-color: var(--line-strong); background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), var(--bg-soft); }
.price-card__face--back { transform: rotateY(180deg); }

.price-card--featured .price-card__face {
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.1), rgba(225, 29, 72, 0.07)), var(--bg-soft);
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 30px 70px -30px rgba(249, 115, 22, 0.35);
}
.price-card--featured:hover .price-card__face { border-color: rgba(249, 115, 22, 0.55); }

.price-card__flip {
  appearance: none; background: none; border: 0; cursor: pointer;
  align-self: center; margin-top: 12px; padding: 4px 8px;
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink-mut);
  transition: color 0.2s;
}
.price-card__flip:hover { color: var(--brand-2); }

.price-card__flipnote { margin-top: auto; color: var(--ink-mut); font-size: 12.5px; }
.price-card__badge { z-index: 2; }

.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--grad); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 8px 24px -8px rgba(225, 29, 72, 0.6);
}

.price-card__name { font-size: 1.3rem; margin-bottom: 8px; }
.price-card__desc { color: var(--ink-soft); font-size: 0.94rem; min-height: 2.9em; margin-bottom: 18px; }

.price-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.price-card__amount { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.4rem; letter-spacing: -0.02em; }
.price-card--featured .price-card__amount {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card__per { color: var(--ink-mut); font-size: 0.92rem; }
.price-card__old {
  color: var(--ink-mut); font-size: 1.05rem; text-decoration: line-through;
  text-decoration-color: var(--rose); text-decoration-thickness: 2px;
  font-family: 'Space Grotesk', sans-serif;
}

.price-card__list { margin-bottom: 26px; gap: 11px; }
.price-card__list li { font-size: 0.94rem; }
.price-card__list strong { color: var(--ink); }

.price-card__cta { margin-top: auto; justify-content: center; }

.price-enterprise {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 30px; padding: 32px 36px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.12), rgba(225, 29, 72, 0.09)), var(--bg-soft);
  border: 1px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 30px 70px -34px rgba(249, 115, 22, 0.4);
}
.price-enterprise__eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 5px 13px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.price-enterprise__text h3 { font-size: 1.55rem; margin-bottom: 6px; }
.price-enterprise__text p { color: var(--ink-soft); font-size: 0.97rem; max-width: 640px; }
.price-enterprise .btn { flex: none; }

.pricing__note { margin-top: 22px; text-align: center; color: var(--ink-mut); font-size: 0.88rem; }
.pricing__note strong { color: var(--ink-soft); }

/* ---------- Demo / formularz ---------- */
.section--demo { background: linear-gradient(180deg, transparent, rgba(249, 115, 22, 0.04), transparent); }
.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.demo__text .section__title { text-align: left; margin-top: 14px; }
.demo__text .section__lead { margin-bottom: 26px; }
.demo__ticks { margin-bottom: 0; }

.demo__form-wrap {
  padding: 32px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.7);
}
.demo-form { display: flex; flex-direction: column; gap: 16px; }
.demo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.demo-field { display: flex; flex-direction: column; gap: 7px; }
.demo-field > span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.demo-field input,
.demo-field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.demo-field textarea { resize: vertical; min-height: 84px; }
.demo-field input::placeholder,
.demo-field textarea::placeholder { color: var(--ink-mut); }
.demo-field input:focus,
.demo-field textarea:focus {
  outline: none; border-color: var(--brand);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.demo-form__submit { justify-content: center; margin-top: 4px; }
.demo-form__submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.demo-form__status { font-size: 14px; min-height: 1px; margin: -2px 0; }
.demo-form__status.is-ok { color: #34d399; }
.demo-form__status.is-err { color: #fb7185; }

.demo-form__note { font-size: 12.5px; color: var(--ink-mut); }

/* honeypot — ukryty przed użytkownikiem, widoczny dla botów */
.demo-form__hp { position: absolute; left: -9999px; opacity: 0; width: 0; height: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--ink-soft); font-size: 14.5px; transition: color 0.2s; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-mut); font-size: 14px; }
.footer__legal a { font-size: 13.5px; color: var(--ink-mut); }
.footer__legal a:hover { color: var(--brand-2); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsywność ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }

  .pricing { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin: 0 auto; }
  .price-card--featured { order: -1; }
  .price-card__desc { min-height: 0; }
  .price-enterprise { flex-direction: column; text-align: center; max-width: 460px; margin: 26px auto 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__text .section__title { text-align: center; }
  .split__text { text-align: center; }
  .ticks li { text-align: left; }
  .split__cta { justify-content: center; }

  .demo { grid-template-columns: 1fr; gap: 36px; }
  .demo__text { text-align: center; }
  .demo__text .section__title { text-align: center; }
  .demo__ticks li { text-align: left; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .lang-switch { margin-left: auto; }
  .nav__burger { display: flex; margin-left: 10px; }
  .nav__inner { justify-content: space-between; flex-wrap: wrap; align-items: center; }

  /* Mobilne menu — linki i CTA zawijają się POD pasek w normalnym przepływie (flex-wrap),
     więc tło nav je pokrywa i nic się nie nachodzi (bez sztywnych top: px). */
  .nav.is-open {
    background: rgba(8, 8, 13, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  /* Bez tego zawinięte linki wychodzą poza sztywne height:68px i tło ich nie pokrywa */
  .nav.is-open .nav__inner { height: auto; padding-bottom: 10px; }
  .nav.is-open .nav__links {
    display: flex; order: 10; flex-basis: 100%; flex-direction: column;
    gap: 4px; margin-top: 12px; padding-top: 14px; padding-bottom: 4px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open .nav__links a { padding: 9px 2px; font-size: 16px; }
  .nav.is-open .nav__cta {
    display: inline-flex; order: 11; flex-basis: 100%;
    justify-content: center; margin-top: 6px; margin-bottom: 14px;
  }

  .hero { padding: 132px 0 80px; }
  .hero__meta > div { min-width: 140px; flex: 1; }
  .features { grid-template-columns: 1fr; }
  .phone--hero { transform: none; }
  .phone__frame { width: 220px; height: 458px; }
  .phone--hero .phone__frame { width: 220px; height: 458px; }
  .section { padding: 72px 0; }

  .demo__form-wrap { padding: 24px; }
  .demo-form__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora, .pill__dot { animation: none; }
  .price-card__inner { transition: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
