/* Site-level styles beyond what Tailwind utility classes can express.
   Keep this small — every rule must justify why it isn't inline utility. */

:root {
  color-scheme: dark;
}

html, body {
  background: #080C14;
}

/* Ambient brand-gradient hero background used on the landing + key pages.
   Layered radial gradients give a soft "neon under glass" feel without
   needing extra DOM nodes. */
.bg-ambient {
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(32,138,239,0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 0%,  rgba(155,110,255,0.16), transparent 55%),
    radial-gradient(800px 600px at 50% 110%, rgba(25,229,194,0.10), transparent 60%),
    #080C14;
}

/* Subtle moving glow used behind the hero phone screenshot. */
.glow-ring {
  background:
    conic-gradient(from 0deg, rgba(32,138,239,0.0), rgba(32,138,239,0.55), rgba(155,110,255,0.35), rgba(32,138,239,0.0));
  filter: blur(40px);
  opacity: 0.55;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Screenshot — the screenshot already includes its own device-style frame
   from the app's dark UI, so we just round + lift it slightly. */
.shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
}

/* Card with a soft rim + neon edge. Used for feature cards. */
.card {
  background: linear-gradient(180deg, rgba(13,21,37,0.85), rgba(13,21,37,0.7));
  border: 1px solid rgba(30,45,74,0.9);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card-glow {
  position: relative;
  overflow: hidden;
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, rgba(32,138,239,0.0), rgba(32,138,239,0.35), rgba(155,110,255,0.25), rgba(32,138,239,0.0));
  z-index: -1;
  border-radius: inherit;
  filter: blur(14px);
  opacity: 0.6;
}

/* Sectioned dividers — a 1px line with a centred neon dot, used between
   major page sections to break long pages cleanly. */
.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123,143,187,0.25), transparent);
}
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: #208AEF;
  box-shadow: 0 0 12px rgba(32,138,239,0.7);
}

/* Quote / Stingy AI message bubble used on the marketing pages. */
.bubble {
  background: rgba(155,110,255,0.08);
  border: 1px solid rgba(155,110,255,0.35);
  border-radius: 16px;
  padding: 16px 18px;
  position: relative;
}
.bubble-amber  { background: rgba(255,179,71,0.08);  border-color: rgba(255,179,71,0.35); }
.bubble-red    { background: rgba(255,91,111,0.08);  border-color: rgba(255,91,111,0.4);  }
.bubble-green  { background: rgba(31,216,145,0.08);  border-color: rgba(31,216,145,0.35); }
.bubble-blue   { background: rgba(32,138,239,0.08);  border-color: rgba(32,138,239,0.4);  }

/* Compact chip used in feature lists. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(32,138,239,0.12);
  border: 1px solid rgba(32,138,239,0.4);
  color: #00B4FF;
}

/* Footer link group + nav active state */
.nav-link {
  color: #7B8FBB;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover { color: #F0F4FF; background: rgba(255,255,255,0.04); }
.nav-link.is-active { color: #00B4FF; }

/* Legal / long-form prose styles */
.prose-legal {
  color: #c8d2ea;
  line-height: 1.65;
  max-width: 70ch;
}
.prose-legal h1 { color: #F0F4FF; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.5em; }
.prose-legal h2 { color: #F0F4FF; font-size: 1.25rem; font-weight: 700; margin: 1.6em 0 0.5em; }
.prose-legal h3 { color: #F0F4FF; font-size: 1.05rem; font-weight: 700; margin: 1.2em 0 0.4em; }
.prose-legal p  { margin: 0.7em 0; }
.prose-legal ul { padding-left: 1.4em; list-style: disc; }
.prose-legal li { margin: 0.3em 0; }
.prose-legal a  { color: #00B4FF; text-decoration: underline; text-decoration-color: rgba(0,180,255,0.4); text-underline-offset: 3px; }
.prose-legal a:hover { color: #6BCEFF; }
.prose-legal strong { color: #F0F4FF; }
.prose-legal hr { border: 0; height: 1px; background: rgba(123,143,187,0.2); margin: 2em 0; }

/* Reset default underline jitter on store badges */
.store-badge { text-decoration: none; }

/* "Mark" highlighter used in body copy. */
.mark-brand { background: linear-gradient(120deg, rgba(32,138,239,0.0) 0%, rgba(32,138,239,0.35) 50%, rgba(32,138,239,0.0) 100%); padding: 0 4px; border-radius: 4px; }
.mark-amber { background: linear-gradient(120deg, rgba(255,179,71,0.0) 0%, rgba(255,179,71,0.35) 50%, rgba(255,179,71,0.0) 100%); padding: 0 4px; border-radius: 4px; }
.mark-green { background: linear-gradient(120deg, rgba(31,216,145,0.0) 0%, rgba(31,216,145,0.35) 50%, rgba(31,216,145,0.0) 100%); padding: 0 4px; border-radius: 4px; }

/* Step indicator used on the "how it works" section. */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(32,138,239,0.16);
  border: 1px solid rgba(32,138,239,0.5);
  font-weight: 800;
  font-size: 13px;
  color: #00B4FF;
}

/* Mobile-menu (hidden by default; toggled via the small inline script in
   the header). */
@media (max-width: 767px) {
  .mobile-menu[hidden] { display: none; }
  .mobile-menu { display: block; }
}

/* Sticky header backdrop. */
.site-header {
  background: rgba(8,12,20,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30,45,74,0.6);
}

/* Accessible focus rings */
:focus-visible {
  outline: 2px solid #208AEF;
  outline-offset: 2px;
  border-radius: 6px;
}
