/* ── Real-Helper: Agent Website Styles ─────────────────────────────────────
   Inherits all layout patterns from the buyer site (../style.css).
   Key difference: blue-leaning navy (#1A3A5C) vs buyer's purple-navy (#47426E).
   ──────────────────────────────────────────────────────────────────────────── */

:root {
  --navy:       #4E6358;   /* soft desaturated sage */
  --navy-dark:  #323F38;   /* muted dark for hero */
  --navy-mid:   #637D71;   /* lighter sage for gradient stop */
  --gold:       #C9A84C;
  --gold-light: #e8c97a;
  --light:      #F1F4F2;   /* near-white with faint green cast */
  --white:      #ffffff;
  --text:       #2E3D35;
  --muted:      #607068;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(46,61,53,.12);
}

/* ── Reset & Base (duplicated from parent for standalone operation) ──────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────────────────────────── */

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); line-height: 1.75; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────────────────────── */

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

section { padding: 72px 0; }

/* ── Navigation ─────────────────────────────────────────────────────────── */

nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.30);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-brand span {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .3px;
}

.nav-brand span em {
  font-style: italic;
  color: rgba(201,168,76,.75);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--gold); text-decoration: none; }

/* "Buyer App" link gets a subtle pill treatment so it reads as a cross-link */
.nav-links a.buyer-link {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 12px;
  border-radius: 50px;
}
.nav-links a.buyer-link:hover { color: var(--gold); border-color: var(--gold); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

nav.open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

nav.open .nav-mobile-panel { display: flex; }

.nav-mobile-panel a {
  display: block;
  padding: 15px 24px;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: color .2s, background .2s;
}

.nav-mobile-panel a:hover { color: var(--gold); background: rgba(255,255,255,.04); }

.nav-mobile-panel .nav-mobile-cta {
  margin: 16px 24px 20px;
  padding: 13px 24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  border-bottom: none;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); text-decoration: none; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover { border-color: var(--white); }

/* Outline button for use on light backgrounds */
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  border-radius: 50px;
  padding: 13px 28px;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 88px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text .eyebrow {
  display: inline-block;
  background: rgba(201,168,76,.18);
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 50px;
  padding: 4px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-text h1 { color: var(--white); margin-bottom: 16px; }
.hero-text h1 span { color: var(--gold); }

.hero-text .tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-text .tagline a.hero-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,.4);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-ctas .fine-print {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
}

.hero-ctas .btn + .btn { margin-top: 2px; }

.hero-screenshot {
  display: flex;
  justify-content: center;
}

/* ── Phone frame (screenshot placeholder) ───────────────────────────────── */

.phone-frame {
  background: var(--navy-dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
  width: 264px;
}

.phone-frame img {
  width: 100%;
  border-radius: 26px;
  display: block;
}

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: 26px;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.placeholder-icon {
  font-size: 2.5rem;
  color: var(--gold);
}

.placeholder-text {
  font-size: .95rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-align: center;
  line-height: 1.4;
}

/* ── Section headers ─────────────────────────────────────────────────────── */

.section-header { text-align: center; margin-bottom: 48px; }

.section-header .eyebrow {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p  { max-width: 560px; margin: 0 auto; }

.inline-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,.4);
}

/* ── Bonus panel (Real-Helper connection callout) ────────────────────────── */

.bonus-panel {
  margin-top: 64px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  border-left: 4px solid var(--gold);
}

.bonus-panel-label {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 16px;
}

.bonus-panel-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.bonus-icon {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.bonus-text h3 { color: var(--navy); margin-bottom: 8px; }

@media (max-width: 600px) {
  .bonus-panel-inner { flex-direction: column; }
  .bonus-panel { padding: 28px 24px; }
}

/* ── Ecosystem grid ──────────────────────────────────────────────────────── */

.ecosystem-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 8px;
}

.eco-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  flex: 1;
}

.buyer-card {
  border-top: 4px solid #47426E;   /* purple — the buyer app's color */
  opacity: .85;
}

.agent-card {
  border-top: 4px solid var(--gold);
}

.eco-card-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 12px;
}

.eco-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.eco-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.eco-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  gap: 8px;
}

.eco-divider-line {
  flex: 1;
  width: 2px;
  background: rgba(26,58,92,.12);
  max-height: 60px;
}

.eco-divider-badge {
  background: var(--navy);
  color: var(--gold);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ── Steps ───────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step h3 { margin-bottom: 10px; color: var(--navy); }

/* ── Feature Sections ────────────────────────────────────────────────────── */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text .label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-text h2 { color: var(--navy); margin-bottom: 14px; }
.feature-text p  { margin-bottom: 20px; }

.feature-text ul {
  list-style: none;
  padding: 0;
}

.feature-text ul li {
  padding: 6px 0 6px 1.4em;
  font-size: .93rem;
  color: var(--muted);
  position: relative;
}

.feature-text ul li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ── Screenshot placeholder (for feature rows, pre-screenshot) ───────────── */

.screenshot-wrap {
  display: flex;
  justify-content: center;
}

.screenshot-wrap img {
  max-width: 240px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(26,58,92,.2);
}

.screenshot-placeholder-wrap {
  align-items: center;
}

.feature-placeholder {
  width: 200px;
  aspect-ratio: 9/19.5;
  background: linear-gradient(160deg, #1a1714, var(--navy));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 48px rgba(44,53,72,.25);
}

.feature-placeholder span {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
}

.pro-feature-placeholder {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy), var(--navy-mid));
  border: 1px solid rgba(201,168,76,.3);
}

.pro-feature-placeholder span {
  color: var(--gold-light);
}

/* ── Pro badge ───────────────────────────────────────────────────────────── */

.pro-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  color: #8a6a10;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 50px;
  vertical-align: middle;
}

/* ── Profile fields ──────────────────────────────────────────────────────── */

.profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 740px;
  margin: 0 auto;
}

.profile-field {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.profile-field-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.profile-field h4 {
  color: var(--navy);
  margin-bottom: 4px;
}

/* ── Premium / Pro section ───────────────────────────────────────────────── */

.premium-section {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}

.premium-section h2 { color: var(--white); margin-bottom: 12px; }
.premium-section .section-sub { color: rgba(255,255,255,.7); margin-bottom: 48px; font-size: 1.05rem; }

/* Override section-header eyebrow color inside premium-section to stand out */
.premium-section .section-header .eyebrow { color: var(--gold-light); }
.premium-section .section-header h2 { color: var(--white); }
.premium-section .section-header p { color: rgba(255,255,255,.65); }

/* ── Plans grid ──────────────────────────────────────────────────────────── */

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.plan-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.plan-card.plan-premium {
  border: 2px solid var(--gold);
}

.plan-badge-top {
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px;
}

.plan-badge-free {
  background: var(--navy);
  color: var(--gold);
}

.plan-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--light);
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.plan-period { font-size: .9rem; color: var(--muted); }
.plan-subtitle { font-size: .85rem; color: var(--muted); }

.plan-features {
  list-style: none;
  padding: 20px 28px;
  margin: 0 0 20px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: .92rem;
  color: var(--text);
  border-bottom: 1px solid var(--light);
}

.plan-features li:last-child { border-bottom: none; }
.plan-features li .dim { color: var(--muted); }
.plan-features li strong { white-space: nowrap; }

.plan-features li .pi {
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
  color: var(--muted);
  margin-top: 1px;
}

.plan-features li .pi.gold  { color: var(--gold); }
.plan-features li .pi.cross { color: #e53935; font-size: 1.1rem; line-height: 1; }

.plan-card .btn { margin: 0 28px 28px; width: calc(100% - 56px) !important; }

/* ── CTA Banner ──────────────────────────────────────────────────────────── */

.cta-banner {
  background: var(--gold);
  text-align: center;
  padding: 56px 24px;
}

.cta-banner h2 { color: var(--navy); margin-bottom: 10px; }
.cta-banner p  { color: rgba(26,58,92,.7); margin-bottom: 28px; font-size: 1.05rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  background: var(--navy);
  color: rgba(255,255,255,.5);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a { color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-links a:hover { color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-screenshot   { display: none; }
  .steps             { grid-template-columns: 1fr; }
  .feature-row       { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .feature-row.reverse { direction: ltr; }
  .ecosystem-grid    { flex-direction: column; }
  .eco-divider       { flex-direction: row; padding: 12px 0; }
  .eco-divider-line  { height: 2px; width: auto; flex: 1; max-height: none; }
  .profile-fields    { grid-template-columns: 1fr; }
  .plans-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links       { display: none; }
  .nav-desktop-cta { display: none; }
  .nav-hamburger   { display: flex; }
}
