/* ══════════════════════════════════════════════
   DESIGN TOKENS
   Paleta: biela · modrá (dominantná) · tyrkysová
══════════════════════════════════════════════ */
:root {
  --bg:           #F4F8FC;
  --bg-raised:    #FFFFFF;
  --surface:      #FFFFFF;
  --surface-hi:   #EAF2FB;
  --border:       rgba(26, 78, 140, 0.10);
  --border-teal:  rgba(0, 168, 150, 0.25);

  --text:         #0C2040;
  --text-dim:     #3E5878;
  --text-muted:   #8A9DB5;

  /* Tyrkysová = primárny akcent */
  --gold:         #00A896;
  --gold-light:   #00C4B0;
  --gold-pale:    rgba(0, 168, 150, 0.09);

  --danger:       #D94040;
  --danger-bg:    rgba(217, 64, 64, 0.08);
  --green:        #1EAA78;
  --green-bg:     rgba(30, 170, 120, 0.09);

  /* Modrá = dominantná farba */
  --blue:         #1A4E8C;
  --blue-light:   #2563C8;
  --blue-pale:    rgba(26, 78, 140, 0.07);

  --radius:       12px;
  --radius-lg:    20px;
  --max-w:        1140px;

  --ff-display: 'Lexend', system-ui, sans-serif;
  --ff-body:    'Lexend', system-ui, sans-serif;
  --ff-mono:    'Lexend', 'Courier New', monospace;
}

/* ══════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(26,78,140,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,78,140,.028) 1px, transparent 1px);
  background-size: 64px 64px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ══════════════════════════════════════════════
   URGENCY BANNER
══════════════════════════════════════════════ */
.urgency-banner {
  background: var(--danger);
  text-align: center;
  padding: 9px 24px;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 200;
}

.urgency-banner a {
  text-decoration: underline;
  opacity: 0.85;
  margin-left: 12px;
  transition: opacity .15s;
}
.urgency-banner a:hover { opacity: 1; }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 248, 252, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

nav.elevated { box-shadow: 0 4px 28px rgba(26,78,140,.10); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 7px 13px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-pale); }

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 9px !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  padding: 108px 28px 96px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 12% 42%, rgba(0,168,150,.08) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 82% 18%, rgba(26,78,140,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--danger-bg);
  border: 1px solid rgba(217,64,64,.28);
  color: #C03030;
  font-family: var(--ff-mono);
  font-size: 0.725rem;
  font-weight: 500;
  padding: 5px 13px 5px 9px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}

.eyebrow-dot {
  width: 18px;
  height: 18px;
  background: var(--danger);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--ff-body);
  flex-shrink: 0;
  animation: danger-pulse 2.2s ease-in-out infinite;
}

@keyframes danger-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(217,64,64,.5); }
  50%      { box-shadow: 0 0 0 7px rgba(217,64,64,0); }
}

h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--blue);
  margin-bottom: 24px;
}

h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.72;
  max-width: 500px;
  margin-bottom: 38px;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 22px rgba(26,78,140,.28);
  text-decoration: none;
}
.btn-gold:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(26,78,140,.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  text-decoration: none;
}
.btn-ghost:hover {
  color: var(--blue);
  border-color: rgba(26,78,140,.25);
  background: var(--blue-pale);
}

/* ── DASHBOARD MOCKUP ─────────────────────────── */
.dashboard {
  background: var(--surface);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,168,150,.05),
    0 24px 60px rgba(26,78,140,.12),
    0 0 80px rgba(0,168,150,.05);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.dashboard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--gold-light), transparent);
  opacity: 0.5;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-brand {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  color: var(--green);
  font-weight: 500;
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.sensor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.sensor-tile {
  background: var(--surface-hi);
  border: 1px solid rgba(30,170,120,.18);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  position: relative;
}

.s-label {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}

.s-val {
  font-family: var(--ff-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
}

.s-unit { font-size: 0.8rem; color: var(--text-dim); }

.s-ok {
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--ff-mono);
  font-size: 0.575rem;
  color: var(--green);
  background: var(--green-bg);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.s-time {
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.chart-box {
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px;
  margin-bottom: 14px;
}

.chart-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.chart-lbl, .chart-rng {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sparkline { width: 100%; height: 44px; display: block; overflow: visible; }

.dash-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}

.dash-compliant {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.775rem;
  color: var(--green);
  font-weight: 500;
}

.dash-next {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════════ */
.section { padding: 96px 28px; }

.section-lbl {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 580px;
}

.section-sub strong { color: var(--text); }

/* ══════════════════════════════════════════════
   LEGISLATION
══════════════════════════════════════════════ */
#legislativa {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#legislativa::after {
  content: '§';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: 420px;
  font-weight: 900;
  color: rgba(26,78,140,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.law-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 48px 0;
}

.law-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
}

.law-tag {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.law-text {
  font-family: var(--ff-mono);
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.8;
  font-style: italic;
}

.law-text strong { color: var(--blue); font-style: normal; }

.law-note {
  margin-top: 10px;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.law-applies {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.exception-block {
  background: rgba(26,78,140,.04);
  border: 1px solid rgba(26,78,140,.14);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 24px;
}

.exception-tag {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.exception-text {
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}

/* ── STAT CARDS ───────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,78,140,.06);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.6;
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.stat-src {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  color: var(--text-muted);
}

/* ── DOWNLOAD ─────────────────────────────────── */
.dl-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--blue);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-teal);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-dl:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--gold); }

.dl-note { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* ══════════════════════════════════════════════
   RISKS
══════════════════════════════════════════════ */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.risk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(26,78,140,.05);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.risk-card:hover {
  border-color: rgba(217,64,64,.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217,64,64,.08);
}

.risk-icon { margin-bottom: 14px; display: block; color: var(--gold); }
.risk-icon svg { width: 32px; height: 32px; }

.risk-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 9px;
}

.risk-body { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }
.risk-body em { color: var(--danger); font-style: normal; font-weight: 500; }

/* ══════════════════════════════════════════════
   SOLUTION
══════════════════════════════════════════════ */
#riesenie {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 2px 12px rgba(26,78,140,.06);
}

.step-num {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}

.step-body { font-size: 0.875rem; color: var(--text-dim); line-height: 1.7; }

.step-chip {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 10px;
  border-radius: 4px;
}

.sensor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}

.sensor-option {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(26,78,140,.04);
}

.sensor-tag {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.sensor-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 9px;
}

.sensor-desc { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 14px; }

.sensor-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sensor-bullets li {
  font-size: 0.8125rem;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.sensor-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── OLD VS NEW COMPARISON ────────────────────── */
.comparison {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  margin-top: 52px;
  margin-bottom: 56px;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(26,78,140,.08);
}

.cmp-col {
  padding: 36px 32px;
}

.cmp-old {
  background: #fdf4f4;
  border: 1px solid rgba(217,64,64,.15);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.cmp-new {
  background: linear-gradient(135deg, var(--blue-pale) 0%, rgba(0,168,150,.06) 100%);
  border: 1px solid rgba(0,168,150,.2);
  border-left: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.cmp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.cmp-vs {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid currentColor;
  opacity: 0.9;
}

.cmp-old .cmp-header {
  color: var(--danger);
  border-color: rgba(217,64,64,.2);
}

.cmp-new .cmp-header {
  color: var(--gold);
  border-color: rgba(0,168,150,.25);
}

.cmp-header svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.cmp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.cmp-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.6;
}

.cmp-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

.cmp-old .cmp-list li svg {
  stroke: var(--danger);
}

.cmp-old .cmp-list li span {
  color: var(--text-dim);
}

.cmp-new .cmp-list li svg {
  stroke: var(--gold);
}

.cmp-new .cmp-list li span {
  color: var(--text);
}

.cmp-list li strong {
  font-weight: 700;
}

.cmp-old .cmp-list li strong { color: var(--danger); }
.cmp-new .cmp-list li strong { color: var(--blue); }

/* ── POWER OUTAGE BOX ─────────────────────────── */
.power-outage-box {
  margin-top: 20px;
  background: var(--danger-bg);
  border: 1px solid rgba(217, 64, 64, 0.18);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.po-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--danger);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.po-title svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--danger);
}

.po-steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.po-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.po-step-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.po-step-text {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.po-step-text strong {
  color: var(--text);
}

/* ── MOBILE APP ROW ───────────────────────────── */
.app-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.app-desc {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.app-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

.app-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
  stroke: var(--gold);
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

.app-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  stroke: var(--gold);
  flex-shrink: 0;
}

/* ── SPEC TABLE ───────────────────────────────── */
.table-wrap {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,78,140,.06);
}

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

thead tr {
  background: var(--surface-hi);
  border-bottom: 1px solid var(--border);
}

th {
  text-align: left;
  padding: 12px 20px;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

td {
  padding: 13px 20px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

td:first-child { color: var(--text); font-weight: 500; }

tr:last-child td { border-bottom: none; }

.check { color: var(--green); font-weight: 600; }

/* ══════════════════════════════════════════════
   PROCESS / TIMELINE
══════════════════════════════════════════════ */
.timeline {
  margin-top: 48px;
  max-width: 680px;
}

.tl-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding-bottom: 32px;
}

.tl-step:last-child { padding-bottom: 0; }

.tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  color: var(--blue);
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26,78,140,.08);
}

.tl-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  margin-top: 7px;
}

.tl-step:last-child .tl-line { display: none; }

.tl-content { padding-top: 9px; }

.tl-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 5px;
}

.tl-body { font-size: 0.9rem; color: var(--text-dim); line-height: 1.65; }

/* ══════════════════════════════════════════════
   CTA / CONTACT
══════════════════════════════════════════════ */
#kontakt {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#kontakt::before {
  content: '';
  position: absolute;
  bottom: -180px; right: -180px;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(0,168,150,.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-wrap { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }

.urgency-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 40px;
}

.ub-track {
  flex: 1;
  height: 5px;
  background: var(--surface-hi);
  border-radius: 3px;
  overflow: hidden;
}

.ub-fill {
  height: 100%;
  width: 73%;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 55%, var(--danger) 100%);
  border-radius: 3px;
}

.ub-label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--gold);
  white-space: nowrap;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(26,78,140,.08);
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.f-group { display: flex; flex-direction: column; gap: 5px; }
.f-group.full { grid-column: 1 / -1; }

.f-label { font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }

.f-input, .f-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 15px;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}

.f-input:focus, .f-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(0,168,150,.12);
}
.f-input::placeholder, .f-textarea::placeholder { color: var(--text-muted); }
.f-textarea { resize: vertical; min-height: 90px; }

.f-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.f-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 28px;
  background: var(--surface);
}

.foot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-logo {
  display: flex;
  align-items: center;
}

.foot-logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.foot-tagline { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }

.foot-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color .18s;
}

.foot-links a:hover { color: var(--blue); }

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in { opacity: 1; transform: none; }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-mockup-col { order: -1; max-width: 460px; margin: 0 auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  #hero { padding: 80px 20px 72px; }
  .section { padding: 72px 20px; }
  .stat-grid { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
  .sensor-grid { grid-template-columns: 1fr; }
  .app-row { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .app-badges { flex-direction: row; flex-wrap: wrap; }
  .comparison { grid-template-columns: 1fr; }
  .cmp-old { border-right: 1px solid rgba(217,64,64,.15); border-bottom: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .cmp-new { border-left: 1px solid rgba(0,168,150,.2); border-top: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .cmp-divider { height: 48px; border-left: 1px solid var(--border); border-right: 1px solid var(--border); border-top: none; border-bottom: none; }
  .f-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .contact-form { padding: 22px; }
  .stat-card, .step-card, .risk-card { padding: 22px 18px; }
}
