@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #080808;
  --surface: #111111;
  --surface2: #161616;
  --border: rgba(255,255,255,0.07);
  --text: #f2f2f2;
  --muted: #555;
  --muted2: #888;
  --green: #16c784;
  --green-dim: rgba(22,199,132,0.1);
  --green-border: rgba(22,199,132,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.2px;
}
.logo-dot { color: var(--green); }

.nav-right { display: flex; align-items: center; gap: 4px; }

.nav-link {
  font-size: 13px;
  color: var(--muted2);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); }

.nav-btn {
  font-size: 13px;
  font-weight: 500;
  color: #000;
  background: var(--green);
  border: none;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-btn:hover { opacity: 0.85; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(22,199,132,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* PAGE HERO (non-home) */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(22,199,132,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }

.hero-h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-h1 .dim { color: var(--muted); }

.page-h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.06;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.page-h1 .dim { color: var(--muted); }

.rword-wrap {
  display: inline-block;
  position: relative;
  overflow: visible;
  vertical-align: bottom;
  height: 1.08em;
  min-width: 300px;
}
.rword {
  display: block;
  position: absolute;
  left: 0; right: 0;
  color: var(--green);
  opacity: 0;
  transform: translateY(105%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}
.rword.active { opacity: 1; transform: translateY(0); }
.rword.exit   { opacity: 0; transform: translateY(-105%); }

.hero-sub {
  font-size: 16px;
  color: var(--muted2);
  max-width: 400px;
  line-height: 1.65;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.35s forwards;
}

.page-sub {
  font-size: 17px;
  color: var(--muted2);
  max-width: 480px;
  line-height: 1.65;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.35s forwards;
}

/* SEARCH */
.search-wrap {
  width: 100%;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.45s forwards;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within {
  border-color: var(--green-border);
  box-shadow: 0 0 0 3px rgba(22,199,132,0.06);
}
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 0;
  caret-color: var(--green);
}
.search-box input::placeholder { color: var(--muted); }

.search-btn {
  background: var(--green);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.search-btn:hover { opacity: 0.85; }

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 12px;
  color: var(--muted2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.pill:hover { border-color: var(--green-border); color: var(--green); }

/* STATS */
.stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}
.stat { text-align: center; }
.stat-n { font-size: 28px; font-weight: 600; letter-spacing: -1px; }
.stat-l { font-size: 11px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.sdiv { width: 1px; background: var(--border); align-self: stretch; }

/* MARQUEE */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.marquee-wrap::before { left:0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after  { right:0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.marquee-item::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.6;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* SECTIONS */
.section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.section-h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 15px;
  color: var(--muted2);
  max-width: 460px;
  line-height: 1.65;
}

/* HOW IT WORKS */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.how-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.how-card:hover { background: var(--surface2); }
.how-card + .how-card { border-left: 1px solid var(--border); }
.how-num { font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: 1px; margin-bottom: 20px; }
.how-icon { font-size: 22px; margin-bottom: 14px; }
.how-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 9px; }
.how-desc { font-size: 13px; color: var(--muted2); line-height: 1.6; }

/* AGENT CARDS */
.agents-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.agents-header a { font-size: 13px; color: var(--green); text-decoration: none; }

.filter-row { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-btn {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted2);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--green-border);
  color: var(--green);
  background: var(--green-dim);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.agent-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.agent-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
.agent-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.agent-icon {
  width: 38px; height: 38px;
  background: var(--surface2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.agent-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--green-border);
}
.agent-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.agent-desc { font-size: 12.5px; color: var(--muted2); line-height: 1.5; margin-bottom: 18px; }
.agent-footer { display: flex; align-items: center; justify-content: space-between; }
.agent-price { font-size: 13px; font-weight: 600; color: var(--text); }
.agent-price span { font-size: 11px; font-weight: 400; color: var(--muted); }
.agent-rating { font-size: 11.5px; color: var(--muted2); }
.agent-rating b { color: var(--green); }

/* FEATURE GRID (2-col) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.12); }
.feature-icon { font-size: 22px; margin-bottom: 14px; }
.feature-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--muted2); line-height: 1.6; }

/* VALUE PROPS (split layout) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.split-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.55;
}
.split-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* WAITLIST FORM */
.waitlist-section {
  padding: 80px 24px 100px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.waitlist-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.waitlist-h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.waitlist-sub {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* REPLACE THIS BLOCK WITH MAILCHIMP EMBED CODE */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist-form input {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 13px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form input:focus {
  border-color: var(--green-border);
  box-shadow: 0 0 0 3px rgba(22,199,132,0.06);
}
.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form button {
  background: var(--green);
  color: #000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.waitlist-form button:hover { opacity: 0.85; }
.waitlist-success {
  display: none;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--green);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 100px 24px 120px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(22,199,132,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.cta-sub { font-size: 16px; color: var(--muted2); margin-bottom: 40px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; }

.btn-primary {
  background: var(--green);
  color: #000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); }

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12.5px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1f1f1f; border-radius: 4px; }

@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-card + .how-card { border-left: none; border-top: 1px solid var(--border); }
  .agent-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 48px; }
  .split-section.reverse { direction: ltr; }
  .stats { gap: 24px; }
  nav { padding: 0 20px; }
  .nav-link { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
}
