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

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

:root {
  --bg:         #0D0D0D;
  --surface:    #161616;
  --surface2:   #1C1C1C;
  --border:     #222222;
  --border-mid: #333333;
  --teal:       #00C2A8;
  --teal-light: #00E5CA;
  --teal-dim:   rgba(0,194,168,.08);
  --text:       #F5F5F5;
  --muted:      #888888;
  --dim:        #555555;
  --danger:     #FF4D4D;
  --warn:       #F5A623;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}

nav.scrolled {
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border);
}

.nav-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 27px; width: auto; display: block; }

/* ── BUTTONS ── */

.btn-teal {
  background: var(--teal);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .85rem;
  padding: .55rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-teal:hover { background: var(--teal-light); }

.btn-hero {
  background: var(--teal);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: .9rem 2.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-hero:hover { background: var(--teal-light); transform: translateY(-1px); }

/* ── HERO ── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .4;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,194,168,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-logo {
  display: block;
  margin: 0 auto 2rem;
  height: 72px; width: auto;
  opacity: 0;
  animation: fadeUp .6s ease-out .05s forwards;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .6s ease-out .1s forwards;
}

.hero-tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0,194,168,.3);
  padding: .3rem .9rem;
  border-radius: 20px;
  opacity: 0;
  animation: fadeUp .6s ease-out .1s forwards;
}

.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 11vw, 112px);
  line-height: .92;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp .7s ease-out .25s forwards;
}
.hero-tagline .accent { color: var(--teal); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2.75rem;
  opacity: 0;
  animation: fadeUp .7s ease-out .4s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp .7s ease-out .55s forwards;
}

/* ── SECTION COMMON ── */

.section {
  padding: 5.5rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
  letter-spacing: -.025em;
  margin-bottom: 3rem;
}

/* ── CARDS GRID ── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--teal);
  border-radius: 4px;
  padding: 1.875rem;
  transition: opacity .5s ease, transform .5s ease;
}
.card.visible { opacity: 1; transform: translateY(0); }

.card-icon { width: 30px; height: 30px; margin-bottom: 1.25rem; color: var(--teal); }

.card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .6rem;
}

.card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── PRECISION SECTION ── */

.precision-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.precision-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.precision-text .section-title { margin-bottom: 1rem; }

.precision-text p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.precision-pills {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: 2rem;
}

.precision-pill {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

.precision-pill .pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: .42rem;
  flex-shrink: 0;
}

.precision-demo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  font-size: .82rem;
  transition: opacity .6s ease, transform .6s ease;
}
.precision-demo.visible { opacity: 1; transform: translateY(0); }

.demo-query {
  color: var(--muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
}
.demo-query span { color: var(--text); font-weight: 400; }

.demo-answer {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: .85rem;
}

.demo-cite {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,194,168,.08);
  border: 1px solid rgba(0,194,168,.2);
  border-radius: 6px;
  padding: .5rem .85rem;
  font-size: .75rem;
  color: var(--teal);
  margin-bottom: 1rem;
  width: 100%;
}

.demo-cite svg { flex-shrink: 0; }

.demo-warning {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: rgba(0,194,168,.06);
  border: 1px solid rgba(0,194,168,.2);
  border-radius: 6px;
  padding: .65rem .85rem;
  font-size: .75rem;
  color: var(--teal);
  line-height: 1.5;
}

/* ── STATS SECTION ── */

.stats-section {
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ── COMPARE TABLE ── */

.compare-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: .5rem;
  padding: 0 1.75rem;
}

.compare-col-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}

.compare-col-before { color: var(--dim); }
.compare-col-after  { color: var(--teal); }

.compare-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  transition: opacity .5s ease, transform .5s ease;
}
.compare-row.visible { opacity: 1; transform: translateY(0); }

.compare-scenario {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  padding-right: 1rem;
  line-height: 1.4;
}

.compare-before, .compare-after {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.before-time {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
  letter-spacing: -.02em;
}

.after-time {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--teal);
  letter-spacing: -.02em;
}

.compare-before p, .compare-after p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.55;
}

.compare-after p { color: #aaa; }

@media (max-width: 768px) {
  .compare-header { display: none; }
  .compare-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .compare-scenario {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    padding-right: 0;
  }
  .compare-before::before {
    content: 'Sin Paction AI';
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: .2rem;
  }
  .compare-after::before {
    content: 'Con Paction AI';
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .2rem;
  }
}

/* ── AGENTS SECTION ── */

.agents-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agents-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 3rem;
}

.agents-explainer {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: rgba(0,194,168,.05);
  border: 1px solid rgba(0,194,168,.18);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 4rem;
  transition: opacity .5s ease, transform .5s ease;
}
.agents-explainer.visible { opacity: 1; transform: translateY(0); }

.agents-explainer-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,194,168,.1);
  border: 1px solid rgba(0,194,168,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.agents-explainer-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--teal);
  margin-bottom: .5rem;
}

.agents-explainer-text p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.75;
}
.agents-explainer-text p + p { margin-top: .5rem; }

.agents-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 4rem;
  position: relative;
}

.agents-flow::before {
  content: '';
  position: absolute;
  top: 2.6rem;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 1px;
  background: var(--teal);
  opacity: .2;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  transition: opacity .5s ease, transform .5s ease;
}
.flow-step.visible { opacity: 1; transform: translateY(0); }

.flow-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  color: var(--teal);
  transition: border-color .3s, background .3s;
}

.flow-step.visible .flow-icon {
  border-color: rgba(0,194,168,.4);
  background: rgba(0,194,168,.05);
}

.flow-step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: .5rem;
}

.flow-step p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
}

.agents-examples-title {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.agents-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.agent-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: opacity .45s ease, transform .45s ease, border-color .2s;
  cursor: default;
}
.agent-card.visible { opacity: 1; transform: translateY(0); }
.agent-card:hover { border-color: rgba(0,194,168,.3); }

.agent-card-header {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: .85rem;
}

.agent-card-icon {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: rgba(0,194,168,.08);
  border: 1px solid rgba(0,194,168,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.agent-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.35;
  padding-top: .1rem;
}

.agent-card p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CHIPS ── */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}

.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .82rem;
  padding: .45rem 1.1rem;
  border-radius: 20px;
  font-weight: 400;
}

/* ── FAQ ── */

.faq-section {
  border-top: 1px solid var(--border);
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 5.5rem 3rem;
}

.faq-list { margin-top: 2.5rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  cursor: pointer;
  transition: opacity .4s ease, transform .4s ease;
}
.faq-item.visible { opacity: 1; transform: translateY(0); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  user-select: none;
}

.faq-icon {
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .25s ease;
  line-height: 1;
}

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

.faq-answer {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-top: .85rem;
}

/* ── WAITLIST ── */

.waitlist-section {
  border-top: 2px solid var(--teal);
  padding: 5.5rem 3rem;
}

.waitlist-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-inner .section-title { margin-bottom: .75rem; }
.waitlist-sub { color: var(--muted); font-size: .95rem; margin-bottom: .75rem; }

.waitlist-count {
  display: inline-block;
  font-size: .78rem;
  color: var(--teal);
  background: rgba(0,194,168,.07);
  border: 1px solid rgba(0,194,168,.2);
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.pill-form {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pill-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  padding: .8rem 1.15rem;
  border-radius: 8px;
  outline: none;
  transition: border-color .2s;
}
.pill-form input[type="email"]::placeholder { color: var(--dim); }
.pill-form input[type="email"]:focus { border-color: var(--teal); }

.pill-form button {
  background: var(--teal);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  padding: .8rem 1.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.pill-form button:hover { background: var(--teal-light); }

.confirm-msg {
  margin-top: 1rem;
  font-size: .88rem;
  color: var(--teal);
  display: none;
}

.demo-actions {
  margin-top: 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ── GENERATION PANEL ── */

.gen-panel {
  margin-top: 1rem;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  overflow: hidden;
  animation: fadeUp .3s ease-out forwards;
}

.gen-panel-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1rem;
  background: #111;
  border-bottom: 1px solid var(--border);
}

.gen-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.gen-status-dot.done  { background: #3ecf8e; }
.gen-status-dot.pulse { animation: pulse-dot 1s ease-in-out infinite; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.gen-status-label {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1;
}

.gen-close-btn {
  background: none;
  border: none;
  color: var(--dim);
  cursor: pointer;
  font-size: .8rem;
  padding: .1rem .3rem;
  transition: color .2s;
}
.gen-close-btn:hover { color: var(--text); }

.gen-steps {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  color: var(--dim);
  transition: color .3s;
}

.gen-step.active  { color: var(--teal); }
.gen-step.done    { color: #3ecf8e; }

.gen-step-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

.gen-spinner {
  width: 12px; height: 12px;
  border: 1.5px solid rgba(0,194,168,.3);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

.gen-output {
  padding: 1rem;
  font-size: .78rem;
  line-height: 1.7;
  color: var(--muted);
  min-height: 60px;
  max-height: 260px;
  overflow-y: auto;
}

.gen-output strong { color: var(--text); font-weight: 500; }
.gen-output .gen-section {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: .75rem 0 .3rem;
}
.gen-output .gen-risk-high   { color: #FF4D4D; }
.gen-output .gen-risk-medium { color: #F5A623; }
.gen-output .gen-risk-ok     { color: #3ecf8e; }
.gen-output .gen-calc-row {
  display: flex;
  justify-content: space-between;
  padding: .2rem 0;
  border-bottom: 1px solid var(--border);
}
.gen-output .gen-calc-total {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0 0;
  font-weight: 500;
  color: var(--text);
}

.demo-actions-label { margin-bottom: .65rem; }

/* ── GENERATION PANEL ── end */

.demo-action-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  padding: .65rem .9rem;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  margin-bottom: .5rem;
  transition: border-color .2s, background .2s;
}

.demo-action-btn:hover {
  border-color: var(--teal);
  background: rgba(0,194,168,.05);
  color: var(--teal);
}

.demo-action-btn svg {
  flex-shrink: 0;
  color: var(--teal);
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--teal);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink .7s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── FOOTER ── */

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 3rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--teal);
  letter-spacing: .04em;
  margin-bottom: .75rem;
}

.footer-desc {
  font-size: .8rem;
  color: var(--dim);
  line-height: 1.65;
  max-width: 340px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .25rem;
}

.footer-col a {
  font-size: .82rem;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-compliance {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .4rem .85rem;
  font-size: .75rem;
  color: var(--muted);
}

.compliance-badge svg {
  color: var(--teal);
  flex-shrink: 0;
}

.footer-legal-row {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer-legal-row p {
  font-size: .75rem;
  color: var(--dim);
}

.footer-legal-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .6rem;
  font-size: .75rem;
  color: var(--dim);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  width: 100%;
}

.footer-legal-strip a {
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal-strip a:hover { color: var(--teal); }

.footer-legal-sep { color: var(--border-mid); }

.footer-disclaimer {
  color: #3a3a3a !important;
  font-size: .72rem !important;
}

/* ── AGENT LIVE DEMO ── */

.agent-demo-container {
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: opacity .5s ease, transform .5s ease;
}
.agent-demo-container.visible { opacity: 1; transform: translateY(0); }

.agent-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  background: #111;
  border-bottom: 1px solid var(--border);
}

.agent-demo-header-left {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.agent-demo-title {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.agent-demo-selector {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.agent-demo-selector-label {
  font-size: .78rem;
  color: var(--dim);
  margin-bottom: .85rem;
}

.agent-selector-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.agent-sel-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .45rem .9rem;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.agent-sel-btn:hover,
.agent-sel-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,194,168,.05);
}

.agent-demo-body { padding: 1.25rem 1.5rem; }

.agent-demo-context {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  padding: .85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--teal);
  border-radius: 4px;
}

.agent-demo-context strong { color: var(--text); font-weight: 500; }

.agent-demo-run { margin-bottom: 1rem; }

.agent-run-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--teal);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .85rem;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
.agent-run-btn:hover { background: var(--teal-light); }
.agent-run-btn:disabled { opacity: .45; cursor: default; }

.agent-exec-panel { display: flex; flex-direction: column; gap: .75rem; }

.agent-exec-steps {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.agent-exec-output {
  font-size: .78rem;
  line-height: 1.7;
  color: var(--muted);
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.agent-exec-output strong { color: var(--text); font-weight: 500; }
.agent-exec-output .gen-section {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin: .65rem 0 .25rem;
}
.agent-exec-output .risk-high   { color: #FF4D4D; }
.agent-exec-output .risk-medium { color: #F5A623; }
.agent-exec-output .risk-ok     { color: #3ecf8e; }

.agent-notification {
  border: 1px solid rgba(0,194,168,.25);
  border-radius: 8px;
  background: rgba(0,194,168,.04);
  overflow: hidden;
  animation: fadeUp .4s ease-out forwards;
}

.agent-notif-inner { padding: 1rem 1.25rem; }

.agent-notif-icon {
  width: 32px; height: 32px;
  background: rgba(0,194,168,.1);
  border: 1px solid rgba(0,194,168,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: .75rem;
}

.agent-notif-text {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: .85rem;
}

.agent-notif-text strong { color: var(--text); }

.agent-notif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.notif-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--teal);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .78rem;
  padding: .5rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.notif-btn-primary:hover { background: var(--teal-light); }

.notif-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  padding: .5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-mid);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.notif-btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

/* ── CUSTOM AGENT CARD ── */

.agent-card-custom {
  border-style: dashed;
  border-color: rgba(0,194,168,.3);
  background: rgba(0,194,168,.03);
}

.agent-card-custom h4 { color: var(--teal); }

.agent-card-custom .agent-card-icon {
  background: rgba(0,194,168,.12);
  border-color: rgba(0,194,168,.3);
}

/* Ensure animated elements are always visible if JS fails or observer misfires */
.card, .compare-row, .flow-step, .agent-card, .agents-explainer,
.faq-item, .precision-demo, .agent-demo-container {
  transition: opacity .5s ease, transform .5s ease;
}

.card.visible, .compare-row.visible, .flow-step.visible,
.agent-card.visible, .agents-explainer.visible, .faq-item.visible,
.precision-demo.visible, .agent-demo-container.visible {
  opacity: 1 !important;
}

/* Hero animations remain keyframe-based */

/* ── SCENARIO CARDS ── */

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.scenario-card {
  background: var(--surface);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scenario-role {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.scenario-quote {
  font-size: .92rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
  padding-left: .85rem;
  border-left: 2px solid var(--border-mid);
  margin: 0;
}

.scenario-answer {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

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

/* ── ANIMATIONS ── */

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

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .precision-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .agents-flow { grid-template-columns: 1fr; gap: 2rem; }
  .agents-flow::before { display: none; }
  .agents-explainer { flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .section, .waitlist-section, .stats-inner,
  .agents-inner, .precision-inner, .faq-inner { padding: 4rem 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .pill-form { flex-direction: column; }
  .pill-form input[type="email"],
  .pill-form button { width: 100%; }
  .footer-inner { padding: 3rem 1.5rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero { padding: 7rem 1.25rem 4rem; }
  nav { padding: 1rem; }
}
