/* ============ TerraAlert Landing Page ============ */
:root {
  --bg: #080f17;
  --bg-2: #0c1520;
  --bg-3: #101c2a;
  --card: #0e1926;
  --card-2: #122133;
  --border: rgba(148, 196, 255, 0.10);
  --text: #e8f0f8;
  --muted: #8ca3b8;
  --teal: #2dd4a7;
  --teal-dim: rgba(45, 212, 167, 0.12);
  --red: #ff5a3c;
  --red-2: #ff3b30;
  --amber: #ffb224;
  --blue: #4da3ff;
  --purple: #a78bfa;
  --green: #34d399;
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(135deg, #ff6a3c, #ff3b30);
  color: #fff; box-shadow: 0 8px 24px rgba(255, 74, 48, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 74, 48, 0.5); }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: all .3s ease;
}
.navbar.scrolled {
  background: rgba(8, 15, 23, 0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #123528, #0c2238); color: var(--teal);
  border: 1px solid rgba(45, 212, 167, 0.25);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-accent { color: var(--red); }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.language-switch {
  display: inline-flex; flex-shrink: 0; gap: 2px; padding: 3px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
}
.language-switch[hidden] { display: none; }
.language-switch button {
  min-width: 38px; min-height: 38px; padding: 5px 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); font: 700 12px var(--font); cursor: pointer;
}
.language-switch button:hover { color: var(--text); }
.language-switch button[aria-pressed="true"] { color: var(--teal); background: var(--teal-dim); }
.language-switch button:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.mountain-silhouette {
  position: absolute; bottom: -2px; left: 0; right: 0; height: 42%;
  background:
    linear-gradient(to top, rgba(8,15,23,0.95), transparent 70%),
    radial-gradient(60% 100% at 20% 100%, rgba(18, 42, 60, .7) 0%, transparent 60%),
    radial-gradient(50% 90% at 70% 100%, rgba(14, 36, 46, .8) 0%, transparent 65%);
  clip-path: polygon(0 100%, 0 55%, 12% 30%, 24% 52%, 37% 18%, 52% 48%, 66% 10%, 80% 42%, 92% 24%, 100% 46%, 100% 100%);
  opacity: .9;
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .4; }
.glow-1 { width: 480px; height: 480px; background: #0e3b4e; top: -140px; left: -120px; }
.glow-2 { width: 420px; height: 420px; background: #4a1810; top: 10%; right: -140px; }

.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--teal);
  background: var(--teal-dim); border: 1px solid rgba(45, 212, 167, 0.25);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 167, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(45, 212, 167, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 167, 0); }
}
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 900; margin-bottom: 22px; }
.grad-text {
  background: linear-gradient(90deg, #ff7a4c, #ff3b30 55%, #ffb224);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 44px; }
.stat { flex: 1; min-width: 0; }
.stat-num { font-size: 32px; font-weight: 800; display: block; color: var(--text); }
.stat-label { font-size: 13px; color: var(--muted); }

/* ---------- Phone mockups ---------- */
.phone {
  position: relative; width: 290px; max-width: 100%; border-radius: 42px; padding: 11px;
  background: linear-gradient(160deg, #2a3847, #121c27 60%);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 1px rgba(255,255,255,.14);
  margin: 0 auto;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 94px; height: 24px; background: #060b11; border-radius: 14px; z-index: 5;
}
.phone-screen {
  border-radius: 32px; overflow: hidden; position: relative;
  aspect-ratio: 9 / 19.2; background: var(--bg-2);
  display: flex; flex-direction: column;
}
.hero-phone { position: relative; }
.tilt { transform: rotate(3deg); transition: transform .5s ease; }
.tilt:hover { transform: rotate(0); }

/* Alert screen */
.screen-alert {
  background: linear-gradient(180deg, #3d0a06, #200503 55%, #140303);
  padding: 40px 18px 18px; text-align: center; gap: 10px;
}
.alert-flash {
  position: absolute; inset: 0;
  background: radial-gradient(90% 50% at 50% 0%, rgba(255, 60, 40, 0.38), transparent 70%);
  animation: flash 1.6s ease-in-out infinite;
}
@keyframes flash { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.alert-topbar {
  display: flex; justify-content: space-between; font-size: 8.5px; font-weight: 700;
  color: #ffb3a6; letter-spacing: .04em; position: relative;
}
.alert-icon {
  width: 58px; height: 58px; margin: 8px auto 0; color: #ff6450; position: relative;
  animation: shake 2.4s ease-in-out infinite;
}
@keyframes shake {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-7deg); } 92% { transform: rotate(7deg); } 96% { transform: rotate(-4deg); }
}
.alert-title { font-size: 19px; font-weight: 900; letter-spacing: .03em; color: #fff; position: relative; }
.alert-level {
  font-size: 10px; font-weight: 800; color: #ff8d7a; letter-spacing: .14em; position: relative;
}
.alert-msg { font-size: 11px; color: #f3c9c0; line-height: 1.5; position: relative; }
.alert-msg b { color: #fff; }
.alert-map {
  position: relative; flex: 1; min-height: 70px; border-radius: 14px; margin-top: 4px;
  background: linear-gradient(135deg, #2a1410, #1a0c08);
  border: 1px solid rgba(255, 100, 80, 0.25); overflow: hidden;
}
.alert-map-you, .alert-map-safe {
  position: absolute; font-size: 8px; font-weight: 800; padding: 3px 7px; border-radius: 20px;
}
.alert-map-you { bottom: 12px; left: 14px; background: #ff3b30; color: #fff; }
.alert-map-safe { top: 12px; right: 12px; background: #16a34a; color: #fff; }
.alert-map-route {
  position: absolute; bottom: 22px; left: 30px; width: 65%; height: 46%;
  border-top: 2.5px dashed rgba(255,255,255,.6); border-right: 2.5px dashed rgba(255,255,255,.6);
  border-top-right-radius: 24px; transform: skewX(-12deg);
}
.alert-btn {
  background: #fff; color: #991b1b; font-weight: 800; font-size: 11.5px;
  border: 0; border-radius: 12px; padding: 12px; cursor: pointer; position: relative;
  font-family: var(--font);
}
.alert-note { font-size: 8.5px; color: #c88; position: relative; }

/* Floating chips */
.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(14, 25, 38, 0.92); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 12px;
  font-size: 12px; font-weight: 600; padding: 10px 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: 10%; left: -40px; }
.chip-2 { top: 42%; right: -52px; animation-delay: 1.2s; }
.chip-3 { bottom: 12%; left: -56px; animation-delay: 2.3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.chip-dot.red { background: var(--red-2); box-shadow: 0 0 10px rgba(255,59,48,.8); }
.chip-dot.amber { background: var(--amber); box-shadow: 0 0 10px rgba(255,178,36,.8); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.eyebrow-red { color: var(--red); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Problem */
.section-problem { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px;
}
.problem-num {
  font-size: 44px; font-weight: 900; margin-bottom: 10px;
  background: linear-gradient(90deg, #ff7a4c, #ffb224);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.problem-card p { color: var(--muted); font-size: 15px; }

/* How it works */
.how-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px; align-items: stretch; margin-bottom: 64px;
}
.how-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; position: relative; transition: transform .25s, border-color .25s;
}
.how-card:hover { transform: translateY(-5px); border-color: rgba(45, 212, 167, 0.35); }
.how-step {
  position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 800;
  color: rgba(140, 163, 184, 0.45);
}
.how-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-dim); color: var(--teal); margin-bottom: 20px;
}
.how-icon svg { width: 27px; height: 27px; }
.how-card h3 { font-size: 20px; margin-bottom: 10px; }
.how-card p { color: var(--muted); font-size: 14.5px; }
.how-arrow { display: grid; place-items: center; color: var(--teal); font-size: 24px; font-weight: 700; }

.pipeline {
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border); border-radius: 100px;
  padding: 16px 30px; width: fit-content; margin: 0 auto;
}
.pipe-node { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pipe-node.pipe-hot { color: var(--red); font-weight: 700; }
.pipe-ico { font-size: 17px; }
.pipe-line {
  width: 46px; height: 2px; margin: 0 14px;
  background: linear-gradient(90deg, var(--teal), transparent 50%, var(--teal));
  background-size: 8px 2px; animation: dash 1s linear infinite;
}
@keyframes dash { to { background-position: 8px 0; } }

/* Bypass section */
.section-bypass {
  background:
    radial-gradient(70% 90% at 80% 20%, rgba(255, 59, 48, 0.09), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.bypass-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.bypass-text h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 18px; }
.bypass-text > p { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.bypass-text strong { color: var(--text); }
.check-list { list-style: none; display: grid; gap: 13px; }
.check-list li {
  position: relative; padding-left: 34px; color: var(--muted); font-size: 15px;
}
.check-list li b { color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: var(--teal-dim); color: var(--teal); font-size: 12px; font-weight: 800;
}
.bypass-visual { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.mode-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; font-weight: 600; font-size: 14.5px; color: var(--muted);
}
.mode-card > span:first-child { font-size: 20px; }
.mode-card.strike { position: relative; overflow: hidden; }
.mode-card.strike::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px;
  background: rgba(255, 90, 60, 0.75); transform: rotate(-4deg);
}
.bypass-arrow { color: var(--red); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.mode-alert {
  width: 100%; background: linear-gradient(135deg, #43110a, #2a0a05);
  border-color: rgba(255, 90, 60, 0.45); color: #fff;
  box-shadow: 0 18px 50px rgba(255, 59, 48, 0.25);
  padding: 20px 22px;
}
.mode-alert b { display: block; font-size: 15.5px; }
.mode-alert small { color: #f0a496; font-weight: 500; }
.siren { animation: shake 2s ease-in-out infinite; font-size: 26px !important; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-5px); border-color: rgba(148, 196, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.feature-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.fi-teal { background: rgba(45, 212, 167, .12); color: var(--teal); }
.fi-red { background: rgba(255, 90, 60, .12); color: var(--red); }
.fi-blue { background: rgba(77, 163, 255, .12); color: var(--blue); }
.fi-green { background: rgba(52, 211, 153, .12); color: var(--green); }
.fi-amber { background: rgba(255, 178, 36, .12); color: var(--amber); }
.fi-purple { background: rgba(167, 139, 250, .12); color: var(--purple); }
.feature-card h3 { font-size: 17.5px; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* App showcase */
.section-app { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.phones-row {
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; align-items: flex-start;
}
.phone-sm { width: 268px; }
.phone-raised { margin-top: -26px; }
.phone-caption { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* Dashboard screen */
.screen-dash { background: linear-gradient(180deg, #0b1622, #0a111b); padding: 42px 14px 14px; gap: 10px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-head small { display: block; color: var(--muted); font-size: 9px; }
.dash-head b { font-size: 13.5px; }
.dash-status { font-size: 9px; font-weight: 800; padding: 4px 9px; border-radius: 20px; }
.dash-status.ok { background: rgba(45, 212, 167, .15); color: var(--teal); }
.dash-risk {
  background: var(--card-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px; text-align: center;
}
.gauge { position: relative; width: 110px; margin: 0 auto; }
.gauge svg { width: 100%; display: block; }
.gauge-val {
  position: absolute; bottom: 2px; left: 0; right: 0;
  font-size: 15px; font-weight: 900; color: var(--teal);
}
.dash-risk small { color: var(--muted); font-size: 9px; }
.dash-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile {
  background: var(--card-2); border: 1px solid var(--border); border-radius: 12px; padding: 9px 11px;
}
.tile small { display: block; color: var(--muted); font-size: 8px; margin-bottom: 2px; }
.tile b { font-size: 15px; }
.tile b i { font-style: normal; font-size: 9px; color: var(--muted); margin-left: 2px; }
.tile .bar { display: block; height: 4px; background: #1b2a3c; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.tile .bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.dash-sensors {
  margin-top: auto; background: var(--card-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 12px; display: flex; align-items: center; gap: 8px;
}
.dash-sensors small { color: var(--muted); font-size: 7.5px; letter-spacing: .08em; }
.dash-sensors b { font-size: 12px; margin-left: auto; }
.online-dots { display: flex; gap: 3px; }
.online-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
.online-dots i:nth-child(2) { animation-delay: .3s; }
.online-dots i:nth-child(3) { animation-delay: .6s; }
.online-dots i:nth-child(4) { animation-delay: .9s; }
.online-dots i:nth-child(5) { animation-delay: 1.2s; }

/* Map screen */
.screen-map { background: #0a1420; padding: 42px 14px 14px; gap: 10px; }
.map-head b { font-size: 14px; display: block; }
.map-head span { font-size: 9.5px; color: var(--muted); }
.map-area {
  position: relative; flex: 1; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(40% 30% at 30% 25%, rgba(255, 59, 48, 0.28), transparent 70%),
    radial-gradient(35% 28% at 62% 44%, rgba(255, 178, 36, 0.22), transparent 70%),
    radial-gradient(38% 30% at 34% 72%, rgba(45, 212, 167, 0.2), transparent 70%),
    linear-gradient(135deg, #10202e, #0c1826);
  border: 1px solid var(--border);
}
.map-contours {
  position: absolute; inset: 0; opacity: .3;
  background:
    repeating-radial-gradient(ellipse 60% 45% at 30% 30%, transparent 0 14px, rgba(148,196,255,.18) 14px 15px),
    repeating-radial-gradient(ellipse 55% 40% at 70% 70%, transparent 0 17px, rgba(148,196,255,.14) 17px 18px);
}
.zone {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 900;
}
.zone-red { background: rgba(255,59,48,.22); border: 2px solid rgba(255,59,48,.8); color: #ff8d7a; animation: pulse-red 2s infinite; }
.zone-amber { background: rgba(255,178,36,.18); border: 2px solid rgba(255,178,36,.75); color: #ffd17a; }
.zone-green { background: rgba(45,212,167,.16); border: 2px solid rgba(45,212,167,.7); color: #7ce8c8; }
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255,59,48,.45); }
  70% { box-shadow: 0 0 0 12px rgba(255,59,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}
.sensor-pin {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 8px rgba(77,163,255,.9);
}
.you-pin {
  position: absolute; font-size: 7.5px; font-weight: 900; color: #fff;
  background: #2563eb; padding: 3px 7px; border-radius: 20px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}
.map-route {
  position: absolute; top: 46%; left: 30%; width: 34%; height: 30%;
  border-left: 2px dashed rgba(255,255,255,.55); border-bottom: 2px dashed rgba(255,255,255,.55);
  border-bottom-left-radius: 20px;
}
.map-legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 8.5px; color: var(--muted); font-weight: 600; }
.map-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg-red { background: var(--red-2); } .lg-amber { background: var(--amber); }
.lg-green { background: var(--teal); } .lg-dot { background: var(--blue); }

/* Alerts screen */
.screen-alerts { background: linear-gradient(180deg, #0b1622, #0a111b); padding: 42px 14px 14px; gap: 9px; }
.al-head b { font-size: 14px; display: block; }
.al-head span { font-size: 9.5px; color: var(--muted); }
.al-item {
  display: flex; gap: 10px; align-items: center;
  border-radius: 12px; padding: 10px 12px; border: 1px solid var(--border);
  background: var(--card-2);
}
.al-item b { font-size: 10.5px; display: block; }
.al-item small { display: block; font-size: 8.5px; line-height: 1.5; color: var(--muted); }
.al-ico { font-size: 15px; }
.al-red { background: rgba(255,59,48,.12); border-color: rgba(255,59,48,.4); }
.al-red b { color: #ff8d7a; }
.al-amber { background: rgba(255,178,36,.09); border-color: rgba(255,178,36,.3); }
.al-amber b { color: #ffc96e; }
.al-yellow b { color: #e8e07a; }
.al-ok b { color: var(--teal); }
.al-safe {
  margin-top: auto; text-align: center; border-radius: 12px; padding: 12px;
  background: linear-gradient(135deg, #0e4636, #0a2f28);
  border: 1px solid rgba(45, 212, 167, 0.4);
}
.al-safe b { display: block; color: var(--teal); font-size: 12px; }
.al-safe small { font-size: 8.5px; color: #7cc7b0; }

/* Sensors */
.sensors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sensor-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; transition: transform .25s, border-color .25s;
}
.sensor-card:hover { transform: translateY(-5px); border-color: rgba(45, 212, 167, 0.3); }
.sensor-emoji { font-size: 38px; display: block; margin-bottom: 14px; }
.sensor-card h3 { font-size: 17px; margin-bottom: 8px; }
.sensor-card p { color: var(--muted); font-size: 14px; }

/* CTA */
.section-cta {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 90, 60, 0.12), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-inner h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; margin-bottom: 16px; }
.cta-inner p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
.store-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: #0b1220; border-radius: 14px; padding: 12px 22px;
  transition: transform .2s, box-shadow .2s; text-align: left;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,255,255,.15); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn small { display: block; font-size: 10.5px; opacity: .65; line-height: 1.2; }
.store-btn b { font-size: 16.5px; }
.cta-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 0 0; background: var(--bg); }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 13.5px; margin-bottom: 14px; letter-spacing: .04em; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 24px; text-align: center;
  color: var(--muted); font-size: 13px;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(8,15,23,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 10px 24px 18px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-sub, .cta-inner p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-phone { margin-top: 30px; }
  .chip-1 { left: 0; } .chip-3 { left: 0; } .chip-2 { right: 0; }
  .how-grid { grid-template-columns: 1fr; }
  .how-arrow { transform: rotate(90deg); padding: 4px 0; }
  .bypass-inner { grid-template-columns: 1fr; gap: 44px; }
  .features-grid, .sensors-grid, .problem-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .phone-raised { margin-top: 0; }
}
@media (max-width: 640px) {
  .nav-inner { gap: 8px; }
  .nav-cta { gap: 6px; }
  .nav-cta > .btn { display: none; }
  .nav-inner .logo { font-size: 18px; gap: 6px; }
  .nav-inner .logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
  .language-switch button { min-width: 32px; padding-inline: 5px; }
  .tilt, .tilt:hover { transform: none; }
  .screen-alert { min-height: 572px; }
  .features-grid, .sensors-grid, .problem-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-stats { gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .floating-chip { display: none; }
  .pipeline { border-radius: 24px; flex-direction: column; gap: 10px; padding: 20px; }
  .pipe-line { width: 2px; height: 22px; margin: 0; }
}
