/* ============================================================
   Days on Market Filter — Landing Page Styles
   Aesthetic: Industrial precision. Financial-terminal clarity.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

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

:root {
  --navy:        #0b1221;
  --navy-mid:    #111c30;
  --navy-light:  #1a2a45;
  --amber:       #f59e0b;
  --amber-light: #fbbf24;
  --amber-dim:   #92600a;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --gray-100:    #f1f0ec;
  --gray-200:    #e2e0d8;
  --gray-400:    #9ca3af;
  --gray-600:    #6b7280;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --text-dark:   #1a1a2e;

  --font-sans:   'DM Sans', system-ui, sans-serif;
  --font-mono:   'DM Mono', 'Courier New', monospace;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;

  --max-w:       1120px;
  --section-gap: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility ──────────────────────────────────────────────── */
.mono {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.04em;
}
.label-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 20px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
  display: block;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn-outline:hover {
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 18, 33, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--amber);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0;
}
.nav-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.nav-cta {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Grid overlay texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Amber glow */
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-kicker-line {
  width: 32px;
  height: 1px;
  background: var(--amber);
}
.hero-kicker-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 40px;
}
.hero-stat {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-stat:last-child {
  border-right: none;
}
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* ── Section base ─────────────────────────────────────────── */
.section {
  padding: var(--section-gap) 0;
}
.section-alt {
  background: var(--off-white);
}
.section-dark {
  background: var(--navy-mid);
  color: var(--white);
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-600);
}
.section-dark .section-header p {
  color: rgba(255,255,255,0.6);
}

/* ── Screenshot frames ────────────────────────────────────────
   One shared frame for the real product screenshots: rounded corners,
   a hairline edge and a soft lift so the image reads as a window rather
   than a pasted-in rectangle. `display:block` on the img kills the
   inline-baseline gap that would otherwise show as a seam at the bottom. */
.shot {
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* On light ground (the problem section) */
.shot-results {
  border: 1px solid #e2e0d8;
  box-shadow: 0 18px 40px -18px rgba(11,18,33,0.28);
}

/* On dark ground (the solution section) — a light hairline instead,
   and capped in width so the small panel is not blown up past its
   native resolution. */
.shot-panel {
  max-width: 268px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 22px 50px -20px rgba(0,0,0,0.65);
}

.shot-caption {
  max-width: 42ch;
  margin: 16px auto 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray, #6b7280);
  text-align: center;
  line-height: 1.5;
}

/* ── Problem Section ──────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.problem-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.problem-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.problem-visual {
  position: relative;
}

/* ── Solution Section ─────────────────────────────────────── */
.solution-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
}
.solution-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.solution-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.solution-bullets {
  list-style: none;
  margin-top: 28px;
}
.solution-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.solution-bullets li:last-child { border-bottom: none; margin-bottom: 0; }
.bullet-icon {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}
/* Mock panel — Min / Range switch and the two range boxes */


/* ── Features ─────────────────────────────────────────────── */

/* ── Screenshots ──────────────────────────────────────────── */

/* ── Install Section ──────────────────────────────────────────
   The demo is a 12s CSS loop over three beats:
     0–33%   the store listing sits there, cursor drifts to the button
     33–58%  the button is pressed → "Adding…"
     58–100% "Added", the toolbar pin pops in, then the done card
   Every keyframe set below shares that same timeline, so the pieces
   stay in sync without any JS. */
.install-header { max-width: 720px; }

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.install-steps { list-style: none; }
.install-steps li {
  display: flex;
  gap: 18px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.install-steps li:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.install-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-steps h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.install-steps p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--gray-600);
}
.install-steps em {
  font-style: normal;
  font-weight: 600;
  color: var(--gray-900);
}

/* ── The looping browser demo ── */
.install-demo { perspective: 1000px; }

.browser {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 22px 50px -22px rgba(11,18,33,0.32);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #ec6a5e; } .dot-y { background: #f4bf4f; } .dot-g { background: #61c554; }

.browser-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--gray-400);
}
.browser-puzzle { display: flex; align-items: center; gap: 6px; }
.puzzle-icon { font-size: 0.85rem; filter: grayscale(1); opacity: .5; }

/* The toolbar pin that appears once the extension is installed */
.installed-pin {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--white);
  background: var(--amber);
  padding: 3px 5px;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.4);
  animation: pinIn 12s infinite;
}
@keyframes pinIn {
  0%, 57%   { opacity: 0; transform: scale(0.4); }
  62%       { opacity: 1; transform: scale(1.25); }
  66%, 94%  { opacity: 1; transform: scale(1); }
  100%      { opacity: 0; transform: scale(1); }
}

.browser-body {
  position: relative;
  height: 264px;
  background: var(--off-white);
  padding: 26px;
}

/* Stage 1–2 — store listing */
.store-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 20px;
  animation: cardOut 12s infinite;
}
@keyframes cardOut {
  0%, 66%  { opacity: 1; transform: translateY(0); }
  72%, 94% { opacity: 0; transform: translateY(-10px); }
  100%     { opacity: 1; transform: translateY(0); }
}

.store-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.store-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.store-name { font-size: 0.92rem; font-weight: 700; color: var(--text-dark); }
.store-meta { font-size: 0.75rem; color: var(--gray-400); }

.store-btn {
  position: relative;
  height: 36px;
  border-radius: 7px;
  background: #1a73e8;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  animation: btnPress 12s infinite;
}
@keyframes btnPress {
  0%, 32%   { transform: scale(1);    background: #1a73e8; }
  35%       { transform: scale(0.97); background: #1557b0; }
  38%, 56%  { transform: scale(1);    background: #1557b0; }
  58%, 100% { transform: scale(1);    background: #1e8e3e; }
}
.store-btn span {
  position: absolute;
  opacity: 0;
}
.store-btn-idle { animation: lblIdle 12s infinite; }
.store-btn-busy { animation: lblBusy 12s infinite; }
.store-btn-done { animation: lblDone 12s infinite; }
@keyframes lblIdle { 0%, 33% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes lblBusy { 0%, 35% { opacity: 0; } 38%, 55% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes lblDone { 0%, 56% { opacity: 0; } 59%, 100% { opacity: 1; } }

/* The cursor that drifts in and clicks */
.cursor {
  position: absolute;
  right: 34px;
  bottom: 12px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: rgba(17,24,39,0.55);
  box-shadow: 0 0 0 3px rgba(17,24,39,0.13);
  animation: cursorMove 12s infinite;
}
@keyframes cursorMove {
  0%       { transform: translate(28px, 34px); opacity: 0; }
  12%      { transform: translate(28px, 34px); opacity: 1; }
  30%      { transform: translate(0, 0);       opacity: 1; }
  34%      { transform: translate(0, 0) scale(0.72); }
  38%      { transform: translate(0, 0) scale(1); }
  56%      { transform: translate(0, 0);       opacity: 1; }
  64%, 100%{ transform: translate(10px, 22px); opacity: 0; }
}

/* Stage 3 — installed confirmation */
.install-done {
  position: absolute;
  inset: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  opacity: 0;
  animation: doneIn 12s infinite;
}
@keyframes doneIn {
  0%, 68%  { opacity: 0; transform: translateY(10px); }
  74%, 94% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(10px); }
}
.done-check {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #e7f5ec;
  color: #1e8e3e;
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.done-text { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.done-sub  { font-size: 0.82rem; color: var(--gray-600); }

/* Motion is decorative here — hold the finished state instead. */
@media (prefers-reduced-motion: reduce) {
  .installed-pin, .store-card, .store-btn, .store-btn span,
  .cursor, .install-done { animation: none; }
  .cursor { display: none; }
  .installed-pin { opacity: 1; transform: scale(1); }
  .store-btn { background: #1e8e3e; }
  .store-btn-done { opacity: 1; }
  .install-done { opacity: 0; }
}

/* ── Beta Section ─────────────────────────────────────────── */
/* Beta sits directly under the dark how-it-works section; the deeper navy
   keeps the two from reading as one continuous block. */
#beta.section-dark {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.beta-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.beta-box h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
}
.beta-box p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}
.beta-pricing-note {
  margin-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* ── Disclaimer & Privacy ─────────────────────────────────── */
.legal-section {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
}
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.legal-block h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.legal-block p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--gray-500, #6b7280);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-brand-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }

.footer-contact {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 24px;
}

/* ── Fade-in animation ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner { animation: fadeUp 0.6s ease both; }
.hero-stats  { animation: fadeUp 0.6s 0.2s ease both; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-gap: 72px; }

  .problem-grid,
  .solution-grid,



  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 20px;
    margin: 0;
  }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }

  .install-grid { grid-template-columns: 1fr; gap: 40px; }

  .legal-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; }

  .solution-text { max-width: 100%; }
}

@media (max-width: 600px) {
  :root { --section-gap: 56px; }


  .hero { padding: 110px 0 72px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .nav-cta { display: none; }

}
