/* ============================================================
   ZOYAZ.COM — Marketing site design system
   Palette:
     --bg:        #0F1923  (deep navy, matches app)
     --surface:   #1A2D42  (card navy)
     --surface-2: #16253A  (slightly deeper card, for contrast stacking)
     --green:     #4CAF7D  (signature accent — primary CTA, success)
     --green-dark:#2E9E6B
     --amber:     #F5A623  (secondary accent — AI / energy)
     --ivory:     #F0EDE8  (warm off-white, headings on dark)
     --muted:     #8899AA  (secondary text)
     --dim:       #5A6A7A  (tertiary text)
     --border:    #24384D
   Type:
     Display: 'Space Grotesk' — architectural, geometric, "organized home"
     Body:    'Inter' — clean humanist workhorse
   ============================================================ */

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

:root {
  --bg: #0F1923;
  --surface: #1A2D42;
  --surface-2: #16253A;
  --green: #4CAF7D;
  --green-dark: #2E9E6B;
  --green-glow: rgba(76, 175, 125, 0.18);
  --amber: #F5A623;
  --amber-glow: rgba(245, 166, 35, 0.16);
  --ivory: #F0EDE8;
  --muted: #8899AA;
  --dim: #5A6A7A;
  --border: #24384D;
  --danger: #E74C3C;
  --blue: #4A90D9;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

p { margin: 0; color: var(--muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  /* Kill the big dead gap under the sticky nav — hero used to inherit
     the same 88px top padding as desktop, which felt empty on narrow
     screens where there's no second hero column to fill the space. */
  .hero { padding: 32px 0 56px; }
  .eyebrow { margin-bottom: 18px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 24px; }
  .hero-ctas { margin-bottom: 20px; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 25, 35, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.nav-brand-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-brand-icon img { width: 100%; height: 100%; object-fit: contain; }

.nav-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ivory);
}

.nav-brand-text .dot-com { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ivory); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile dropdown panel — hidden by default, toggled via JS */
.nav-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
}

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

.nav-mobile-panel a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 12px 4px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-mobile-panel a:hover,
.nav-mobile-panel a[aria-current="page"] {
  color: var(--ivory);
  background: rgba(255,255,255,0.04);
}

.nav-mobile-panel .nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.nav-mobile-panel .btn { width: 100%; }
.nav-mobile-panel .btn-primary { color: #08150F; }
.nav-mobile-panel .btn-ghost { color: var(--ivory); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  /* Bigger, more balanced logo mark against the "Zoyaz.com" wordmark
     now that Log in / Get Started have moved into the mobile panel. */
  .nav-brand-icon { width: 84px; height: 84px; }
  .nav-brand-text { font-size: 23px; }
  .nav-inner { height: 92px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #08150F;
}
.btn-primary:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid rgba(76, 175, 125, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 .accent { color: var(--green); }

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-microcopy {
  font-size: 13.5px;
  color: var(--dim);
}

/* ---- Scan simulation (signature element) ---- */
.scan-demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  position: relative;
}

.scan-demo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.scan-demo-header .dot {
  width: 9px; height: 9px; border-radius: 50%;
}
.scan-demo-header .dot:nth-child(1) { background: #E74C3C; }
.scan-demo-header .dot:nth-child(2) { background: #F5A623; }
.scan-demo-header .dot:nth-child(3) { background: #4CAF7D; }
.scan-demo-header span:last-child {
  margin-left: auto;
  font-size: 12px;
  color: var(--dim);
  font-family: 'Space Grotesk', sans-serif;
}

.scan-viewport {
  position: relative;
  background: #0A1119;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.scan-label-mock {
  position: absolute;
  inset: 18px;
  background: #E8E4DC;
  border-radius: 6px;
  padding: 18px;
  font-family: 'Space Grotesk', monospace;
  color: #1a1a1a;
}

.scan-label-mock .brand-row {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  color: #1a3a5c;
}

.scan-label-line {
  height: 8px;
  background: #C7C2B8;
  border-radius: 3px;
  margin-bottom: 8px;
}
.scan-label-line.w60 { width: 60%; }
.scan-label-line.w80 { width: 80%; }
.scan-label-line.w40 { width: 40%; }

.scan-beam {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 20px 4px var(--green-glow);
  animation: scanmove 3.2s ease-in-out infinite;
}

@keyframes scanmove {
  0%, 100% { top: 8%; opacity: 0.3; }
  50% { top: 92%; opacity: 1; }
}

.scan-results {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.scan-result-field {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.scan-result-field .k {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin-bottom: 4px;
}

.scan-result-field .v {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ivory);
  font-family: var(--font-display);
}

.scan-result-field.filling .v {
  color: var(--green);
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section {
  padding: 100px 0;
}
.section-tight { padding: 72px 0; }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 16.5px;
}

.section-alt { background: var(--surface-2); }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(76, 175, 125, 0.4);
  transform: translateY(-3px);
}

.feature-card.feature-card--amber:hover {
  border-color: rgba(245, 166, 35, 0.45);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card--amber .feature-icon { background: var(--amber-glow); }

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p { font-size: 14.5px; }

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  background: var(--green-glow);
  padding: 4px 10px;
  border-radius: 999px;
}

.feature-card--amber .feature-tag {
  color: var(--amber);
  background: var(--amber-glow);
}

/* ============================================================
   PROPERTY SWITCHER MOCK (multi-property signature)
   ============================================================ */
.property-mock {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  margin: 0 -4px;
}

.property-chip {
  flex: 0 0 auto;
  width: 190px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.property-chip.active {
  border-color: var(--green);
  background: rgba(76, 175, 125, 0.08);
}

.property-chip .p-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}

.property-chip .p-count {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  float: right;
  margin-top: -40px;
}

.property-chip .p-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--ivory);
}

.property-chip .p-addr {
  font-size: 11.5px;
  color: var(--dim);
}

/* ============================================================
   STEPS (how it works)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  border: 1px solid var(--green);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

@media (max-width: 700px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--ivory);
}
.stat .label {
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 4px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(76,175,125,0.07), var(--surface) 30%);
  position: relative;
  transform: scale(1.02);
}

.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #08150F;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-desc { font-size: 13.5px; margin-bottom: 20px; min-height: 40px; }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 4px;
}

.price-amount .num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--ivory);
}
.price-amount .period { font-size: 14px; color: var(--dim); }

.price-savings {
  font-size: 12.5px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 22px;
}

.price-features {
  list-style: none;
  padding: 0; margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.price-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px; height: 16px;
  color: var(--green);
}

.price-features li.na svg { color: var(--dim); }
.price-features li.na { color: var(--dim); }

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.toggle-pill {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
}

.toggle-pill button {
  border: none;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.toggle-pill button.active {
  background: var(--green);
  color: #08150F;
}

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ivory);
  margin-bottom: 20px;
}

.quote-author { font-size: 13.5px; color: var(--dim); }
.quote-author strong { color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ivory);
}

.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--muted);
  width: 18px; height: 18px;
}

.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 14.5px;
  color: var(--muted);
}

.faq-item.open .faq-a {
  max-height: 300px;
  margin-top: 14px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, rgba(76,175,125,0.12), rgba(245,166,35,0.06));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 90px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dim);
  margin-bottom: 16px;
  font-weight: 600;
  font-family: var(--font-body);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   PAGE HERO (secondary pages: Features / Pricing / Demo)
   ============================================================ */
.page-hero {
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero .eyebrow { margin-left: auto; margin-right: auto; }

.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   LEGAL CONTENT (Privacy Policy, Terms)
   ============================================================ */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 100px;
}

.legal-content .updated {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 40px;
  text-align: center;
}

.legal-content h2 {
  font-size: 22px;
  color: var(--ivory);
  margin: 40px 0 14px;
  padding-top: 8px;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content h3 {
  font-size: 16px;
  color: var(--ivory);
  margin: 24px 0 8px;
}

.legal-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 16px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content li { margin-bottom: 6px; }

.legal-content strong { color: var(--ivory); font-weight: 600; }

.legal-content a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

.legal-content .toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
}

.legal-content .toc h3 {
  margin-top: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.legal-content .toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 24px;
}

.legal-content .toc li { margin-bottom: 6px; font-size: 14px; }
.legal-content .toc a { text-decoration: none; color: var(--muted); }
.legal-content .toc a:hover { color: var(--green); }

@media (max-width: 640px) {
  .legal-content .toc ol { columns: 1; }
}

/* ============================================================
   FEATURE DETAIL BLOCKS (Features page)
   ============================================================ */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}

.detail-block:last-child { border-bottom: none; }

.detail-block.reverse { direction: rtl; }
.detail-block.reverse > * { direction: ltr; }

@media (max-width: 860px) {
  .detail-block, .detail-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.detail-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-copy .eyebrow { margin-bottom: 18px; }
.detail-copy h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; line-height: 1.2; }
.detail-copy p { font-size: 15.5px; margin-bottom: 20px; }

.detail-list {
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

.detail-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 17px; height: 17px;
  color: var(--green);
}

/* Mock: appliance list preview */
.mock-appliance-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

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

.mock-appliance-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.mock-appliance-icon svg { width: 18px; height: 18px; }

.mock-appliance-info { flex: 1; min-width: 0; }
.mock-appliance-info .name { font-size: 13.5px; font-weight: 600; color: var(--ivory); }
.mock-appliance-info .meta { font-size: 11.5px; color: var(--dim); }

.mock-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.mock-badge.good { background: rgba(76,175,125,0.15); color: var(--green); }
.mock-badge.warn { background: rgba(245,166,35,0.15); color: var(--amber); }

/* Mock: doc vault */
.mock-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.mock-doc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.mock-doc svg { width: 22px; height: 22px; margin: 0 auto 8px; color: var(--blue); }
.mock-doc .label { font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* ---------- Demo page ---------- */
.demo-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}

.demo-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.demo-frame-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.demo-frame-bar .dot:nth-child(1) { background: #E74C3C; }
.demo-frame-bar .dot:nth-child(2) { background: #F5A623; }
.demo-frame-bar .dot:nth-child(3) { background: #4CAF7D; }
.demo-frame-bar .url {
  margin-left: 12px;
  font-size: 12.5px;
  color: var(--dim);
  font-family: var(--font-display);
}

.demo-tabs {
  display: flex;
  gap: 6px;
  padding: 16px 18px 0;
  overflow-x: auto;
}

.demo-tab {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.demo-tab.active {
  color: var(--green);
  background: var(--bg);
  border-color: var(--border);
  border-bottom-color: var(--bg);
}

.demo-panel {
  padding: 28px;
  min-height: 380px;
}

.demo-panel-content { display: none; }
.demo-panel-content.active { display: block; }
