/* =====================================================================
   KAARIGER — AI Operating System for Home Maintenance
   Powered by Zulfig Systems
   Design System + Components
   ===================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Core surface palette (premium dark) */
  --bg:           #0B0F14;
  --bg-2:         #0E141B;
  --surface:      #131A22;
  --surface-2:    #18212B;
  --surface-3:    #1E2935;
  --border:       #232E3A;
  --border-soft:  #1B242E;

  /* Text */
  --text:         #E9F0F6;
  --text-soft:    #AEBCC9;
  --text-muted:   #768494;

  /* Brand — Kaariger green */
  --green:        #22C55E;
  --green-bright: #2EE57C;
  --green-deep:   #15803D;
  --green-glow:   rgba(34, 197, 94, .35);

  /* WhatsApp */
  --wa:           #25D366;
  --wa-deep:      #128C7E;

  /* Enterprise gold/premium */
  --gold:         #F5C451;
  --gold-soft:    #E8B33E;
  --gold-glow:    rgba(245, 196, 81, .22);

  /* Accent teal (acoustic) */
  --teal:         #2DD4BF;

  /* Status */
  --amber:        #F59E0B;

  /* Layout */
  --maxw:         1180px;
  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    26px;
  --gap:          24px;

  /* Effects */
  --shadow:       0 24px 60px -20px rgba(0,0,0,.55);
  --shadow-soft:  0 10px 30px -12px rgba(0,0,0,.5);
  --ring:         0 0 0 1px rgba(255,255,255,.04);

  --ease:         cubic-bezier(.22,.61,.36,1);

  --font-sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 86px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

.center { text-align: center; }
.cta-center { margin-top: 44px; }

/* ---------- 3. Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }

.kicker {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-bright);
  padding: 6px 14px;
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 100px;
  background: rgba(34,197,94,.07);
  margin-bottom: 20px;
}
.kicker.gold { color: var(--gold); border-color: rgba(245,196,81,.3); background: rgba(245,196,81,.07); }
.kicker.green { color: var(--wa); border-color: rgba(37,211,102,.3); background: rgba(37,211,102,.08); }

.section-head { max-width: 760px; margin-inline: auto; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 18px; }
.section-body { color: var(--text-soft); font-size: 1.06rem; }
.section-body.strong { color: var(--text); font-weight: 600; }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap; line-height: 1;
}
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; margin-top: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #04140A;
  box-shadow: 0 10px 26px -8px var(--green-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px var(--green-glow), inset 0 1px 0 rgba(255,255,255,.3); }

.btn-ghost {
  background: rgba(255,255,255,.03);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--green); background: rgba(34,197,94,.06); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1A1306;
  box-shadow: 0 10px 26px -8px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px var(--gold-glow); }

.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(245,196,81,.4);
}
.btn-outline-gold:hover { transform: translateY(-2px); background: rgba(245,196,81,.08); border-color: var(--gold); }

/* WhatsApp icon */
.wa-icon {
  width: 19px; height: 19px; flex: 0 0 19px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.945C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 018.413 3.488 11.824 11.824 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.978-1.207zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.945C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 018.413 3.488 11.824 11.824 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.978-1.207zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wa-icon.lg { width: 30px; height: 30px; }

.rec-icon { width: 11px; height: 11px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(46,229,124,.18); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11,15,20,.72);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(11,15,20,.92); border-bottom-color: var(--border-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #04140A; box-shadow: 0 6px 16px -6px var(--green-glow);
}
.logo-mark.sm { width: 22px; height: 22px; border-radius: 7px; }
.logo-text { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -.02em; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: .95rem; color: var(--text-soft); font-weight: 500; transition: color .2s; position: relative; }
.main-nav a:hover { color: var(--text); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width .25s var(--ease); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: 0;
  background:
    radial-gradient(620px 380px at 22% 18%, rgba(34,197,94,.16), transparent 70%),
    radial-gradient(560px 360px at 82% 8%, rgba(45,212,191,.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 70px); align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--text-soft); padding: 7px 15px 7px 12px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); margin-bottom: 26px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(46,229,124,.2); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,229,124,.28); } 50% { box-shadow: 0 0 0 6px rgba(46,229,124,0); } }

.hero-h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 24px; }
.accent-text { background: linear-gradient(120deg, var(--green-bright), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--text); margin-bottom: 18px; max-width: 560px; }
.hero-support { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; max-width: 540px; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center-row { justify-content: center; }
.microcopy { margin-top: 18px; font-size: .9rem; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.center .microcopy { justify-content: center; }
.pin { color: var(--green-bright); }

/* Hero UI card */
.hero-ui { position: relative; }
.hero-ui-glow { position: absolute; inset: 8% 6%; z-index: 0; background: radial-gradient(closest-side, rgba(34,197,94,.18), transparent); filter: blur(24px); }
.intake-card {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.intake-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.intake-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; color: var(--text-soft); }
.intake-status { font-size: .76rem; font-weight: 600; color: var(--green-bright); letter-spacing: .04em; }

.intake-state { animation: fadeUp .45s var(--ease); }
.intake-question { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 16px; }
.intake-field { background: var(--bg-2); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 18px; min-height: 78px; display: flex; align-items: center; }
.intake-placeholder { color: var(--text-muted); font-size: 1.02rem; }
.intake-placeholder .caret { color: var(--green-bright); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.record-btn {
  width: 100%; margin-top: 18px;
  display: flex; align-items: center; justify-content: center; gap: 11px;
  padding: 16px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(45,212,191,.1));
  border: 1px solid rgba(34,197,94,.4);
  font-weight: 600; color: var(--text);
  transition: transform .15s var(--ease), box-shadow .2s, background .2s;
  user-select: none;
}
.record-btn .rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(46,229,124,.16); transition: transform .2s; }
.record-btn:hover { background: linear-gradient(135deg, rgba(34,197,94,.24), rgba(45,212,191,.14)); }
.record-btn.recording { background: linear-gradient(135deg, rgba(239,68,68,.22), rgba(245,158,11,.12)); border-color: rgba(239,68,68,.5); transform: scale(.99); }
.record-btn.recording .rec-dot { background: #EF4444; box-shadow: 0 0 0 5px rgba(239,68,68,.22); animation: recPulse .8s infinite; }
@keyframes recPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.intake-helper { margin-top: 14px; font-size: .86rem; color: var(--text-muted); text-align: center; }

/* Waveform */
.waveform { height: 92px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 14px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; }
.waveform span { display: block; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--green-bright), var(--teal)); }
.wave-label { text-align: center; font-size: .82rem; font-weight: 600; color: var(--teal); letter-spacing: .04em; margin-bottom: 6px; }

/* Job card preview */
.jobcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.jobcard-tag { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--green-bright); }
.jobcard-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(34,197,94,.18); color: var(--green-bright); font-weight: 700; }
.jobcard-rows { display: flex; flex-direction: column; gap: 2px; }
.jobcard-rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--border-soft); font-size: .92rem; }
.jobcard-rows li:last-child { border-bottom: none; }
.jobcard-rows li span { color: var(--text-muted); flex: 0 0 auto; }
.jobcard-rows li b { color: var(--text); text-align: right; font-weight: 600; }

.pill { display: inline-block; padding: 3px 11px; border-radius: 100px; font-size: .8rem; font-weight: 600; background: var(--surface-3); border: 1px solid var(--border); }
.pill-green { color: var(--green-bright); background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); }
.pill-amber { color: var(--amber); background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.3); }

.intake-progress { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.ip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all .3s; }
.ip-dot.active { background: var(--green-bright); width: 24px; border-radius: 5px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Problem ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 56px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.pain-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--green-bright), transparent); opacity: 0; transition: opacity .3s; }
.pain-card:hover { transform: translateY(-4px); border-color: var(--border); }
.pain-card:hover::before { opacity: 1; }
.pain-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--green-deep); display: block; margin-bottom: 16px; }
.pain-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pain-card p { color: var(--text-soft); font-size: .98rem; }

/* ---------- 8. Mechanism ---------- */
.flow-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 48px auto 56px; max-width: 860px; }
.flow-node { padding: 11px 20px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; font-weight: 600; color: var(--text); }
.flow-arrow { color: var(--green-bright); font-size: 1.2rem; font-weight: 700; }

.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.process-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform .3s var(--ease), border-color .3s;
}
.process-card:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.3); }
.step-index { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-bright); padding: 5px 12px; border-radius: 100px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); margin-bottom: 18px; }
.process-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.process-card p { color: var(--text-soft); font-size: .98rem; }

.ui-chip-row { margin: 18px 0 8px; }
.ui-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; font-size: .85rem; font-weight: 600; background: var(--surface-3); border: 1px solid var(--border); }
.ui-chip.on { color: var(--green-bright); border-color: rgba(34,197,94,.35); }
.ui-chip.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 3px rgba(46,229,124,.2); }
.chip-note { font-size: .86rem !important; color: var(--text-muted) !important; margin-top: 8px; }

.data-labels { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.data-labels li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--text); }
.data-labels li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(34,197,94,.14); color: var(--green-bright); font-size: .72rem; font-weight: 700; flex: 0 0 auto; }

.acoustic-visual { margin: 18px 0 12px; padding: 18px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.acoustic-label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--teal); margin-bottom: 14px; }
.acoustic-bars { display: flex; align-items: flex-end; gap: 3px; height: 56px; }
.acoustic-bars span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--teal), var(--green-deep)); }

/* ---------- 9. Job Card section ---------- */
.before-after { display: grid; grid-template-columns: 1fr auto 1.1fr; gap: 24px; align-items: center; margin-top: 56px; }
.ba-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.ba-card.after { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-color: rgba(34,197,94,.3); box-shadow: 0 0 0 1px rgba(34,197,94,.08), var(--shadow-soft); }
.ba-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.ba-card.after .ba-label { color: var(--green-bright); }
.chat-bubble { background: var(--surface-3); border: 1px solid var(--border); border-radius: 6px 18px 18px 18px; padding: 18px 20px; font-size: 1.02rem; color: var(--text); line-height: 1.55; }
.ba-arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--green-bright); }
.ba-arrow span { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 10. Marketplace ---------- */
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,52px); margin-top: 56px; align-items: start; }
.market-flow { display: flex; flex-direction: column; gap: 14px; }
.flow-step { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .3s, transform .3s; }
.flow-step:hover { border-color: rgba(34,197,94,.3); transform: translateX(4px); }
.fs-num { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #04140A; background: linear-gradient(135deg, var(--green-bright), var(--green-deep)); }
.flow-step h3 { font-size: 1.16rem; margin-bottom: 5px; }
.flow-step p { color: var(--text-soft); font-size: .94rem; }

.tech-cards { display: flex; flex-direction: column; gap: 18px; }
.tech-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .3s, border-color .3s; }
.tech-card:hover { transform: translateY(-3px); border-color: rgba(34,197,94,.3); }
.tech-card.dim { opacity: .82; }
.tech-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tech-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-family: var(--font-display); font-weight: 700; color: var(--green-bright); background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); }
.verified-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--green-bright); }
.vb-check { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--green-bright); color: #04140A; font-size: .66rem; }
.tech-trade { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-top: 4px; }
.tech-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-bottom: 18px; }
.tech-meta li { display: flex; flex-direction: column; gap: 3px; font-size: .92rem; }
.tech-meta li span { color: var(--text-muted); font-size: .8rem; }
.tech-meta li b { color: var(--text); }

/* ---------- 11. Trust / 4-cards ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 56px; }
.trust-card, .benefit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s, border-color .3s; }
.trust-card:hover, .benefit-card:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.3); }
.trust-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.18); margin-bottom: 18px; }
.trust-card h3, .benefit-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.trust-card p, .benefit-card p { color: var(--text-soft); font-size: .95rem; }
.benefit-card { position: relative; padding-top: 32px; }
.benefit-card::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 3px; background: linear-gradient(90deg, var(--green-bright), transparent); border-radius: 0 0 3px 3px; }

/* ---------- 12. Homeowners ---------- */
.homeowners-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,70px); align-items: center; }
.usecase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.usecase { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .3s; }
.usecase:hover { border-color: rgba(34,197,94,.3); }
.usecase b { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 5px; }
.usecase span { color: var(--text-soft); font-size: .9rem; }

/* Phone mockup */
.phone-mock { display: flex; justify-content: center; }
.phone-frame {
  width: 320px; max-width: 100%;
  background: #0A0A0A; border: 10px solid #1A1F26; border-radius: 42px;
  padding: 0; overflow: hidden; box-shadow: var(--shadow);
  position: relative;
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 130px; height: 24px; background: #1A1F26; border-radius: 0 0 16px 16px; z-index: 3; }
.wa-header { display: flex; align-items: center; gap: 10px; padding: 30px 16px 12px; background: var(--wa-deep); color: #fff; }
.wa-back { font-size: 1.4rem; line-height: 1; }
.wa-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-bright); color: #04140A; font-weight: 700; font-family: var(--font-display); }
.wa-titles { display: flex; flex-direction: column; line-height: 1.2; }
.wa-titles b { font-size: .98rem; }
.wa-titles span { font-size: .76rem; opacity: .85; }
.wa-body { background: #0B141A; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 420px; background-image: radial-gradient(rgba(255,255,255,.02) 1px, transparent 1px); background-size: 18px 18px; }
.wa-msg { max-width: 80%; padding: 10px 13px; border-radius: 12px; font-size: .9rem; line-height: 1.45; animation: msgIn .4s var(--ease) both; }
.wa-msg.in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border-soft); border-top-left-radius: 4px; }
.wa-msg.out { align-self: flex-end; background: #0E3B2E; border: 1px solid rgba(37,211,102,.2); color: #DDF5E8; border-top-right-radius: 4px; }
.wa-msg.voice { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.wa-msg.voice .play { color: var(--green-bright); font-size: .8rem; }
.wa-msg.voice .vbars { display: flex; align-items: center; gap: 2px; flex: 1; height: 22px; }
.wa-msg.voice .vbars i { width: 3px; border-radius: 2px; background: var(--green-bright); opacity: .8; animation: vb 1.1s ease-in-out infinite; }
.wa-msg.voice .vbars i:nth-child(odd) { height: 60%; }
.wa-msg.voice .vbars i:nth-child(even) { height: 100%; animation-delay: .2s; }
.wa-msg.voice .vtime { font-size: .72rem; opacity: .7; }
@keyframes vb { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.wa-msg.card { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-color: rgba(34,197,94,.3); max-width: 88%; }
.wa-msg.card b { color: var(--green-bright); font-size: .92rem; }
.wa-msg.card span { font-size: .82rem; color: var(--text-soft); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 13. Enterprise ---------- */
.enterprise { background: linear-gradient(180deg, #070A0E, #0A0E14); overflow: hidden; }
.enterprise-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(700px 420px at 80% 0%, rgba(245,196,81,.1), transparent 70%), radial-gradient(560px 360px at 10% 100%, rgba(245,196,81,.06), transparent 70%); pointer-events: none; }
.enterprise .container { position: relative; z-index: 1; }
.enterprise h2 { background: linear-gradient(120deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.positioning { max-width: 820px; margin: 44px auto 56px; text-align: center; padding: 34px; border: 1px solid rgba(245,196,81,.2); border-radius: var(--radius-lg); background: rgba(245,196,81,.04); }
.positioning-lead { font-family: var(--font-display); font-size: clamp(1.2rem,2.4vw,1.6rem); font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.positioning-sub { color: var(--text-soft); font-size: 1.02rem; }

.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.module-card { background: linear-gradient(180deg, rgba(245,196,81,.04), transparent), var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s, border-color .3s; }
.module-card:hover { transform: translateY(-4px); border-color: rgba(245,196,81,.35); }
.mod-num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold); letter-spacing: .04em; display: block; margin-bottom: 14px; }
.module-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.module-card p { color: var(--text-soft); font-size: .95rem; }

.b2b-usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 32px; }
.b2b-uc { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.b2b-uc b { display: block; font-family: var(--font-display); color: var(--gold); margin-bottom: 8px; font-size: 1rem; }
.b2b-uc span { color: var(--text-soft); font-size: .9rem; }

.enterprise-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 14. Data Moat ---------- */
.datamoat { background: linear-gradient(180deg, #0A0E14, #070A0E); }
.datamoat h2 { background: linear-gradient(120deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.moat-grid { display: flex; flex-direction: column; align-items: center; gap: 24px; margin: 48px auto 0; max-width: 820px; }
.moat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.moat-list li { padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .96rem; color: var(--text); position: relative; padding-left: 44px; }
.moat-list li::before { content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,196,81,.16); }
.moat-tag { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--gold); text-align: center; }

.architecture { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 56px auto 0; }
.arch-layer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; transition: transform .3s, border-color .3s; }
.arch-layer:hover { transform: scale(1.015); border-color: rgba(245,196,81,.35); }
.arch-tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); padding: 5px 11px; border-radius: 100px; background: rgba(245,196,81,.1); border: 1px solid rgba(245,196,81,.25); white-space: nowrap; }
.arch-layer b { font-family: var(--font-display); font-size: 1.1rem; }
.arch-desc { color: var(--text-muted); font-size: .88rem; text-align: right; }
/* layered indentation feel */
.arch-layer.l1 { margin-inline: 0; }
.arch-layer.l2 { margin-inline: 18px; }
.arch-layer.l3 { margin-inline: 36px; }
.arch-layer.l4 { margin-inline: 54px; }
.arch-layer.l5 { margin-inline: 72px; background: linear-gradient(135deg, rgba(245,196,81,.1), var(--surface)); border-color: rgba(245,196,81,.4); }

/* ---------- 15. WhatsApp MVP ---------- */
.whatsapp { background: linear-gradient(180deg, #0A0E14, var(--bg)); }
.whatsapp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px,5vw,70px); align-items: center; }
.prompt-examples { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.prompt-chip { padding: 12px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; color: var(--text); transition: transform .2s, border-color .2s, background .2s; }
.prompt-chip:hover { transform: translateY(-2px); border-color: var(--wa); background: rgba(37,211,102,.07); }

/* ---------- 16. Final CTA ---------- */
.final-cta { overflow: hidden; }
.final-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(620px 360px at 50% 30%, rgba(34,197,94,.16), transparent 70%); pointer-events: none; }
.final-cta .container { position: relative; z-index: 1; }
.final-h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 22px; }
.final-body { max-width: 620px; margin: 0 auto 36px; color: var(--text-soft); font-size: 1.1rem; }

/* ---------- 17. Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 56px 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--border-soft); }
.footer-tag { color: var(--text-soft); margin: 14px 0 8px; font-size: .96rem; }
.footer-powered { color: var(--text-muted); font-size: .92rem; }
.footer-powered b { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-soft); font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--green-bright); }
.footer-area-label { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 10px; }
.footer-area p { color: var(--text); font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
.footer-bottom p { color: var(--text-muted); font-size: .88rem; }

/* ---------- 18. Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--wa), var(--wa-deep));
  color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.5);
  transition: transform .25s var(--ease);
  animation: floatBob 3s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.08); }
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- 19. Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .homeowners-grid, .whatsapp-grid { grid-template-columns: 1fr; }
  .hero-ui { order: -1; max-width: 440px; margin-inline: auto; }
  .cards-3, .process-grid, .moat-list { grid-template-columns: 1fr 1fr; }
  .modules-grid, .cards-4, .b2b-usecases { grid-template-columns: 1fr 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); margin: 4px auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: rgba(11,15,20,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 14px 22px 22px; transform: translateY(-120%); transition: transform .35s var(--ease); align-items: stretch; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .cards-3, .process-grid, .modules-grid, .cards-4, .b2b-usecases, .moat-list, .usecase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .arch-layer { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .arch-desc { text-align: left; }
  .arch-layer.l2, .arch-layer.l3, .arch-layer.l4, .arch-layer.l5 { margin-inline: 0; }
  .tech-meta { grid-template-columns: 1fr 1fr; }
  .float-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

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