/* ==========================================================================
   ARBORSTRIDE AI - DESIGN SYSTEM & STYLESHEET
   Lush Botanical Theme (Deep Forest Obsidian, Emerald & Solar Amber)
   Hierarchy & Interaction Patterns Inspired by StepFree Navigator
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-abyss: #07130e;
  --bg-deep: #0b1a14;
  --bg-card: #0e241c;
  --bg-card-hover: #133026;
  --bg-glass: rgba(11, 26, 20, 0.82);
  --bg-glass-card: rgba(14, 36, 28, 0.65);
  
  --emerald: #10b981;
  --emerald-neon: #00f076;
  --emerald-glow: rgba(0, 240, 118, 0.22);
  
  --solar-amber: #f59e0b;
  --solar-gold: #fbbf24;
  --solar-glow: rgba(245, 158, 11, 0.20);
  
  --cyan-dew: #06b6d4;
  --heat-crimson: #f43f5e;
  
  --border-subtle: rgba(16, 185, 129, 0.15);
  --border-glow: rgba(0, 240, 118, 0.28);
  --border-card: rgba(255, 255, 255, 0.08);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-emerald: #34d399;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 25px rgba(0, 240, 118, 0.12);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-abyss);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1440px, 100% - 96px);
  min-height: 94px;
  margin: 0 auto;
  display: grid;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.brand {
  letter-spacing: -0.035em;
  justify-self: start;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 1.15rem;
  font-weight: 800;
  display: inline-flex;
  color: #fff;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 240, 118, 0.4);
}

.nav-links {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(6, 24, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  align-items: center;
  gap: 34px;
  padding: 12px 26px;
  display: flex;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 650;
  transition: color 0.18s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-action {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  justify-self: end;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  font-size: 0.86rem;
  font-weight: 750;
  color: #fff;
  display: inline-flex;
  transition: all 0.18s ease;
}

.nav-action:hover {
  border-color: var(--emerald-neon);
  background: var(--emerald-neon);
  color: #04140b;
  box-shadow: 0 0 24px rgba(0, 240, 118, 0.4);
}

/* ==========================================================================
   HERO SECTION (StepFree Hierarchy & Arrangement)
   ========================================================================== */
.hero-shell {
  isolation: isolate;
  background: #06150f;
  color: #fff;
  height: 100svh;
  min-height: 640px;
  max-height: 1080px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 52% center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.02);
  animation: 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both hero-settle;
}

/* The hero wash keeps the background vividly visible like StepFree */
.hero-wash {
  z-index: -2;
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(6, 22, 16, 0.82) 0%, rgba(6, 22, 16, 0.62) 38%, rgba(6, 22, 16, 0.12) 65%, rgba(6, 22, 16, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 22, 16, 0.32) 0%, transparent 22%, transparent 75%, rgba(6, 22, 16, 0.90) 100%);
}

.hero-content {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  width: min(1360px, 100% - 96px);
  height: 100%;
  margin: 0 auto;
  padding: clamp(86px, 11vh, 110px) 0 clamp(64px, 8vh, 80px);
  display: grid;
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-copy {
  max-width: 730px;
  animation: 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both rise;
}

.eyebrow-pill {
  color: rgba(255, 255, 255, 0.88);
  min-height: 30px;
  font-family: var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(7, 28, 25, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 0.7rem;
  font-weight: 650;
  display: inline-flex;
  margin-bottom: clamp(10px, 1.8vh, 18px);
}

.eyebrow-pill span {
  background: var(--emerald-neon);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 5px rgba(0, 240, 118, 0.2);
}

.hero-copy h1 {
  letter-spacing: -0.07em;
  text-wrap: balance;
  max-width: 720px;
  margin: 0 0 clamp(10px, 1.8vh, 18px);
  font-size: clamp(2.6rem, 4.3vw, 5.2rem);
  font-weight: 700;
  line-height: 0.93;
  color: #ffffff;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin: 0;
  font-size: clamp(0.92rem, 1.1vw, 1.12rem);
  line-height: 1.5;
}

.hero-actions {
  align-items: center;
  gap: 20px;
  margin-top: clamp(16px, 2.5vh, 28px);
  display: flex;
  flex-wrap: wrap;
}

.primary-button {
  background: var(--emerald-neon);
  min-height: 52px;
  color: #071c19;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.18s, box-shadow 0.18s;
  display: inline-flex;
  box-shadow: 0 10px 28px rgba(0, 240, 118, 0.28);
  text-decoration: none;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 240, 118, 0.45);
  background: #25f889;
}

.text-button {
  color: #fff;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  text-decoration: none;
  transition: color 0.18s;
}

.text-button:hover {
  color: var(--emerald-neon);
}

/* Aside Live Incident Card (Light Cream Glass, StepFree Style) */
.incident-card {
  width: min(100%, 380px);
  color: #071c19;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  place-self: end;
  align-self: end;
  margin-bottom: clamp(12px, 2vh, 28px);
  padding: 18px 20px;
  animation: 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.36s both rise;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.incident-topline {
  color: #6b7774;
  font-family: var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
}

.incident-topline > span:last-child {
  margin-left: auto;
}

.status-dot {
  background: var(--coral);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.15);
}

.status-dot.is-clear {
  background: #00ca60;
  box-shadow: 0 0 0 5px rgba(0, 202, 96, 0.18);
}

.incident-place {
  border-bottom: 1px solid rgba(7, 28, 25, 0.12);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-bottom: 14px;
  display: flex;
}

.line-symbol {
  color: #fff;
  background: #0d824c;
  border-radius: 50%;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-size: 1.05rem;
  display: inline-flex;
  box-shadow: 0 4px 12px rgba(13, 130, 76, 0.22);
}

.incident-place div:last-child {
  gap: 3px;
  display: grid;
}

.incident-place strong {
  font-size: 0.96rem;
  color: #071c19;
  font-weight: 800;
}

.incident-place span {
  color: #63706d;
  font-size: 0.74rem;
}

.incident-message {
  color: #0c683c;
  background: rgba(0, 202, 96, 0.12);
  border: 1px solid rgba(0, 202, 96, 0.22);
  border-radius: 14px;
  align-items: center;
  gap: 11px;
  margin: 12px 0;
  padding: 12px 14px;
  display: flex;
}

.incident-message svg {
  width: 18px;
  height: 18px;
  color: #0a9952;
  flex-shrink: 0;
}

.incident-message div {
  gap: 2px;
  display: grid;
}

.incident-message strong {
  font-size: 0.82rem;
  color: #064e2b;
  font-weight: 800;
}

.incident-message span {
  font-size: 0.72rem;
  color: #245c3f;
}

.incident-footer {
  justify-content: space-between;
  gap: 18px;
  font-size: 0.74rem;
  font-weight: 720;
  display: flex;
  color: #071c19;
}

.incident-footer span:last-child {
  color: #0a9952;
  font-weight: 800;
}

/* Hero Bottom Bar (StepFree Style) */
.hero-footer {
  color: rgba(255, 255, 255, 0.62);
  width: min(1360px, 100% - 96px);
  height: 56px;
  min-height: 56px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  font-size: 0.67rem;
  font-weight: 650;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-footer-line {
  background: rgba(255, 255, 255, 0.28);
  width: 42px;
  height: 1px;
}

/* ==========================================================================
   PLANNER SECTION
   ========================================================================== */
.planner-section {
  padding: 80px 40px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-kicker {
  color: var(--emerald-neon);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: 2.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.planner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.mode-selector-tabs {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  border: 1px solid var(--border-card);
}

.mode-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition);
}

.mode-tab.is-active {
  background: var(--emerald-neon);
  color: #04120b;
  box-shadow: 0 0 14px var(--emerald-glow);
}

.duration-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.duration-pill {
  padding: 10px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.duration-pill .dur-main {
  font-weight: 700;
  font-size: 0.95rem;
}

.duration-pill .dur-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.duration-pill:hover, .duration-pill.is-active {
  background: rgba(0, 240, 118, 0.12);
  border-color: var(--emerald-neon);
  color: var(--emerald-neon);
}

.duration-pill.is-active .dur-sub {
  color: #a7f3d0;
}

.planner-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.input-shell input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1rem;
  width: 100%;
}

.input-connector {
  color: var(--emerald-neon);
  font-size: 1.2rem;
}

.submit-route-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald-neon);
  color: #04120b;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 20px var(--emerald-glow);
}

.submit-route-button:hover {
  transform: translateY(-2px);
  background: #23f787;
}

.planner-trust-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.planner-trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   STORY SECTION (#story)
   ========================================================================== */
.story-section {
  padding: 100px 40px;
  background: var(--bg-abyss);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 40px;
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  padding-left: 32px;
  border-left: 2px dashed rgba(16, 185, 129, 0.2);
}

.timeline-step {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -41px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-abyss);
  border: 2px solid var(--emerald);
}

.timeline-step.alert .timeline-dot {
  border-color: var(--solar-amber);
  background: var(--solar-amber);
}

.timeline-step.success .timeline-dot {
  border-color: var(--emerald-neon);
  background: var(--emerald-neon);
}

.timeline-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald-neon);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Mobile Mockup Phone */
.mock-phone {
  background: #091711;
  border: 3px solid rgba(16, 185, 129, 0.3);
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

.phone-screen {
  background: #050e0a;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 480px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.phone-map-view {
  flex-grow: 1;
  background: #0b1a14;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-route-line {
  position: absolute;
  width: 75%;
  height: 120px;
  border: 4px solid var(--emerald-neon);
  border-radius: 60px 20px 50px 30px;
  filter: drop-shadow(0 0 8px var(--emerald-neon));
}

.phone-bottom-sheet {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}

.sheet-badge {
  display: inline-block;
  background: rgba(0, 240, 118, 0.15);
  color: var(--emerald-neon);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

/* ==========================================================================
   SYSTEM WORKFLOW CARDS (#system)
   ========================================================================== */
.system-section {
  padding: 100px 40px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.workflow-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.card-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--emerald-neon);
  margin-bottom: 16px;
}

.workflow-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.workflow-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.workflow-card.emerald { border-top: 3px solid var(--emerald-neon); }
.workflow-card.amber   { border-top: 3px solid var(--solar-amber); }
.workflow-card.cyan    { border-top: 3px solid var(--cyan-dew); }
.workflow-card.coral   { border-top: 3px solid var(--heat-crimson); }

/* ==========================================================================
   PRINCIPLES SECTION (#principles)
   ========================================================================== */
.principles-section {
  padding: 100px 40px;
  background: var(--bg-abyss);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.principle-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.principle-item h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--emerald-neon);
}

.principle-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CLOSING ORBITAL SECTION & FOOTER
   ========================================================================== */
.closing-section {
  position: relative;
  padding: 120px 40px;
  text-align: center;
  background: var(--bg-deep);
  overflow: hidden;
}

.closing-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.closing-orbit.outer {
  width: 900px;
  height: 900px;
  border-color: rgba(16, 185, 129, 0.08);
}

.site-footer {
  padding: 60px 40px;
  background: var(--bg-abyss);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.site-footer-brand strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.site-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: var(--emerald-neon);
}

/* ==========================================================================
   NAVIGATOR VIEW (/navigate) - SPLIT INTERACTIVE SCREEN
   ========================================================================== */
.navigator-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000000;
}

.navigator-topbar {
  height: 60px;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1100;
  flex-shrink: 0;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.topbar-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.topbar-brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.topbar-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.topbar-live-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

.topbar-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.topbar-account-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.navigator-main {
  flex-grow: 1;
  position: relative;
  width: 100vw;
  height: calc(100vh - 60px);
  overflow: hidden;
}

.map-container-shell {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #e2e8f0;
}

#map {
  width: 100%;
  height: 100%;
}

/* StepFree Floating Left Panel */
.stepfree-floating-panel {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 1000;
  width: 420px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 100px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 24px;
  overflow-y: auto;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.stepfree-floating-panel::-webkit-scrollbar {
  width: 6px;
}
.stepfree-floating-panel::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

/* Mode Switcher Tabs */
.stepfree-mode-tabs {
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
}

.stepfree-mode-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stepfree-mode-tab.is-active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Card Header */
.stepfree-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.stepfree-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.15;
}

.stepfree-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px 0;
  line-height: 1.45;
}

/* Stacked Location Input Boxes */
.stepfree-location-box {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.stepfree-location-box:hover {
  border-color: #94a3b8;
}

.stepfree-location-box.is-active {
  border-color: #0f172a;
  box-shadow: 0 0 0 1px #0f172a;
}

.stepfree-ring-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #84cc16;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stepfree-ring-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #84cc16;
}

.stepfree-loc-texts {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stepfree-loc-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
}

.stepfree-loc-value {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

/* Locate Me Button */
.stepfree-locate-btn {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  margin-bottom: 18px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.stepfree-locate-btn:hover {
  opacity: 0.75;
}

/* Duration & Activity options */
.stepfree-duration-wrap {
  margin-bottom: 18px;
}

.stepfree-duration-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.stepfree-dur-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.stepfree-dur-pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.stepfree-dur-pill.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.stepfree-activity-radios {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

/* Find Route Button (Lime Pill) */
.stepfree-find-btn {
  background: #d9f99d;
  color: #0f172a;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  border-radius: 12px;
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.stepfree-find-btn:hover {
  background: #bef264;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(163, 230, 53, 0.3);
}

.stepfree-find-btn:active {
  transform: translateY(0);
}

/* Floating Top Center Map Banner */
.stepfree-map-prompt {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Tile Switcher (Top Right) */
.stepfree-tile-controls {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 4px;
  background: #ffffff;
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.stepfree-tile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stepfree-tile-btn.is-active {
  background: #0f172a;
  color: #ffffff;
}

/* Results Dashboard Cards (DS Designs influence) */
.results-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 16px;
}

.stat-widget-card {
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
}

.stat-widget-card.cool-green {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.stat-widget-card.cool-green .stat-val {
  color: #15803d;
}

.stat-widget-card.amber-shade {
  background: #fefce8;
  border-color: #fef08a;
}

.stat-widget-card.amber-shade .stat-val {
  color: #a16207;
}

.stat-widget-card.dark-ai {
  grid-column: span 2;
  background: #0f172a;
  color: #ffffff;
  border-color: #1e293b;
}

.stat-widget-card .stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 4px;
}

.stat-widget-card.dark-ai .stat-label {
  color: #94a3b8;
}

.stat-widget-card .stat-val {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-widget-card.dark-ai .stat-val {
  color: #38bdf8;
  font-size: 15px;
}

.gemma-callout-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.gemma-callout-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.gemma-callout-text {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Maneuvers & Steps */
.stepfree-maneuvers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.stepfree-maneuver-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.stepfree-maneuver-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.stepfree-step-badge {
  width: 26px;
  height: 26px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stepfree-step-content {
  flex-grow: 1;
}

.stepfree-step-content strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.stepfree-step-content small {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.stepfree-step-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 4px;
}

.pocket-mode-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.pocket-pulse-leaf {
  width: 90px;
  height: 90px;
  margin-bottom: 30px;
  animation: pulse 3s infinite;
}

.pocket-audio-display {
  background: #0c1a14;
  border: 1px solid var(--border-glow);
  padding: 24px;
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin-bottom: 30px;
}

.pocket-exit-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.9rem;
}

/* ==============================================================================
   RESPONSIVE DESIGN SYSTEM (Mobile First & Adaptive Breakpoints)
   ============================================================================== */

/* Base Overflow & Viewport Control */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.mobile-map-toggle {
  display: none;
}

.mobile-sheet-bar {
  display: none;
}

/* Tablet & Smaller Laptops (<= 1080px) */
@media (max-width: 1080px) {
  .site-nav {
    grid-template-columns: 1fr auto;
    width: calc(100% - 40px);
    padding: 10px 18px;
  }
  .nav-links {
    display: none;
  }
  .hero-content {
    grid-template-columns: 1fr 340px;
    gap: 28px;
    width: calc(100% - 56px);
  }
  .hero-copy h1 {
    font-size: clamp(3.2rem, 7vw, 5.2rem);
  }
  .hero-footer {
    width: calc(100% - 56px);
  }
}

/* Tablet & Mobile Screens (<= 820px) */
@media (max-width: 820px) {
  .hero-shell {
    min-height: auto;
    max-height: none;
    height: auto;
    padding-bottom: 60px;
  }
  .hero-wash {
    background: linear-gradient(180deg, rgba(6, 22, 16, 0.90) 0%, rgba(6, 22, 16, 0.82) 40%, rgba(6, 22, 16, 0.96) 100%);
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: calc(100% - 32px);
    padding: 100px 0 40px;
  }
  .incident-card {
    align-self: stretch;
    width: 100%;
    margin: 24px 0 0;
  }
  .hero-footer {
    position: relative;
    width: calc(100% - 32px);
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
  }
  .hero-footer-line {
    display: none;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mock-phone {
    max-width: 320px;
    margin: 0 auto;
  }
  .workflow-grid,
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Mobile Devices & Phones (<= 768px) */
@media (max-width: 768px) {
  /* Site Navigation */
  .site-nav {
    width: calc(100% - 24px);
    top: 12px;
    padding: 8px 14px;
    border-radius: 9999px;
  }
  .brand-icon {
    width: 26px;
    height: 26px;
  }
  .brand span {
    font-size: 0.95rem;
  }
  .nav-action {
    padding: 8px 14px;
    font-size: 0.8rem;
    gap: 6px;
  }

  /* Hero Section */
  .hero-copy h1 {
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    line-height: 1.12;
    margin-bottom: 16px;
  }
  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .primary-button, .text-button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* Planner Inputs - Responsive Fixes (Screenshot 1) */
  .planner-card {
    padding: 20px 16px;
    border-radius: 18px;
    box-sizing: border-box;
    width: 100%;
  }

  /* Segmented control for mode selector tabs */
  .mode-selector-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 18px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-card);
  }

  .mode-tab {
    width: 100%;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
  }

  /* Duration pills: 3 equal, balanced responsive cards */
  .duration-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .duration-pill {
    padding: 10px 4px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }

  .duration-pill .dur-main {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .duration-pill .dur-sub {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  /* Planner Inputs: full-width stacked column (fixes crushed [• E] [• 3] inputs!) */
  .planner-inputs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .planner-inputs .input-shell {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .planner-inputs .input-shell input {
    width: 100%;
    font-size: 0.95rem;
    background: transparent;
  }

  .planner-inputs .input-connector {
    display: none;
  }

  .submit-route-button {
    width: 100%;
    min-height: 52px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 20px;
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: var(--radius-md);
  }

  .planner-trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
  }

  /* Site Footer Responsive (Screenshot 2) */
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 40px 20px 48px;
    width: 100%;
    box-sizing: border-box;
  }

  .site-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .site-footer-note {
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
  }

  .site-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  /* -------------------------------------------------------------
     LIVE MAP NAVIGATOR MOBILE BOTTOM SHEET & SPLIT UI (Screenshot 3)
     ------------------------------------------------------------- */
  .navigator-topbar {
    height: 54px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
  }

  .topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .topbar-brand-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    flex-shrink: 0;
  }

  .topbar-brand-name {
    font-size: 0.98rem;
    font-weight: 700;
    white-space: nowrap;
  }

  /* Hide live pulse badge on mobile: gives breathing space to brand name & buttons */
  .topbar-live-badge {
    display: none !important;
  }

  .topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .topbar-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 9999px;
  }

  /* Map Container */
  .map-container-shell {
    height: calc(100vh - 52px);
    top: 52px;
  }

  /* Tile Switchers on Mobile */
  .stepfree-tile-controls {
    top: 10px;
    right: 10px;
    padding: 3px;
    border-radius: 8px;
    gap: 2px;
  }
  .stepfree-tile-btn {
    padding: 4px 8px;
    font-size: 11px;
    gap: 4px;
  }

  /* Prompt banner on Mobile */
  .stepfree-map-prompt {
    top: 10px;
    left: 10px;
    transform: none;
    max-width: calc(100% - 160px);
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
  }

  /* Mobile Floating Toggle Button */
  .mobile-map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    bottom: 86px;
    right: 14px;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 9px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    z-index: 1200;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-map-toggle:active {
    transform: scale(0.96);
  }

  /* Mobile Bottom Sheet Drawer */
  .stepfree-floating-panel {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
    z-index: 1100;
    max-height: 82vh;
    height: auto;
    padding: 14px 16px 28px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* Minimized/Collapsed State: shows peek handle & summary */
  .stepfree-floating-panel.is-minimized {
    transform: translateY(calc(100% - 68px));
    overflow: hidden;
  }

  /* Mobile Sheet Drag Handle */
  .mobile-sheet-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 0 12px;
    cursor: pointer;
    touch-action: pan-y;
  }
  .mobile-sheet-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 9999px;
    transition: background 0.2s;
  }
  .mobile-sheet-bar:hover .mobile-sheet-handle {
    background: #94a3b8;
  }

  /* Panel Typography on Mobile */
  .stepfree-title {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }
  .stepfree-desc {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  /* Location input boxes */
  .stepfree-location-box {
    padding: 10px 12px;
    margin-bottom: 8px;
  }
  .stepfree-loc-desc {
    font-size: 0.82rem;
  }

  /* Metrics Grid */
  .stepfree-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .metric-card {
    padding: 10px 12px;
  }
  .metric-temp-val {
    font-size: 1.3rem;
  }

  /* Audio Box */
  .stepfree-audio-box {
    padding: 12px;
  }
  .stepfree-audio-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* OLED Pocket Mode full responsive */
  .pocket-mode-overlay {
    padding: 20px;
  }
  .pocket-audio-display {
    padding: 16px;
    width: 100%;
  }
}

/* Very Small Mobile Screens (<= 400px) */
@media (max-width: 400px) {
  .hero-copy h1 {
    font-size: 2.2rem;
  }
  .stepfree-title {
    font-size: 1.15rem;
  }
  .stepfree-metrics-grid {
    grid-template-columns: 1fr;
  }
  .topbar-brand-name {
    font-size: 0.88rem;
  }
  .topbar-account-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
    gap: 4px;
  }
  .topbar-actions {
    gap: 4px;
  }
}

/* Audio Voice Synthesis Playing State */
.stepfree-dur-pill.is-playing,
#btn-read-aloud-ai.is-playing {
  background: #10b981 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
  animation: pulse-audio 1.5s infinite;
}

@keyframes pulse-audio {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-gps {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0.2; }
  100% { transform: scale(2.0); opacity: 0; }
}

.stepfree-locate-btn.is-locating {
  border-color: #10b981 !important;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.1) !important;
}

