/* RealtyPass marketing site — Direction B ("AI Command Center")
   Framework-free. Brand tokens, layout primitives, and components. */

:root {
  --navy: #1d2738;
  --navy-deep: #0f1826;
  --navy-darker: #0a121f;
  --navy-card: #243047;
  --navy-bar: #161f30;
  --green: #7cb342;
  --green-bright: #9fd45f;
  --blue: #3a7bd5;
  --text: #ffffff;
  --muted: #aab4c4;
  --muted-2: #7a869c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.7px;
  color: var(--green-bright); text-transform: uppercase;
}
.eyebrow--pill {
  display: inline-block;
  background: rgba(159, 212, 95, 0.12);
  border: 1px solid rgba(159, 212, 95, 0.32);
  border-radius: 20px; padding: 5px 14px;
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  border-radius: 8px; padding: 12px 24px; border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--green); color: var(--navy); }
.btn--primary:hover { background: var(--green-bright); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--sm { font-size: 13px; padding: 8px 16px; }

/* ── Header / nav ────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(29, 39, 56, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.brand .logo {
  background: #fff; border-radius: 7px; padding: 5px 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand .logo img { height: 17px; width: auto; display: block; }

/* Finn mascot accent */
.finn-img { height: 22px; width: 22px; vertical-align: middle; margin-right: 6px; border-radius: 50%; }
.finn { display: inline-flex; align-items: center; }
.nav__links { display: flex; gap: 22px; margin-left: 8px; }
.nav__links a { font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: #fff; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__cta .login { font-size: 14px; color: var(--muted); }
.nav__cta .login:hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* ── Sections ────────────────────────────────────────── */
section { position: relative; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--navy-bar); }
.section--deep { background: var(--navy-deep); }
.section__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section__head h2 { font-size: 30px; margin: 10px 0 8px; }
.section__head p { color: var(--muted); font-size: 16px; }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 84px 0 64px; text-align: center; }
.hero h1 { font-size: 48px; letter-spacing: -0.5px; margin: 18px 0 14px; }
.hero p.lede { color: var(--muted); font-size: 18px; max-width: 600px; margin: 0 auto; }
.hero__actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.hero__note { font-size: 12px; color: var(--muted-2); margin-top: 12px; }

/* product mock */
.product {
  max-width: 880px; margin: 40px auto 0;
  background: var(--navy-deep); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.product__bar { height: 34px; background: var(--navy-bar); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.product__bar i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.product__bar .r { background: #e24b4a; } .product__bar .y { background: #f0b429; } .product__bar .g { background: #7cb342; }
.product__bar span { margin-left: 10px; font-size: 11px; color: var(--muted-2); }
.product__body { display: flex; min-height: 280px; }
.product__body--shot { display: block; min-height: 0; }
.product__body--shot img { display: block; width: 100%; height: auto; }
.product__rail { width: 64px; background: var(--navy-bar); border-right: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.product__rail i { font-size: 18px; color: var(--muted-2); }
.product__rail i.active { color: var(--blue); }
.product__main { flex: 1; padding: 22px; }
.skel { background: #2a3850; border-radius: 4px; }
.skel--title { height: 12px; width: 40%; }
.cards-row { display: flex; gap: 12px; margin: 18px 0; }
.cards-row > div { flex: 1; height: 46px; background: var(--navy-card); border-radius: 8px; }
.cards-row > div.hot { background: #1f2c43; border: 1px solid var(--green); }
.line { height: 9px; background: #222f47; border-radius: 4px; margin-top: 10px; }

/* ── Logo / trust strip ──────────────────────────────── */
.trust { text-align: center; }
.trust__label { font-size: 11px; color: var(--muted-2); letter-spacing: 0.6px; margin-bottom: 14px; }
.trust__row { display: flex; gap: 30px; justify-content: center; opacity: 0.5; flex-wrap: wrap; }
.trust__row i { font-size: 24px; }

/* ── Engine grid ─────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.engine {
  background: var(--navy-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: border-color 0.15s, transform 0.15s;
}
.engine:hover { border-color: rgba(159, 212, 95, 0.4); transform: translateY(-2px); }
.engine i { font-size: 24px; color: var(--green-bright); }
.engine h3 { font-size: 15px; margin: 10px 0 4px; }
.engine p { font-size: 13px; color: var(--muted); }

/* ── Journey rail ────────────────────────────────────── */
.journey { display: flex; align-items: center; justify-content: space-between; gap: 4px; max-width: 760px; margin: 0 auto; }
.journey__step { text-align: center; flex: 1; }
.journey__dot {
  width: 46px; height: 46px; margin: 0 auto; border-radius: 50%;
  background: var(--navy-card); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
}
.journey__dot i { color: var(--green-bright); font-size: 20px; }
.journey__dot.done { background: var(--green); border-color: var(--green); }
.journey__dot.done i { color: #fff; }
.journey__step span { font-size: 11px; color: var(--muted); display: block; margin-top: 7px; }
.journey__bar { height: 2px; flex: 0.5; background: var(--line-2); }

/* ── Feature rows ────────────────────────────────────── */
.feature-row { display: flex; gap: 32px; align-items: center; padding: 26px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row__text { flex: 1; }
.feature-row__text h3 { font-size: 20px; display: flex; align-items: center; gap: 9px; }
.feature-row__text h3 i { color: var(--green-bright); }
.feature-row__text p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.feature-row__shot { flex: 0.85; background: var(--navy-deep); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 40px -24px rgba(0,0,0,0.65); }
.feature-row__shot i { font-size: 30px; color: var(--blue); }
.feature-row__shot img { display: block; width: 100%; height: auto; }
.feature-row__icon { flex: 0.85; min-height: 200px; background: var(--navy-deep); border: 1px solid var(--line-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 40px -24px rgba(0,0,0,0.65); }
.feature-row__icon i { font-size: 88px; color: var(--green-bright); opacity: 0.92; }
.tag-incl { font-size: 11px; font-weight: 600; color: var(--navy); background: var(--green-bright); border-radius: 999px; padding: 2px 9px; margin-left: 2px; }
.feature-row__shot img { cursor: zoom-in; }

/* ── Hero montage ────────────────────────────────────── */
.montage { position: relative; width: min(960px, 100%); margin: 52px auto 18px; }
.montage__main { position: relative; width: 74%; margin: 0 auto; z-index: 2; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--navy-deep); box-shadow: 0 34px 70px -30px rgba(0,0,0,0.75); }
.montage__main img { display: block; width: 100%; height: auto; }
.montage__card { position: absolute; width: 34%; z-index: 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: var(--navy-deep); box-shadow: 0 26px 54px -28px rgba(0,0,0,0.75); }
.montage__card img { display: block; width: 100%; height: auto; }
.montage__card--a { top: 30%; left: -2%; transform: rotate(-6deg); }
.montage__card--b { bottom: -6%; right: -2%; transform: rotate(6deg); }
@media (max-width: 640px) { .montage__main { width: 88%; } .montage__card { width: 42%; } }

/* ── Coming-soon blocks ──────────────────────────────── */
.coming-soon { max-width: 540px; margin: 32px auto 0; text-align: center; background: var(--navy-card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 32px 28px; }
.coming-soon > i { font-size: 40px; color: var(--green-bright); }
.coming-soon__tag { display: inline-block; margin: 12px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--navy); background: var(--green-bright); border-radius: 999px; padding: 4px 12px; }
.coming-soon p { color: var(--muted); font-size: 14px; margin: 12px 0 18px; }

/* ── Lightbox ────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 4vmin; background: rgba(6, 10, 18, 0.94); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 95vw; max-height: 92vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.85); cursor: zoom-out; opacity: 0; transform: scale(0.94); transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.lightbox.open img { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox img { transition: none; } }
.lightbox__close { position: absolute; top: 16px; right: 22px; font-size: 34px; line-height: 1; color: #fff; background: none; border: none; cursor: pointer; opacity: 0.75; }
.lightbox__close:hover { opacity: 1; }

/* ── Stats ───────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stat .num { font-size: 30px; font-weight: 600; color: var(--green-bright); }
.stat .lbl { font-size: 13px; color: var(--muted); }

/* ── Quote ───────────────────────────────────────────── */
.quote {
  background: var(--navy-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: center; max-width: 760px; margin: 0 auto;
}
.quote > i { font-size: 30px; color: var(--green-bright); }
.quote p { font-size: 15px; font-style: italic; }
.quote span { color: var(--muted-2); font-style: normal; }

/* ── Pricing ─────────────────────────────────────────── */
.toggle { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 18px 0 6px; }
.toggle span { font-size: 13px; color: var(--muted-2); }
.toggle span.on { color: #fff; font-weight: 500; }
.switch { width: 42px; height: 22px; background: var(--green); border-radius: 12px; position: relative; cursor: pointer; border: 0; }
.switch::after { content: ''; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: left 0.18s, right 0.18s; }
.switch[aria-checked="false"]::after { left: 3px; right: auto; }
.save-tag { font-size: 11px; color: var(--green-bright); border: 1px solid var(--green-bright); border-radius: 11px; padding: 2px 9px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--navy-card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--green); }
.plan__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--green); color: var(--navy); font-size: 11px; font-weight: 500; padding: 3px 12px; border-radius: 10px; white-space: nowrap; }
.plan h3 { font-size: 15px; }
.plan .price { font-size: 30px; font-weight: 600; margin: 8px 0 0; }
.plan .price small { font-size: 13px; color: var(--muted-2); font-weight: 400; }
.plan .per-agent { font-size: 14px; color: var(--green-bright); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0; flex: 1; }
.plan li { font-size: 13px; color: var(--muted); padding: 5px 0; display: flex; gap: 8px; align-items: flex-start; }
.plan li i { color: var(--green-bright); font-size: 15px; margin-top: 1px; }

.volume {
  margin-top: 20px; border: 1px dashed var(--line-2); border-radius: var(--radius);
  padding: 16px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.volume__text { flex: 1; min-width: 240px; }
.volume__text strong { display: block; font-size: 14px; }
.volume__text span { font-size: 12px; color: var(--muted); }
.volume__price { font-size: 12px; color: var(--muted); text-align: right; }

/* ── Audience cards ──────────────────────────────────── */
.aud { background: var(--navy-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.aud i { font-size: 20px; color: var(--green-bright); }
.aud h3 { font-size: 14px; margin: 8px 0 4px; }
.aud p { font-size: 12px; color: var(--muted); }

/* ── CTA band ────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band h2 { font-size: 30px; }
.cta-band p { color: var(--muted); margin-top: 8px; }
.cta-band .hero__actions { margin-top: 18px; }
.cta-band .finn { font-size: 12px; color: var(--muted-2); margin-top: 14px; }

/* ── Contact form ────────────────────────────────────── */
.form { max-width: 520px; margin: 0 auto; text-align: left; }
.form .row { margin-bottom: 16px; }
.form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 14px; color: #fff;
  background: var(--navy-card); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 11px 13px; outline: none; transition: border-color 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; }
.contact-info { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.contact-info a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.contact-info a:hover { color: #fff; }
.contact-info i { color: var(--green-bright); font-size: 16px; }

/* ── 404 ─────────────────────────────────────────────── */
.notfound { text-align: center; padding: 100px 0; }
.notfound .code { font-size: 96px; font-weight: 600; color: var(--navy-card); line-height: 1; }
.notfound img.finn-big { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 8px; display: block; }
.notfound h1 { font-size: 28px; margin: 10px 0 8px; }
.notfound p { color: var(--muted); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--navy-darker); padding: 36px 0; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-col h4 { font-size: 13px; margin-bottom: 8px; }
.footer-col a, .footer-col p { display: block; font-size: 12px; color: var(--muted-2); line-height: 2; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: 11px; color: var(--muted-2); margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 860px) {
  .grid--3, .grid--4, .plans, .stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 36px; }
  .feature-row, .feature-row:nth-child(even) { flex-direction: column; }
  .feature-row__shot { width: 100%; }
  .nav__links, .nav__cta .login { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--navy); padding: 16px 24px; gap: 14px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .plans, .stats, .grid--2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .journey__step span { font-size: 9px; }
}
