/* ============================================
   HomeEaze Air – Landing Page Styles
   ============================================ */

:root {
  --bg:         #050812;
  --bg-2:       #0b1322;
  --bg-card:    #0f1a2e;
  --bg-card-2:  #141f35;
  --border:     #1b2c47;
  --border-2:   #243656;
  --blue:       #3b82f6;
  --blue-hover: #2563eb;
  --green:      #10b981;
  --amber:      #f59e0b;
  --red:        #ef4444;
  --purple:     #8b5cf6;
  --text:       #f1f5f9;
  --text-2:     #94a3b8;
  --text-muted: #475569;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 20px 60px rgba(0,0,0,.5);
}

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

html { scroll-behavior: smooth; }

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

/* ── Typography ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p  { color: var(--text-2); }

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 30px rgba(59,130,246,.3);
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 0 40px rgba(59,130,246,.5); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; }

/* ── Section labels ── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-2);
  text-align: center;
  max-width: 540px;
  margin: 12px auto 0;
  font-size: 1rem;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-3px); }

.card-icon { font-size: 2rem; margin-bottom: 16px; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Navigation
   ============================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, border-color .3s, padding .3s;
}
#nav.scrolled {
  background: rgba(5,8,18,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.logo-mark {
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 8px; font-size: .9rem; padding: 10px 20px; }

/* ============================================
   Hero
   ============================================ */
#hero {
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,.12);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,.25);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-price {
  color: var(--text-2);
  font-size: .9rem;
}
.hero-price strong { color: var(--text); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.stat-label {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Phone Mockup ── */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 272px;
  background: #0e1a2f;
  border-radius: 42px;
  border: 2px solid #1d2f4d;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 40px 100px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,255,255,.03);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #0e1a2f;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-screen {
  padding: 40px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 560px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.app-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}
.app-chip.good { background: rgba(16,185,129,.15); color: var(--green); }

.room-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.room-card {
  border-radius: 12px;
  padding: 11px;
  border: 1px solid;
}
.room-card.good { background: rgba(16,185,129,.05); border-color: rgba(16,185,129,.2); }
.room-card.warn { background: rgba(245,158,11,.05); border-color: rgba(245,158,11,.2); }
.room-card.bad  { background: rgba(239,68,68,.05);  border-color: rgba(239,68,68,.2); }

.room-name {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.room-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.02em;
}

.room-meta {
  font-size: 8px;
  font-weight: 600;
  margin-top: 3px;
}
.room-card.good .room-meta { color: var(--green); }
.room-card.warn .room-meta { color: var(--amber); }
.room-card.bad  .room-meta { color: var(--red); }

.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
  margin-top: 8px;
}

.spark {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 2px;
  opacity: .7;
}
.room-card.good .spark { background: var(--green); }
.room-card.warn .spark { background: var(--amber); }
.room-card.bad  .spark { background: var(--red); }

.app-alert {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}

.alert-title { font-weight: 700; color: var(--text); font-size: 10px; }
.alert-action { color: var(--amber); font-size: 9px; margin-top: 2px; }

.app-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.dot { width: 6px; height: 6px; border-radius: 3px; background: var(--border-2); }
.dot.active { width: 18px; background: var(--blue); }

/* ── Floating Badges ── */
.float-badge {
  position: absolute;
  background: var(--bg-card-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  pointer-events: none;
}

.pm25    { top: 12%; right: -18%; animation: float 4s ease-in-out infinite; }
.voc     { top: 48%; right: -22%; animation: float 4s ease-in-out infinite 1.3s; }
.humidity{ top: 74%; left: -16%;  animation: float 4s ease-in-out infinite 2.6s; }

.fb-label { display: block; font-size: 10px; color: var(--text-muted); margin-bottom: 2px; }
.fb-val   { font-size: 14px; font-weight: 700; }
.fb-val.good { color: var(--green); }
.fb-val.warn { color: var(--amber); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ============================================
   Problem
   ============================================ */
#problem {
  background: linear-gradient(180deg, transparent, rgba(59,130,246,.03), transparent);
}

#problem h2, #problem .section-label { text-align: center; }
#problem h2 { max-width: 640px; margin: 0 auto; }

/* ============================================
   Solution
   ============================================ */
#solution { background: var(--bg-2); }

.solution-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.solution-text .section-label,
.solution-text p { margin-bottom: 16px; }

.solution-text p { max-width: 480px; }

.check-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: .95rem;
}

.check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Report Card ── */
.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.report-title { font-weight: 700; font-size: .95rem; color: var(--text); }

.report-chip {
  font-size: .75rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--text-2);
}

.report-body {
  display: flex;
  align-items: center;
  gap: 24px;
}

.score-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 72%, var(--border) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.score-inner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.score-grade { font-size: 1.4rem; font-weight: 900; color: var(--blue); letter-spacing: -.02em; }
.score-label { font-size: 9px; color: var(--text-muted); }

.score-list { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.score-row {
  display: grid;
  grid-template-columns: 80px 1fr 28px;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-2);
}

.score-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .8s ease;
}
.score-fill.good { background: var(--green); }
.score-fill.warn { background: var(--amber); }
.score-fill.bad  { background: var(--red); }

.score-num { font-weight: 700; color: var(--text); text-align: right; font-size: .78rem; }

.report-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 10px;
  padding: 14px;
  margin-top: 20px;
}

.report-insight p { font-size: .85rem; color: var(--text-2); margin: 0; }

/* ============================================
   Features
   ============================================ */
#features { text-align: center; }

.features-grid .card { text-align: left; cursor: pointer; }
.features-grid .card:hover { border-color: rgba(59,130,246,.4); }

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 4px;
  padding: 2px 8px;
}

.feature-card h3 { margin-bottom: 8px; }
.feature-card p  { font-size: .9rem; }

/* ============================================
   Pricing
   ============================================ */
#pricing {
  background: var(--bg-2);
  text-align: center;
}

.price-card { position: relative; }
.price-card.featured {
  border-color: rgba(59,130,246,.5);
  background: linear-gradient(145deg, rgba(59,130,246,.07), var(--bg-card));
  transform: translateY(-6px);
}
.price-card.featured:hover { transform: translateY(-9px); }

.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.price-amount { margin-bottom: 12px; color: var(--text); font-weight: 700; font-size: 1rem; }
.price-big { font-size: 3rem; font-weight: 900; letter-spacing: -.04em; }
.price-unit { color: var(--text-muted); font-size: .9rem; margin-left: 4px; }

.price-desc { font-size: .85rem; margin-bottom: 20px; }

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  text-align: left;
  font-size: .88rem;
}

.price-list li { color: var(--text-2); padding-left: 20px; position: relative; }
.price-list li.yes::before  { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-list li.no::before   { content: '✗'; position: absolute; left: 0; color: var(--text-muted); }
.price-list li.no { opacity: .5; }

/* ============================================
   Comparison
   ============================================ */
#comparison { text-align: center; }

.table-scroll {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.comp-table thead th {
  padding: 18px 24px;
  font-weight: 700;
  white-space: nowrap;
}

.comp-table thead th.them { color: var(--text-muted); }
.comp-table thead th.us   { color: var(--blue); background: rgba(59,130,246,.06); }
.comp-table thead th small { display: block; font-size: .75rem; font-weight: 400; color: var(--text-muted); margin-top: 3px; }

.comp-table tbody tr { border-top: 1px solid var(--border); }
.comp-table tbody td { padding: 15px 24px; color: var(--text-2); }
.comp-table tbody td:first-child { color: var(--text); text-align: left; }
.comp-table tbody td:nth-child(3) { background: rgba(59,130,246,.04); }
.comp-table tbody td.yes     { color: var(--green); font-weight: 700; }
.comp-table tbody td.no      { color: var(--text-muted); }
.comp-table tbody td.partial { color: var(--amber); font-size: .85rem; }

/* ============================================
   Waitlist
   ============================================ */
#waitlist { background: var(--bg-2); }

.waitlist-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.waitlist-text p { max-width: 400px; margin-bottom: 28px; }

.perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk {
  font-size: .9rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Form ── */
.waitlist-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  padding: 36px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.req { color: var(--blue); }
.select-many { color: var(--text-muted); font-weight: 400; font-size: .8rem; }

input[type="email"], select {
  width: 100%;
  background: var(--bg-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
input[type="email"]:focus, select:focus { border-color: var(--blue); }
input::placeholder { color: var(--text-muted); }

select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%236b7280'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

select option { background: #0f1a2e; }

.radio-row, .check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: .85rem;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  user-select: none;
}
.choice:hover { border-color: var(--border-2); color: var(--text); }
.choice input { accent-color: var(--blue); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--blue); background: rgba(59,130,246,.08); color: var(--text); }

.form-note {
  font-size: .78rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-error {
  color: var(--red);
  font-size: .85rem;
  margin-top: 10px;
  text-align: center;
}

/* ── Success ── */
.hidden { display: none !important; }

.success-msg {
  text-align: center;
  padding: 32px 20px;
}

.success-icon { font-size: 3rem; margin-bottom: 16px; }
.success-msg h3 { font-size: 1.4rem; margin-bottom: 10px; }
.success-msg p { margin-bottom: 24px; }

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-brand .logo-text { font-weight: 700; font-size: 1.05rem; }
.footer-brand p { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

.footer-legal {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .hero-container   { grid-template-columns: 1fr; }
  .hero-visual      { order: -1; }
  .solution-container { grid-template-columns: 1fr; }
  .waitlist-container { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-3px); }
  .float-badge { display: none; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .nav-links { display: none; }
  .report-body { flex-direction: column; align-items: flex-start; }
  .waitlist-form-wrap { padding: 24px 18px; }
  .check-grid { grid-template-columns: 1fr; }
  .comp-table thead th, .comp-table tbody td { padding: 12px 14px; }
  #hero { padding-top: 100px; }
  .floor-plan-grid { grid-template-columns: 1fr; }
  .fp-room-card.fp-kitchen { grid-column: auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .why-now-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Why Multi-Room Matters
   ============================================ */
#why-multi-room {
  background: linear-gradient(180deg, transparent, rgba(59,130,246,.03), transparent);
}
#why-multi-room h2,
#why-multi-room .section-label { text-align: center; }
#why-multi-room h2 { max-width: 640px; margin: 0 auto; }

.floor-plan-visual {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-top: 48px;
  position: relative;
  text-align: left;
}

.floor-plan-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  padding: 0 16px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.floor-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fp-room-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.fp-room-card.fp-kitchen { grid-column: 1 / -1; }
.fp-room-card.fp-warn   { border-color: rgba(245,158,11,.35); }
.fp-room-card.fp-purple { border-color: rgba(139,92,246,.35); }
.fp-room-card.fp-bad    { border-color: rgba(239,68,68,.35); }

.fp-room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-room-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.fp-status-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.fp-status-badge.fp-warn   { background: rgba(245,158,11,.15); color: var(--amber); }
.fp-status-badge.fp-purple { background: rgba(139,92,246,.15); color: var(--purple); }
.fp-status-badge.fp-bad    { background: rgba(239,68,68,.15);  color: var(--red); }

.fp-pollutant-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.fp-pollutant-name {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}

.fp-pollutant-val {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.fp-pollutant-val.fp-warn   { color: var(--amber); }
.fp-pollutant-val.fp-purple { color: var(--purple); }
.fp-pollutant-val.fp-bad    { color: var(--red); }

.fp-pollutant-limit {
  font-size: .75rem;
  font-weight: 600;
  color: var(--red);
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 4px;
  padding: 2px 8px;
  align-self: center;
}

.fp-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.fp-bar-fill {
  height: 100%;
  border-radius: 3px;
}
.fp-bar-fill.fp-warn   { background: var(--amber); }
.fp-bar-fill.fp-purple { background: var(--purple); }
.fp-bar-fill.fp-bad    { background: var(--red); }

.fp-note {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.floor-plan-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-2);
}

/* ============================================
   How It Works
   ============================================ */
#how-it-works { background: var(--bg-2); }
#how-it-works h2,
#how-it-works .section-label { text-align: center; }
#how-it-works h2 { max-width: 540px; margin: 0 auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 100%);
  opacity: .25;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(59,130,246,.3);
}

.step-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   Who Is This For?
   ============================================ */
#who-its-for {
  background: linear-gradient(180deg, transparent, rgba(139,92,246,.03), transparent);
}
#who-its-for h2,
#who-its-for .section-label { text-align: center; }
#who-its-for h2 { max-width: 640px; margin: 0 auto; }

.persona-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.persona-card:hover {
  border-color: rgba(139,92,246,.4);
  transform: translateY(-4px);
}

.persona-emoji {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.persona-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.persona-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   Why Now?
   ============================================ */
#why-now { background: var(--bg-2); }
#why-now h2,
#why-now .section-label { text-align: center; }
#why-now h2 { max-width: 660px; margin: 0 auto; }

.why-now-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.why-now-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .2s, transform .2s;
}

.why-now-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}

.why-now-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 3px;
}

.why-now-content h3 {
  color: var(--text);
  margin-bottom: 10px;
}

.why-now-content p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 960px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-grid::before { display: none; }
  .persona-grid { grid-template-columns: repeat(3, 1fr); }
  .why-now-grid { grid-template-columns: 1fr; }
  .mid-cta-inner { flex-direction: column; text-align: center; }
  .mid-cta-inner h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
}

/* ============================================
   Mid-page CTA
   ============================================ */
#mid-cta {
  background: var(--bg-2);
  padding: 72px 0;
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(139,92,246,.12) 100%);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 20px;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
}

.mid-cta-inner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,.1) 0%, transparent 70%);
  pointer-events: none;
}

.mid-cta-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 10px;
}

.mid-cta-text p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 440px;
  margin: 0;
}

.mid-cta-inner .btn { flex-shrink: 0; }
