/* Neurix · Landing Animation v2 — Stripe/Linear/Notion level */

.anim2-section { max-width: 1200px; margin: 0 auto; }

.anim2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }

.anim2-device-toggle {
  display: inline-flex; padding: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  gap: 2px;
}
.a2-tog {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none;
  color: var(--text-3);
  font-family: var(--font-body); font-weight: 500; font-size: 12.5px;
  padding: 8px 16px; border-radius: 999px;
  cursor: pointer; transition: all .25s cubic-bezier(.4,0,.2,1);
}
.a2-tog:hover { color: var(--text-2); }
.a2-tog.active {
  background: rgba(124,92,255,0.18);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(124,92,255,0.4);
}

/* Stage wrap */
.anim2-stage-wrap { position: relative; padding: 0 20px; }
.anim2-glow {
  position: absolute; inset: -40px;
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(600px 300px at 80% 50%, rgba(91,232,255,0.10), transparent 60%);
  filter: blur(20px); pointer-events: none; z-index: 0;
  animation: bg-drift 12s ease-in-out infinite;
}
@keyframes bg-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-10px) scale(1.05); }
}

/* Frame */
.anim2-frame {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #14141f 0%, #0f0f18 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 50px 100px -30px rgba(0,0,0,0.7),
    0 30px 60px -20px rgba(124,92,255,0.18);
  transition: all .6s cubic-bezier(.34,1.56,.64,1);
  margin: 0 auto;
}
.anim2-frame.browser { max-width: 1100px; aspect-ratio: 16/9; }
.anim2-frame.mobile { max-width: 380px; aspect-ratio: 9/19.5; border-radius: 48px; padding: 10px; background: linear-gradient(180deg, #1c1c28, #0a0a14); border: none; box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 0 0 1.5px #2a2a38, 0 0 0 6px #0a0a14, 0 0 0 7.5px #2a2a38, 0 50px 100px -30px rgba(0,0,0,0.8); }

/* Browser chrome */
.bc-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bc-traffic { display: flex; gap: 6px; }
.bc-traffic span {
  width: 11px; height: 11px; border-radius: 50%;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.2) inset;
}
.bc-tabs { display: flex; gap: 4px; max-width: 360px; overflow: hidden; }
.bc-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 8px 8px 0 0;
  font-size: 11.5px; color: var(--text-3);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  cursor: pointer; transition: all .35s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  position: relative; top: 4px;
}
.bc-tab.active {
  background: rgba(124,92,255,0.10);
  color: var(--text);
  border-color: rgba(124,92,255,0.20);
  top: 4px;
}
.bc-fav { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-aurora); }
.bc-x { opacity: 0.4; font-size: 14px; }
.bc-tab-add { color: var(--text-3); padding: 4px 10px; font-size: 16px; }

.bc-url {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  max-width: 360px;
  min-width: 200px;
}
.bc-lock { font-size: 10px; }
.bc-url-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-url-spark { color: var(--violet); }

.bc-actions { display: flex; gap: 6px; }
.bc-actions span {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}

/* Mobile chrome — iPhone style */
.mc-chrome { background: #000; border-radius: 30px 30px 0 0; position: relative; }
.mc-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px 10px;
  font-family: -apple-system, 'SF Pro Display', var(--font-display); font-weight: 600; font-size: 14px;
  position: relative;
  color: #fff;
}
.mc-time { letter-spacing: -0.01em; }
.mc-notch {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 112px; height: 32px;
  background: #000;
  border-radius: 18px;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.06);
}
.mc-notch::before {
  content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1a1a26, #000);
  box-shadow: inset 0 0 0 1px rgba(91,232,255,0.18);
}
.mc-icons { display: flex; gap: 5px; align-items: center; }
.mc-sig { width: 17px; height: 11px; background: #fff; clip-path: polygon(0 75%, 22% 75%, 22% 55%, 45% 55%, 45% 35%, 68% 35%, 68% 15%, 100% 15%, 100% 100%, 0 100%); }
.mc-wifi { width: 16px; height: 11px; background: #fff; mask-image: radial-gradient(circle at 50% 100%, transparent 0%, transparent 18%, #000 19%, #000 32%, transparent 33%, transparent 46%, #000 47%, #000 60%, transparent 61%); -webkit-mask-image: radial-gradient(circle at 50% 100%, transparent 0%, transparent 18%, #000 19%, #000 32%, transparent 33%, transparent 46%, #000 47%, #000 60%, transparent 61%); }
.mc-bat {
  width: 26px; height: 12px; border: 1px solid rgba(255,255,255,0.45);
  border-radius: 3.5px; position: relative; padding: 1px;
}
.mc-bat::before { content: ''; display: block; width: 80%; height: 100%; background: #fff; border-radius: 2px; }
.mc-bat::after { content: ''; position: absolute; right: -3px; top: 4px; width: 2px; height: 4px; background: rgba(255,255,255,0.45); border-radius: 0 1px 1px 0; }

/* home indicator */
.anim2-frame.mobile::after {
  content: ''; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 134px; height: 5px; background: rgba(255,255,255,0.4); border-radius: 100px; z-index: 5;
}

/* Scene area */
.anim2-scene-area {
  position: relative;
  flex: 1;
  overflow: hidden;
  height: calc(100% - 56px);
}
.anim2-frame.mobile .anim2-scene-area { height: calc(100% - 50px); border-radius: 0 0 30px 30px; }
.anim2-fader {
  position: absolute; inset: 0;
  padding: 24px;
  animation: scene-in .7s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
}
@keyframes scene-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* Two-column scene grid */
.scene2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  flex: 1;
  min-height: 0;
}
.scene2.mobile { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
.anim2-frame.mobile .anim2-fader { padding: 12px; }
.s-col { display: flex; flex-direction: column; gap: 12px; min-height: 0; }

.s-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.s-card.in { animation: card-rise .55s cubic-bezier(.22,1,.36,1) backwards; }
@keyframes card-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.s-section-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}

/* Recording state */
.rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5d4d;
  box-shadow: 0 0 0 4px rgba(255,93,77,0.20);
  animation: rec-pulse 1.4s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(255,93,77,0.15); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(255,93,77,0); transform: scale(1.15); }
}
.rec-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: #ff8d80; }
.rec-time { font-size: 13px; font-weight: 600; }

.orb-stage { display: flex; justify-content: center; align-items: center; padding: 14px 0; }

.wave-container { display: flex; justify-content: center; }
.live-wave { display: flex; align-items: flex-end; gap: 2px; height: 30px; width: 100%; max-width: 320px; justify-content: center; }
.lw-bar {
  flex: 1; max-width: 4px;
  background: linear-gradient(180deg, #5be8ff 0%, #7c5cff 100%);
  border-radius: 2px;
  transition: height .35s cubic-bezier(.22,1,.36,1);
  animation: lw-pulse 1.2s ease-in-out infinite;
}
@keyframes lw-pulse {
  0%,100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.s-transcript .transcript-text {
  font-size: 14px; line-height: 1.6;
  color: var(--text-2);
  margin-top: 10px;
  min-height: 60px;
}
.t-word {
  display: inline;
  animation: word-in .35s ease-out backwards;
}
@keyframes word-in {
  from { opacity: 0; filter: blur(3px); transform: translateY(2px); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
.t-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--cyan);
  margin-left: 2px; vertical-align: text-bottom;
  animation: cursor-blink 1s steps(2) infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }

.ai-tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.ai-tag {
  padding: 4px 10px;
  background: rgba(124,92,255,0.14);
  color: #b6a3ff;
  border: 1px solid rgba(124,92,255,0.32);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  opacity: 0; transform: translateY(4px);
}
.ai-tag.in { animation: tag-pop .4s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes tag-pop {
  to { opacity: 1; transform: none; }
}

.ai-thinking {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--violet);
  padding: 3px 9px;
  background: rgba(124,92,255,0.12);
  border-radius: 999px;
  border: 1px solid rgba(124,92,255,0.24);
  animation: think-pulse 2.4s ease-in-out infinite;
}
@keyframes think-pulse {
  0%,100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Commits */
.commits2 { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.commit2 {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(124,92,255,0.04);
  border: 1px solid rgba(124,92,255,0.10);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1);
}
.commit2.in {
  opacity: 1; transform: none;
  background: rgba(124,92,255,0.08);
  border-color: rgba(124,92,255,0.22);
}
.c-icon { font-size: 18px; }
.c-task { font-size: 12.5px; font-weight: 500; color: var(--text); }
.c-by { font-size: 10px; color: var(--text-3); margin-top: 2px; letter-spacing: 0.08em; text-transform: uppercase; }
.c-when {
  font-family: var(--font-mono); font-size: 10.5px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(124,92,255,0.16); color: #b6a3ff;
  font-weight: 600;
}
.c-check { color: var(--ok); font-size: 14px; opacity: 0; animation: check-in .35s ease-out 0.2s forwards; }
.commit2.in .c-check { animation: check-in .4s ease-out 0.2s forwards; }
@keyframes check-in {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

/* Success bar */
.success-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(68,224,163,0.10);
  border: 1px solid rgba(68,224,163,0.30);
  border-radius: 12px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ok);
  font-weight: 500;
  opacity: 0; transform: translateY(6px);
}
.success-bar.in { animation: sb-in .5s cubic-bezier(.34,1.56,.64,1) forwards; }
.sb-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok); color: #0a0a14;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
@keyframes sb-in {
  to { opacity: 1; transform: none; }
}

/* SCENE 2 — EMAIL */
.email-card { background: linear-gradient(180deg, rgba(255,181,71,0.04), rgba(255,255,255,0.02)); border-color: rgba(255,181,71,0.20); }
.email-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar2 { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: #fff; }
.email-meta { flex: 1; }
.em-from { font-size: 13px; font-weight: 600; color: var(--text); }
.em-time { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--text-3); margin-top: 2px; }
.em-pill { padding: 3px 8px; border-radius: 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; font-weight: 600; }
.em-pill.new { background: rgba(255,93,77,0.18); color: #ff8d80; }
.em-subj { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.em-body { font-size: 13px; line-height: 1.55; color: var(--text-2); margin: 0; }

.db-card { background: linear-gradient(180deg, rgba(91,232,255,0.05), rgba(255,255,255,0.02)); border-color: rgba(91,232,255,0.20); }
.db-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.db-row {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  font-size: 12px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1);
}
.db-row.in { opacity: 1; transform: none; }
.db-spin { color: var(--cyan); font-size: 14px; min-width: 16px; }
.db-text { color: var(--text-2); font-size: 11.5px; letter-spacing: 0.04em; }

.ai-confidence { margin-top: 10px; opacity: 0; }
.ai-confidence.in { animation: sb-in .5s ease forwards; }

.reply-card { background: linear-gradient(180deg, rgba(124,92,255,0.06), rgba(255,255,255,0.02)); border-color: rgba(124,92,255,0.28); }
.reply-subj { font-size: 14px; font-weight: 600; margin: 10px 0 8px; color: var(--text); }
.reply-body { font-size: 13px; line-height: 1.6; color: var(--text-2); min-height: 70px; }
.reply-actions { display: flex; gap: 8px; margin-top: 14px; }
.reply-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 12.5px; font-weight: 500;
  cursor: pointer; transition: all .2s;
  font-family: var(--font-body);
}
.reply-btn.primary {
  background: var(--grad-aurora);
  border: none;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(124,92,255,0.5);
}
.reply-btn:hover { transform: translateY(-1px); }

/* SCENE 3 — DRIFT */
.drift-card { background: linear-gradient(180deg, rgba(255,93,77,0.06), rgba(255,255,255,0.02)); border-color: rgba(255,93,77,0.30); position: relative; }
.drift-glow {
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, rgba(255,93,77,0.18), transparent 60%);
  pointer-events: none;
  animation: drift-pulse 3.5s ease-in-out infinite;
}
@keyframes drift-pulse {
  0%,100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.drift-icon { font-size: 18px; color: #ff8d80; }
.drift-alert { font-size: 14px; line-height: 1.5; margin-top: 14px; color: var(--text); position: relative; }
.drift-alert b { color: #ff8d80; }
.drift-meter { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.dm-label { font-size: 10px; letter-spacing: 0.14em; color: var(--text-3); }
.dm-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.dm-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb547, #ff5d4d); border-radius: 3px; transition: width 1.2s cubic-bezier(.22,1,.36,1); animation: meter-fill 1.5s cubic-bezier(.22,1,.36,1); }
@keyframes meter-fill { from { width: 0; } }
.dm-val { font-size: 13px; font-weight: 600; color: #ff8d80; }

.draft-text { font-size: 13.5px; line-height: 1.65; margin-top: 10px; color: var(--text-2); font-style: italic; }
.actions-card .s-section-label { margin-bottom: 16px; }
.actions-stack { display: flex; flex-direction: column; gap: 10px; }
.act-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer; transition: all .2s;
  font-family: var(--font-body);
  opacity: 0; transform: translateX(12px);
}
.act-btn.in { animation: act-in .45s cubic-bezier(.22,1,.36,1) forwards; }
.act-btn:hover { background: rgba(255,255,255,0.07); transform: translateX(0); }
.act-btn.primary {
  background: var(--grad-aurora); border: none; color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124,92,255,0.5);
}
.act-btn.primary:hover { box-shadow: 0 12px 32px -8px rgba(124,92,255,0.7); }
.act-ico { width: 22px; display: inline-flex; justify-content: center; }
@keyframes act-in { to { opacity: 1; transform: none; } }

/* Controls */
.anim2-controls {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  padding: 0 8px;
  align-items: center;
  flex-wrap: wrap;
}
.a2-scene-tab {
  flex: 1;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  color: var(--text-3);
  cursor: pointer; transition: all .35s cubic-bezier(.22,1,.36,1);
  font-family: var(--font-body);
  text-align: left;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}
.a2-scene-tab:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-2);
  transform: translateY(-1px);
}
.a2-scene-tab.active {
  background: linear-gradient(180deg, rgba(124,92,255,0.15), rgba(124,92,255,0.04));
  border-color: rgba(124,92,255,0.30);
  color: var(--text);
  box-shadow: 0 12px 24px -8px rgba(124,92,255,0.25);
}
.a2-scene-tab .num { font-size: 10px; letter-spacing: 0.16em; opacity: 0.7; }
.a2-scene-tab .lbl { font-size: 13px; font-weight: 600; }
.a2-bar { height: 2px; background: rgba(255,255,255,0.08); border-radius: 1px; overflow: hidden; margin-top: 6px; }
.a2-bar-fill { height: 100%; background: var(--grad-aurora); width: 0; transition: width linear; border-radius: 1px; }

.a2-pause {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text);
  cursor: pointer; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.a2-pause:hover { background: rgba(255,255,255,0.08); }

/* Mobile scene adjustments */
.scene2.mobile .s-card { padding: 14px; border-radius: 16px; }
.scene2.mobile .orb-stage { padding: 6px 0; }
.scene2.mobile .commits2 { gap: 6px; }
.scene2.mobile .commit2 { grid-template-columns: 26px 1fr auto; padding: 8px 10px; }
.scene2.mobile .c-check { display: none; }
.scene2.mobile .live-wave { height: 22px; }
.scene2.mobile .reply-actions, .scene2.mobile .actions-stack { flex-direction: column; }
.scene2.mobile .reply-btn, .scene2.mobile .act-btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .anim2-frame.browser { aspect-ratio: 16/11; }
  .scene2 { grid-template-columns: 1fr; }
  .anim2-controls { flex-direction: column; }
  .a2-scene-tab { width: 100%; }
}


/* ─── MICRO-OVERLAYS ─── */
.micro-toast {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(68,224,163,0.16), rgba(91,232,255,0.08));
  border: 1px solid rgba(68,224,163,0.32);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ok);
  font-weight: 500;
  margin-top: 10px;
  opacity: 0; transform: translateY(-6px) scale(0.95);
  animation: toast-in .5s cubic-bezier(.34,1.56,.64,1) forwards;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px -8px rgba(68,224,163,0.30);
}
.micro-toast.warn { background: linear-gradient(135deg, rgba(255,93,77,0.16), rgba(255,181,71,0.08)); color: #ff8d80; border-color: rgba(255,93,77,0.32); }
.micro-toast.ai { background: linear-gradient(135deg, rgba(124,92,255,0.16), rgba(91,232,255,0.10)); color: #b6a3ff; border-color: rgba(124,92,255,0.32); }
.mt-ico { width: 16px; height: 16px; border-radius: 50%; background: currentColor; color: #0a0a14; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.micro-toast.warn .mt-ico, .micro-toast.ai .mt-ico { background: currentColor; color: #fff; }
@keyframes toast-in { to { opacity: 1; transform: none; } }

.micro-overlay {
  position: relative;
  padding: 14px 16px;
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  animation: mo-in .55s cubic-bezier(.22,1,.36,1);
}
@keyframes mo-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.mo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mo-title { font-size: 13px; font-weight: 600; color: var(--text); flex: 1; line-height: 1.3; }
.mo-sub { font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.mo-line { font-size: 12px; color: var(--text-2); line-height: 1.5; }
.mo-line.warn { color: #ff8d80; }
.mo-line.accent { color: #b6a3ff; }
.mo-label { font-size: 10px; color: var(--text-3); letter-spacing: 0.14em; margin-bottom: 6px; text-transform: uppercase; }
.mo-meta { font-size: 10px; color: var(--text-3); margin-top: 6px; letter-spacing: 0.06em; }

.micro-overlay.energy { background: linear-gradient(135deg, rgba(255,181,71,0.08), rgba(255,93,77,0.04)); border-color: rgba(255,181,71,0.28); }
.mo-pulse { width: 8px; height: 8px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 0 4px rgba(255,181,71,0.20); animation: rec-pulse 1.8s ease-in-out infinite; }
.mo-bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin: 6px 0; }
.mo-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb547, #ff5d4d); border-radius: 3px; animation: meter-fill 1.4s cubic-bezier(.22,1,.36,1); }

.micro-overlay.prebrief { background: linear-gradient(135deg, rgba(91,232,255,0.08), rgba(124,92,255,0.04)); border-color: rgba(91,232,255,0.28); }
.mo-spark { color: var(--cyan); font-size: 13px; }
.mo-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mo-tag { padding: 3px 9px; background: rgba(91,232,255,0.14); color: var(--cyan); border: 1px solid rgba(91,232,255,0.30); border-radius: 999px; font-size: 10.5px; font-weight: 500; }
.mo-tag.warn { background: rgba(255,93,77,0.14); color: #ff8d80; border-color: rgba(255,93,77,0.30); }

.micro-overlay.radar { background: linear-gradient(135deg, rgba(255,93,77,0.06), rgba(124,92,255,0.04)); border-color: rgba(255,93,77,0.24); }
.mo-radar-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5d4d; box-shadow: 0 0 0 4px rgba(255,93,77,0.16), 0 0 16px rgba(255,93,77,0.40); animation: rec-pulse 1.6s ease-in-out infinite; }
.mo-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.mo-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-2); }
.mo-row-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.mo-row-dot.warn { background: #ff5d4d; }

.micro-overlay.roi { background: linear-gradient(135deg, rgba(255,93,77,0.08), rgba(255,181,71,0.04)); border-color: rgba(255,93,77,0.26); }
.mo-coin { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #ffb547, #ff5d4d); color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.mo-cost { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #ff8d80; letter-spacing: -0.02em; margin: 4px 0; }

.micro-overlay.courage { background: linear-gradient(135deg, rgba(124,92,255,0.10), rgba(255,126,203,0.05)); border-color: rgba(124,92,255,0.30); }
.mo-orb { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #7c5cff 60%, #4d3df0); box-shadow: 0 0 12px rgba(124,92,255,0.50); }

.micro-overlay.drift-health { background: linear-gradient(135deg, rgba(255,93,77,0.07), rgba(255,181,71,0.03)); border-color: rgba(255,93,77,0.28); }
.mo-heart { color: #ff8d80; font-size: 14px; animation: rec-pulse 1.6s ease-in-out infinite; }

.micro-overlay.audit { background: linear-gradient(135deg, rgba(124,92,255,0.10), rgba(91,232,255,0.05)); border-color: rgba(124,92,255,0.32); }
.micro-overlay.audit .mo-title { font-style: italic; }


/* ─────── LANDING · THEME TOGGLE + LIGHT MODE ─────── */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  cursor: pointer;
  display: grid; place-items: center;
  position: relative;
  color: var(--text);
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.theme-toggle:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.tt-ico {
  position: absolute;
  display: grid; place-items: center;
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
  transition: opacity .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.34,1.56,.64,1);
  color: inherit;
}
.tt-ico.show { opacity: 1; transform: rotate(0) scale(1); }
.tt-sun.show { color: #ffb547; }
.tt-moon.show { color: #b6a3ff; }

/* Body in light landing mode */
body.landing-light { background: #f6f4ff; color: #15131a; }

/* Landing.light overrides — comprehensive */
.landing.light {
  background:
    radial-gradient(900px 600px at 18% -10%, rgba(124,92,255,0.10), transparent 65%),
    radial-gradient(700px 450px at 110% 8%, rgba(91,232,255,0.10), transparent 60%),
    radial-gradient(1100px 750px at 50% 110%, rgba(255,126,203,0.08), transparent 65%),
    #f6f4ff;
  color: #15131a;
}
.landing.light .nav {
  background: rgba(246,244,255,0.78);
  border-bottom-color: rgba(21,19,26,0.08);
}
.landing.light .nav a, .landing.light .nav .logo, .landing.light .nav .h-display { color: #15131a; }
.landing.light .nav-links a { color: rgba(21,19,26,0.65); }
.landing.light .nav-links a:hover { color: #15131a; }
.landing.light .theme-toggle, .landing.light .flag-btn {
  background: rgba(255,255,255,0.85);
  border-color: rgba(21,19,26,0.10);
  color: #15131a;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 2px 6px rgba(21,19,26,0.06);
}
.landing.light .theme-toggle:hover { background: #fff; }

.landing.light .muted { color: rgba(21,19,26,0.65); }
.landing.light .fine  { color: rgba(21,19,26,0.45); }
.landing.light .eyebrow { color: #5b3df0; }

.landing.light .h-display, .landing.light h1, .landing.light h2, .landing.light h3 { color: #15131a; }

.landing.light .btn.ghost {
  background: transparent;
  border-color: rgba(21,19,26,0.14);
  color: #15131a;
}
.landing.light .btn.ghost:hover { background: rgba(21,19,26,0.04); }
.landing.light .btn.accent {
  background: linear-gradient(135deg, #4d3df0 0%, #7c5cff 35%, #ff7ecb 70%, #5be8ff 100%);
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(77,61,240,0.50);
}
.landing.light .btn.accent:hover { box-shadow: 0 20px 44px -8px rgba(77,61,240,0.65); }

/* Hero float-cards in light mode */
.landing.light .hero-orb-wrap > div[style*="position: absolute"] {
  background: rgba(255,255,255,0.85) !important;
  border-color: rgba(21,19,26,0.10) !important;
  color: #15131a;
  box-shadow: 0 10px 28px -10px rgba(77,61,240,0.20);
}

/* metrics */
.landing.light .metric {
  background: rgba(255,255,255,0.85);
  border-color: rgba(21,19,26,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 8px 24px -10px rgba(77,61,240,0.14);
}
.landing.light .metric .lbl { color: rgba(21,19,26,0.50); }

/* features */
.landing.light .feat {
  background: rgba(255,255,255,0.88);
  border-color: rgba(21,19,26,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 36px -14px rgba(77,61,240,0.15);
}
.landing.light .feat .muted { color: rgba(21,19,26,0.62); }
.landing.light .feat-icon {
  background: rgba(124,92,255,0.10);
  color: #5b3df0;
}
.landing.light .feat.accent {
  background: linear-gradient(135deg, #4d3df0 0%, #7c5cff 50%, #ff7ecb 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 20px 50px -16px rgba(77,61,240,0.55);
}
.landing.light .feat.accent h3, .landing.light .feat.accent .eyebrow, .landing.light .feat.accent .feat-icon { color: #fff; }
.landing.light .feat.accent .feat-icon { background: rgba(255,255,255,0.20); }
.landing.light .feat.accent .muted { color: rgba(255,255,255,0.80); }

/* listening band */
.landing.light .band {
  background:
    radial-gradient(circle at 30% 50%, rgba(124,92,255,0.10), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(91,232,255,0.10), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f0edff 100%);
  border-color: rgba(124,92,255,0.18);
  box-shadow: 0 30px 80px -24px rgba(77,61,240,0.20);
}
.landing.light .band .muted { color: rgba(21,19,26,0.65); }
.landing.light .chip {
  background: rgba(255,255,255,0.9);
  border-color: rgba(21,19,26,0.10);
  color: rgba(21,19,26,0.70);
}
.landing.light .chip.accent {
  background: rgba(124,92,255,0.12);
  border-color: rgba(124,92,255,0.30);
  color: #4d3df0;
}

/* steps */
.landing.light .step {
  background: rgba(255,255,255,0.88);
  border-color: rgba(21,19,26,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 10px 30px -12px rgba(77,61,240,0.15);
}
.landing.light .step .muted { color: rgba(21,19,26,0.62); }

/* pricing */
.landing.light .price-card {
  background: rgba(255,255,255,0.92);
  border-color: rgba(21,19,26,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 12px 36px -14px rgba(77,61,240,0.18);
}
.landing.light .price-card.featured {
  background: linear-gradient(180deg, rgba(124,92,255,0.10) 0%, rgba(255,255,255,1) 100%);
  border-color: rgba(124,92,255,0.40);
  box-shadow: 0 26px 60px -18px rgba(77,61,240,0.35);
}
.landing.light .price-list li {
  color: rgba(21,19,26,0.70);
  border-bottom-color: rgba(21,19,26,0.08);
}

/* CTA band */
.landing.light .cta-band {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,126,203,0.30), transparent 50%),
    linear-gradient(135deg, #4d3df0, #7c5cff);
}
.landing.light .cta-band, .landing.light .cta-band .h-display { color: #fff; }
.landing.light .cta-band .muted { color: rgba(255,255,255,0.85); }

/* footer */
.landing.light .footer { border-top-color: rgba(21,19,26,0.08); color: rgba(21,19,26,0.50); }
.landing.light .footer a { color: rgba(21,19,26,0.55); }
.landing.light .footer a:hover { color: #15131a; }

/* ─────── ANIMATION SECTION · LIGHT ─────── */
.landing.light .anim2-glow {
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(124,92,255,0.14), transparent 60%),
    radial-gradient(600px 300px at 80% 50%, rgba(91,232,255,0.10), transparent 60%);
}
.landing.light .anim2-frame {
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
  border-color: rgba(21,19,26,0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 40px 80px -20px rgba(77,61,240,0.18),
    0 20px 50px -15px rgba(21,19,26,0.10);
}
.landing.light .anim2-frame.mobile {
  background: linear-gradient(180deg, #1c1c28, #0a0a14);
  border: none;
}
.landing.light .anim2-device-toggle {
  background: rgba(21,19,26,0.05);
  border-color: rgba(21,19,26,0.08);
}
.landing.light .a2-tog { color: rgba(21,19,26,0.55); }
.landing.light .a2-tog:hover { color: #15131a; }
.landing.light .a2-tog.active { background: #fff; color: #4d3df0; box-shadow: 0 4px 12px -4px rgba(77,61,240,0.30); }

.landing.light .bc-chrome {
  background: linear-gradient(180deg, #f7f4ff, #f0ecff);
  border-bottom-color: rgba(21,19,26,0.10);
}
.landing.light .bc-tab { color: rgba(21,19,26,0.55); }
.landing.light .bc-tab.active { background: #fff; color: #15131a; border-color: rgba(124,92,255,0.20); }
.landing.light .bc-url {
  background: #fff;
  border-color: rgba(21,19,26,0.10);
  color: rgba(21,19,26,0.70);
}
.landing.light .bc-actions span { background: rgba(21,19,26,0.04); }

.landing.light .s-card {
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.85));
  border-color: rgba(21,19,26,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 12px 30px -14px rgba(77,61,240,0.14);
}
.landing.light .s-section-label { color: rgba(21,19,26,0.55); }
.landing.light .s-transcript .transcript-text { color: rgba(21,19,26,0.75); }
.landing.light .em-from, .landing.light .em-subj, .landing.light .reply-subj { color: #15131a; }
.landing.light .em-body, .landing.light .reply-body, .landing.light .draft-text { color: rgba(21,19,26,0.70); }
.landing.light .c-task { color: #15131a; }
.landing.light .c-by { color: rgba(21,19,26,0.55); }
.landing.light .commit2 {
  background: rgba(124,92,255,0.06);
  border-color: rgba(124,92,255,0.18);
}
.landing.light .commit2.in {
  background: rgba(124,92,255,0.10);
  border-color: rgba(124,92,255,0.28);
}
.landing.light .ai-tag {
  background: rgba(124,92,255,0.10);
  color: #4d3df0;
  border-color: rgba(124,92,255,0.28);
}
.landing.light .ai-thinking {
  background: rgba(124,92,255,0.10);
  color: #4d3df0;
  border-color: rgba(124,92,255,0.28);
}
.landing.light .rec-label { color: #d63a2a; }
.landing.light .rec-time { color: #15131a; }
.landing.light .lw-bar { background: linear-gradient(180deg, #4d3df0 0%, #7c5cff 100%); }
.landing.light .reply-btn {
  background: #fff;
  color: #15131a;
  border-color: rgba(21,19,26,0.12);
}
.landing.light .reply-btn:hover { background: #faf8ff; }
.landing.light .act-btn {
  background: #fff;
  color: #15131a;
  border-color: rgba(21,19,26,0.10);
}
.landing.light .act-btn:hover { background: #faf8ff; }
.landing.light .dm-bar { background: rgba(21,19,26,0.08); }
.landing.light .dm-label { color: rgba(21,19,26,0.50); }
.landing.light .anim2-controls .a2-scene-tab {
  background: rgba(255,255,255,0.85);
  border-color: rgba(21,19,26,0.08);
  color: rgba(21,19,26,0.55);
}
.landing.light .anim2-controls .a2-scene-tab.active {
  background: linear-gradient(180deg, rgba(124,92,255,0.10), rgba(255,255,255,1));
  border-color: rgba(124,92,255,0.30);
  color: #15131a;
  box-shadow: 0 12px 24px -10px rgba(77,61,240,0.25);
}
.landing.light .a2-bar { background: rgba(21,19,26,0.10); }
.landing.light .a2-pause {
  background: rgba(255,255,255,0.85);
  border-color: rgba(21,19,26,0.10);
  color: #15131a;
}
.landing.light .a2-pause:hover { background: #fff; }

/* Micro overlays in light mode */
.landing.light .micro-overlay {
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.9));
  border-color: rgba(21,19,26,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 24px -10px rgba(77,61,240,0.14);
}
.landing.light .micro-overlay .mo-title { color: #15131a; }
.landing.light .micro-overlay .mo-sub, .landing.light .micro-overlay .mo-line { color: rgba(21,19,26,0.70); }
.landing.light .micro-overlay .mo-label, .landing.light .micro-overlay .mo-meta { color: rgba(21,19,26,0.50); }
.landing.light .mo-bar { background: rgba(21,19,26,0.08); }

/* ORB rings + dots in LIGHT — keep orb body color, darken rings/particles */
.landing.light .nx-orb-light-stroke { stroke: rgba(21,19,26,0.55) !important; }
.landing.light .nx-orb-light-dot    { fill: rgba(21,19,26,0.75) !important; }
.landing.light .anim2-frame:not(.mobile) .nx-orb-light-stroke { stroke: rgba(21,19,26,0.55) !important; }


/* ─────── ANIMATION · LIGHT MODE · CONTRAST POLISH ─────── */

/* DB analysis card — darker text + brighter card */
.landing.light .db-card {
  background: linear-gradient(180deg, #ffffff, #f4faff);
  border-color: rgba(91,232,255,0.40);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 14px 28px -12px rgba(0,148,191,0.18);
}
.landing.light .db-card .s-section-label { color: #0289b3 !important; }
.landing.light .db-row {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(21,19,26,0.06);
}
.landing.light .db-text { color: #1a1a26; font-weight: 500; }
.landing.light .db-spin { color: #0289b3; }
.landing.light .ai-confidence .ai-thinking {
  background: rgba(91,232,255,0.16);
  color: #0289b3;
  border-color: rgba(91,232,255,0.40);
}

/* Drift detected card — darker text + clear hierarchy */
.landing.light .drift-card {
  background: linear-gradient(180deg, #fff7f5, #ffece8);
  border-color: rgba(255,93,77,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 16px 32px -14px rgba(214,58,42,0.25);
}
.landing.light .drift-card .s-section-label { color: #b8341f !important; font-weight: 700; }
.landing.light .drift-glow { background: radial-gradient(400px 200px at 0% 0%, rgba(255,93,77,0.22), transparent 60%); }
.landing.light .drift-icon { color: #b8341f; }
.landing.light .drift-alert { color: #1a1a26; font-weight: 500; }
.landing.light .drift-alert b { color: #b8341f; font-weight: 700; }
.landing.light .dm-val { color: #b8341f; font-weight: 700; }
.landing.light .dm-bar { background: rgba(21,19,26,0.10); }

/* Pre-Brief overlay (2 compromissos abertos) — premium card with proper contrast */
.landing.light .micro-overlay.prebrief {
  background: linear-gradient(180deg, #ffffff, #f4faff);
  border-color: rgba(91,232,255,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 16px 32px -14px rgba(0,148,191,0.20);
}
.landing.light .micro-overlay.prebrief .mo-title { color: #0a0e14; font-weight: 700; }
.landing.light .micro-overlay.prebrief .mo-spark { color: #0289b3; }
.landing.light .micro-overlay.prebrief .mo-sub { color: #1f3949; font-weight: 600; }
.landing.light .micro-overlay.prebrief .mo-line { color: #4a5d6e; }
.landing.light .mo-tag {
  background: rgba(91,232,255,0.16);
  color: #0289b3;
  border-color: rgba(91,232,255,0.42);
  font-weight: 600;
}
.landing.light .mo-tag.warn {
  background: rgba(255,93,77,0.14);
  color: #b8341f;
  border-color: rgba(255,93,77,0.40);
  font-weight: 600;
}

/* Risk Radar overlay — bold contrast */
.landing.light .micro-overlay.radar {
  background: linear-gradient(180deg, #ffffff, #fff5f4);
  border-color: rgba(255,93,77,0.40);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 16px 32px -14px rgba(214,58,42,0.22);
}
.landing.light .micro-overlay.radar .mo-title { color: #1a1a26; font-weight: 700; }
.landing.light .mo-row { color: #2a3340; font-weight: 500; }
.landing.light .mo-row-dot { background: #4d3df0; box-shadow: 0 0 0 2px rgba(77,61,240,0.18); }
.landing.light .mo-row-dot.warn { background: #d63a2a; box-shadow: 0 0 0 2px rgba(214,58,42,0.20); }

/* Energy overlay polish */
.landing.light .micro-overlay.energy {
  background: linear-gradient(180deg, #ffffff, #fff8ee);
  border-color: rgba(255,181,71,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 14px 28px -12px rgba(184,116,26,0.22);
}
.landing.light .micro-overlay.energy .mo-title { color: #1a1a26; font-weight: 700; }
.landing.light .micro-overlay.energy .mo-label { color: rgba(184,116,26,0.85); font-weight: 600; }
.landing.light .micro-overlay.energy .mo-meta { color: #6b4a14; }

/* ROI overlay polish */
.landing.light .micro-overlay.roi {
  background: linear-gradient(180deg, #ffffff, #fff5f4);
  border-color: rgba(255,93,77,0.42);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 14px 28px -12px rgba(214,58,42,0.20);
}
.landing.light .micro-overlay.roi .mo-title { color: #1a1a26; font-weight: 700; }
.landing.light .micro-overlay.roi .mo-cost { color: #b8341f; font-weight: 800; }
.landing.light .micro-overlay.roi .mo-line.warn { color: #b8341f; font-weight: 600; }

/* Drift health overlay */
.landing.light .micro-overlay.drift-health {
  background: linear-gradient(180deg, #ffffff, #fff5f4);
  border-color: rgba(255,93,77,0.42);
}
.landing.light .micro-overlay.drift-health .mo-title { color: #1a1a26; font-weight: 700; }
.landing.light .micro-overlay.drift-health .mo-heart { color: #b8341f; }
.landing.light .micro-overlay.drift-health .mo-line { color: #2a3340; font-weight: 500; }

/* Decision Audit polish */
.landing.light .micro-overlay.audit {
  background: linear-gradient(180deg, #ffffff, #f7f4ff);
  border-color: rgba(124,92,255,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 16px 32px -14px rgba(77,61,240,0.20);
}
.landing.light .micro-overlay.audit .mo-title { color: #1a1a26; font-weight: 600; }
.landing.light .micro-overlay.audit .mo-line.accent { color: #4d3df0; font-weight: 700; }

/* Courage overlay */
.landing.light .micro-overlay.courage {
  background: linear-gradient(180deg, #ffffff, #f7f4ff);
  border-color: rgba(124,92,255,0.42);
}
.landing.light .micro-overlay.courage .mo-title { color: #1a1a26; font-weight: 700; }
.landing.light .micro-overlay.courage .mo-sub { color: #2a3340; font-weight: 500; }

/* Email card · scene 2 left */
.landing.light .email-card {
  background: linear-gradient(180deg, #ffffff, #fffaf2);
  border-color: rgba(255,181,71,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 14px 28px -12px rgba(184,116,26,0.18);
}
.landing.light .em-from { color: #0a0e14; font-weight: 700; }
.landing.light .em-time { color: rgba(21,19,26,0.50); }
.landing.light .em-pill.new { background: rgba(255,93,77,0.16); color: #b8341f; font-weight: 700; }
.landing.light .em-subj { color: #0a0e14; font-weight: 700; }
.landing.light .em-body { color: #2a3340; font-weight: 500; }

/* Reply card · scene 2 right */
.landing.light .reply-card {
  background: linear-gradient(180deg, #ffffff, #f7f4ff);
  border-color: rgba(124,92,255,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 18px 36px -14px rgba(77,61,240,0.22);
}
.landing.light .reply-card .s-section-label { color: #4d3df0 !important; font-weight: 700; }
.landing.light .reply-card .ai-thinking {
  background: rgba(124,92,255,0.14);
  color: #4d3df0;
  border-color: rgba(124,92,255,0.36);
  font-weight: 600;
}
.landing.light .reply-subj { color: #0a0e14; font-weight: 700; }
.landing.light .reply-body { color: #2a3340; font-weight: 500; }
.landing.light .reply-btn {
  background: #fff;
  color: #15131a;
  border-color: rgba(21,19,26,0.14);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(21,19,26,0.06);
}
.landing.light .reply-btn:hover { background: #faf8ff; box-shadow: 0 4px 12px rgba(21,19,26,0.10); }
.landing.light .reply-btn.primary {
  background: linear-gradient(135deg, #4d3df0 0%, #7c5cff 35%, #ff7ecb 70%, #5be8ff 100%);
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px -10px rgba(77,61,240,0.50);
}
.landing.light .reply-btn.primary:hover { box-shadow: 0 16px 36px -8px rgba(77,61,240,0.65); }

/* Actions card · scene 3 right */
.landing.light .actions-card {
  background: linear-gradient(180deg, #ffffff, #f7f4ff);
  border-color: rgba(124,92,255,0.30);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 18px 36px -14px rgba(77,61,240,0.20);
}
.landing.light .actions-card .s-section-label { color: rgba(21,19,26,0.65) !important; font-weight: 700; }
.landing.light .act-btn {
  background: #fff;
  color: #15131a;
  border-color: rgba(21,19,26,0.10);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(21,19,26,0.06);
}
.landing.light .act-btn:hover {
  background: #faf8ff;
  box-shadow: 0 6px 16px rgba(21,19,26,0.10);
  transform: translateY(-1px);
}
.landing.light .act-btn.primary {
  background: linear-gradient(135deg, #4d3df0 0%, #7c5cff 35%, #ff7ecb 70%, #5be8ff 100%);
  color: #fff;
  border: none;
  box-shadow: 0 14px 32px -10px rgba(77,61,240,0.55);
}
.landing.light .act-btn.primary:hover { box-shadow: 0 18px 40px -8px rgba(77,61,240,0.70); }
.landing.light .act-ico { color: inherit; }

/* Toast in light mode */
.landing.light .micro-toast {
  background: linear-gradient(135deg, rgba(68,224,163,0.18), rgba(91,232,255,0.10));
  border-color: rgba(0,148,90,0.40);
  color: #0a6b3f;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 24px -8px rgba(0,148,90,0.28);
}
.landing.light .micro-toast .mt-ico { background: #0a6b3f; color: #fff; }
.landing.light .micro-toast.warn { color: #b8341f; border-color: rgba(214,58,42,0.40); background: linear-gradient(135deg, rgba(255,93,77,0.16), rgba(255,181,71,0.10)); }
.landing.light .micro-toast.ai { color: #4d3df0; border-color: rgba(77,61,240,0.40); background: linear-gradient(135deg, rgba(124,92,255,0.14), rgba(91,232,255,0.10)); }

/* Success bar in light mode */
.landing.light .success-bar {
  background: rgba(68,224,163,0.14);
  border-color: rgba(0,148,90,0.36);
  color: #0a6b3f;
  font-weight: 600;
}
.landing.light .success-bar .sb-check { background: #0a6b3f; color: #fff; }

/* Orb card · scene 1 left */
.landing.light .s-orb-card {
  background: linear-gradient(180deg, #ffffff, #f7f4ff);
  border-color: rgba(124,92,255,0.22);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 18px 40px -16px rgba(77,61,240,0.18);
}

/* Transcript card */
.landing.light .s-transcript {
  background: linear-gradient(180deg, #ffffff, #fbfaff);
  border-color: rgba(21,19,26,0.08);
}
.landing.light .s-transcript .transcript-text { color: #1a1a26; font-weight: 500; }
.landing.light .t-cursor { background: #4d3df0; }

/* Commit cards · scene 1 right */
.landing.light .commit2 {
  background: rgba(255,255,255,0.95);
  border-color: rgba(21,19,26,0.08);
}
.landing.light .commit2.in {
  background: linear-gradient(180deg, #ffffff, #f7f4ff);
  border-color: rgba(124,92,255,0.30);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 16px -6px rgba(77,61,240,0.18);
}
.landing.light .c-task { color: #0a0e14; font-weight: 600; }
.landing.light .c-by { color: rgba(21,19,26,0.55); font-weight: 500; }
.landing.light .c-when {
  background: rgba(124,92,255,0.14);
  color: #4d3df0;
  font-weight: 700;
}
.landing.light .c-check { color: #0a6b3f; font-weight: 700; }

/* General section labels in light mode */
.landing.light .s-card .s-section-label { color: rgba(21,19,26,0.65); }


/* ─────── MOBILE ANIMATION · iPhone polish ─────── */

/* Bigger, more elegant iPhone frame */
.anim2-frame.mobile {
  max-width: 360px;
  aspect-ratio: 9/19.5;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(180deg, #1e1e2c, #08080f);
  border: none;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 0 0 1.5px #2a2a38,
    0 0 0 6px #08080f,
    0 0 0 7.5px #2c2c3a,
    0 60px 120px -30px rgba(0,0,0,0.85),
    0 30px 60px -20px rgba(124,92,255,0.20);
}
.landing.light .anim2-frame.mobile {
  background: linear-gradient(180deg, #2a2a3c, #15151f);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 0 0 1.5px #3a3a4e,
    0 0 0 6px #15151f,
    0 0 0 7.5px #4a4a5e,
    0 50px 100px -28px rgba(21,19,26,0.40),
    0 30px 60px -20px rgba(124,92,255,0.25);
}

/* Inner mobile content uses dark theme even when landing is light */
.anim2-frame.mobile {
  /* force scoped dark surfaces for content inside the phone */
  --m-bg: #0a0a14;
  --m-card: rgba(255,255,255,0.05);
  --m-line: rgba(255,255,255,0.10);
  --m-text: #f3f1ff;
  --m-text-2: rgba(243,241,255,0.72);
}
.anim2-frame.mobile .anim2-scene-area {
  background:
    radial-gradient(500px 300px at 20% 0%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(400px 250px at 90% 30%, rgba(91,232,255,0.12), transparent 60%),
    var(--m-bg);
  height: calc(100% - 56px);
  border-radius: 0 0 40px 40px;
}

/* Status bar refinement */
.anim2-frame.mobile .mc-chrome {
  border-radius: 40px 40px 0 0;
  padding: 0;
}
.anim2-frame.mobile .mc-statusbar {
  padding: 18px 30px 14px;
  font-size: 15px;
}

/* Mobile scene layout — single column with chunky touch-friendly cards */
.scene2.mobile {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
}
.scene2.mobile::-webkit-scrollbar { display: none; }
.scene2.mobile .s-card {
  padding: 16px;
  border-radius: 22px;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  backdrop-filter: blur(20px);
  color: var(--m-text);
}

/* All scoped text inside mobile uses bright tokens */
.anim2-frame.mobile .s-card,
.anim2-frame.mobile .s-card .em-from,
.anim2-frame.mobile .s-card .em-subj,
.anim2-frame.mobile .s-card .reply-subj,
.anim2-frame.mobile .s-card .c-task,
.anim2-frame.mobile .s-card .mo-title {
  color: var(--m-text);
}
.anim2-frame.mobile .s-card .muted,
.anim2-frame.mobile .s-card .em-body,
.anim2-frame.mobile .s-card .reply-body,
.anim2-frame.mobile .s-card .draft-text,
.anim2-frame.mobile .s-card .mo-line,
.anim2-frame.mobile .s-card .mo-sub,
.anim2-frame.mobile .s-card .db-text,
.anim2-frame.mobile .s-card .c-by {
  color: var(--m-text-2);
}
.anim2-frame.mobile .s-section-label { color: rgba(243,241,255,0.55); }
.anim2-frame.mobile .transcript-text { color: rgba(243,241,255,0.85); }

/* Orb card in mobile · compact and centered */
.scene2.mobile .s-orb-card { padding: 14px; }
.scene2.mobile .orb-stage { padding: 4px 0; }

/* Live wave in mobile */
.scene2.mobile .live-wave { height: 26px; max-width: 100%; }

/* Commit rows · tap-friendly */
.scene2.mobile .commit2 {
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}
.scene2.mobile .c-check { display: none; }
.scene2.mobile .c-icon { font-size: 16px; }
.scene2.mobile .c-task { font-size: 13px; }
.scene2.mobile .c-by { font-size: 10px; }
.scene2.mobile .c-when { padding: 3px 8px; font-size: 10px; border-radius: 6px; }

/* Buttons stack full-width on mobile */
.scene2.mobile .reply-actions,
.scene2.mobile .actions-stack { flex-direction: column; gap: 8px; }
.scene2.mobile .reply-btn,
.scene2.mobile .act-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 14px;
  border-radius: 14px;
}
.scene2.mobile .act-btn.primary {
  box-shadow: 0 10px 24px -8px rgba(124,92,255,0.55);
}

/* Micro overlays in mobile · smaller, denser */
.scene2.mobile .micro-overlay {
  padding: 12px 14px;
  border-radius: 14px;
  margin-top: 8px;
}
.scene2.mobile .micro-overlay .mo-title { font-size: 12.5px; }
.scene2.mobile .micro-overlay .mo-sub,
.scene2.mobile .micro-overlay .mo-line { font-size: 11.5px; }

/* Drift card mobile */
.scene2.mobile .drift-card {
  background: linear-gradient(180deg, rgba(255,93,77,0.10), rgba(255,255,255,0.03));
  border-color: rgba(255,93,77,0.38);
}
.scene2.mobile .drift-alert { font-size: 13px; }

/* DB rows mobile */
.scene2.mobile .db-row {
  background: rgba(255,255,255,0.04);
  padding: 7px 10px;
  border-radius: 8px;
}
.scene2.mobile .db-text { font-size: 11px; }

/* Email card mobile */
.scene2.mobile .email-card {
  background: linear-gradient(180deg, rgba(255,181,71,0.08), rgba(255,255,255,0.03));
  border-color: rgba(255,181,71,0.28);
}
.scene2.mobile .avatar2 { width: 32px; height: 32px; font-size: 13px; }
.scene2.mobile .em-from { font-size: 12.5px; }
.scene2.mobile .em-subj { font-size: 13.5px; }
.scene2.mobile .em-body { font-size: 12.5px; }

/* Reply card mobile */
.scene2.mobile .reply-card {
  background: linear-gradient(180deg, rgba(124,92,255,0.10), rgba(255,255,255,0.03));
  border-color: rgba(124,92,255,0.34);
}
.scene2.mobile .reply-subj { font-size: 13px; }
.scene2.mobile .reply-body { font-size: 13px; line-height: 1.55; min-height: 50px; }

/* Actions card mobile */
.scene2.mobile .actions-card {
  background: linear-gradient(180deg, rgba(124,92,255,0.10), rgba(255,255,255,0.03));
  border-color: rgba(124,92,255,0.30);
}

/* Recording dot mobile · slightly smaller */
.scene2.mobile .rec-dot { width: 6px; height: 6px; }
.scene2.mobile .rec-time { font-size: 12px; }
.scene2.mobile .rec-label { font-size: 9.5px; }

/* AI thinking + tags mobile */
.scene2.mobile .ai-thinking { font-size: 9.5px; padding: 2px 7px; }
.scene2.mobile .ai-tags { gap: 5px; margin-top: 10px; }
.scene2.mobile .ai-tag { font-size: 10px; padding: 3px 8px; }

/* Success bar mobile */
.scene2.mobile .success-bar {
  padding: 9px 12px;
  font-size: 11.5px;
  border-radius: 10px;
}

/* Toast mobile */
.scene2.mobile .micro-toast { font-size: 11px; padding: 7px 11px; }

/* Bottom safe area / home indicator over scene */
.anim2-frame.mobile::after {
  bottom: 6px;
  width: 130px;
  height: 5px;
  background: rgba(255,255,255,0.5);
}

/* Toggle button on mobile · scale up active state */
.a2-tog svg { transition: transform .25s; }
.a2-tog.active svg { transform: scale(1.1); }

/* ─────── FEATURES SECTION · LIGHT MODE TEXT FIX ─────── */

/* Non-accent feature cards · ensure proper hierarchy */
.landing.light .feat:not(.accent) {
  background: #ffffff;
  border-color: rgba(21,19,26,0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 14px 32px -14px rgba(77,61,240,0.14),
    0 4px 12px -4px rgba(21,19,26,0.06);
}
.landing.light .feat:not(.accent) h3 { color: #0a0e14; font-weight: 700; }
.landing.light .feat:not(.accent) .eyebrow { color: #4d3df0; font-weight: 600; }
.landing.light .feat:not(.accent) .muted { color: #2a3340; font-weight: 500; }
.landing.light .feat:not(.accent) p { color: #4a5568 !important; }
.landing.light .feat:not(.accent) .feat-icon {
  background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(91,232,255,0.10));
  color: #4d3df0;
  box-shadow: 0 6px 16px -6px rgba(77,61,240,0.30);
}

/* Accent feature card (Commitment Ledger) — keep gradient but bold contrast */
.landing.light .feat.accent {
  background: linear-gradient(135deg, #4d3df0 0%, #7c5cff 50%, #ff7ecb 100%);
  border: none;
  box-shadow:
    0 24px 60px -18px rgba(77,61,240,0.60),
    0 8px 20px -6px rgba(124,92,255,0.40);
}
.landing.light .feat.accent h3 { color: #ffffff; font-weight: 700; }
.landing.light .feat.accent .eyebrow { color: rgba(255,255,255,0.95); font-weight: 700; letter-spacing: 0.18em; }
.landing.light .feat.accent p,
.landing.light .feat.accent .muted { color: rgba(255,255,255,0.92) !important; font-weight: 500; }
.landing.light .feat.accent .feat-icon {
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) inset;
}

/* Hover lift */
.landing.light .feat { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1); }
.landing.light .feat:not(.accent):hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 20px 50px -16px rgba(77,61,240,0.22),
    0 6px 16px -4px rgba(21,19,26,0.10);
}
.landing.light .feat.accent:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 68px -16px rgba(77,61,240,0.70),
    0 10px 24px -6px rgba(124,92,255,0.50);
}

/* Capabilities section heading polish in light */
.landing.light #capabilities h2 { color: #0a0e14; }
.landing.light #capabilities .muted { color: #2a3340; font-weight: 500; }
.landing.light #capabilities .eyebrow { color: #4d3df0; font-weight: 700; }

/* CTA band eyebrow · always BLACK (override aurora gradient) */
.cta-band .eyebrow {
  color: #0a0e14 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #0a0e14 !important;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.landing.light .cta-band .eyebrow { color: #0a0e14 !important; -webkit-text-fill-color: #0a0e14 !important; }
