/*
 * Gida Housing — marketing site styles.
 * Design tokens mirror the mobile app + admin (deep-blue primary, green/gold
 * accents, warm off-white canvas, Manrope headings / Inter body).
 */
:root {
  --primary: #0f172a;
  --primary-container: #131b2e;
  --on-primary: #ffffff;
  --primary-tint: #dae2fd;
  --primary-tint-soft: #eef2ff;
  --success: #1f9d4f;
  --secondary: #006e2f;
  --success-tint: #dff4e4;
  --accent: #8a6d00;
  --accent-dim: #f7be1d;
  --warning-tint: #fff4d6;
  --bg: #fcf8fa;
  --card: #ffffff;
  --surface-low: #f6f3f5;
  --surface-muted: #f0edef;
  --surface-high: #eae7e9;
  --text: #1b1b1d;
  --text-muted: #45464d;
  --text-faint: #76777d;
  --border: #e4e2e4;
  --border-strong: #c6c6cd;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}

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

/* Visually-hidden but screen-reader accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover {
  opacity: 0.92;
}
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
}
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* ── Header / nav ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 248, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  color: var(--primary);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 6px;
  border-radius: 8px;
}
.nav-links .mobile-only {
  display: none;
}
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-links .mobile-only {
    display: block;
  }
  .nav-cta .btn-outline {
    display: none;
  }
}

/* ── Sections ────────────────────────────────────────────────────────── */
section {
  padding: 88px 0;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--success-tint);
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 18px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h1,
.section-head h2 {
  font-size: 38px;
}
.hero .section-head h1 {
  font-size: 38px;
}
.section-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-muted);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(1200px 480px at 70% -10%, var(--primary-tint-soft), transparent 60%),
    var(--bg);
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 56px;
  max-width: 820px;
}
.hero h1 .accent {
  color: var(--secondary);
}
.hero-sub {
  margin-top: 22px;
  font-size: 20px;
  color: var(--text-muted);
  max-width: 620px;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.proof-strip {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.proof-item .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 34px;
  color: var(--primary);
}
.proof-item .lbl {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 38px;
  }
  .section-head h2 {
    font-size: 30px;
  }
  section {
    padding: 64px 0;
  }
}

/* ── Cards / grids ───────────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-muted);
  font-size: 15px;
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-tint-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* alternating section background */
.section-muted {
  background: var(--surface-low);
}

/* ── Steps (how it works) ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ── Audiences ───────────────────────────────────────────────────────── */
.audience {
  border-top: 3px solid var(--primary);
}
.audience .role {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.audience ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.audience li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 15px;
}
.audience li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--success);
}

/* ── Corridors ───────────────────────────────────────────────────────── */
.corridor-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.corridor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.corridor:last-child {
  border-bottom: none;
}
.corridor .route {
  font-weight: 600;
  font-size: 17px;
}
.corridor .desc {
  color: var(--text-muted);
  font-size: 14px;
}
.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
}
.pill.active {
  background: var(--success-tint);
  color: var(--secondary);
}
.pill.soon {
  background: var(--surface-muted);
  color: var(--text-muted);
}

/* ── Quote / mission ─────────────────────────────────────────────────── */
.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.4;
  color: var(--text);
}
.quote .sig {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.quote .sig .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
}
.quote .sig .who {
  text-align: left;
  font-size: 14px;
}
.quote .sig .who strong {
  display: block;
}
.quote .sig .who span {
  color: var(--text-faint);
}

/* ── CTA band ────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--primary);
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 34px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 14px;
  font-size: 18px;
}
.cta-band .hero-cta {
  justify-content: center;
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.price-card .tier {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.price-card .featured-badge {
  float: right;
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  background: var(--success-tint);
  padding: 3px 10px;
  border-radius: 9999px;
}
.price-card .amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  margin: 14px 0 4px;
}
.price-card .amount .per {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}
.price-card .blurb {
  color: var(--text-muted);
  font-size: 15px;
  min-height: 44px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  flex: 1;
}
.price-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}
.commission-note {
  margin-top: 32px;
  background: var(--warning-tint);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: var(--accent);
  font-size: 15px;
}

/* ── Comparison table ────────────────────────────────────────────────── */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.compare thead th {
  background: var(--surface-low);
  font-family: var(--font-heading);
  font-size: 15px;
}
.compare td:not(:first-child),
.compare th:not(:first-child) {
  text-align: center;
}
.compare tr:last-child td {
  border-bottom: none;
}
.compare .feat {
  color: var(--text-muted);
  font-weight: 500;
}
.compare .yes {
  color: var(--success);
  font-weight: 700;
}
.compare .no {
  color: var(--text-faint);
}
.table-wrap {
  overflow-x: auto;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ── Legal pages ─────────────────────────────────────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}
.legal h1 {
  font-size: 34px;
}
.legal h2 {
  font-size: 20px;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .brand {
  color: #fff;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
