/* =========================================================================
   Zapiš.to — Marketing site
   Hravý a teplý styl, pastely, hodně whitespace, animace.
   Tokeny dědí z ../colors_and_type.css
   ========================================================================= */
@import url("./colors_and_type.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg-elev);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------------------- LAYOUT ------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }

/* ---------------------- TYPE -------------------------------------------- */
.h-display {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--fg-strong);
  margin: 0 0 12px;
}
.h-section {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--fg-strong);
  margin: 0 0 10px;
}
.h-card {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg-strong);
  margin: 0;
  letter-spacing: -0.005em;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 18px 0 0;
  max-width: 580px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}
.muted { color: var(--fg-muted); }
.accent-purple {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}
.brand-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.handwritten-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.handwritten-underline::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: -6px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M3 8 C 60 2, 120 12, 180 5 S 280 10, 297 6' fill='none' stroke='%2322C55E' stroke-width='4' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  z-index: -1;
  opacity: .8;
}

/* ---------------------- BUTTONS ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-secondary {
  background: var(--bg-elev);
  color: var(--fg-strong);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-sunken);
  border-color: var(--border-strong);
}
.btn-ghost { background: transparent; color: var(--fg); padding: 10px 16px; }
.btn-ghost:hover { background: var(--bg-sunken); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 18px 32px; font-size: 18px; border-radius: 16px; }

/* ---------------------- NAV --------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border-soft); background: rgba(255,255,255,.92); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; display: block; flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 8px;
  margin: 0 auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-muted);
  transition: background .2s ease, color .2s ease;
  position: relative;
}
.nav-links a:hover { background: var(--bg-sunken); color: var(--fg-strong); }
.nav-links a.active {
  color: var(--brand-600, #4f46e5);
  background: rgba(99, 102, 241, 0.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-500, #6366f1);
  opacity: 0.7;
}
.nav-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; }

/* ---------------------- HERO -------------------------------------------- */
.hero {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -240px; left: 50%;
  width: 1400px; height: 900px;
  background:
    radial-gradient(closest-side, rgba(139, 92, 246, 0.20), transparent 70%),
    radial-gradient(closest-side at 60% 60%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(closest-side at 30% 30%, rgba(34, 197, 94, 0.10), transparent 70%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 600px;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-text .eyebrow { align-self: flex-start; }
.hero-text h1 { text-align: left; max-width: none; }
.hero-text h1 .accent-yellow {
  position: relative;
  white-space: nowrap;
}
.hero-text h1 .accent-yellow::before {
  content: "";
  position: absolute;
  inset: -4px -6px;
  background: var(--warn-100);
  border-radius: 8px;
  z-index: -1;
  transform: rotate(-1.5deg);
}
.hero-text .lead { text-align: left; margin: 0; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: nowrap; }
.hero-cta .btn { flex-shrink: 1; min-width: 0; white-space: nowrap; }
.hero-trust {
  display: flex;
  gap: 20px 24px;
  font-size: 13px;
  color: var(--fg-muted);
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-trust .item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* ---- Phone mockup ---- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}
.phone {
  position: relative;
  width: 296px;
  height: 600px;
  background: linear-gradient(160deg, #1A1F2A 0%, #0B0E14 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 60px 120px -30px rgba(15, 23, 42, 0.45),
    0 30px 60px -20px rgba(99, 102, 241, 0.25),
    inset 0 0 0 2px rgba(255,255,255,.06),
    0 0 0 1px rgba(0,0,0,.4);
  z-index: 1;
  transform: rotate(-2deg);
  transition: transform .6s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 40%);
  position: relative;
  padding: 14px 14px 0;
  display: flex;
  flex-direction: column;
}
.ph-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #0F172A;
  padding: 4px 10px 8px;
}
.ph-statusbar-r { display: inline-flex; align-items: center; gap: 4px; }
.ph-sig { width: 14px; height: 8px; background: linear-gradient(to right, #0F172A 60%, #94A3B8 60%); border-radius: 2px; }
.ph-wifi { font-size: 10px; }
.ph-batt {
  display: inline-block;
  width: 22px; height: 10px;
  border: 1px solid #0F172A;
  border-radius: 3px;
  position: relative;
  background: linear-gradient(to right, #0F172A 80%, transparent 80%);
  background-clip: content-box;
  padding: 1px;
}
.ph-batt::after {
  content: "";
  position: absolute;
  right: -3px; top: 3px;
  width: 2px; height: 4px;
  background: #0F172A;
  border-radius: 0 1px 1px 0;
}
.ph-appbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 4px 12px;
}
.ph-logo { display: inline-flex; align-items: center; gap: 6px; }
.ph-logo-mark {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--brand-gradient);
  color: #fff; font-weight: 800; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: -.02em;
}
.ph-logo-text { font-weight: 800; font-size: 14px; color: #0F172A; letter-spacing: -.01em; }
.ph-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #6366F1);
  color: #fff; font-weight: 800; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ph-greet { padding: 0 4px 10px; }
.ph-greet-hi { font-size: 18px; font-weight: 800; color: #0F172A; letter-spacing: -.01em; }
.ph-greet-sub { font-size: 11px; color: #64748B; margin-top: 2px; }
.ph-bilance {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 4px 4px 12px;
  box-shadow: 0 10px 24px -8px rgba(22, 163, 74, 0.5);
}
.ph-bilance-label { font-size: 11px; opacity: .85; font-weight: 600; }
.ph-bilance-num { font-size: 22px; font-weight: 800; margin-top: 2px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ph-bilance-delta { font-size: 10px; opacity: .85; margin-top: 2px; font-weight: 600; }
.ph-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 4px 14px; }
.ph-quick-btn {
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 12px; font-weight: 700;
  text-align: center;
}
.ph-quick-in { background: #DCFCE7; color: #15803D; }
.ph-quick-out { background: #FEE2E2; color: #B91C1C; }
.ph-section-title { font-size: 10px; font-weight: 800; color: #64748B; letter-spacing: .08em; text-transform: uppercase; padding: 0 6px 6px; }
.ph-tx {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 6px;
  margin: 0 -2px;
}
.ph-tx + .ph-tx { border-top: 1px solid #F1F5F9; }
.ph-tx-tile {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.ph-tx-name { font-size: 12px; font-weight: 700; color: #0F172A; }
.ph-tx-sub { font-size: 10px; color: #94A3B8; }
.ph-tx-amt { font-weight: 800; font-size: 12px; font-variant-numeric: tabular-nums; }
.ph-in { color: #16A34A; }
.ph-out { color: #DC2626; }
.ph-ai {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #8B5CF6, #6366F1);
  color: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  margin: 10px 4px 0;
}
.ph-ai-icon { font-size: 18px; }
.ph-ai-label { font-size: 8.5px; opacity: .85; font-weight: 700; letter-spacing: .08em; }
.ph-ai-text { font-size: 10.5px; font-weight: 700; line-height: 1.2; }
.ph-tabbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 10px 6px 14px;
  border-top: 1px solid #F1F5F9;
  align-items: center;
  background: #fff;
  margin-left: -14px; margin-right: -14px;
  padding-left: 14px; padding-right: 14px;
}
.ph-tab {
  text-align: center;
  font-size: 18px;
  opacity: .35;
}
.ph-tab.is-active { opacity: 1; }
.ph-tab-fab {
  width: 36px; height: 36px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600;
  margin: 0 auto;
  opacity: 1;
  box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.5);
  line-height: 1;
}

/* ---- Floating cards around phone ---- */
.hero-visual .float {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  background: var(--bg-elev);
  border-radius: 14px;
  box-shadow:
    0 20px 40px -10px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 12px 14px;
  z-index: 2;
  animation: float-bob 6s ease-in-out infinite;
}
.hero-visual .float .float-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
}
.hero-visual .float .float-label { font-size: 11px; font-weight: 700; color: #0F172A; line-height: 1.2; }
.hero-visual .float .float-sub { font-size: 10px; color: #94A3B8; margin-top: 2px; }
.hero-visual .float .float-amt { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; line-height: 1.1; }
.hero-visual .f-prediction { top: 6%; left: -10%; --rot: -3deg; animation-delay: -.5s; transform: rotate(-3deg); }
.hero-visual .f-limit { top: 38%; right: -8%; --rot: 3deg; animation-delay: -2.5s; transform: rotate(3deg); }
.hero-visual .f-anon { bottom: 6%; left: -6%; --rot: -2deg; animation-delay: -1.5s; transform: rotate(-2deg); }

/* ---- Desktop showcase below hero ---- */
.desktop-showcase {
  margin-top: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.desktop-showcase .explode-frame { width: 100%; max-width: 1100px; }
.desktop-showcase-label {
  margin-top: 24px;
  font-size: 13px;
  color: var(--fg-subtle);
  font-weight: 600;
}

/* explode view (desktop frame, reused in showcase) */
.explode-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 60px 120px -30px rgba(15, 23, 42, 0.25),
    0 30px 60px -20px rgba(99, 102, 241, 0.20),
    0 0 0 1px rgba(15, 23, 42, 0.08);
  background: #fff;
  transform: perspective(2000px) rotateX(2deg);
  transition: transform .6s ease;
}
.explode-frame:hover { transform: perspective(2000px) rotateX(0deg); }
.explode-frame img { display: block; width: 100%; }
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #FAFBFC, #F1F3F7);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-bar .dot.r { background: #FF5F57; }
.browser-bar .dot.y { background: #FEBC2E; }
.browser-bar .dot.g { background: #28C840; }
.browser-bar .url {
  flex: 1; text-align: center;
  background: #fff; border-radius: 8px;
  padding: 4px 16px; font-size: 12px;
  color: var(--fg-subtle);
  border: 1px solid var(--border-soft);
  max-width: 260px;
  margin: 0 auto;
}
.browser-bar .url::before { content: "🔒 "; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}

/* ---------------------- TRUST STRIP ------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 0;
  background: var(--bg);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-strip .item {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg-muted);
  font-weight: 600;
  font-size: 14px;
}
.trust-strip .item .glyph {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
  font-size: 18px;
}
.trust-strip .item b { color: var(--fg-strong); font-weight: 800; }
.trust-strip .num { font-size: 22px; font-weight: 800; color: var(--fg-strong); margin-right: 2px; font-variant-numeric: tabular-nums; }

/* ---------------------- SECTION HEAD ------------------------------------ */
.section-head {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 22px;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.section-head .h-section { margin: 0; }
.section-head .lead { margin: 0; }
.section-head.left {
  align-items: flex-start;
  text-align: left;
  margin-left: 0; margin-right: 0;
  max-width: 720px;
}
.section-head .lead { max-width: 640px; }

/* ---------------------- FEATURE GRID ------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.12);
  border-color: var(--border);
}
.feature.span-7 { grid-column: span 7; }
.feature.span-5 { grid-column: span 5; }
.feature.span-6 { grid-column: span 6; }
.feature.span-12 { grid-column: span 12; }
.feature .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.feature h3 { font-size: 24px; font-weight: 800; margin: 0 0 8px; color: var(--fg-strong); letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--fg-muted); font-size: 16px; line-height: 1.55; }
.feature .visual {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--bg);
  position: relative;
}

/* ---------------------- HOW IT WORKS ------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--bg);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 24px; right: 24px;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-500);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.step .icon { font-size: 36px; margin-bottom: 16px; }
.step h4 { font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--fg-strong); }
.step p { color: var(--fg-muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------------------- SPLIT (text + visual) --------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-text h2 { margin-bottom: 18px; }
.split-text .lead { margin: 0 0 24px; }
.split-bullets { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.split-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px;
  color: var(--fg);
}
.split-bullets li .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--pos-100);
  color: var(--pos-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.split-bullets li b { color: var(--fg-strong); }

/* visual mock */
.mock {
  background: var(--bg-elev);
  border-radius: 20px;
  box-shadow:
    0 30px 60px -20px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 18px;
  position: relative;
}
.mock-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.mock-head .dots { display: flex; gap: 4px; }
.mock-head .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.mock-head .t { font-weight: 700; color: var(--fg-muted); font-size: 12px; }
.mock-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
}
.mock-row + .mock-row { margin-top: 2px; }
.mock-row .tile { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.mock-row .name { font-weight: 700; color: var(--fg-strong); font-size: 14px; }
.mock-row .sub { font-size: 11px; color: var(--fg-subtle); }
.mock-row .amt { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------------------- SECURITY ---------------------------------------- */
.security {
  background: linear-gradient(180deg, #0B0E14 0%, #131822 100%);
  color: #E2E8F0;
  border-radius: 32px;
  padding: 80px;
  position: relative;
  overflow: hidden;
}
.security::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 70%);
  pointer-events: none;
}
.security::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  pointer-events: none;
}
.security .section-head { position: relative; z-index: 1; }
.security .h-section { color: #F8FAFC; }
.security .lead { color: rgba(226, 232, 240, 0.7); }
.security .eyebrow {
  background: rgba(34, 197, 94, 0.16);
  color: #86EFAC;
}
.security .eyebrow .dot { background: #22C55E; }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative; z-index: 1;
}
.security-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(10px);
}
.security-card .glyph {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.security-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #F8FAFC;
}
.security-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.7);
}

/* ---------------------- AI POKLADNIK SECTION ---------------------------- */
.ai-section {
  background: linear-gradient(180deg, var(--asset-50) 0%, var(--bg-elev) 100%);
  position: relative;
  overflow: hidden;
}
.ai-section .badge-ai {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--asset-100);
  color: var(--asset-700);
  font-weight: 800;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.ai-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--asset-600), var(--brand-500));
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

/* ---------------------- STATS / CHART MOCK ------------------------------ */
.stats-mock {
  background: var(--bg-elev);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 24px;
}
.stats-mock h5 {
  font-size: 14px;
  color: var(--fg-muted);
  margin: 0 0 4px;
  font-weight: 600;
}
.stats-mock .big {
  font-size: 32px; font-weight: 800;
  color: var(--neg-700);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.cat-bar {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  padding: 10px 0;
  align-items: center;
}
.cat-bar + .cat-bar { border-top: 1px solid var(--border-soft); }
.cat-bar .tile {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.cat-bar .body { display: flex; flex-direction: column; gap: 4px; }
.cat-bar .lbl { font-weight: 700; color: var(--fg-strong); font-size: 13px; display: flex; justify-content: space-between; }
.cat-bar .lbl .pct { color: var(--fg-subtle); font-weight: 500; font-size: 11px; }
.cat-bar .bar { height: 6px; border-radius: 999px; background: var(--bg-sunken); overflow: hidden; }
.cat-bar .bar > span { display: block; height: 100%; border-radius: 999px; }
.cat-bar .amount { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--fg-strong); }

/* ---------------------- PRICING ----------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--brand-500);
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--bg-elev) 50%);
  box-shadow: 0 30px 60px -20px rgba(99, 102, 241, 0.25);
}
.plan .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 12px; font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.plan h3 { font-size: 22px; font-weight: 800; margin: 0; color: var(--fg-strong); }
.plan .desc { color: var(--fg-muted); margin: 6px 0 24px; font-size: 14px; }
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.plan .price .num { font-size: 48px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.02em; }
.plan .price .unit { color: var(--fg-muted); font-size: 14px; font-weight: 600; }
.plan .for { color: var(--fg-subtle); font-size: 13px; margin-bottom: 28px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--fg); }
.plan li .check { width: 20px; height: 20px; border-radius: 50%; background: var(--pos-100); color: var(--pos-700); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; font-size: 12px; }
.plan .btn { width: 100%; justify-content: center; }

/* ---------------------- FAQ -------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--brand-500);
  transition: transform .2s ease;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
}

/* ---------------------- FINAL CTA --------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, #5B5BF5 0%, #8B5CF6 60%, #A855F7 100%);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta .h-section { margin-bottom: 18px; }
.btn-cta-white {
  background: #fff;
  color: #4338CA;
  font-weight: 800;
  border: 0;
  box-shadow:
    0 16px 40px -8px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 -2px 0 rgba(15, 23, 42, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 32px;
  border-radius: 16px;
  font-size: 18px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 48px -8px rgba(0, 0, 0, 0.45),
    0 8px 16px rgba(0, 0, 0, 0.15);
  color: #4338CA;
}
.btn-cta-white:active { transform: scale(.97); }
.final-cta::before {
  content: "🌱";
  position: absolute;
  top: -20px; left: -20px;
  font-size: 200px;
  opacity: 0.08;
  transform: rotate(-15deg);
}
.final-cta::after {
  content: "✨";
  position: absolute;
  bottom: -40px; right: -40px;
  font-size: 240px;
  opacity: 0.08;
  transform: rotate(15deg);
}
.final-cta h2 { color: #fff; max-width: 720px; margin: 0 auto; }
.final-cta .lead { color: rgba(255,255,255,.85); margin: 18px auto 32px; max-width: 540px; }
.final-cta .btn-primary {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.final-cta .btn-primary:hover { color: var(--brand-700); }
.final-cta .trust {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.final-cta .trust-dot { opacity: .5; }

/* ---------------------- APP SHOWCASE (features section) ----------------- */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  margin: 16px 0 32px;
}
.showcase-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.showcase-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.showcase-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.10);
  border-color: var(--border);
}
.showcase-col-right .showcase-feature {
  flex-direction: row;
  text-align: left;
}
.showcase-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.showcase-feature h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--fg-strong);
  margin: 0 0 6px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.showcase-feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* Phone column */
.showcase-phone {
  position: relative;
  width: 320px;
  display: flex;
  justify-content: center;
}
/* Mobile-only swapped visuals — hidden on desktop */
.hero-mobile-preview { display: none; }
.showcase-dashboard-preview { display: none; }

.app-phone {
  position: relative;
  width: 304px;
  background: linear-gradient(160deg, #1A1F2A 0%, #0B0E14 100%);
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 80px 120px -40px rgba(15, 23, 42, 0.4),
    0 40px 80px -20px rgba(99, 102, 241, 0.22),
    inset 0 0 0 2px rgba(255,255,255,.06),
    0 0 0 1px rgba(0,0,0,.4);
  z-index: 1;
}
.app-phone-notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.app-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  position: relative;
  z-index: 2;
}

/* Annotation bubbles around phone */
.anno {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
  pointer-events: none;
}
.anno-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18), 0 0 0 8px rgba(99, 102, 241, 0.08);
  animation: anno-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes anno-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(99,102,241,.18), 0 0 0 8px rgba(99,102,241,.08); }
  50% { box-shadow: 0 0 0 4px rgba(99,102,241,.28), 0 0 0 14px rgba(99,102,241,.02); }
}
.anno-bubble {
  background: var(--bg-elev);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow:
    0 20px 40px -10px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}
.anno-label { font-size: 10.5px; color: var(--fg-subtle); font-weight: 600; letter-spacing: 0.02em; }
.anno-val { font-size: 15px; font-weight: 800; color: var(--fg-strong); font-variant-numeric: tabular-nums; margin-top: 1px; }
.anno-val .up { color: #16A34A; font-size: 11px; font-weight: 700; margin-left: 4px; }

/* Anchor anno bubbles to specific points on the phone */
.anno-1 { top: 19%; left: -34%; flex-direction: row-reverse; }
.anno-2 { top: 38%; right: -25%;}
.anno-3 { bottom: 18%; left: -28%; flex-direction: row-reverse; }

/* ---------------------- MORE FEATURES (mini grid) ----------------------- */
.more-features-head {
  margin-top: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.more-features-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 640px;
  line-height: 1.25;
}
.more-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mini-feature {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mini-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.10);
  border-color: var(--border);
}
.mini-feature .mini-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 6px;
}
.mini-feature h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--fg-strong);
  letter-spacing: -0.005em;
}
.mini-feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ---------------------- SUBPAGES (legal / info) ------------------------- */
.subpage-hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: "";
  position: absolute;
  top: -260px; left: 50%;
  width: 1200px; height: 700px;
  background:
    radial-gradient(closest-side, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(closest-side at 60% 60%, rgba(99, 102, 241, 0.14), transparent 70%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}
.subpage-hero .container { position: relative; z-index: 1; }
.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-subtle);
  font-weight: 600;
  margin-bottom: 16px;
}
.subpage-breadcrumb a {
  color: var(--fg-muted);
  transition: color .15s ease;
}
.subpage-breadcrumb a:hover { color: var(--fg-strong); }
.subpage-breadcrumb .sep { color: var(--border); }
.subpage-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--fg-strong);
  margin: 0 0 16px;
  max-width: 800px;
}
.subpage-hero .lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fg-muted);
  margin: 0;
  max-width: 720px;
  line-height: 1.55;
}
.subpage-meta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  color: var(--fg-muted);
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.prose-section { padding: 24px 0 96px; }
.prose-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: flex-start;
}
.prose-toc {
  position: sticky;
  top: 96px;
  padding: 20px 0;
  font-size: 13px;
}
.prose-toc h5 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin: 0 0 12px;
}
.prose-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--fg-muted);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 2px;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.prose-toc a:hover { background: var(--bg-sunken); color: var(--fg-strong); }
.prose-toc a.is-active {
  background: var(--brand-50);
  color: var(--brand-600);
  border-left-color: var(--brand-500);
  font-weight: 700;
}

.prose {
  max-width: 720px;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.7;
}
.prose h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
  margin: 48px 0 16px;
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg-strong);
  margin: 28px 0 10px;
  letter-spacing: -0.005em;
}
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 8px 0 18px; }
.prose li { margin-bottom: 6px; font-size: var(--fs-base); }
.prose b, .prose strong { color: var(--fg-strong); font-weight: 700; }
.prose a {
  color: var(--brand-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--brand-700, #4338CA); }
.prose hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 40px 0;
}
.prose blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--brand-50);
  border-left: 3px solid var(--brand-500);
  border-radius: 0 12px 12px 0;
  color: var(--fg);
  font-style: normal;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose-callout {
  margin: 20px 0;
  padding: 18px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.prose-callout.green { background: rgba(34, 197, 94, 0.06); border-color: rgba(34, 197, 94, 0.25); }
.prose-callout.amber { background: rgba(245, 158, 11, 0.06); border-color: rgba(245, 158, 11, 0.25); }
.prose-callout .ic { font-size: 22px; flex-shrink: 0; line-height: 1.2; }
.prose-callout p:last-child { margin-bottom: 0; }
.prose-callout p:first-child { margin-top: 0; }

/* Anonymity principles grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0 24px;
}
.principle {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
}
.principle .ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.principle h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg-strong);
  margin: 0 0 6px;
}
.principle p { font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

/* Contact-specific */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 12px 0 24px;
}
.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}
.contact-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.contact-card .val {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-strong);
  margin: 0;
}
.contact-card .val a { color: var(--fg-strong); }
.contact-card .val a:hover { color: var(--brand-600); }
.contact-card p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--fg-muted);
}
.company-card {
  background: linear-gradient(135deg, #F8FAFC 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 8px 0 16px;
}
.company-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.company-card .name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.company-card .legal {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.55;
}
.company-card .legal b { color: var(--fg-strong); }

/* Bottom CTA on subpages */
.subpage-bottom-cta {
  margin: 60px 0 0;
  padding: 36px 32px;
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.subpage-bottom-cta .copy h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--fg-strong);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.subpage-bottom-cta .copy p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .prose-layout { grid-template-columns: 1fr; gap: 24px; }
  .prose-toc { display: none; }
  .principles-grid, .contact-grid { grid-template-columns: 1fr; }
  .company-card { grid-template-columns: 1fr; }
}

/* ---------------------- COOKIES PAGE ------------------------------------ */
.cookie-prefs {
  margin: 20px 0 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
}
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
}
.cookie-row + .cookie-row { border-top: 1px solid var(--border-soft); }
.cookie-info { flex: 1; min-width: 0; }
.cookie-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.cookie-required {
  font-size: 10.5px;
  font-weight: 700;
  background: var(--brand-50);
  color: var(--brand-600);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cookie-optional {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(22, 163, 74, 0.12);
  color: #15803D;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cookie-none {
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(220, 38, 38, 0.10);
  color: #B91C1C;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cookie-desc {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  cursor: pointer;
}
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track {
  display: inline-block;
  width: 48px;
  height: 28px;
  background: #CBD5E1;
  border-radius: 999px;
  position: relative;
  transition: background .2s ease;
}
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.toggle input:checked + .toggle-track { background: var(--brand-500); }
.toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(20px); }
.toggle.is-locked .toggle-track { background: var(--brand-500); opacity: 0.7; cursor: not-allowed; }
.toggle.is-disabled .toggle-track { background: #E2E8F0; cursor: not-allowed; }
.toggle.is-disabled .toggle-thumb { background: #94A3B8; }

.cookie-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 8px;
  flex-wrap: wrap;
}

/* Cookie inventory table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  margin: 16px 0 24px;
  font-size: 13.5px;
}
.cookie-table th, .cookie-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.cookie-table thead th {
  background: var(--bg-sunken);
  color: var(--fg-strong);
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cookie-table tbody tr:last-child td { border-bottom: 0; }
.cookie-table code {
  background: var(--brand-50);
  color: var(--brand-600);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-required { background: var(--brand-50); color: var(--brand-600); }
.tag-tech { background: rgba(22, 163, 74, 0.12); color: #15803D; }

@media (max-width: 700px) {
  .cookie-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-table { font-size: 12.5px; }
  .cookie-table th, .cookie-table td { padding: 10px 12px; }
}

/* ---------------------- FOOTER (minimal) ------------------------------- */
.footer {
  background: var(--bg);
  padding: 36px 0 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-wordmark { height: 24px; width: auto; opacity: .85; }
.footer-by {
  color: var(--fg-subtle);
  font-size: 12.5px;
  font-weight: 500;
}
.footer-by .pixio-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity .2s ease;
}
.footer-by .pixio-link:hover { opacity: 1; }
.pixio-logo {
  height: 12px;
  width: auto;
  position: relative; 
  top: 3px;
  margin-left: 5px;
  display: block;
}
.footer-dot { color: var(--border); margin: 0 2px; }
.footer-links {
  display: inline-flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s ease;
}
.footer-links a:hover { color: var(--fg-strong); }
.footer-copyright {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  color: var(--fg-subtle);
  font-size: 12px;
}

/* ---------------------- SCROLL REVEAL ----------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* ---------------------- RESPONSIVE -------------------------------------- */
@media (max-width: 960px) {
  .section { padding: 48px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .feature.span-7, .feature.span-5, .feature.span-6 { grid-column: span 12; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .split.rev { direction: ltr; }
  .security { padding: 48px 28px; border-radius: 24px; }
  .security-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .more-features { grid-template-columns: repeat(2, 1fr); }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 16px 22px; }
  /* App showcase: stack phone on top, features below in 2x2 grid */
  .app-showcase { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .showcase-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
  .showcase-feature { padding: 20px; }
  .anno { display: none; }
  .showcase-phone { order: -1; width: 100%; }
  .final-cta { padding: 56px 24px; }
  .final-cta .trust { flex-direction: column; gap: 4px; }
  .final-cta .trust-dot { display: none; }
  .hero { padding: 32px 0 0; }
  .trust-strip { margin-top: -100px; position: relative; z-index: 2; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
  .hero-text { align-items: center; text-align: center; }
  .hero-text h1, .hero-text .lead { text-align: center; }
  .hero-text .lead { max-width: 540px; margin: 0 auto; }
  .hero-text .eyebrow { align-self: center; }
  .hero-cta { justify-content: center; gap: 8px; }
  .hero-cta .btn-lg { padding: 13px 18px; font-size: 15px; }
  .hero-trust { justify-content: center; }
  .hero-visual { min-height: 0; }
  .desktop-showcase { margin-top: 60px; }

  /* Swap hero: hide CSS phone + floats + desktop showcase, show app-dashboard photo */
  .phone, .float, .desktop-showcase { display: none; }
  .hero-mobile-preview {
    display: flex;
    justify-content: center;
    max-height: 80%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
  }

  /* Swap showcase: hide phone mockup, show dashboard screenshot */
  .app-phone { display: none; }
  .hero-mobile-preview .app-phone { display: block; }
  .showcase-dashboard-preview { display: block; width: 100%; max-width: 560px; }
  .showcase-dashboard-preview .explode-frame { width: 100%; }
}
@media (max-width: 420px) {
  .hero-cta .btn-lg { padding: 11px 14px; font-size: 14px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 14px 14px 14px 64px; }
  .step::before { top: 14px; right: auto; left: 14px; }
  .step .icon { font-size: 20px; margin-bottom: 0; margin-right: 8px; display: inline; }
  .step h4 { font-size: 15px; margin-bottom: 4px; display: inline; }
  .step p { font-size: 13px; display: block; margin-top: 4px; }
  .footer-grid { grid-template-columns: 1fr; max-width: none; }
  .more-features { grid-template-columns: 1fr; }
  .showcase-col { grid-template-columns: 1fr; }
  .trust-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .trust-strip .item { gap: 8px; font-size: 13px; }
  .trust-strip .item .glyph { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; }
  .hero-visual .float { display: none; }
  .phone { transform: rotate(0deg); }
}
