/* ============================================================
   StormCall — Marketing Site
   Design language pulled straight from the app:
   industrial dark, electric "bolt" blue, Oswald + Public Sans.
   ============================================================ */

:root {
  /* core palette (mirrors the app's :root) */
  --black: #0a0b0d;
  --char: #15171a;
  --char2: #1d2024;
  --char3: #25282d;
  --line: #303338;
  --line-soft: #23262b;
  --brown: #2a2017;
  --brown2: #3a2c1d;
  --brown-line: #4a3826;
  --bolt: #2e9bff;
  --bolt-deep: #1a6dc4;
  --bolt-bright: #5ab4ff;
  --bolt-glow: rgba(46, 155, 255, .25);
  --steel: #7d8794;
  --amber: #d9a441;
  --txt: #d7dce2;
  --txt-soft: #8b929b;
  --txt-faint: #5c626b;
  --hi: #eef2f6;
  --good: #4fb286;
  --red: #c8513f;

  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-d: 'Oswald', system-ui, sans-serif;
  --font-b: 'Public Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; overflow-x: hidden; }
/* `clip` prevents horizontal scroll without creating a scroll container (iOS 16+); falls back to hidden */
@supports (overflow: clip) { html { overflow-x: clip; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  background: var(--black);
  color: var(--txt);
  font-family: var(--font-b);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint CRT scanline overlay — same trick the app uses */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .025;
  background-image: repeating-linear-gradient(0deg, #000 0, #000 1px, transparent 1px, transparent 3px);
}

::selection { background: var(--bolt); color: #04121f; }

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

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bolt);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--bolt);
  box-shadow: 0 0 8px var(--bolt-glow);
}
.eyebrow.amber { color: var(--amber); }
.eyebrow.amber::before { background: var(--amber); box-shadow: none; }

h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 700; color: var(--hi); text-transform: uppercase; letter-spacing: -.5px; line-height: .98; }
.section-title { font-size: clamp(30px, 5vw, 52px); margin: 16px 0 14px; }
.section-title em { color: var(--bolt); font-style: normal; }
.section-sub { color: var(--txt-soft); font-size: clamp(15px, 2vw, 18px); max-width: 560px; line-height: 1.55; }
em.amber { color: var(--amber); font-style: normal; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
section { position: relative; }
.section-pad { padding: clamp(80px, 11vw, 150px) 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  transition: background .3s var(--ease), border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 13, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
  padding: 12px 26px;
}
.nav-brand { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.nav-brand .bolt-mark { width: 26px; height: 26px; color: var(--bolt); filter: drop-shadow(0 0 8px var(--bolt-glow)); }
.nav-brand .wordmark {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 1px;
  color: var(--hi);
  text-transform: uppercase;
}
.nav-brand .wordmark em { color: var(--bolt); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.lk {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--txt-soft);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a.lk::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--bolt);
  box-shadow: 0 0 7px var(--bolt-glow);
  transition: width .28s var(--ease);
}
.nav-links a.lk:hover { color: var(--hi); }
.nav-links a.lk:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: var(--hi); cursor: pointer; padding: 6px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .12s var(--ease), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  position: relative;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--bolt);
  color: #04121f;
  box-shadow: 0 3px 0 var(--bolt-deep), 0 6px 26px var(--bolt-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--bolt-deep), 0 12px 34px var(--bolt-glow); background: var(--bolt-bright); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--bolt-deep); }
.btn-ghost {
  background: rgba(255, 255, 255, .03);
  color: var(--txt);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--bolt); color: var(--hi); transform: translateY(-2px); box-shadow: 0 0 24px var(--bolt-glow); }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
/* storm canvas (rain + lightning) sits behind everything */
#storm-canvas { position: absolute; inset: 0; z-index: -2; opacity: .55; }
/* radial glow + grid floor */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 55% at 50% -8%, var(--bolt-glow), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 110%, rgba(217,164,65,.06), transparent 60%),
    var(--black);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 30%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 30%, #000 35%, transparent 78%);
  opacity: .5;
}
.hero-lightning-flash {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(120,190,255,.5), transparent 60%);
  opacity: 0; pointer-events: none;
  mix-blend-mode: screen;
}

.hero-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(46,155,255,.08);
  border: 1px solid rgba(46,155,255,.28);
  border-radius: 30px;
  padding: 7px 15px 7px 11px;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bolt-bright);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: livepulse 2s infinite; }
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 {
  font-size: clamp(54px, 11vw, 124px);
  line-height: .86;
  letter-spacing: -2px;
  color: var(--hi);
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 em { color: var(--bolt); font-style: normal; position: relative; }
.hero h1 .glow { text-shadow: 0 0 40px var(--bolt-glow); }

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--txt-soft);
  margin: 24px 0 34px;
  max-width: 500px;
  line-height: 1.55;
}
.hero-sub b { color: var(--txt); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--txt-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.hero-note svg { width: 15px; height: 15px; color: var(--good); }

/* phone in hero */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.phone {
  position: relative;
  width: 300px;
  border-radius: 38px;
  padding: 11px;
  background: linear-gradient(160deg, #2a2d33, #101113);
  box-shadow:
    0 50px 90px -30px rgba(0,0,0,.85),
    0 0 0 1px rgba(255,255,255,.05),
    0 0 70px -10px var(--bolt-glow);
}
.phone::before { /* speaker notch */
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 7px;
  background: #000;
  border-radius: 10px;
  z-index: 3;
}
.phone-screen { border-radius: 28px; overflow: hidden; background: var(--black); position: relative; aspect-ratio: 300 / 650; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-visual .phone { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotateY(-9deg) rotateX(2deg); } 50% { transform: translateY(-16px) rotateY(-6deg) rotateX(0deg); } }

/* floating glass chips around phone */
.float-chip {
  position: absolute;
  background: rgba(21,23,26,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  z-index: 4;
}
.float-chip .fc-ico {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--char2); border: 1px solid var(--line);
}
.float-chip .fc-ico svg { width: 19px; height: 19px; }
.float-chip b { font-family: var(--font-d); font-weight: 600; font-size: 14px; color: var(--hi); letter-spacing: .3px; display: block; line-height: 1.1; }
.float-chip span { font-size: 11px; color: var(--txt-faint); }
.float-chip.c1 { top: 8%; left: -42px; animation: floaty2 7s ease-in-out infinite; }
.float-chip.c2 { bottom: 16%; right: -46px; animation: floaty2 7s ease-in-out infinite .8s; }
.float-chip.c3 { bottom: -14px; left: 16px; animation: floaty2 8s ease-in-out infinite 1.4s; }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
.float-chip .fc-ico.blue svg { color: var(--bolt); }
.float-chip .fc-ico.amber svg { color: var(--amber); }
.float-chip .fc-ico.green svg { color: var(--good); }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--txt-faint);
  font-family: var(--font-d); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  z-index: 5;
}
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid var(--line); border-radius: 12px; position: relative; }
.scroll-cue .mouse::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--bolt); border-radius: 2px; animation: scrolldot 1.7s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,12px); } }

/* ---------- scroll progress / lightning bar ---------- */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--bolt-deep), var(--bolt), var(--bolt-bright)); box-shadow: 0 0 12px var(--bolt-glow); }

/* ---------- alert ticker (mirrors the app's amber alert bar) ---------- */
.ticker {
  background: var(--brown);
  border-top: 1px solid var(--brown-line);
  border-bottom: 1px solid var(--brown-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 46px;
  position: relative;
}
.ticker .tk-tag {
  flex-shrink: 0;
  height: 100%;
  display: flex; align-items: center; gap: 7px;
  background: var(--amber);
  color: #1c1407;
  font-family: var(--font-d); font-weight: 700; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0 16px;
  z-index: 2;
}
.ticker .tk-tag svg { width: 16px; height: 16px; }
.ticker-track { display: flex; gap: 46px; white-space: nowrap; animation: tkscroll 38s linear infinite; padding-left: 46px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-d); font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 9px;
}
.ticker-track span::before { content: '⚡'; color: var(--bolt); font-size: 11px; }
@keyframes tkscroll { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, #0c0e10, var(--black)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 26px; text-align: center; border-right: 1px solid var(--line-soft); position: relative; }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-d); font-weight: 700; font-size: clamp(38px, 5vw, 58px); color: var(--hi); line-height: 1; letter-spacing: -1px; }
.stat .num em { color: var(--bolt); font-style: normal; }
.stat .lbl { font-family: var(--font-d); font-weight: 500; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--txt-soft); margin-top: 12px; }

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.problem { text-align: center; }
.problem .big-quote {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 64px);
  line-height: 1.02;
  color: var(--hi);
  text-transform: uppercase;
  max-width: 900px;
  margin: 22px auto 0;
  letter-spacing: -1px;
}
.problem .big-quote .strike { color: var(--txt-faint); position: relative; white-space: nowrap; }
.problem .big-quote .strike::after { content: ''; position: absolute; left: -2%; top: 52%; width: 104%; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; border-radius: 3px; }
.problem .big-quote .strike.cut::after { animation: strikeIn .6s var(--ease) forwards; }
@keyframes strikeIn { to { transform: scaleX(1); } }
.problem .big-quote em { color: var(--bolt); font-style: normal; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; margin-top: 60px; text-align: left; }
/* min-width:0 lets the 1fr tracks shrink below their content on narrow screens
   (otherwise grid items default to min-width:auto and overflow off the right edge) */
.compare .col { min-width: 0; background: var(--char); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.compare .col.old { opacity: .85; }
.compare .col.new { border-color: rgba(46,155,255,.4); box-shadow: 0 0 40px -16px var(--bolt-glow); background: linear-gradient(170deg, #16191d, #111315); }
.compare .col h4 { font-size: 16px; letter-spacing: 1px; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.compare .col.old h4 { color: var(--txt-soft); }
.compare .col.new h4 { color: var(--bolt); }
.compare .col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare .col li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--txt); line-height: 1.45; }
.compare .col li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.compare .col.old li svg { color: var(--red); }
.compare .col.new li svg { color: var(--good); }
.compare .vs { display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 700; color: var(--txt-faint); font-size: 14px; letter-spacing: 2px; }
.compare .vs span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--char); }

/* ============================================================
   FEATURES
   ============================================================ */
.feat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.fcard::before { /* hover spotlight following cursor */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(46,155,255,.1), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.fcard:hover { transform: translateY(-6px); border-color: rgba(46,155,255,.45); box-shadow: 0 24px 50px -28px rgba(0,0,0,.9), 0 0 36px -18px var(--bolt-glow); }
.fcard:hover::before { opacity: 1; }
.fcard.wide { grid-column: span 2; }
.fcard .f-ico {
  width: 52px; height: 52px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--char2); border: 1px solid var(--line);
  color: var(--bolt); margin-bottom: 20px;
  transition: transform .35s var(--ease), background .35s;
}
.fcard:hover .f-ico { transform: scale(1.08) rotate(-4deg); background: rgba(46,155,255,.12); }
.fcard .f-ico svg { width: 27px; height: 27px; }
.fcard.amber .f-ico { color: var(--amber); }
.fcard.green .f-ico { color: var(--good); }
.fcard h3 { font-size: 21px; letter-spacing: .3px; margin-bottom: 9px; }
.fcard p { color: var(--txt-soft); font-size: 14.5px; line-height: 1.55; }
.fcard .f-tag { position: absolute; top: 22px; right: 22px; font-family: var(--font-d); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--good); border: 1px solid rgba(79,178,134,.4); padding: 3px 8px; border-radius: 5px; background: rgba(79,178,134,.07); }

/* ============================================================
   SHOWCASE — interactive phone with tab switcher
   ============================================================ */
.showcase { background: linear-gradient(180deg, var(--black), #0c0e11 50%, var(--black)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.showcase-inner { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.showcase-tabs { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.sc-tab {
  display: flex; align-items: center; gap: 16px;
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  transition: border-color .3s, background .3s, transform .2s;
  position: relative;
  overflow: hidden;
}
.sc-tab:hover { border-color: var(--line); transform: translateX(4px); }
.sc-tab.active { border-color: var(--bolt); background: var(--char2); }
.sc-tab.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bolt); box-shadow: 0 0 12px var(--bolt-glow); }
.sc-tab .sc-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--char3); border: 1px solid var(--line); color: var(--steel); transition: color .3s, background .3s; }
.sc-tab.active .sc-ico { color: var(--bolt); background: rgba(46,155,255,.1); }
.sc-tab .sc-ico svg { width: 23px; height: 23px; }
.sc-tab .sc-txt b { font-family: var(--font-d); font-weight: 600; font-size: 17px; letter-spacing: .4px; color: var(--hi); text-transform: uppercase; display: block; }
.sc-tab .sc-txt span { font-size: 13.5px; color: var(--txt-soft); line-height: 1.4; }
.sc-tab .sc-prog { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--bolt); }
.sc-tab.active .sc-prog { animation: tabprog 6s linear forwards; }
@keyframes tabprog { to { width: 100%; } }

.showcase-phone { display: flex; justify-content: center; }
.showcase-phone .phone { width: 340px; animation: none; }
.showcase-phone .phone-screen img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: scale(1.04); }
.showcase-phone .phone-screen img.on { opacity: 1; transform: scale(1); position: relative; }

/* ============================================================
   WEATHER / RADAR band
   ============================================================ */
.radar-band { overflow: hidden; }
.radar-inner { display: grid; grid-template-columns: 420px 1fr; gap: 70px; align-items: center; }
.radar-stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.radar {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,155,255,.05), transparent 70%);
  border: 1px solid var(--line);
}
.radar .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-soft); }
.radar .ring.r2 { inset: 18%; }
.radar .ring.r3 { inset: 36%; }
.radar .ring.r4 { inset: 54%; }
.radar .cross-h, .radar .cross-v { position: absolute; background: var(--line-soft); }
.radar .cross-h { left: 0; right: 0; top: 50%; height: 1px; }
.radar .cross-v { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(46,155,255,.02) 280deg, rgba(46,155,255,.28) 350deg, rgba(90,180,255,.55) 360deg); animation: radarspin 4s linear infinite; }
@keyframes radarspin { to { transform: rotate(360deg); } }
.radar .blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); transform: translate(-50%, -50%); }
.radar .blip.b1 { top: 32%; left: 64%; animation: blip 4s infinite; }
.radar .blip.b2 { top: 60%; left: 40%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: blip 4s infinite 1.3s; }
.radar .blip.b3 { top: 46%; left: 72%; animation: blip 4s infinite 2.6s; }
@keyframes blip { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.radar .center-bolt { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; color: var(--bolt); filter: drop-shadow(0 0 10px var(--bolt-glow)); }

.wx-list { display: flex; flex-direction: column; gap: 11px; margin-top: 30px; max-width: 460px; }
.wx-row { display: flex; align-items: center; gap: 14px; background: var(--char); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; padding: 13px 15px; }
.wx-row.amber { border-left-color: var(--amber); }
.wx-row .wx-st { font-family: var(--font-d); font-weight: 700; font-size: 26px; color: var(--hi); width: 48px; }
.wx-row .wx-body b { font-family: var(--font-d); font-weight: 600; font-size: 14px; letter-spacing: .3px; color: var(--hi); text-transform: uppercase; display: block; }
.wx-row .wx-body span { font-size: 12.5px; color: var(--txt-soft); }
.wx-row .wx-sev { margin-left: auto; font-family: var(--font-d); font-weight: 700; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1.5px solid var(--red); color: var(--red); }
.wx-row.amber .wx-sev { border-color: var(--amber); color: var(--amber); }

/* ============================================================
   YARD feed
   ============================================================ */
.yard-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.yard-feed { display: flex; flex-direction: column; gap: 12px; }
.yard-post { background: var(--char); border: 1px solid var(--line); border-radius: 10px; padding: 15px; transition: border-color .3s, transform .3s; }
.yard-post:hover { border-color: rgba(46,155,255,.35); transform: translateX(5px); }
.yard-post .yp-head { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.yard-post .ava { width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 700; font-size: 15px; color: #fff; }
.yard-post .yp-name { font-family: var(--font-d); font-weight: 600; font-size: 15px; color: var(--hi); letter-spacing: .3px; }
.yard-post .yp-meta { font-size: 11px; color: var(--txt-faint); }
.yard-post .yp-body { font-size: 14px; color: var(--txt); line-height: 1.5; }
.yard-post .yp-acts { display: flex; gap: 18px; margin-top: 11px; }
.yard-post .yp-acts button { background: none; border: none; color: var(--txt-faint); font-size: 12.5px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: var(--font-b); transition: color .2s; }
.yard-post .yp-acts button svg { width: 15px; height: 15px; }
.yard-post .yp-acts button:hover { color: var(--bolt); }
.yard-post .yp-acts button.liked { color: var(--bolt); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { text-align: center; }
.price-card-wrap { max-width: 460px; margin: 50px auto 0; }
.pcard {
  background: linear-gradient(165deg, var(--brown2), var(--brown));
  border: 2px solid var(--bolt);
  border-radius: 18px;
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px -20px var(--bolt-glow);
}
.pcard .ribbon { position: absolute; top: 22px; right: -42px; transform: rotate(45deg); background: var(--bolt); color: #04121f; font-family: var(--font-d); font-weight: 700; font-size: 11px; letter-spacing: 1px; padding: 6px 50px; text-transform: uppercase; }
.pcard .ptag { font-family: var(--font-d); font-weight: 500; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); }
.pcard .pbig { font-family: var(--font-d); font-weight: 700; font-size: 78px; line-height: 1; color: var(--hi); margin: 8px 0; }
.pcard .pbig small { font-size: 26px; color: var(--txt-soft); font-weight: 500; }
.pcard .pfree { color: var(--bolt); font-weight: 700; font-family: var(--font-d); font-size: 19px; letter-spacing: .5px; margin-top: 6px; text-transform: uppercase; }
.pcard .pnote { color: var(--txt-faint); font-size: 13px; margin-top: 6px; }
.pcard .incl { list-style: none; margin: 26px 0; text-align: left; }
.pcard .incl li { display: flex; gap: 12px; align-items: center; padding: 11px 0; font-size: 14.5px; color: var(--txt); border-bottom: 1px solid rgba(74,56,38,.7); }
.pcard .incl li:last-child { border-bottom: none; }
.pcard .incl li svg { width: 19px; height: 19px; color: var(--bolt); flex-shrink: 0; }
.pcard .btn { width: 100%; justify-content: center; }
.pcard .pfine { font-size: 12px; color: var(--txt-faint); margin-top: 16px; line-height: 1.5; }

/* ============================================================
   INSTALL / PWA
   ============================================================ */
.install-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.install-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.istep { display: flex; gap: 18px; align-items: flex-start; }
.istep .num { width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; background: var(--char2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 700; color: var(--bolt); font-size: 17px; }
.istep b { font-family: var(--font-d); font-weight: 600; font-size: 16px; color: var(--hi); letter-spacing: .3px; text-transform: uppercase; display: block; margin-bottom: 3px; }
.istep p { color: var(--txt-soft); font-size: 14px; line-height: 1.5; }
.badges { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.store-badge { display: flex; align-items: center; gap: 12px; background: var(--char); border: 1px solid var(--line); border-radius: 11px; padding: 11px 18px; transition: border-color .25s, transform .25s; cursor: pointer; }
.store-badge:hover { border-color: var(--bolt); transform: translateY(-3px); box-shadow: 0 0 26px -10px var(--bolt-glow); }
.store-badge svg { width: 27px; height: 27px; color: var(--hi); }
.store-badge .sb-txt span { font-size: 10px; color: var(--txt-faint); display: block; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-d); }
.store-badge .sb-txt b { font-family: var(--font-d); font-weight: 600; font-size: 16px; color: var(--hi); letter-spacing: .3px; }

.install-visual { display: flex; justify-content: center; }
.install-visual .iconbig {
  width: 200px; height: 200px; border-radius: 44px;
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.8), 0 0 80px -20px var(--bolt-glow);
  position: relative;
  animation: floaty 6s ease-in-out infinite;
}
.install-visual .iconbig::after { content: ''; position: absolute; inset: -3px; border-radius: 46px; background: linear-gradient(135deg, var(--bolt), transparent 60%); z-index: -1; opacity: .5; filter: blur(14px); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 50% 120%, var(--bolt-glow), transparent 60%); }
.cta-band h2 { font-size: clamp(34px, 6.5vw, 80px); line-height: .95; margin-bottom: 22px; }
.cta-band h2 em { color: var(--bolt); font-style: normal; }
.cta-band .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); padding: 60px 0 40px; background: #0b0c0e; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .f-brand .nav-brand { margin-bottom: 16px; }
.footer .f-brand p { color: var(--txt-soft); font-size: 14px; line-height: 1.6; max-width: 300px; }
.footer .f-col h5 { font-family: var(--font-d); font-weight: 600; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--txt-soft); margin-bottom: 16px; }
.footer .f-col a { display: block; color: var(--txt-faint); font-size: 14px; padding: 6px 0; transition: color .2s, padding-left .2s; }
.footer .f-col a:hover { color: var(--bolt); padding-left: 5px; }
.footer-bot { border-top: 1px solid var(--line-soft); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bot p { font-size: 12.5px; color: var(--txt-faint); line-height: 1.5; }
.footer-bot .f-social { display: flex; gap: 12px; }
.footer-bot .f-social a { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--txt-soft); transition: all .25s; }
.footer-bot .f-social a:hover { border-color: var(--bolt); color: var(--bolt); transform: translateY(-3px); }
.footer-bot .f-social a svg { width: 18px; height: 18px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-copy { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .hero-visual { order: -1; }
  .showcase-inner, .radar-inner, .yard-inner, .install-inner { grid-template-columns: 1fr; gap: 44px; }
  .radar-inner .radar-stage { order: -1; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .fcard.wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .compare { grid-template-columns: 1fr; }
  .compare .vs { padding: 8px 0; }
  .showcase-phone { order: -1; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; background: rgba(13,14,17,.98); backdrop-filter: blur(10px); padding: 40px; transform: translateX(110%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; border-left: 1px solid var(--line); will-change: transform; }
  .nav-links.open { transform: translateX(0); visibility: visible; }
  .nav-links a.lk { font-size: 18px; }
  .nav-toggle { display: block; z-index: 110; }
  /* heavy backdrop blur on scroll flickers on phones — use a near-solid bg instead */
  .nav.scrolled { background: rgba(10,11,13,.94); backdrop-filter: blur(6px); }
  .feat-grid { grid-template-columns: 1fr; }
  .fcard.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .float-chip.c1 { left: -10px; top: 2%; }
  .float-chip.c2 { right: -10px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer .f-brand { grid-column: span 2; }
  .section-pad { padding: 70px 0; }
  .hero h1 { letter-spacing: -1px; }
}
@media (max-width: 420px) {
  .wrap, .hero-inner { padding-left: 18px; padding-right: 18px; }
  .phone { width: 260px !important; }
  .float-chip { display: none; }
}

/* ============================================================
   MOBILE PERFORMANCE PASS (<=820px)
   Phones choke on continuous decorative animations — especially the
   rotating conic-gradient radar sweep and the 3D-transform float loops.
   We stop those here (one-time scroll reveals + the ticker stay).
   ============================================================ */
@media (max-width: 820px) {
  /* kill the expensive infinite loops */
  .hero-visual .phone,
  .install-visual .iconbig,
  .float-chip,
  .radar .sweep,
  .radar .blip { animation: none !important; }

  /* the rotating sweep is the worst offender — show a cheap static glow instead */
  .radar .sweep {
    background: conic-gradient(from 300deg, transparent 0deg, rgba(46,155,255,.22) 55deg, rgba(90,180,255,.45) 60deg, transparent 61deg);
  }
  /* the hero phone sat at a 3D angle via the float keyframe; reset it flat */
  .hero-visual .phone { transform: none; }

  /* trim compositor load: drop the heavy multi-layer shadows/glows on phones */
  .phone { box-shadow: 0 24px 50px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.05); }
  .fcard:hover { transform: none; }
  .install-visual .iconbig::after { display: none; }

  /* showcase: cross-fade only (no scaling a big screenshot), no layout-animating progress bar */
  .showcase-phone .phone-screen img { transition: opacity .35s ease; transform: none; }
  .sc-tab.active .sc-prog { animation: none; }
}
/* extra guard: anyone who asked for reduced motion gets nothing animated */
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .radar .sweep, .radar .blip, .hero-visual .phone, .install-visual .iconbig, .scroll-cue .mouse::before { animation: none !important; }
}
