/* =============================================================
   cjenovnik.online — glavni stylesheet
   Zelena, moderna "glassy/gradient" tema. Mobile-first.
   ============================================================= */

/* ---------- Custom properties / tema ---------- */
:root {
  /* Zelena paleta */
  --green-950: #052e23;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-300: #6ee7b7;
  --green-200: #a7f3d0;
  --green-100: #d1fae5;
  --mint: #ccfbf1;
  --lime: #84cc16;

  --ink: #0b1f18;
  --ink-soft: #35504a;
  --muted: #5b6f6a;
  --line: #dcece6;

  --bg: #f4fbf7;
  --bg-alt: #eef8f2;
  --white: #ffffff;
  --card: #ffffff;

  --brand: var(--green-600);
  --brand-strong: var(--green-700);
  --accent: var(--green-400);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(6, 78, 59, .06);
  --shadow: 0 14px 40px -12px rgba(6, 78, 59, .18);
  --shadow-lg: 0 30px 70px -20px rgba(6, 78, 59, .30);
  --glow: 0 0 0 1px rgba(16, 185, 129, .25), 0 20px 50px -18px rgba(16, 185, 129, .45);

  --grad-hero: radial-gradient(1200px 600px at 15% -10%, rgba(52, 211, 153, .35), transparent 60%),
               radial-gradient(900px 500px at 100% 0%, rgba(16, 185, 129, .28), transparent 55%),
               linear-gradient(160deg, #06281f 0%, #064e3b 45%, #065f46 100%);
  --grad-btn: linear-gradient(135deg, var(--green-500), var(--green-600) 55%, var(--green-700));
  --grad-soft: linear-gradient(135deg, var(--green-100), var(--mint));

  --container: 1180px;
  --header-h: 74px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --ease: cubic-bezier(.16, .84, .36, 1);
}

/* ---------- Reset / osnove ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; }
a { color: var(--brand-strong); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-800); }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); background: var(--grad-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.section__head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); }
.text-muted { color: var(--muted); }

/* ---------- Dugmad ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap; text-align: center;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 24px 60px -18px rgba(16,185,129,.6); }
.btn--ghost { background: rgba(255,255,255,.08); color: #eafff5; border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--green-700); box-shadow: var(--shadow); }
.btn--light:hover { color: var(--green-800); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.header--scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(6,78,59,.08), var(--shadow-sm);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.brand__mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 14px rgba(6,78,59,.25)); }
.brand__mark--light { display: none; }
.brand b { color: var(--green-600); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { color: var(--ink-soft); font-weight: 600; font-size: .97rem; padding: 9px 13px; border-radius: 10px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--green-700); background: var(--green-100); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Header nad hero-om (prije scroll-a) — svijetli tekst */
.header:not(.header--scrolled) .brand { color: #fff; }
.header:not(.header--scrolled) .brand b { color: var(--green-300); }
.header:not(.header--scrolled) .brand__mark { display: none; }
.header:not(.header--scrolled) .brand__mark--light { display: block; }
.header:not(.header--scrolled) .nav__link { color: rgba(255,255,255,.86); }
.header:not(.header--scrolled) .nav__link:hover { color: #fff; background: rgba(255,255,255,.12); }
.header:not(.header--scrolled) .lang__btn { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.3); }
.header:not(.header--scrolled) .lang__btn[aria-current="true"] { background: rgba(255,255,255,.16); color:#fff; }
.header:not(.header--scrolled) .burger span { background: #fff; }

/* Language switch */
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang__btn { font: inherit; font-weight: 700; font-size: .82rem; padding: 6px 12px; background: transparent; border: 0; color: var(--ink-soft); cursor: pointer; transition: background .2s, color .2s; }
.lang__btn[aria-current="true"] { background: var(--grad-btn); color: #fff; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 24px; height: 2.5px; margin-inline: auto; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 60px) 0 clamp(70px, 10vw, 130px);
  background: var(--grad-hero); color: #eafff5; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero__badge { color: #d9fff0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); box-shadow: none; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, var(--green-300), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #cdeee1; max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__mini { display: flex; flex-wrap: wrap; gap: 20px 26px; color: #bfe9d8; font-size: .93rem; }
.hero__mini li { display: inline-flex; align-items: center; gap: 8px; }
.hero__mini svg { width: 18px; height: 18px; color: var(--green-300); }

/* Floating blobs */
.hero__blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; z-index: 1; pointer-events: none; }
.hero__blob--1 { width: 380px; height: 380px; background: #34d399; top: -120px; right: -60px; animation: float1 14s var(--ease) infinite; }
.hero__blob--2 { width: 300px; height: 300px; background: #0d9488; bottom: -100px; left: -80px; animation: float2 18s var(--ease) infinite; }
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-30px,30px) scale(1.1);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(40px,-20px) scale(1.08);} }

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 610;
  background: linear-gradient(160deg, #0e3a2c, #0a2c22); border-radius: 44px;
  border: 3px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14);
  padding: 14px; animation: phoneFloat 6s var(--ease) infinite; z-index: 2;
}
@keyframes phoneFloat { 0%,100%{ transform: translateY(0) rotate(-1.5deg);} 50%{ transform: translateY(-16px) rotate(1.5deg);} }
.phone__screen { width: 100%; height: 100%; border-radius: 32px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 7px; background: rgba(255,255,255,.25); border-radius: 999px; z-index: 3; }
.menu { padding: 30px 16px 16px; font-size: 12px; color: var(--ink); display: flex; flex-direction: column; height: 100%; }
.menu__top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.menu__logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-btn); flex: none; display: grid; place-items: center; color:#fff; font-weight: 800; }
.menu__name { font-weight: 800; font-size: 13px; letter-spacing: -.01em; }
.menu__tag { font-size: 10px; color: var(--muted); }
.menu__tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow: hidden; }
.menu__tab { font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-700); white-space: nowrap; }
.menu__tab.is-active { background: var(--grad-btn); color: #fff; }
.menu__item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); animation: rowIn .5s var(--ease) both; }
.menu__item:nth-child(2){animation-delay:.15s}.menu__item:nth-child(3){animation-delay:.3s}.menu__item:nth-child(4){animation-delay:.45s}.menu__item:nth-child(5){animation-delay:.6s}
@keyframes rowIn { from { opacity:0; transform: translateX(10px);} to{ opacity:1; transform:none;} }
.menu__dish { display: flex; align-items: center; gap: 8px; }
.menu__dot { width: 26px; height: 26px; border-radius: 8px; background: var(--green-100); flex: none; }
.menu__dish b { display: block; font-size: 11.5px; }
.menu__dish span { font-size: 9.5px; color: var(--muted); }
.menu__price { font-weight: 800; color: var(--green-700); font-size: 12px; white-space: nowrap; }
.menu__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 12px; }
.menu__qr { width: 46px; height: 46px; flex: none; }

/* QR badge koji "visi" pored telefona */
.qr-badge {
  position: absolute; right: -6px; bottom: 40px; z-index: 3;
  background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: badgePop 6s var(--ease) infinite;
}
.qr-badge svg { width: 78px; height: 78px; }
.qr-badge span { font-size: 10.5px; font-weight: 800; color: var(--green-700); letter-spacing: .04em; }
@keyframes badgePop { 0%,100%{ transform: translateY(0) rotate(3deg);} 50%{ transform: translateY(-12px) rotate(-2deg);} }
.scan-line { position: absolute; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--green-400), transparent); top: 12%; animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { 0%,100%{ top: 12%; opacity:.2;} 50%{ top: 78%; opacity:1;} }

/* ---------- Stats traka ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 5; }
.stat { background: var(--card); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat__num { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--green-600); letter-spacing: -.03em; line-height: 1; }
.stat__num small { font-size: .55em; }
.stat__label { margin-top: 8px; font-size: .92rem; color: var(--muted); font-weight: 600; }

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

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.card__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgba(16,185,129,.15); }
.card__icon svg { width: 32px; height: 32px; color: var(--green-600); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* Audience kartice */
.aud { padding: 0; }
.aud__art { height: 160px; position: relative; overflow: hidden; background: var(--grad-soft); }
.aud__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aud__body { padding: 26px 30px 30px; }
.aud__body ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.aud__body li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.aud__body li svg { width: 20px; height: 20px; color: var(--green-500); flex: none; margin-top: 2px; }

/* ---------- Kako radi (koraci) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 30px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step__num { counter-increment: step; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--grad-btn); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--glow); }
.step__num::before { content: counter(step); }
.step__ic { width: 70px; height: 70px; margin: 16px auto 16px; border-radius: 20px; background: var(--grad-soft); display: grid; place-items: center; }
.step__ic svg { width: 36px; height: 36px; color: var(--green-600); }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
.steps__line { display: none; }

/* ---------- Prednosti / features ---------- */
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); transition: background .3s; }
.feature:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.feature__ic { width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; }
.feature__ic svg { width: 26px; height: 26px; color: var(--green-600); }
.feature h3 { font-size: 1.08rem; margin-bottom: 5px; }
.feature p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Demo split ---------- */
.demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.demo__visual { display: flex; justify-content: center; position: relative; }
.demo__panel { background: var(--grad-hero); border-radius: var(--radius-xl); padding: 50px; box-shadow: var(--shadow-lg); }
.check-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--ink-soft); }
.check-list li svg { width: 24px; height: 24px; flex: none; color: #fff; background: var(--grad-btn); border-radius: 50%; padding: 4px; box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: var(--green-200); }
.faq__q { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 1.06rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .plus { width: 26px; height: 26px; flex: none; position: relative; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--green-600); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__q .plus::before { top: 12px; left: 4px; right: 4px; height: 2.5px; }
.faq__q .plus::after { left: 12px; top: 4px; bottom: 4px; width: 2.5px; }
.faq__item[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 24px 22px; color: var(--ink-soft); }
.faq__a p { margin: 0; }

/* ---------- Kontakt / forma ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact__aside .contact__points { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.contact__point { display: flex; gap: 14px; align-items: flex-start; }
.contact__point .ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; }
.contact__point .ic svg { width: 24px; height: 24px; color: var(--green-600); }
.contact__point b { display: block; }
.contact__point a, .contact__point span { color: var(--ink-soft); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.field .req { color: var(--green-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-400); background: #fff; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #e5484d; }
.field .error { display: none; color: #c62b30; font-size: .84rem; margin-top: 6px; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 20px; font-size: .9rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--green-600); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.form-status.is-ok { display: block; background: var(--green-100); color: var(--green-800); border: 1px solid var(--green-300); }
.form-status.is-err { display: block; background: #fdecec; color: #b42318; border: 1px solid #f4b3b3; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn .spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-hero); border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 70px); text-align: center; color: #eafff5; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdeee1; max-width: 560px; margin: 0 auto 26px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: #06251c; color: #b9d9cd; padding: 66px 0 30px; }
.footer a { color: #b9d9cd; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand b { color: var(--green-300); }
.footer__about { font-size: .95rem; color: #9dc4b6; max-width: 320px; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: .96rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .88rem; color: #86ab9d; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--green-600); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }

/* ---------- Cookie consent ---------- */
.cc { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 200; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; transform: translateY(140%); transition: transform .5s var(--ease); }
.cc.is-visible { transform: translateY(0); }
.cc h3 { font-size: 1.15rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.cc h3 svg { width: 24px; height: 24px; color: var(--green-600); }
.cc p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 16px; }
.cc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc__actions .btn { --pad-y: 11px; --pad-x: 18px; font-size: .92rem; }
.btn--outline { background: transparent; color: var(--green-700); border: 1.5px solid var(--green-300); }
.btn--outline:hover { background: var(--green-100); color: var(--green-800); }
.btn--text { background: transparent; color: var(--muted); }
.btn--text:hover { color: var(--ink); }

/* Cookie settings modal */
.cc-modal { position: fixed; inset: 0; z-index: 220; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6,37,28,.55); backdrop-filter: blur(4px); }
.cc-modal.is-open { display: flex; }
.cc-modal__box { background: #fff; border-radius: var(--radius-lg); max-width: 540px; width: 100%; max-height: 90vh; overflow: auto; padding: 32px; box-shadow: var(--shadow-lg); }
.cc-cat { display: flex; gap: 16px; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cc-cat:last-of-type { border-bottom: 0; }
.cc-cat b { display: block; margin-bottom: 4px; }
.cc-cat p { font-size: .88rem; color: var(--muted); margin: 0; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: background .25s; cursor: pointer; }
.switch .track::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .25s; box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--green-500); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { background: var(--green-300); cursor: not-allowed; }
.cc-modal__actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Legal / content pages */
.page-hero { background: var(--grad-hero); color: #eafff5; padding: calc(var(--header-h) + 60px) 0 70px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cdeee1; margin: 0; }
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1rem; }
.prose ul li { margin-bottom: .4em; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); font-size: .95rem; }
.prose th { background: var(--bg-alt); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__cta, .hero__mini { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .hero__visual { margin-top: 26px; }
  .demo__grid, .contact__grid { grid-template-columns: 1fr; }
  .demo__panel { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 4px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px); padding: 18px 22px 26px;
    box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .4s var(--ease);
    align-items: stretch; max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .nav-open .nav { transform: translateY(0); }
  .nav__link { color: var(--ink-soft) !important; background: transparent !important; padding: 13px 12px; border-radius: 12px; }
  .nav__link:hover { background: var(--green-100) !important; }
  .header:not(.header--scrolled) .nav { background: rgba(255,255,255,.97); }
  .nav .btn--primary { margin-top: 8px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .stats, .grid--3, .grid--4, .grid--2, .steps, .footer__grid { grid-template-columns: 1fr; }
  .stats { margin-top: -40px; }
  .hero__mini { flex-direction: column; gap: 12px; align-items: center; }
  .demo__panel { padding: 32px 24px; }
  .cc { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
}
