/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #DB7093;
  --accent-hover: #c9607f;
  --accent-light: #fdf2f5;
  --accent-soft: rgba(219,112,147,.08);
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --bg: #f8fafc;
  --card: #fff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --accent-warm: #fce7ed;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  --shadow: 0 4px 16px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.06);
  --plan-basic: #3b82f6;
  --plan-pro: #8b5cf6;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
::selection { background: var(--accent); color: #fff; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ===== Animations ===== */
.anim {
  opacity: 0; transform: translateY(60px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.anim.show { opacity: 1; transform: translateY(0); }

.feature__text.anim { transition-delay: .15s; }
.feature__media.anim { transform: translateY(80px); transition-duration: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}

/* ===== Common ===== */
.tag {
  display: inline-block;
  font-size: 14px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 7px 16px; border-radius: var(--radius-full); margin-bottom: 20px;
}

.section-head { text-align: center; margin-bottom: 72px; }
.section-head h2 { font-size: 48px; font-weight: 800; letter-spacing: -.5px; line-height: 1.12; }
.section-head p { color: var(--text-2); font-size: 20px; margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600;
  font-family: var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: all .25s var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 20px rgba(219,112,147,.25); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(219,112,147,.35); }
.btn--outline { background: var(--card); color: var(--text); border-color: var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: transparent; color: var(--text-2); padding: 12px 16px; }
.btn--ghost:hover { color: var(--accent); }
.btn--lg { padding: 18px 44px; font-size: 17px; border-radius: 12px; }
.btn--full { width: 100%; }
.btn--pro-border { border-color: var(--plan-pro); color: var(--plan-pro); }
.btn--pro-border:hover { background: var(--plan-pro); color: #fff; border-color: var(--plan-pro); }
.btn svg { flex-shrink: 0; }

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #fff; border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0,0,0,.05);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner.hide { transform: translateY(100%); }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.5; flex: 1; }
.cookie-banner__details-link {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font-size: inherit; padding: 0; text-decoration: underline; font-family: inherit;
}
.cookie-banner__details-link:hover { color: var(--accent-hover); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__btn {
  padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: none; transition: background .2s, color .2s;
}
.cookie-banner__btn--accept { background: var(--accent); color: #fff; }
.cookie-banner__btn--accept:hover { background: var(--accent-hover); }
.cookie-banner__btn--reject { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-color); }
.cookie-banner__btn--reject:hover { background: var(--bg-tint); }

/* Cookie modal */
.cookie-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.4);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.cookie-modal.open { display: flex; }
.cookie-modal__box {
  background: #fff; border-radius: 16px; max-width: 520px; width: 100%;
  max-height: 80vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 48px rgba(0,0,0,.15);
}
.cookie-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border-color);
}
.cookie-modal__header h3 { margin: 0; font-size: 18px; font-weight: 600; }
.cookie-modal__close {
  background: none; border: none; font-size: 24px; cursor: pointer;
  color: var(--text-secondary); line-height: 1; padding: 0 4px;
}
.cookie-modal__close:hover { color: var(--text-primary); }
.cookie-modal__body { padding: 24px; overflow-y: auto; }
.cookie-modal__intro { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 20px; }

/* Cookie category accordion */
.cookie-cat { border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.cookie-cat:last-child { margin-bottom: 0; }
.cookie-cat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.cookie-cat__toggle { flex-shrink: 0; display: flex; }
.cookie-cat__toggle input { display: none; }
.cookie-cat__check {
  width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.cookie-cat__toggle input:checked + .cookie-cat__check {
  background: var(--accent); border-color: var(--accent);
}
.cookie-cat__toggle input:checked + .cookie-cat__check::after {
  content: ''; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -2px;
}
.cookie-cat__check--locked { opacity: .6; cursor: default; }
.cookie-cat__info { flex: 1; display: flex; align-items: center; gap: 8px; }
.cookie-cat__name { font-size: 14px; font-weight: 600; }
.cookie-cat__badge {
  font-size: 11px; color: var(--text-secondary); background: var(--bg-tint);
  padding: 2px 8px; border-radius: 4px;
}
.cookie-cat__expand {
  background: none; border: none; cursor: pointer; color: var(--text-secondary);
  padding: 4px; display: flex; transition: transform .25s;
}
.cookie-cat__expand.open { transform: rotate(180deg); }
.cookie-cat__desc {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
  margin: 0; padding: 0 16px 14px;
}
.cookie-cat__details {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  border-top: 1px solid transparent;
}
.cookie-cat__details.open { border-top-color: var(--border-color); }
.cookie-modal__table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cookie-modal__table th,
.cookie-modal__table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border-color); }
.cookie-modal__table th { font-weight: 600; color: var(--text-secondary); font-size: 11px; text-transform: uppercase; letter-spacing: .3px; background: var(--bg-tint); }
.cookie-modal__table td { color: var(--text-primary); }
.cookie-modal__table tr:last-child td { border-bottom: none; }
.cookie-modal__footer {
  display: flex; gap: 10px; padding: 16px 24px;
  border-top: 1px solid var(--border-color); justify-content: flex-end;
}

@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 12px 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; }
  .cookie-modal { padding: 16px; }
  .cookie-modal__footer { flex-direction: column; }
  .cookie-modal__footer .cookie-banner__btn { width: 100%; }
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav__inner { max-width: 1520px; display: flex; align-items: center; height: 80px; gap: 20px; }
/* .nav--scrolled bg/blur handled by JS for smooth transition */
.nav:not(.nav--scrolled) .nav__logo { color: #fff; }
.nav:not(.nav--scrolled) .nav__burger span { background: #fff; }
@media (min-width: 769px) {
  .nav:not(.nav--scrolled) .nav__links a { color: rgba(255,255,255,.8); }
  .nav:not(.nav--scrolled) .nav__links a:hover { color: #fff; }
  .nav:not(.nav--scrolled) .nav__actions .btn--ghost { color: rgba(255,255,255,.8); }
  .nav:not(.nav--scrolled) .nav__actions .btn--ghost:hover { color: #fff; }
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--text); text-decoration: none; transition: color .3s; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.4px; margin-right: auto; }
.nav__logo-img { width: 36px; height: 36px; border-radius: 8px; }
.nav__links { display: flex; list-style: none; gap: 36px; }
.nav__links a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .btn { font-size: 15px; padding: 10px 24px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* Mobile dropdown */
.nav__dropdown { display: none; }

@media (max-width: 768px) {
  .nav__dropdown {
    display: block;
    position: absolute; top: 80px; left: 0; right: 0;
    background: #fff;
    padding: 0 24px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-radius: 0 0 16px 16px;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding-top: 0; padding-bottom: 0;
  }
  .nav--open .nav__dropdown {
    max-height: 400px;
    padding: 8px 24px 20px;
  }
  .nav--open .nav__logo { color: var(--text) !important; }
  .nav--open .nav__burger span { background: var(--text) !important; }

  .nav__dropdown-links {
    list-style: none; padding: 0; margin: 0;
  }
  .nav__dropdown-links a {
    display: block; padding: 14px 0;
    font-size: 16px; font-weight: 500; color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: color .2s;
  }
  .nav__dropdown-links a:hover { color: var(--accent); }
  .nav__dropdown-links li:last-child a { border-bottom: none; }

  .nav__dropdown-actions {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 16px;
  }
}

/* ===== Hero (full-width) ===== */
.hero {
  min-height: calc(100vh - 80px); padding: 160px 0 100px;
  display: flex; align-items: center;
  background: linear-gradient(170deg, var(--dark) 0%, #2d1530 35%, var(--accent) 75%, var(--accent-warm) 100%);
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 500px; height: 500px; top: -10%; right: -8%;
  background: radial-gradient(circle, rgba(219,112,147,.25), transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero::after {
  width: 400px; height: 400px; bottom: 5%; left: -5%;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite 2s;
}
.hero h1 { font-size: 64px; font-weight: 800; line-height: 1.06; letter-spacing: -1.5px; color: #fff; }
.hero__sub { color: rgba(255,255,255,.8) !important; }
.hero__note { color: rgba(255,255,255,.5) !important; }
.hero .btn--outline { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.hero .btn--outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero__sub { margin-top: 28px; font-size: 20px; color: var(--text-2); line-height: 1.7; max-width: 520px; }
.hero__actions { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero__note { margin-top: 24px; font-size: 14px; color: var(--text-3); }
.hero__visual { position: relative; min-height: 420px; }
/* Hero 3-window carousel */
.hero-win {
  position: absolute; width: 88%; transition: all .55s var(--ease); cursor: pointer;
}
.hero-win--active {
  top: 30px; left: 0; z-index: 3; opacity: 1;
  box-shadow: 0 20px 80px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.08), 0 0 60px rgba(219,112,147,.15);
  animation: float 6s ease-in-out infinite;
}
.hero-win--back1 {
  top: 6px; left: 14%; z-index: 2; opacity: .55;
  box-shadow: 0 16px 50px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.06);
  animation: none;
}
.hero-win--back1:hover { opacity: .75; }
.hero-win--back2 {
  top: -14px; left: 24%; z-index: 1; opacity: .35;
  box-shadow: 0 12px 36px rgba(0,0,0,.15), 0 0 0 1px rgba(255,255,255,.04);
  animation: none;
}
.hero-win--back2:hover { opacity: .5; }
.hero-win--back3 {
  top: -30px; left: 30%; z-index: 0; opacity: .2;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  animation: none; pointer-events: none;
}

/* Hero phone screenshot (mobile only) */
.hero__phone { display: none; padding-top: 20px; position: relative; }

.hero__phone-float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  white-space: nowrap;
}
.hero__phone-float--left {
  left: -10px; top: 25%;
  animation: floatLeft 3s ease-in-out infinite;
}
.hero__phone-float--right {
  right: -10px; top: 45%;
  animation: floatRight 3s ease-in-out infinite 1s;
}
.hero__phone-float--bottom {
  left: 5%; bottom: 15%;
  animation: floatLeft 3.5s ease-in-out infinite 2s;
}

@keyframes floatLeft {
  0%, 100% { transform: translateX(-8px); opacity: .7; }
  50% { transform: translateX(4px); opacity: 1; }
}
@keyframes floatRight {
  0%, 100% { transform: translateX(8px); opacity: .7; }
  50% { transform: translateX(-4px); opacity: 1; }
}
.hero__phone-frame {
  width: 260px; max-width: 65%; margin: 0 auto;
  background: #1c1c1e; border-radius: 32px;
  padding: 6px; position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero__phone-notch { display: none; }
.hero__phone-img {
  width: 100%; display: block;
  border-radius: 26px;
}

/* Mockup */
.mockup {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.02);
}
.mockup--flat { transform: none; }
.mockup__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--border);
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup__dot--r { background: #ef4444; }
.mockup__dot--y { background: #eab308; }
.mockup__dot--g { background: #22c55e; }
.mockup__url { flex: 1; height: 28px; background: var(--card); border-radius: 6px; margin-left: 12px; border: 1px solid var(--border); }

.mockup__body { display: flex; min-height: 340px; }
.mockup__side {
  width: 52px; background: #1e293b; padding: 12px 8px;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.mockup__side--labeled {
  width: 120px; padding: 12px 8px; gap: 2px; align-items: stretch;
}
.mockup__side-logo { width: 28px; height: 28px; border-radius: 6px; background: var(--accent); margin: 0 auto 10px; opacity: .9; }
.mockup__side-item { width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,.08); }
.mockup__side-item--active { background: var(--accent); opacity: .8; }
.ms-item {
  display: block; font-size: 9px; font-weight: 500; color: rgba(255,255,255,.45);
  padding: 7px 10px; border-radius: 6px; text-decoration: none;
  font-family: var(--font); transition: all .15s;
}
.ms-item--active { background: var(--accent); color: #fff; font-weight: 600; }

.mockup__main { flex: 1; padding: 0; background: var(--card); display: flex; flex-direction: column; }

/* Hero mockup — realistic calendar */
.hm-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--border-light);
}
.hm-toolbar__left { display: flex; align-items: baseline; gap: 10px; }
.hm-toolbar__title { font-size: 13px; font-weight: 700; color: var(--text); }
.hm-toolbar__date { font-size: 10px; color: var(--text-3); }
.hm-toolbar__tabs { display: flex; gap: 2px; background: var(--bg); border-radius: 6px; padding: 2px; }
.hm-toolbar__tab {
  font-size: 9px; font-weight: 600; color: var(--text-3);
  padding: 4px 10px; border-radius: 4px; font-family: var(--font);
}
.hm-toolbar__tab--active { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.hm-cols {
  display: grid; grid-template-columns: 38px repeat(3, 1fr); gap: 0;
  border-bottom: 1px solid var(--border-light);
}
.hm-cols__time { padding: 8px 4px; }
.hm-cols__emp {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 6px; border-left: 1px solid var(--border-light);
}
.hm-cols__emp span { font-size: 9px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.hm-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  font-size: 7px; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.hm-cal {
  display: grid; grid-template-columns: 38px repeat(3, 1fr); gap: 0;
  flex: 1; min-height: 0;
}
.hm-cal__times {
  display: grid; grid-template-rows: repeat(7, 1fr);
  padding: 0 4px; border-right: 1px solid var(--border-light);
}
.hm-cal__times span {
  font-size: 8px; color: var(--text-3); font-weight: 500;
  display: flex; align-items: flex-start; padding-top: 2px;
  border-top: 1px solid var(--border-light);
}
.hm-cal__times span:first-child { border-top: none; }
.hm-cal__col {
  display: grid; grid-template-rows: repeat(7, 1fr); gap: 3px;
  padding: 3px; border-left: 1px solid var(--border-light);
}
.hm-appt {
  border-radius: 5px; padding: 4px 6px; overflow: hidden;
  display: flex; flex-direction: column; gap: 1px;
}
.hm-appt strong { font-size: 8px; font-weight: 700; display: block; line-height: 1.2; }
.hm-appt span { font-size: 7px; font-weight: 400; opacity: .7; display: block; }
.hm-appt--pink { background: var(--accent-light); border-left: 2px solid var(--accent); color: #9e3a5c; }
.hm-appt--blue { background: #eff6ff; border-left: 2px solid var(--plan-basic); color: #1e40af; }
.hm-appt--purple { background: #f5f3ff; border-left: 2px solid var(--plan-pro); color: #5b21b6; }

/* Hero mockup — stock/inventory view */
.hm-stock { padding: 0; }
.hm-stock__head {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--border);
  font-size: 8px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px;
}
.hm-stock__row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px;
  padding: 7px 14px; border-bottom: 1px solid var(--border-light);
  font-size: 9px; color: var(--text-2); align-items: center;
}
.hm-stock__name { font-weight: 600; color: var(--text); }
.hm-stock__qty { font-weight: 600; }
.hm-stock__qty--ok { color: #16a34a; }
.hm-stock__qty--low { color: #dc2626; }

/* Hero mockup — dashboard/pulpit view */
.hm-dash { padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hm-dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hm-dash__card {
  background: var(--card); border: 1px solid var(--border-light); border-radius: 8px;
  padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 2px;
  border-top: 2px solid var(--accent);
}
.hm-dash__card--revenue { border-top-color: #16a34a; }
.hm-dash__card--visits { border-top-color: var(--plan-basic); }
.hm-dash__card--clients { border-top-color: var(--plan-pro); }
.hm-dash__card--warn { border-top-color: #f59e0b; }
.hm-dash__label { font-size: 7px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .3px; }
.hm-dash__value { font-size: 14px; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.hm-dash__chart-wrap {
  flex: 1; background: var(--card); border: 1px solid var(--border-light);
  border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column;
}
.hm-dash__chart-title { font-size: 9px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.hm-dash__bars { display: flex; align-items: flex-end; gap: 8px; flex: 1; min-height: 80px; }
.hm-dash__bar-col {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.hm-dash__bar {
  width: 100%; border-radius: 3px 3px 0 0; height: var(--h);
  background: linear-gradient(to top, var(--accent), #e891ab);
}
.hm-dash__bar-col span { font-size: 7px; font-weight: 600; color: var(--text-3); }

/* Consent docs: 3-column variant */
.hm-stock--3col .hm-stock__head,
.hm-stock--3col .hm-stock__row { grid-template-columns: 1fr 2fr 1fr; }

/* ===== Proof ===== */
.proof { padding: 88px 0; }
.proof__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 960px; margin: 0 auto;
}
.proof__item {
  text-align: center; padding: 36px 28px;
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border-light);
  position: relative; overflow: hidden;
  transition: border-color .05s, box-shadow .05s, transform .05s;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.proof__item::after {
  content: ""; position: absolute; bottom: 0; left: 25%; right: 25%;
  height: 2px; background: var(--accent-warm); border-radius: 2px;
}
.proof__item:hover {
  border-color: rgba(219,112,147,.25);
  box-shadow: 0 6px 24px rgba(219,112,147,.06);
  transform: translateY(-2px);
}
.proof__item strong {
  display: block; font-size: 44px; font-weight: 800; letter-spacing: -1px;
  color: var(--accent); line-height: 1.1;
}
.proof__item span {
  display: block; margin-top: 10px;
  font-size: 15px; color: var(--text-2); line-height: 1.5;
}

/* ===== Benefits ===== */
.benefits { padding: 100px 0; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefits__card {
  padding: 36px 32px; background: var(--card);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  transition: border-color .05s, box-shadow .05s, transform .05s;
}
.benefits__card:hover { border-color: var(--accent); box-shadow: 0 12px 40px rgba(219,112,147,.12); transform: translateY(-4px); }
.benefits__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: all .05s;
}
.benefits__card:hover .benefits__icon {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px rgba(219,112,147,.3);
}
.benefits__card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.benefits__card p { font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* ===== Features Grid ===== */
.features-all { padding: 120px 0; position: relative; overflow: hidden; }
.features-all::before {
  content: ""; position: absolute; z-index: 0;
  width: 75%; height: 108%; top: -4%; left: 12%;
  background: var(--accent-light); border-radius: 40px;
}
.features-all::after {
  content: ""; position: absolute; z-index: 0;
  width: 200px; height: 200px; bottom: -40px; right: 5%;
  background: var(--accent-warm); border-radius: 50%;
}
.features-all .container { position: relative; z-index: 1; }
.features-all__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.features-all__card {
  padding: 28px 24px; background: var(--card);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.features-all__card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(219,112,147,.12);
  transform: translateY(-4px);
}
.features-all__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: all .25s;
}
.features-all__card:hover .features-all__icon {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px rgba(219,112,147,.3);
}
.features-all__card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.features-all__card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.features-all__link {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-decoration: none; transition: color .2s;
}
.features-all__link:hover { color: var(--accent-hover); }

/* ===== Feature Rows ===== */
.feature { padding: 100px 0; }

/* Feature--tinted: multi-element bg */
.feature--tinted { position: relative; overflow: hidden; }
.feature--tinted::before {
  content: ""; position: absolute; z-index: 0;
  width: 55%; height: 125%; top: -12%; right: -4%;
  background: var(--accent-light); border-radius: 36px;
}
.feature--tinted::after {
  content: ""; position: absolute; z-index: 0;
  width: 42%; height: 80%; top: 15%; left: 2%;
  background: var(--accent-warm); border-radius: 200px;
}
.feature--tinted .container { position: relative; z-index: 1; }

.feature__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__text { order: 1; }

.feature__text h2 { font-size: 44px; font-weight: 800; letter-spacing: -.5px; line-height: 1.12; margin-bottom: 20px; }
.feature__text > p { font-size: 18px; color: var(--text-2); line-height: 1.7; }

.feature__list {
  list-style: none; margin-top: 28px;
}
.feature__list li {
  padding: 10px 0 10px 32px; position: relative;
  font-size: 16px; color: var(--text-2);
}
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

/* Feature single photo */
.feature__photo-single {
  width: 100%; border-radius: var(--radius); object-fit: cover;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

/* Feature mockup screens */
.fm-cal { padding: 0 4px; }
.fm-cal__days { display: flex; gap: 4px; margin-bottom: 8px; }
.fm-cal__days span { flex: 1; text-align: center; font-size: 10px; font-weight: 600; color: var(--text-3); }
.fm-cal__grid { display: grid; grid-template-columns: repeat(5,1fr); grid-template-rows: repeat(6,24px); gap: 4px; }
.fm-ev { border-radius: 4px; }
.fm-ev--pink { background: var(--accent-light); border-left: 2px solid var(--accent); }
.fm-ev--blue { background: #eff6ff; border-left: 2px solid var(--plan-basic); }
.fm-ev--purple { background: #f5f3ff; border-left: 2px solid var(--plan-pro); }

.fm-clients { display: flex; flex-direction: column; gap: 8px; }
.fm-client {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: 8px; padding: 10px 12px;
}
.fm-client__avatar {
  width: 32px; height: 32px; border-radius: 8px;
  color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fm-client__info { flex: 1; }
.fm-client__name { height: 10px; width: 70%; background: var(--border); border-radius: 3px; margin-bottom: 5px; }
.fm-client__meta { height: 8px; width: 45%; background: var(--border-light); border-radius: 3px; }
.fm-client__badge {
  font-size: 10px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 3px 8px; border-radius: var(--radius-full);
  white-space: nowrap;
}

.fm-dash { display: flex; flex-direction: column; gap: 12px; }
.fm-dash__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.fm-dash__stat {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: 8px; padding: 10px;
}
.fm-dash__stat-val { height: 14px; width: 50%; background: var(--accent-light); border-radius: 3px; margin-bottom: 6px; }
.fm-dash__stat-lbl { height: 8px; width: 80%; background: var(--border-light); border-radius: 3px; }
.fm-dash__chart {
  display: flex; align-items: flex-end; gap: 6px; height: 100px;
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: 8px; padding: 12px;
}
.fm-bar {
  flex: 1; border-radius: 4px 4px 0 0; height: var(--h);
  background: linear-gradient(to top, var(--accent), #e891ab);
}

/* ===== Steps (multi-element bg) ===== */
.steps-section { padding: 120px 0; position: relative; overflow: hidden; }
.steps-section::before {
  content: ""; position: absolute; z-index: 0;
  width: 80%; height: 125%; top: -12%; left: 8%;
  background: var(--accent-warm); border-radius: 40px;
}
.steps-section::after {
  content: ""; position: absolute; z-index: 0;
  width: 240px; height: 240px; bottom: -60px; right: 3%;
  background: var(--accent-light); border-radius: 50%;
}
.steps-section .container { position: relative; z-index: 1; }

.steps { display: flex; gap: 28px; max-width: 1100px; margin: 0 auto; }
.step {
  flex: 1; display: flex; gap: 24px;
  padding: 32px 28px; transition: all .25s cubic-bezier(.4,0,.2,1);
  background: rgba(255,255,255,.55); border-radius: 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.4);
}
.step:hover {
  background: rgba(255,255,255,.85);
  box-shadow: 0 12px 40px rgba(219,112,147,.1);
  transform: translateY(-2px);
}
.step__num {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(219,112,147,.4);
}
.step__content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step__content p { font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* ===== Pricing ===== */
.pricing { padding: 120px 0; }

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

.pricing__card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative; transition: all .3s var(--ease);
}
.pricing__card:hover { box-shadow: 0 12px 40px rgba(219,112,147,.15); border-color: var(--accent); }

.pricing__card--pop { border-color: var(--plan-basic); box-shadow: 0 8px 32px rgba(59,130,246,.1); }
.pricing__card--pro { border-color: #d3adf7; box-shadow: 0 8px 24px rgba(114,46,209,.15); }

.pricing__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--plan-basic); color: #fff;
  padding: 5px 18px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700; letter-spacing: .3px; white-space: nowrap;
}

.pricing__header { text-align: center; padding-bottom: 8px; }
.pricing__header h3 { font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pricing__card--pop .pricing__header h3 { color: var(--plan-basic); }
.pricing__card--pro .pricing__header h3 { color: var(--plan-pro); }

.pricing__crown { width: 22px; height: 22px; }

.pricing__price {
  text-align: center; padding: 20px 0;
  margin: 0 0 20px; border-bottom: 1px solid var(--border-light);
}
.pricing__amount { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }
.pricing__card--pop .pricing__amount { color: var(--plan-basic); }
.pricing__card--pro .pricing__amount { color: var(--plan-pro); }
.pricing__currency { font-size: 18px; font-weight: 600; margin-left: 4px; }
.pricing__period { display: block; font-size: 13px; color: var(--text-2); margin-top: 4px; }

.pricing__limits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.pricing__limit {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-2);
}
.pricing__limit-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-2); }
.pricing__limit--highlight { font-weight: 600; color: var(--text-1); }
.pricing__limit--highlight .pricing__limit-icon { color: var(--accent); }
.pricing__card--pop .pricing__limit--highlight .pricing__limit-icon { color: var(--plan-basic); }
.pricing__limit--pro { font-weight: 600; color: var(--plan-pro); }
.pricing__limit--pro .pricing__limit-icon { color: var(--plan-pro); }

.pricing__features {
  list-style: none; text-align: left;
  margin-top: auto; padding-top: 16px; margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
}
.pricing__features li {
  padding: 6px 0; padding-left: 26px; position: relative;
  font-size: 13px; color: var(--text-2);
}
.pricing__features li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--accent); font-size: 14px; }
.pricing__card--pop .pricing__features li::before { color: var(--plan-basic); }
.pricing__card--pro .pricing__features li::before { color: var(--plan-pro); }

/* ===== Reviews (multi-element bg) ===== */
.reviews { padding: 120px 0; position: relative; overflow: hidden; }
.reviews::before {
  content: ""; position: absolute; z-index: 0;
  width: 72%; height: 115%; top: -8%; left: 15%;
  background: var(--accent-light); border-radius: 36px;
}
.reviews::after {
  content: ""; position: absolute; z-index: 0;
  width: 220px; height: 220px; bottom: -50px; left: 1%;
  background: var(--accent-warm); border-radius: 50%;
}
.reviews .container { position: relative; z-index: 1; }
.reviews__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.reviews__card {
  background: var(--card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 36px 32px;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.reviews__card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(219,112,147,.12); }
.reviews__stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; margin-bottom: 20px; }
.reviews__card > p { font-size: 16px; line-height: 1.7; color: var(--text-2); margin-bottom: 28px; }
.reviews__author { display: flex; align-items: center; gap: 12px; }
.reviews__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  flex-shrink: 0; object-fit: cover;
  box-shadow: 0 0 16px rgba(219,112,147,.25);
  border: 2px solid var(--accent);
}
.reviews__author strong { display: block; font-size: 15px; }
.reviews__author span { font-size: 14px; color: var(--text-3); }

/* ===== FAQ ===== */
.faq { padding: 120px 0; }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border-light); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; background: none; border: none;
  font-size: 17px; font-weight: 600; color: var(--text);
  cursor: pointer; text-align: left; font-family: var(--font);
  transition: color .2s;
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex-shrink: 0; margin-left: 16px;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--bg); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.faq__item.active .faq__icon { background: var(--accent-soft); color: var(--accent); transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding-bottom: 24px; color: var(--text-2); font-size: 16px; line-height: 1.7; }

/* ===== CTA (multi-element: gradient card + accent) ===== */
.cta { padding: 120px 0 0; position: relative; overflow: hidden; background: linear-gradient(to bottom, #fff 0%, #fff 30%, var(--dark) 70%); }
.cta::before {
  content: ""; position: absolute; z-index: 0;
  width: min(1280px, calc(100% - 80px)); height: 100%;
  top: 0; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent) 0%, var(--dark) 70%);
  border-radius: 32px 32px 0 0;
}
.cta__inner { padding-bottom: 100px; }
.cta::after {
  content: ""; position: absolute; z-index: 0;
  width: 220px; height: 220px; top: -60px; right: 8%;
  background: var(--accent-warm); border-radius: 50%; opacity: .5;
}
.cta__inner { text-align: center; max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }
.cta h2 { font-size: 48px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.cta p { color: rgba(255,255,255,.7); font-size: 20px; margin: 20px 0 40px; }
.cta .btn--primary {
  background: #fff; color: var(--accent); border-color: #fff;
  box-shadow: 0 4px 20px rgba(255,255,255,.2);
}
.cta .btn--primary:hover {
  background: var(--accent-light); border-color: var(--accent-light); color: var(--accent-hover);
  box-shadow: 0 8px 36px rgba(255,255,255,.3);
}

/* ===== Footer (full-width) ===== */
.footer { padding: 72px 0 0; background: var(--text); color: #fff; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.footer .nav__logo { color: #fff; }
.footer .nav__logo-img { border-radius: 8px; }
.footer__brand p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer__cols { display: flex; gap: 72px; }
.footer__col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; color: rgba(255,255,255,.35); }
.footer__col a { display: block; color: rgba(255,255,255,.6); text-decoration: none; font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent-light); }
.footer__bottom { margin-top: 48px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,.3); }


/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .benefits__grid { grid-template-columns: repeat(2,1fr); }
  .features-all__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero h1 { font-size: 52px; }
  .hero__sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__note { text-align: center; }
  .hero__visual { display: none; }
  .hero__phone { display: block; }
  .hero-win { width: 90%; }
  .hero-win--back1 { left: 10%; }
  .hero-win--back2 { left: 16%; }
  .hero-win--back3 { left: 20%; }

  .proof__grid { max-width: 100%; }

  .feature__inner { grid-template-columns: 1fr; gap: 48px; }
  .feature--reverse .feature__media { order: 0; }
  .feature--reverse .feature__text { order: 0; }
  .feature__media { max-width: 500px; margin: 0 auto; }
  .feature__text { text-align: center; }
  .feature__text h2 { font-size: 34px; }
  .feature__list li { text-align: left; }

  .steps { flex-direction: column; }
  .pricing__grid, .reviews__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 36px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 40px; letter-spacing: -.5px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; max-width: 300px; }

  .proof { padding: 48px 0; }
  .proof__grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }

  .benefits__grid { grid-template-columns: 1fr; }
  .features-all__grid { grid-template-columns: 1fr; }

  .feature, .benefits, .steps-section, .features-all, .pricing, .reviews, .faq { padding: 72px 0; }
  .cta { padding: 72px 0 0; }
  .cta h2 { font-size: 32px; }
  .footer__cols { flex-direction: column; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .anim { transition: none; }
  .hero-win, .hero::before, .hero::after { animation: none; }
  .hero-win { transform: none; }
  .hero::before, .hero::after { opacity: .8; }
}

/* ===== Zgody subpage (zg-*) ===== */

/* Hero — product variant (centered, no carousel) */
.zg-hero { min-height: auto; padding: 180px 0 100px; }
.zg-hero h1 { font-size: 56px; }
.zg-hero__content {
  text-align: center; max-width: 860px; margin: 0 auto;
  position: relative; z-index: 1;
}
.zg-hero__content .hero__sub { max-width: 680px; margin-left: auto; margin-right: auto; }
.zg-hero__content .hero__actions { justify-content: center; }
.zg-hero__content .hero__note { text-align: center; }
.zg-hero .tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

/* PDF mockup */
.zg-pdf { padding: 20px 24px; }
.zg-pdf__header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.zg-pdf__badge {
  background: #dc2626; color: #fff; font-size: 9px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px; letter-spacing: .5px;
}
.zg-pdf__title-bar { flex: 1; height: 14px; background: var(--border); border-radius: 4px; }
.zg-pdf__body { display: flex; flex-direction: column; gap: 8px; }
.zg-pdf__line { height: 8px; background: var(--border-light); border-radius: 3px; }
.zg-pdf__spacer { height: 12px; }
.zg-pdf__zones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.zg-pdf__zone {
  border: 2px dashed var(--accent); border-radius: 8px;
  padding: 20px 12px; text-align: center; background: var(--accent-soft);
}
.zg-pdf__zone span {
  font-size: 10px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: .5px;
}

/* Form builder mockup */
.zg-form { display: flex; flex-direction: column; }
.zg-form__toolbar {
  display: flex; gap: 2px; padding: 10px 16px;
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.zg-form__tab {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  padding: 6px 14px; border-radius: 6px;
}
.zg-form__tab--active {
  background: var(--card); color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.zg-form__fields { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.zg-form__label { font-size: 10px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.zg-form__input {
  height: 28px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px;
}
.zg-form__input--short { width: 60%; }
.zg-form__field--check { display: flex; align-items: center; gap: 8px; }
.zg-form__field--check span { font-size: 10px; color: var(--text-2); }
.zg-form__checkbox {
  width: 16px; height: 16px; border-radius: 4px;
  border: 2px solid var(--border); flex-shrink: 0;
}
.zg-form__checkbox--checked {
  background: var(--accent); border-color: var(--accent); position: relative;
}
.zg-form__checkbox--checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 4px; height: 8px; border: solid #fff;
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.zg-form__sig {
  height: 48px; border: 2px dashed var(--border);
  border-radius: 8px; background: var(--bg); margin-top: 4px;
}

/* Biometric grid section */
.zg-bio { padding: 120px 0; position: relative; overflow: hidden; }
.zg-bio::before {
  content: ""; position: absolute; z-index: 0;
  width: 75%; height: 108%; top: -4%; left: 12%;
  background: var(--accent-light); border-radius: 40px;
}
.zg-bio .container { position: relative; z-index: 1; }
.zg-bio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zg-bio__card {
  padding: 28px 24px; background: var(--card);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.zg-bio__card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(219,112,147,.12);
  transform: translateY(-4px);
}
.zg-bio__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: all .25s;
}
.zg-bio__card:hover .zg-bio__icon {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px rgba(219,112,147,.3);
}
.zg-bio__card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.zg-bio__card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* Seal card visual */
.zg-seal-card {
  background: var(--card); border-radius: var(--radius);
  border: 2px solid var(--accent); padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(219,112,147,.15);
  max-width: 380px; margin: 0 auto; text-align: center;
}
.zg-seal-card__icon { color: var(--accent); margin-bottom: 12px; }
.zg-seal-card__title { font-size: 32px; font-weight: 800; color: var(--accent); letter-spacing: -.5px; }
.zg-seal-card__divider { width: 60px; height: 2px; background: var(--accent-warm); margin: 20px auto; }
.zg-seal-card__row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
  font-size: 14px; text-align: left;
}
.zg-seal-card__label { color: var(--text-3); }
.zg-seal-card__value { font-weight: 600; color: var(--text); }
.zg-seal-card__footer {
  margin-top: 20px; padding: 12px 16px;
  background: var(--accent-soft); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--accent);
}

/* Audit log mockup */
.zg-audit { padding: 0; }
.zg-audit__head {
  font-size: 13px; font-weight: 700;
  padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text);
}
.zg-audit__rows { padding: 4px 0; }
.zg-audit__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px; border-bottom: 1px solid var(--border-light);
}
.zg-audit__key {
  font-size: 10px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .3px;
}
.zg-audit__val { font-size: 11px; font-weight: 500; color: var(--text); }
.zg-audit__val--mono {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 10px; color: var(--accent);
}
.zg-audit__seal {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  font-size: 10px; font-weight: 600; color: #16a34a;
}

/* Devices section */
.zg-devices { padding: 100px 0; }
.zg-devices__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 800px; margin: 0 auto;
}
.zg-devices__card {
  padding: 36px 32px; background: var(--card);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.zg-devices__card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(219,112,147,.12);
  transform: translateY(-4px);
}
.zg-devices__icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.zg-devices__card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.zg-devices__card p { font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* Comparison section */
.zg-compare { padding: 120px 0; position: relative; overflow: hidden; }
.zg-compare::before {
  content: ""; position: absolute; z-index: 0;
  width: 72%; height: 115%; top: -8%; left: 15%;
  background: var(--accent-light); border-radius: 36px;
}
.zg-compare .container { position: relative; z-index: 1; }
.zg-compare__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 960px; margin: 0 auto;
}
.zg-compare__card {
  padding: 32px 28px; border-radius: var(--radius);
  border: 1.5px solid var(--border-light); background: var(--card);
}
.zg-compare__card--ours {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(219,112,147,.12);
}
.zg-compare__label {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.zg-compare__card--other .zg-compare__label { color: var(--text-3); }
.zg-compare__card--ours .zg-compare__label { color: var(--accent); }
.zg-compare__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.zg-compare__item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.55; color: var(--text-2);
}
.zg-compare__item--yes { color: var(--text); }
.zg-compare__icon-no, .zg-compare__icon-yes {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.zg-compare__icon-no { background: #fef2f2; color: #ef4444; }
.zg-compare__icon-yes { background: #f0fdf4; color: #16a34a; }

@media (max-width: 960px) {
  .zg-compare { padding: 72px 0; }
  .zg-compare__grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* Note / disclaimer */
.zg-note {
  text-align: center; font-size: 13px; color: var(--text-3);
  line-height: 1.6; max-width: 700px; margin: 40px auto 0;
  padding: 16px 20px; background: var(--bg);
  border-radius: var(--radius-sm); border: 1px solid var(--border-light);
}

/* ===== Grafik AI subpage (gr-*) ===== */

/* Hero — override for grafik page */
.gr-hero .tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }

/* Generator mockup */
.gr-gen { padding: 16px 20px; }
.gr-gen__header {
  font-size: 13px; font-weight: 700; color: var(--text);
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.gr-gen__field { margin-bottom: 14px; }
.gr-gen__label { display: block; font-size: 10px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; }
.gr-gen__select {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 11px; font-weight: 500; color: var(--text);
}
.gr-gen__employees { display: flex; flex-direction: column; gap: 6px; }
.gr-gen__emp {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; background: var(--bg);
  border: 1px solid var(--border-light); border-radius: 6px;
  font-size: 10px; font-weight: 500; color: var(--text);
}
.gr-gen__check {
  width: 14px; height: 14px; border-radius: 3px;
  border: 2px solid var(--border); flex-shrink: 0;
}
.gr-gen__check--checked {
  background: var(--accent); border-color: var(--accent); position: relative;
}
.gr-gen__check--checked::after {
  content: ''; position: absolute; left: 3px; top: 0;
  width: 4px; height: 7px; border: solid #fff;
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.gr-gen__btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; background: var(--accent); color: #fff;
  border-radius: 8px; font-size: 11px; font-weight: 700;
  margin-top: 16px;
}

/* Config mockup */
.gr-config { padding: 0; }
.gr-config__header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 700; color: var(--text);
}
.gr-config__body { padding: 16px; }
.gr-config__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border-light);
}
.gr-config__label { font-size: 10px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .3px; }
.gr-config__value {
  font-size: 11px; font-weight: 600; color: var(--text);
  padding: 4px 10px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px;
}
.gr-config__divider { height: 1px; background: var(--border); margin: 12px 0; }
.gr-config__days { display: flex; gap: 4px; }
.gr-config__day {
  flex: 1; text-align: center;
  padding: 6px 0; border-radius: 6px;
  font-size: 9px; font-weight: 600;
  background: var(--bg); color: var(--text-3);
  border: 1px solid var(--border-light);
}
.gr-config__day--on {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.gr-config__day--alt {
  background: var(--accent-soft); color: var(--accent); border-color: var(--accent);
}

/* Rules section */
.gr-rules { padding: 120px 0; position: relative; overflow: hidden; }
.gr-rules::before {
  content: ""; position: absolute; z-index: 0;
  width: 75%; height: 108%; top: -4%; left: 12%;
  background: var(--accent-light); border-radius: 40px;
}
.gr-rules .container { position: relative; z-index: 1; }
.gr-rules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gr-rules__card {
  padding: 28px 24px; background: var(--card);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.gr-rules__card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(219,112,147,.12);
  transform: translateY(-4px);
}
.gr-rules__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: all .25s;
}
.gr-rules__card:hover .gr-rules__icon {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px rgba(219,112,147,.3);
}
.gr-rules__card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.gr-rules__card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* Analysis mockup */
.gr-analysis { padding: 0; }
.gr-analysis__header {
  font-size: 13px; font-weight: 700;
  padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text);
}
.gr-analysis__table { padding: 0; }
.gr-analysis__head {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--border);
  font-size: 8px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px;
}
.gr-analysis__row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--border-light);
  font-size: 10px; color: var(--text-2); align-items: center;
}
.gr-analysis__name { font-weight: 600; color: var(--text); }
.gr-analysis__badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 9px; font-weight: 700; text-align: center;
}
.gr-analysis__badge--ok { background: #f0fdf4; color: #16a34a; }
.gr-analysis__badge--warn { background: #fefce8; color: #ca8a04; }

/* Access section (devices) */
.gr-access { padding: 100px 0; }
.gr-access__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 800px; margin: 0 auto;
}
.gr-access__card {
  padding: 36px 32px; background: var(--card);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.gr-access__card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(219,112,147,.12);
  transform: translateY(-4px);
}
.gr-access__icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.gr-access__card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.gr-access__card p { font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* Responsive — grafik subpage */
@media (max-width: 1024px) {
  .gr-rules__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .gr-rules { padding: 72px 0; }
  .gr-access__grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
  .gr-rules__grid { grid-template-columns: 1fr; }
  .gr-access { padding: 72px 0; }
  .gr-analysis__head,
  .gr-analysis__row { grid-template-columns: 2fr 1fr 1fr auto; }
}

/* Responsive — zgody subpage */
@media (max-width: 1024px) {
  .zg-bio__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .zg-hero { padding: 140px 0 80px; }
  .zg-hero h1 { font-size: 44px; }
  .zg-devices__grid { grid-template-columns: 1fr; max-width: 420px; }
  .zg-seal-card { max-width: 320px; padding: 32px 24px; }
}

@media (max-width: 768px) {
  .zg-hero { padding: 120px 0 60px; }
  .zg-hero h1 { font-size: 36px; }
  .zg-bio, .zg-devices { padding: 72px 0; }
  .zg-bio__grid { grid-template-columns: 1fr; }
  .zg-pdf__zones { grid-template-columns: 1fr; }
  .zg-seal-card__row { flex-direction: column; gap: 2px; }
}

/* ===== Magazyn subpage (mg-*) ===== */

/* Batch table mockup */
.mg-batch { padding: 0; }
.mg-batch__header {
  font-size: 13px; font-weight: 700;
  padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text);
}
.mg-batch__table { padding: 0; }
.mg-batch__head {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr .7fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--border);
  font-size: 8px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px;
}
.mg-batch__row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr .7fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--border-light);
  font-size: 10px; color: var(--text-2); align-items: center;
}
.mg-batch__id { font-weight: 600; color: var(--text); font-family: 'SF Mono', 'Fira Code', monospace; font-size: 9px; }
.mg-batch__badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 9px; font-weight: 700; text-align: center;
}
.mg-batch__badge--ok { background: #f0fdf4; color: #16a34a; }
.mg-batch__badge--warn { background: #fefce8; color: #ca8a04; }

/* Usage mockup */
.mg-usage { padding: 0; display: flex; flex-direction: column; }
.mg-usage__header {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.mg-usage__title { font-size: 13px; font-weight: 700; color: var(--text); }
.mg-usage__meta { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.mg-usage__label {
  font-size: 9px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .5px;
  padding: 10px 16px 6px;
}
.mg-usage__items { padding: 0 16px; }
.mg-usage__item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border-light);
  font-size: 11px;
}
.mg-usage__name { font-weight: 600; color: var(--text); }
.mg-usage__qty {
  font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 2px 10px;
  border-radius: var(--radius-full); font-size: 10px;
}
.mg-usage__footer {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  font-size: 10px; font-weight: 600; color: #16a34a;
  margin-top: auto;
}

/* Orders mockup */
.mg-orders { padding: 0; }
.mg-orders__header {
  font-size: 13px; font-weight: 700;
  padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text);
}
.mg-orders__table { padding: 0; }
.mg-orders__head {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--border);
  font-size: 8px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px;
}
.mg-orders__row {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--border-light);
  font-size: 10px; color: var(--text-2); align-items: center;
}
.mg-orders__id { font-weight: 600; color: var(--text); font-family: 'SF Mono', 'Fira Code', monospace; font-size: 9px; }
.mg-orders__badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 9px; font-weight: 700; text-align: center;
}
.mg-orders__badge--done { background: #f0fdf4; color: #16a34a; }
.mg-orders__badge--progress { background: #eff6ff; color: #2563eb; }
.mg-orders__badge--new { background: #fefce8; color: #ca8a04; }

/* Responsive — magazyn subpage */
@media (max-width: 768px) {
  .mg-batch__head,
  .mg-batch__row { grid-template-columns: 1.4fr 1fr 1fr .7fr auto; }
  .mg-orders__head,
  .mg-orders__row { grid-template-columns: 1.3fr 1fr 1fr auto; }
}
