/* DealReady — Real Estate Genius AI landing page
   Palette: deep navy #010A33, bright blue #0D2BD7, violet #5C3DFD */

:root {
  --navy: #010A33;
  --navy-2: #040d42;
  --panel: #060f4a;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #0D2BD7;
  --blue-bright: #3D5BFF;
  --violet: #5C3DFD;
  --text: #F4F6FF;
  --muted: #A7B0D8;
  --radius: 18px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.022em; }

a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 130%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(13, 43, 215, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(92, 61, 253, 0.55); filter: brightness(1.13); }
.btn-primary:active { transform: translateY(0); filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 15px; }
.btn-lg { padding: 15px 32px; font-size: 17px; }
.btn-xl { padding: 17px 40px; font-size: 19px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 10, 51, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-logo-wrap {
  display: inline-flex;
  background: transparent;
  border-radius: 10px;
  padding: 5px 10px;
  line-height: 0;
}
.brand-logo { height: 34px; width: auto; display: block; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--text); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 112px;
  text-align: center;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 380px at 50% -60px, rgba(92, 61, 253, 0.34), transparent 70%),
    radial-gradient(900px 480px at 50% 0, rgba(13, 43, 215, 0.30), transparent 70%),
    radial-gradient(560px 420px at 88% 30%, rgba(92, 61, 253, 0.10), transparent 70%),
    radial-gradient(560px 420px at 12% 30%, rgba(13, 43, 215, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(58px, 10vw, 112px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 30px;
}
.grad-text {
  background: linear-gradient(92deg, var(--blue-bright) 0%, var(--violet) 58%, #9A7BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 680px;
  margin: 0 auto 38px;
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--muted);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-note { color: var(--muted); font-size: 14.5px; }

/* Chat mock */
.chat-mock {
  position: relative;
  max-width: 580px;
  margin: 64px auto 0;
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  padding: 20px 22px 24px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(92, 61, 253, 0.14),
    0 0 110px rgba(92, 61, 253, 0.13),
    0 0 60px rgba(13, 43, 215, 0.12);
}
.chat-mock::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(61, 91, 255, 0.55), rgba(92, 61, 253, 0.35) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.chat-mock-caption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 176, 216, 0.6);
  text-align: right;
}
.chat-bubble.ai strong { color: #fff; font-weight: 600; }
.chat-mock-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.chat-mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.chat-mock-title {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.chat-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.chat-bubble.user {
  background: var(--blue);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.chat-bubble:last-child { margin-bottom: 0; }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.section-title {
  font-size: clamp(36px, 5.5vw, 54px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 54px;
  font-size: 18px;
}

/* Differentiator strip */
.strip { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 61, 253, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.card-icon { font-size: 30px; margin-bottom: 16px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Try it */
.try { text-align: center; }
.try-inner { max-width: 780px; }
.example-qs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 38px;
}
.example-q {
  display: block;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-size: 16.5px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.example-q:hover {
  border-color: var(--violet);
  background: rgba(92, 61, 253, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(92, 61, 253, 0.22);
}
.try .hero-note { margin-top: 16px; }

/* How it works */
.how { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step { padding: 10px 14px; text-align: center; }
.step-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 8px 24px rgba(13, 43, 215, 0.4);
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.product-card.featured {
  border-color: rgba(92, 61, 253, 0.55);
  background: linear-gradient(180deg, rgba(92, 61, 253, 0.14), var(--panel));
}
.product-tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 12px;
}
.product-card h3 { font-size: 22px; margin-bottom: 10px; }
.product-card p { color: var(--muted); font-size: 15.5px; }
.product-card .price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 18px;
}
.product-card .btn { margin-top: auto; }

/* Pricing */
.pricing { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto 44px;
}
.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.pricing-card.featured {
  border-color: rgba(92, 61, 253, 0.55);
  background: linear-gradient(180deg, rgba(92, 61, 253, 0.14), var(--panel));
}
.pricing-card h3 { font-size: 22px; margin-bottom: 6px; }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
}
.pricing-card .price .per { font-size: 20px; color: var(--muted); font-weight: 500; }
.pricing-card ul { list-style: none; margin-bottom: 30px; }
.pricing-card li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--muted);
  font-size: 16px;
}
.pricing-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--blue-bright);
  font-weight: 700;
}
.pricing-card .btn { margin-top: auto; }

/* Disclosure inline (products / pricing) */
.disclosure-inline {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(167, 176, 216, 0.85);
}

/* FAQ */
.faq-inner { max-width: 760px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--blue-bright);
  transition: transform 0.2s ease;
}
.faq-item[open ] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 16px;
}

/* Final CTA */
.final-cta { text-align: center; padding: 132px 0; }
.final-cta h2 {
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: -0.025em;
  margin-bottom: 40px;
}
.final-cta .hero-note { margin-top: 18px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #00082a;
  padding: 54px 0 44px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.footer-logo-wrap { padding: 4px 8px; }
.footer-logo-wrap .brand-logo { height: 28px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--text); }
.footer-disclosure {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(167, 176, 216, 0.85);
  max-width: 880px;
  margin-bottom: 22px;
}
.footer-copy { color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-row, .steps { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 84px 0; }
}
@media (max-width: 680px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(1, 10, 51, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 0; font-size: 17px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .product-grid, .pricing-row { grid-template-columns: 1fr; }
  .hero { padding: 88px 0 76px; }
  .hero-ctas .btn { width: 100%; }
  .chat-bubble { max-width: 94%; }
  .brand-logo { height: 28px; }
}
