/* SpotIn — Static landing page
   Palette: #00B4FF (cyan-blue), #0066FF (deep blue), #FF524C (coral), #FFFFFF */

:root {
  --c-bg: #060912;
  --c-bg-2: #0a1020;
  --c-text: #ffffff;
  --c-muted: #9aa6bf;
  --c-cyan: #00B4FF;
  --c-blue: #0066FF;
  --c-coral: #FF524C;
  --c-white: #FFFFFF;
  --grad-primary: linear-gradient(135deg, #00B4FF 0%, #0066FF 100%);
  --grad-coral: linear-gradient(135deg, #FF524C 0%, #ff7a75 100%);
  --grad-accent: linear-gradient(135deg, #00B4FF 0%, #0066FF 60%, #FF524C 130%);
  --glass-bg: rgba(18, 26, 48, 0.55);
  --glass-border: rgba(0, 180, 255, 0.18);
  --shadow-neon: 0 0 24px rgba(0, 180, 255, 0.25), 0 0 60px rgba(0, 102, 255, 0.12);
  --shadow-coral: 0 10px 30px -10px rgba(255, 82, 76, 0.45);
  --shadow-card: 0 20px 60px -20px rgba(0,0,0,0.6);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, rgba(0,102,255,0.10), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(255,82,76,0.06), transparent 50%),
    linear-gradient(180deg, #060912, #0a1020);
}

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.02em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }

/* ===== Background FX (subtler for readability) ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(0,180,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
}
.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(100px);
  pointer-events: none; z-index: -1; opacity: 0.28;
  animation: drift 22s ease-in-out infinite;
}
.orb-1 { width: 460px; height: 460px; background: var(--c-cyan); top: -160px; left: -180px; }
.orb-2 { width: 520px; height: 520px; background: var(--c-blue); bottom: -220px; right: -200px; animation-delay: -8s; opacity: 0.22; }

@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.05); }
}

/* ===== Glass / utilities ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
}
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font-size: 14px; font-weight: 600;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  font-family: inherit;
  min-height: 46px;
}
.btn-primary {
  background: var(--grad-primary);
  color: var(--c-white);
  box-shadow: var(--shadow-neon);
  position: relative;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--grad-coral);
  box-shadow: var(--shadow-coral);
}
.btn-primary:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-ghost:hover { border-color: var(--c-coral); color: var(--c-coral); background: rgba(255,82,76,0.06); }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 20px; transition: padding .3s ease; }
.navbar.scrolled { padding: 10px 20px; }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-radius: 18px;
  transition: box-shadow .3s ease, background .3s ease;
}
.navbar.scrolled .nav-inner { box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.brand { display: inline-flex; align-items: center; }

/* ===== Pure CSS SpotIn logo =====
   "Spot" white, "in" blue, the natural "i" dot is coral.
   We render a dotless "ı" (U+0131) and place a coral tittle above it. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-white);
  user-select: none;
  transition: filter .35s ease, transform .35s ease;
}
.logo .logo-mark {
  width: 1.5em;
  height: 1.5em;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo .spot { color: var(--c-white); }
.logo .in-wrap {
  position: relative;
  color: var(--c-blue);
  margin-left: 1px;
  display: inline-flex;
}
.logo .i-stem { display: inline-block; }
/* Coral dot sits at the cap-height of "S" (top of capital letters). */
.logo .dot {
  position: absolute;
  top: 0.16em;
  left: 0.1em;
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 6px rgba(255,82,76,0.5);
}
.logo:hover {
  filter: drop-shadow(0 0 12px rgba(255,82,76,0.35));
  transform: translateY(-1px);
}
.logo-sm { font-size: 1rem; letter-spacing: -0.03em; gap: 0.4em; }
.logo-sm .logo-mark { width: 1.4em; height: 1.4em; }

/* Hero logo mark — large stand-alone version above the headline */
.hero-logo-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 8px 24px rgba(0, 102, 255, 0.45));
  border-radius: 14px;
}
@media (max-width: 560px) {
  .hero-logo-mark { width: 60px; height: 60px; margin-bottom: 18px; }
}

@keyframes pulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--c-muted); }
.nav-links a { transition: color .2s; position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--c-coral); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--c-coral); border-radius: 2px;
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 20px; min-height: 40px; }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--c-white); font-size: 20px; cursor: pointer; padding: 8px; }

.nav-mobile { display: none; flex-direction: column; gap: 12px; margin: 10px auto 0; max-width: 1200px; padding: 18px; border-radius: 18px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--c-muted); font-size: 15px; padding: 8px 4px; }
.nav-mobile a:hover { color: var(--c-coral); }
.nav-mobile .btn { margin-top: 4px; }

/* ===== Hero ===== */
.hero { padding: 160px 0 80px; position: relative; min-height: 100vh; display: flex; align-items: center; }
.hero .container.hero-grid {
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 64px;
  align-items: center;
  padding-left: 40px; padding-right: 40px;
}
@media (max-width: 1100px) { .hero .container.hero-grid { gap: 40px; padding-left: 24px; padding-right: 24px; } }
.hero-copy { max-width: 560px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  font-size: 12px; color: var(--c-muted); margin-bottom: 22px;
  backdrop-filter: blur(10px);
}
.chip i { color: var(--c-coral); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 10px var(--c-coral);
  animation: pulse 2s infinite;
}
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); font-weight: 700; margin-bottom: 18px; letter-spacing: -0.025em; }
.lead { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; color: rgba(255,255,255,0.95); margin-bottom: 10px; }
.sub { color: var(--c-muted); max-width: 520px; margin-bottom: 28px; font-size: 16px; line-height: 1.6; }


.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; align-items: center; gap: 24px; margin-top: 8px; color: var(--c-muted); font-size: 13px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 24px; color: var(--c-white); font-family: 'Space Grotesk', sans-serif; margin-bottom: 2px; }
.stats .divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* Floating glass pins around phone */
.float-pin {
  position: absolute; z-index: 3;
  padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.float-pin i { color: var(--c-cyan); font-size: 12px; }
.float-pin-1 { top: 10%; left: -4%; animation-delay: 0.4s; }
.float-pin-2 { bottom: 18%; left: -8%; animation-delay: 1.2s; }
.float-pin-2 i { color: var(--c-coral); }
.float-pin-3 { top: 38%; right: -6%; animation-delay: 0.8s; }
.float-pin-3 i { color: var(--c-coral); }
@media (max-width: 1100px) { .float-pin { display: none; } }

/* ===== Phone mockup ===== */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle, rgba(0,180,255,0.22), transparent 60%);
  filter: blur(60px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 290px; height: 580px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a2238, #0a0f1e);
  border: 1px solid rgba(0,180,255,0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 50px rgba(0,180,255,0.18);
  padding: 14px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100%{transform:translateY(0) rotate(-2deg);}
  50%{transform:translateY(-18px) rotate(2deg);}
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, #0c1428, #0a0f1e);
  padding: 22px 16px;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
}
.phone-top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.phone-map {
  flex: 1; position: relative;
  border-radius: 18px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,180,255,0.08), rgba(0,102,255,0.04)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 24px);
  border: 1px solid rgba(0,180,255,0.15);
}
.pin {
  position: absolute; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-primary); color: white; font-size: 13px;
  box-shadow: 0 0 14px rgba(0,180,255,0.5);
}
.pin-1 { top: 25%; left: 30%; }
.pin-2 { top: 55%; left: 65%; background: var(--grad-coral); box-shadow: 0 0 14px rgba(255,82,76,0.5); }
.pin-3 { top: 70%; left: 20%; }
.pulse-ring {
  position: absolute; top: 50%; left: 50%;
  width: 80px; height: 80px; margin: -40px 0 0 -40px;
  border-radius: 50%; border: 2px solid var(--c-coral);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.phone-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 12px; }
.phone-card-row { display: flex; align-items: center; gap: 10px; }
.phone-card-row .status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-coral); box-shadow: 0 0 8px var(--c-coral); flex-shrink: 0; }
.phone-card-row strong { display: block; font-size: 13px; }
.phone-card-row small { color: var(--c-muted); font-size: 11px; }
.phone-card-row div { flex: 1; min-width: 0; }
.phone-card-row button { background: var(--grad-primary); border: 0; color: white; font-weight: 600; font-size: 11px; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.phone-card-row button:hover { background: var(--grad-coral); }

/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 600; color: var(--c-coral); margin-bottom: 12px; letter-spacing: 0.02em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; }
.section-head p { color: var(--c-muted); }

/* ===== Grid / Cards ===== */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 28px; border-radius: 20px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(255,82,76,0.15), transparent 65%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,82,76,0.45); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-primary); color: white;
  box-shadow: 0 0 16px rgba(0,180,255,0.35);
  margin-bottom: 20px; font-size: 18px;
  transition: background .3s ease, box-shadow .3s ease;
}
.card:hover .card-icon { background: var(--grad-coral); box-shadow: 0 0 18px rgba(255,82,76,0.45); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: 14px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,180,255,0.4), rgba(255,82,76,0.4), transparent);
}
.step { text-align: center; position: relative; }
.step-num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--c-cyan); font-family: 'Space Grotesk'; font-weight: 700;
  box-shadow: 0 0 22px rgba(0,180,255,0.22);
  backdrop-filter: blur(16px);
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.step:hover .step-num { color: var(--c-coral); border-color: rgba(255,82,76,0.5); box-shadow: 0 0 22px rgba(255,82,76,0.25); }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--c-muted); font-size: 13px; }
@media (max-width: 880px){ .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }

/* ===== Launch ===== */
.launch { background: radial-gradient(ellipse at center, rgba(255,82,76,0.08), transparent 60%); }
.launch h2 { font-size: clamp(32px, 4.5vw, 54px); margin: 18px 0 12px; }
.launch > .container > p { color: var(--c-muted); margin-bottom: 36px; }

.waitlist { display: flex; gap: 12px; max-width: 540px; margin: 0 auto; }
.input-wrap { position: relative; flex: 1; border-radius: 999px; padding: 0 18px 0 44px; display: flex; align-items: center; min-height: 50px; transition: border-color .25s ease, box-shadow .25s ease; }
.input-wrap i { position: absolute; left: 18px; color: var(--c-muted); font-size: 13px; }
.input-wrap input {
  width: 100%; padding: 14px 0; background: transparent; border: 0; outline: 0;
  color: var(--c-white); font-size: 14px; font-family: inherit;
}
.input-wrap input::placeholder { color: var(--c-muted); }
.input-wrap:focus-within { border-color: var(--c-coral); box-shadow: 0 0 0 4px rgba(255,82,76,0.12); }
.input-wrap:focus-within i { color: var(--c-coral); }
.form-note { margin-top: 16px; color: var(--c-cyan); font-size: 13px; min-height: 1.4em; }
.form-note[data-kind="success"] { color: var(--c-coral); font-weight: 600; }
.form-note[data-kind="error"] { color: #ffb4b1; }

.socials { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--c-muted); transition: all .25s ease;
  font-size: 15px;
}
.social-btn:hover { color: var(--c-white); border-color: var(--c-coral); background: rgba(255,82,76,0.12); box-shadow: 0 0 14px rgba(255,82,76,0.35); transform: translateY(-2px); }

/* ===== Footer ===== */
.footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 36px 0; margin-top: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; color: var(--c-muted); font-size: 14px; flex-wrap: wrap; justify-content: center; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--c-coral); }
.footer small { color: var(--c-muted); font-size: 12px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .phone, .pulse-ring, .live-dot, .bg-orb { animation: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .hero { padding: 120px 0 50px; min-height: auto; }
  .hero .container.hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; margin-bottom: 4px; }
  .phone { width: 230px; height: 460px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .stats { gap: 18px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 560px){
  .container { padding: 0 18px; }
  .logo { font-size: 1.4rem; }
  .navbar { padding: 12px 14px; }
  .nav-inner { padding: 10px 14px; border-radius: 16px; }
  .hero { padding: 110px 0 40px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .lead { font-size: 17px; }
  .sub { font-size: 14px; margin-bottom: 26px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .stats { gap: 14px; font-size: 12px; }
  .stats strong { font-size: 20px; }
  .stats .divider { display: none; }
  .waitlist { flex-direction: column; }
  .btn { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; flex-direction: column; }
  .section { padding: 64px 0; }
  .card { padding: 22px; }
}

/* ===== Wordmark image (replaces text logo) ===== */
.brand-wordmark { height: 34px; width: auto; display: block; transition: filter .3s ease, transform .3s ease; }
.brand-wordmark:hover { filter: drop-shadow(0 0 14px rgba(255,82,76,0.4)); transform: translateY(-1px); }
.hero-wordmark { height: 84px; width: auto; margin-bottom: 22px; filter: drop-shadow(0 10px 30px rgba(0,102,255,0.4)); }
.phone-wordmark { height: 22px; width: auto; }
@media (max-width: 560px) {
  .brand-wordmark { height: 28px; }
  .hero-wordmark { height: 64px; margin-bottom: 18px; }
}

/* Pin mark next to wordmark */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-pin { height: 30px; width: auto; display: block; }
@media (max-width: 560px) {
  .brand-pin { height: 26px; }
  .brand-wordmark { height: 24px; }
  .brand { gap: 8px; }
  .nav-inner { padding: 8px 12px; }
}

/* Mobile: push phone mockup below stats so it doesn't overlap */
@media (max-width: 900px) {
  .hero-visual { margin-top: 40px; }
}
