:root {
  --ai-obsidian: #fafbf9;
  --ai-navy: #16263e;
  --ai-navy-raised: #f0f3f3;
  --ai-panel: rgba(255, 255, 255, 0.9);
  --ai-panel-strong: #ffffff;
  --ai-line: #dfe4e4;
  --ai-line-gold: #dac79e;
  --ai-text: #1d2c43;
  --ai-muted: #5e6874;
  --ai-gold: #95712d;
  --ai-gold-bright: #95712d;
  --ai-cyan: #365a80;
  --ai-blue: #263f60;
  --ai-success: #26715a;
  --ai-shadow: 0 16px 48px rgba(26, 43, 61, 0.07);
  --ai-font: Montserrat, Avenir, "Segoe UI", sans-serif;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: ai-page-out 150ms ease both; }
::view-transition-new(root) { animation: ai-page-in 260ms ease both; }

@keyframes ai-page-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ai-page-out {
  to { opacity: 0; transform: translateY(-3px); }
}

html {
  background: var(--ai-obsidian);
  color-scheme: light;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background:
    linear-gradient(rgba(85, 216, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 216, 255, 0.025) 1px, transparent 1px),
    var(--ai-obsidian);
  background-size: 56px 56px;
  color: var(--ai-text);
  font-family: var(--ai-font);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(63, 124, 255, 0.06), transparent 34%, rgba(225, 183, 90, 0.035) 74%, transparent);
}

h1, h2, h3, h4, h5, h6,
.jw-hero h1,
.jw-section-heading h2,
.public-page-hero h1,
.case-study-page h1,
.case-study-page h2,
.prototype-page h1,
.prototype-page h2,
.portal-gate h1,
.admin-view-header h2 {
  color: var(--ai-text);
  font-family: var(--ai-font);
  font-weight: 750;
  letter-spacing: 0;
}

p { color: var(--ai-muted); }

.app-frame,
.public-home,
.public-page,
.case-study-page,
.prototype-page {
  background: transparent;
}

.nav {
  border-bottom: 1px solid var(--ai-line);
  background: rgba(3, 7, 17, 0.84);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(145%);
}

.nav-shell { max-width: 1320px; }
.brand-logo { box-shadow: 0 0 0 1px var(--ai-line-gold), 0 10px 34px rgba(0, 0, 0, 0.32); }
.nav-links a { color: #5e6874; font-family: var(--ai-font); }
.nav-links a:hover,
.nav-links a.active { color: var(--ai-text); }
.nav-links a.active::after { background: linear-gradient(90deg, var(--ai-gold), var(--ai-cyan)); }
.nav-login { border-color: var(--ai-line); background: rgba(22,38,62,0.04); color: var(--ai-text); }
.nav-login:hover { border-color: rgba(85, 216, 255, 0.45); background: rgba(85, 216, 255, 0.08); }
.nav-demo-button,
.jw-button-gold,
.primary-button {
  border-color: var(--ai-gold);
  background: linear-gradient(135deg, var(--ai-gold-bright), #c9912f);
  box-shadow: 0 10px 30px rgba(225, 183, 90, 0.2);
  color: #071329;
}
.nav-demo-button:hover,
.jw-button-gold:hover,
.primary-button:hover {
  box-shadow: 0 13px 36px rgba(225, 183, 90, 0.31);
  transform: translateY(-2px);
}
.nav .mobile-menu-toggle { border-color: rgba(85,216,255,0.3); background: rgba(85,216,255,0.07); color: var(--ai-text); }
.nav .mobile-menu-toggle span { background: var(--ai-text); }
.nav .mobile-menu-panel {
  border: 1px solid var(--ai-line);
  background: rgba(7, 19, 41, 0.97);
  box-shadow: var(--ai-shadow);
  backdrop-filter: blur(24px);
}
.nav .mobile-menu-head strong,
.nav .mobile-menu-links a { color: var(--ai-text); font-family: var(--ai-font); }
.nav .mobile-menu-mark { background: linear-gradient(135deg, var(--ai-gold), var(--ai-cyan)); color: #061127; }
.nav .mobile-menu-close,
.nav .mobile-secondary-action,
.nav .mobile-menu-utility a { border-color: var(--ai-line); background: rgba(22,38,62,0.04); color: #4d5c6d; }
.nav .mobile-menu-links a:hover { color: var(--ai-cyan); }
.nav .mobile-demo-cta { background: linear-gradient(135deg, var(--ai-gold-bright), #c9912f); color: #071329; }

.jw-hero { min-height: max(760px, calc(100vh - 74px)); background: var(--ai-obsidian); }
.jw-hero-bg { filter: saturate(0.78) contrast(1.06) brightness(0.72); }
.jw-hero::after {
  background:
    linear-gradient(180deg, rgba(2, 7, 17, 0.22), rgba(2, 7, 17, 0.8) 68%, var(--ai-obsidian)),
    linear-gradient(90deg, rgba(2, 7, 17, 0.5), transparent 42%, rgba(2, 7, 17, 0.2));
}
.jw-hero-content { max-width: 1120px; padding-top: 70px; }
.jw-hero-brand {
  border: 1px solid rgba(225, 183, 90, 0.38);
  box-shadow: 0 0 0 5px rgba(3, 7, 17, 0.5), 0 18px 55px rgba(0, 0, 0, 0.42);
}
.jw-hero h1 { max-width: 920px; font-size: clamp(54px, 6.5vw, 88px); line-height: 0.96; text-wrap: balance; }
.jw-hero h1 span {
  background: linear-gradient(90deg, var(--ai-gold-bright), var(--ai-gold) 44%, var(--ai-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jw-hero-copy { max-width: 800px; color: #56616e; font-size: 17px; }
.jw-button,
.jw-button-secondary,
.button,
.ghost-button {
  border-radius: 999px;
  font-family: var(--ai-font);
}
.jw-button-secondary {
  border: 1px solid rgba(85, 216, 255, 0.42);
  background: rgba(4, 12, 28, 0.7);
  box-shadow: inset 0 0 0 1px rgba(22,38,62,0.02), 0 12px 34px rgba(0,0,0,0.24);
  color: var(--ai-text);
  backdrop-filter: blur(14px);
}
.jw-button-secondary:hover { border-color: var(--ai-cyan); background: rgba(85, 216, 255, 0.09); }
.jw-button:not(.jw-button-gold) {
  border: 1px solid rgba(85,216,255,0.38);
  background: linear-gradient(135deg, #2458c2, #173d8d);
  box-shadow: 0 12px 30px rgba(31,83,190,0.2);
  color: white;
}
.jw-button:not(.jw-button-gold):hover { border-color: var(--ai-cyan); box-shadow: 0 15px 38px rgba(31,83,190,0.3); transform: translateY(-2px); }
.jw-case-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jw-ops-scene { filter: drop-shadow(0 35px 65px rgba(0, 0, 0, 0.5)); }
.jw-ops-board {
  border-color: rgba(85, 216, 255, 0.25);
  background: rgba(7, 19, 41, 0.9);
  box-shadow: inset 0 1px rgba(22,38,62,0.08), 0 0 50px rgba(63, 124, 255, 0.16);
  backdrop-filter: blur(18px);
}
.jw-ops-head { border-color: var(--ai-line); }
.jw-live-status { color: var(--ai-success); }
.jw-flow-item { border-color: var(--ai-line); background: rgba(22,38,62,0.035); }
.jw-flow-item i { color: var(--ai-cyan); }
.jw-flow-item span { color: #677382; }
.jw-flow-item strong { color: var(--ai-text); }
.jw-float-card {
  border: 1px solid rgba(85, 216, 255, 0.3);
  background: rgba(5, 15, 33, 0.82);
  box-shadow: 0 20px 46px rgba(0,0,0,0.34), inset 0 1px rgba(22,38,62,0.08);
  color: var(--ai-text);
  backdrop-filter: blur(15px);
}
.jw-float-card i { color: var(--ai-gold); }

.jw-trust-strip { border-color: var(--ai-line); background: #f1f4f3; }
.jw-trust-item + .jw-trust-item { border-color: var(--ai-line); }
.jw-trust-item i { color: var(--ai-cyan); }
.jw-trust-item strong { color: var(--ai-text); }
.jw-trust-item span { color: var(--ai-muted); }

.jw-section,
.public-page .section,
.case-study-page .section { background: var(--ai-obsidian); }
.jw-section-soft,
.public-page .section.soft,
.case-study-page .section.soft { background: #f1f4f3; }
.jw-section-navy { background: #f1f4f3; }
.jw-kicker,
.eyebrow { color: var(--ai-gold); letter-spacing: 0.12em; }
.jw-section-heading p,
.public-page-hero p,
.section-heading p { color: var(--ai-muted); }
.jw-solution-card,
.jw-industry-card,
.jw-scope-card,
.jw-proof-card,
.public-page .card,
.public-page .plan,
.public-page .review-card,
.case-study-page .media-card,
.case-study-page .case-impact-card,
.case-copy-card,
.case-dashboard-card,
.case-quote-panel {
  border: 1px solid var(--ai-line);
  background: linear-gradient(145deg, rgba(15, 34, 64, 0.82), rgba(7, 18, 39, 0.72));
  box-shadow: inset 0 1px rgba(22,38,62,0.045), 0 18px 55px rgba(0,0,0,0.2);
  color: var(--ai-text);
  backdrop-filter: blur(16px);
}
.jw-solution-card:hover,
.jw-industry-card:hover,
.jw-scope-card:hover,
.media-card:hover {
  border-color: rgba(85, 216, 255, 0.45);
  box-shadow: 0 22px 58px rgba(0,0,0,0.29), 0 0 34px rgba(63,124,255,0.08);
}
.jw-solution-card h3,
.jw-industry-card,
.jw-scope-card h3,
.jw-proof-card blockquote,
.case-impact-card strong,
.case-copy-card h3,
.media-card h3 { color: var(--ai-text); }
.jw-solution-card p,
.jw-scope-card p,
.jw-proof-card p,
.case-impact-card p,
.case-copy-card p,
.media-card p { color: var(--ai-muted); }
.jw-icon-box,
.jw-industry-card i {
  border: 1px solid rgba(225,183,90,0.24);
  background: rgba(225,183,90,0.08);
  color: var(--ai-gold-bright);
}
.jw-industry-card { color: var(--ai-text); }
.jw-industry-card:hover i { color: var(--ai-cyan); }
.jw-step { border-color: var(--ai-line); }
.jw-step > span { border-color: var(--ai-line-gold); background: rgba(225,183,90,0.08); color: var(--ai-gold-bright); }
.jw-step strong { color: var(--ai-text); }
.jw-step small { color: var(--ai-muted); }
.jw-client-logo { border: 1px solid var(--ai-line); background: rgba(255,255,255,0.96); }
.jw-proof-card blockquote::before { color: var(--ai-cyan); }
.jw-closing {
  border-top: 1px solid var(--ai-line);
  background: linear-gradient(125deg, #071329, #0b1b36 54%, #111b2d);
}
.jw-closing h2 { color: var(--ai-text); }
.jw-closing p { color: #5e6874; }

.public-page-hero {
  border-bottom: 1px solid var(--ai-line);
  background:
    linear-gradient(135deg, rgba(63,124,255,0.08), transparent 38%, rgba(225,183,90,0.06)),
    #fafbf9;
}
.public-page-hero h1 { font-size: clamp(52px, 6vw, 82px); }
.case-hero-section {
  border-bottom: 1px solid var(--ai-line);
  background:
    linear-gradient(125deg, rgba(63,124,255,0.09), transparent 42%, rgba(85,216,255,0.04)),
    #fafbf9;
}
.case-hero-section::before { opacity: 0.18; }
.case-hero-section .hero-copy { color: var(--ai-muted); }
.case-hero-section h1 { font-size: clamp(48px, 4.4vw, 64px); line-height: 1.02; }
.case-badge,
.case-tabs span {
  border-color: var(--ai-line);
  background: rgba(85,216,255,0.055);
  color: #536171;
}
.case-step-list li { border-color: var(--ai-line); color: var(--ai-muted); }
.case-step-list li::before { border-color: var(--ai-line-gold); background: rgba(225,183,90,0.08); color: var(--ai-gold); }
.case-step-list strong { color: var(--ai-text); }
.case-dashboard-card img,
.media-card img { border-bottom-color: var(--ai-line); }

.jw-video-frame,
.case-video-shell,
.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(85,216,255,0.34);
  border-radius: 8px;
  background: #020711;
  box-shadow: 0 30px 80px rgba(0,0,0,0.48), 0 0 42px rgba(63,124,255,0.12), inset 0 1px rgba(22,38,62,0.08);
}
.jw-video-frame::before,
.case-video-shell::after,
.video-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(225,183,90,0.09);
}
.jw-video-frame video,
.case-video-shell video,
.video-card video { background: #020711; }
.jw-video-caption,
.case-video-caption {
  border-top: 1px solid var(--ai-line);
  background: rgba(7,19,41,0.94);
  color: #5e6874;
}
.ai-video-controls {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--ai-line);
  background: rgba(3, 8, 18, 0.96);
  padding: 11px 14px;
}
.ai-video-button {
  display: inline-grid;
  min-width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ai-line);
  border-radius: 999px;
  background: rgba(22,38,62,0.045);
  color: var(--ai-text);
  cursor: pointer;
  font: 700 11px/1 var(--ai-font);
}
.ai-video-button:hover { border-color: var(--ai-cyan); color: var(--ai-cyan); }
.ai-video-progress {
  width: 100%;
  height: 4px;
  accent-color: var(--ai-cyan);
  cursor: pointer;
}
.ai-video-time { color: #d5dce5; font: 650 10px/1 var(--ai-font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ai-video-status {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(85,216,255,0.28);
  border-radius: 999px;
  background: rgba(3,8,18,0.76);
  color: #e3edf9;
  padding: 7px 10px;
  backdrop-filter: blur(12px);
  font: 750 9px/1 var(--ai-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ai-video-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ai-cyan); box-shadow: 0 0 12px var(--ai-cyan); }

.prototype-page { background: transparent; }
.prototype-intro {
  border-bottom: 1px solid var(--ai-line);
  background: linear-gradient(135deg, rgba(63,124,255,0.08), transparent 40%, rgba(225,183,90,0.055)), #fafbf9;
}
.prototype-intro p { color: var(--ai-muted); }
.prototype-studio-shell { width: min(100% - 40px, 1500px); gap: 22px; }
.prototype-builder,
.prototype-output-head,
.prototype-demo,
.prototype-workflow,
.prototype-save-bar {
  border: 1px solid var(--ai-line);
  background: var(--ai-panel);
  box-shadow: var(--ai-shadow), inset 0 1px rgba(22,38,62,0.05);
  color: var(--ai-text);
  backdrop-filter: blur(18px);
}
.prototype-builder-head,
.prototype-form fieldset { border-color: var(--ai-line); }
.prototype-builder-head p,
.prototype-output-head span,
.prototype-form label,
.prototype-form-status { color: var(--ai-muted); }
.prototype-builder-head h2,
.prototype-panel-head h2,
.prototype-output-head strong,
.prototype-form legend,
.prototype-workflow-step strong,
.prototype-save-bar h2 { color: var(--ai-text); }
.prototype-form input,
.prototype-form select,
.prototype-form textarea,
.prototype-whatsapp-compose input {
  border: 1px solid var(--ai-line);
  background: rgba(2,8,20,0.78);
  color: var(--ai-text);
}
.prototype-form input:focus,
.prototype-form select:focus,
.prototype-form textarea:focus { border-color: var(--ai-cyan); box-shadow: 0 0 0 3px rgba(85,216,255,0.11); }
.prototype-check { border-color: var(--ai-line); background: rgba(22,38,62,0.035); color: #4d5c6d; }
.prototype-check:has(input:checked) { border-color: var(--ai-line-gold); background: rgba(225,183,90,0.075); }
.prototype-output-head { border-radius: 8px; }
.prototype-device-switch { border-color: var(--ai-line); background: rgba(2,8,20,0.62); }
.prototype-device-switch button { color: var(--ai-muted); }
.prototype-device-switch button.active { background: linear-gradient(135deg, var(--ai-blue), #2253b6); color: white; box-shadow: 0 0 22px rgba(63,124,255,0.26); }
.prototype-canvas {
  border-color: var(--ai-line);
  background: #020711;
  box-shadow: inset 0 0 50px rgba(63,124,255,0.08);
}
.prototype-demo-stage {
  border: 1px solid rgba(85,216,255,0.22);
  background: linear-gradient(145deg, rgba(8,23,48,0.96), rgba(3,9,22,0.98));
  box-shadow: inset 0 1px rgba(22,38,62,0.05), 0 18px 44px rgba(0,0,0,0.24);
}
.prototype-demo-stage small { color: var(--ai-gold); }
.prototype-demo-stage h3 { color: var(--ai-text); }
.prototype-demo-stage p { color: var(--ai-muted); }
.prototype-demo-controls { align-items: center; flex-wrap: wrap; }
.prototype-demo-controls button {
  border-color: var(--ai-line);
  border-radius: 999px;
  background: rgba(22,38,62,0.045);
  color: var(--ai-text);
}
.prototype-demo-controls button:hover { border-color: var(--ai-cyan); color: var(--ai-cyan); }
.prototype-demo-dots button { background: rgba(143,162,187,0.3); }
.prototype-demo-dots button.active { background: var(--ai-cyan); box-shadow: 0 0 12px rgba(85,216,255,0.7); }
.prototype-workflow-step:not(:last-child)::after { background: var(--ai-line); }
.prototype-workflow-number { border: 1px solid var(--ai-line-gold); background: rgba(225,183,90,0.08); color: var(--ai-gold-bright); }
.prototype-workflow-step span { color: var(--ai-muted); }
.prototype-save-bar { background: linear-gradient(120deg, rgba(10,27,54,0.96), rgba(7,19,41,0.92)); }
.prototype-save-bar p { color: var(--ai-muted); }

.industry-assistant-menu { display: grid; gap: 13px; }
.industry-assistant-group { display: grid; gap: 7px; }
.industry-assistant-group > span { color: #687582; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.industry-assistant-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.industry-assistant-option {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--ai-line);
  border-radius: 7px;
  background: rgba(22,38,62,0.035);
  color: #536171;
  padding: 9px 10px;
  cursor: pointer;
  font: 700 10px/1.25 var(--ai-font);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}
.industry-assistant-option:hover { border-color: rgba(85,216,255,0.42); color: white; transform: translateY(-1px); }
.industry-assistant-option.active { border-color: var(--ai-gold); background: rgba(225,183,90,0.1); color: var(--ai-gold-bright); box-shadow: 0 0 22px rgba(225,183,90,0.08); }
.industry-assistant-option i,
.industry-assistant-option svg { flex: 0 0 auto; width: 15px; height: 15px; }
.industry-native-select { margin-top: 3px; }

.ai-sim-state {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--ai-line);
  border-radius: 999px;
  background: rgba(22,38,62,0.035);
  color: #5e6874;
  padding: 8px 10px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ai-sim-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ai-sim-state[data-state="running"] { border-color: rgba(85,216,255,0.38); color: var(--ai-cyan); }
.ai-sim-state[data-state="running"]::before { box-shadow: 0 0 12px var(--ai-cyan); animation: ai-status-pulse 1.2s ease-in-out infinite; }
.ai-sim-state[data-state="completed"] { border-color: rgba(88,223,173,0.38); color: var(--ai-success); }
.ai-sim-state[data-state="paused"] { border-color: var(--ai-line-gold); color: var(--ai-gold); }
@keyframes ai-status-pulse { 50% { opacity: 0.3; transform: scale(0.72); } }

.ai-simulation-feed { display: grid; gap: 9px; margin-top: 16px; }
.ai-simulation-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--ai-line);
  border-radius: 7px;
  background: rgba(22,38,62,0.035);
  padding: 10px;
  animation: ai-feed-in 340ms ease both;
}
.ai-simulation-item[data-kind="customer"] { margin-right: 9%; }
.ai-simulation-item[data-kind="ai"] { margin-left: 9%; border-color: rgba(85,216,255,0.24); background: rgba(85,216,255,0.055); }
.ai-simulation-item[data-kind="event"] { border-color: rgba(225,183,90,0.23); background: rgba(225,183,90,0.05); }
.ai-simulation-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: rgba(85,216,255,0.09); color: var(--ai-cyan); font-size: 13px; font-weight: 850; }
.ai-simulation-item[data-kind="event"] .ai-simulation-icon { background: rgba(225,183,90,0.1); color: var(--ai-gold); }
.ai-simulation-copy { display: grid; gap: 3px; }
.ai-simulation-copy strong { color: var(--ai-text); font-size: 11px; }
.ai-simulation-copy span { color: #5e6874; font-size: 10px; line-height: 1.45; }
.ai-simulation-cta { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid rgba(88,223,173,0.3); border-radius: 7px; background: rgba(88,223,173,0.065); padding: 12px; }
.ai-simulation-cta span { color: #26715a; font-size: 11px; font-weight: 700; }
.ai-simulation-cta button { border: 0; border-radius: 999px; background: var(--ai-success); color: #04130e; padding: 9px 12px; cursor: pointer; font: 800 10px/1 var(--ai-font); }
@keyframes ai-feed-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.prototype-whatsapp { border-color: rgba(88,223,173,0.34); box-shadow: 0 20px 45px rgba(0,0,0,0.28), 0 0 28px rgba(88,223,173,0.06); }
.prototype-whatsapp-head { background: #0a5948; }
.prototype-whatsapp-thread { background-color: #dfe5df; }
.prototype-whatsapp-quick-actions button { border-color: rgba(88,223,173,0.34); color: #164f40; }

.portal-gate,
.portal-protected { background: transparent; }
.portal-gate-copy h1 { color: var(--ai-text); }
.portal-gate-copy p { color: var(--ai-muted); }
.portal-card,
.table-card,
.admin-route-card,
.admin-module-card,
.admin-tool-card {
  border-color: var(--ai-line);
  background: var(--ai-panel-strong);
  box-shadow: var(--ai-shadow), inset 0 1px rgba(22,38,62,0.045);
  color: var(--ai-text);
}
.portal-card h2,
.portal-card h3,
.table-card h2,
.table-card h3,
.admin-route-card strong,
.admin-view-header h2 { color: var(--ai-text); }
.portal-card p,
.table-card p,
.admin-route-card span,
.admin-view-header p { color: var(--ai-muted); }
.portal-login label,
.admin-form-grid label { color: #5e6874; }
.portal-login input,
.portal-login select,
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.crm-chat-composer input {
  border-color: var(--ai-line);
  background: rgba(2,8,20,0.76);
  color: var(--ai-text);
}
.admin-workspace-section { background: #fafbf9; }
.admin-workspace-sidebar { border-color: var(--ai-line); background: #071329; }
.admin-workspace-main { background: #fafbf9; }
.admin-workspace-nav button { color: #4d5c6d; }
.admin-workspace-nav button:hover,
.admin-workspace-nav button.active { background: rgba(85,216,255,0.08); color: var(--ai-text); }
.admin-workspace-nav button.active i { color: var(--ai-cyan); }
.admin-route-card:hover { border-color: rgba(85,216,255,0.42); background: rgba(13,34,66,0.95); }
.admin-route-icon { background: rgba(225,183,90,0.08); color: var(--ai-gold); }

.auth-modal,
.modal,
.modal-card {
  border-color: var(--ai-line);
  background: var(--ai-panel-strong);
  color: var(--ai-text);
  box-shadow: var(--ai-shadow);
}
.auth-modal h2,
.modal h2,
.modal-card h2 { color: var(--ai-text); }
.auth-modal p,
.modal p,
.modal-card p { color: var(--ai-muted); }

.site-footer { border-color: var(--ai-line); background: #f0f3f3; }
.footer-intro p,
.footer-column span,
.footer-bottom { color: #5e6874; }
.footer-column strong { color: var(--ai-text); }
.footer-column a { color: #4d5c6d; }
.footer-column a:hover { color: var(--ai-cyan); }
.footer-bottom { border-color: var(--ai-line); }

@media (max-width: 980px) {
  .jw-hero h1 { font-size: clamp(48px, 10vw, 74px); }
  .prototype-studio-shell { width: min(100% - 24px, 1500px); }
  .prototype-builder { position: static; max-height: none; }
}

@media (max-width: 640px) {
  body { background-size: 40px 40px; }
  .jw-hero { min-height: auto; }
  .jw-hero h1 { font-size: 45px; }
  .jw-hero-copy { font-size: 14px; }
  .jw-hero-brand { width: min(330px, 92%); }
  .jw-ops-scene { margin-top: 48px; }
  .public-page-hero h1 { font-size: 43px; }
  .ai-video-controls { grid-template-columns: auto minmax(70px, 1fr) auto; }
  .ai-video-time { display: none; }
  .jw-case-actions { display: grid; }
  .jw-case-actions a { width: 100%; }
  .industry-assistant-options { grid-template-columns: 1fr 1fr; }
  .prototype-studio-shell { width: min(100% - 18px, 1500px); }
  .prototype-demo-stage { padding: 16px; }
  .ai-simulation-item[data-kind="customer"] { margin-right: 3%; }
  .ai-simulation-item[data-kind="ai"] { margin-left: 3%; }
  .ai-simulation-cta { align-items: stretch; flex-direction: column; }
  .ai-simulation-cta button { width: 100%; }
}

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



/* Reference treatment: presentation only; existing copy, routes and scripts are untouched. */
body { background: var(--ai-obsidian); }
body::before { content: none; }
h1, h2, h3, h4, h5, h6 { text-transform: none !important; }
[data-scroll-reveal].prototype-output { opacity: 1; transform: none; }
button, input, select, textarea { font-family: var(--ai-font); }
:focus-visible { outline: 3px solid #ad8b45; outline-offset: 4px; }
.nav { background: rgba(250,251,249,0.96); box-shadow: none; backdrop-filter: blur(12px); }
.nav-shell { max-width: 1280px; }
.brand-logo { box-shadow: none; object-fit: contain; }
.nav-links a { font-weight: 550; }
.nav-links a.active::after { background: var(--ai-gold); }
.nav-login { background: transparent; }
.nav-login:hover { background: #fff; border-color: #b8c2cc; }
.nav .mobile-menu-toggle { background: #fff; border-color: var(--ai-line); }
.nav .mobile-menu-panel { background: #fcfdfb; box-shadow: 0 24px 70px rgba(22,38,62,0.14); backdrop-filter: none; }
.nav .mobile-menu-links a { font-size: 23px; font-weight: 650; line-height: 1.4; letter-spacing: 0; }
.nav .mobile-menu-mark { background: var(--ai-navy); color: #d5b471; }
.nav .mobile-menu-close, .nav .mobile-secondary-action, .nav .mobile-menu-utility a { background: #f1f4f3; }
.nav-demo-button, .jw-button, .jw-button-gold, .primary-button, .jw-button:not(.jw-button-gold), .nav .mobile-demo-cta {
  border: 1px solid var(--ai-navy); border-radius: 999px; background: var(--ai-navy); color: #fff;
  box-shadow: none; font-weight: 650; transition: background 180ms ease, transform 180ms ease;
}
.nav-demo-button:hover, .jw-button:hover, .jw-button-gold:hover, .primary-button:hover, .jw-button:not(.jw-button-gold):hover {
  border-color: #2b4160; background: #2b4160; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22,38,62,0.12);
}
.jw-button-secondary { border-color: var(--ai-line); background: rgba(255,255,255,0.85); color: var(--ai-navy); box-shadow: none; backdrop-filter: none; font-weight: 600; }
.jw-button-secondary:hover { border-color: #b8c2cc; background: #fff; }
.jw-hero { min-height: 760px; }
.jw-hero-bg { filter: none; opacity: 0.38; }
.jw-hero::after { background: linear-gradient(180deg, rgba(250,251,249,0.96), rgba(250,251,249,0.88) 52%, rgba(250,251,249,0.45) 82%, #fafbf9); }
.jw-hero-content { max-width: 1100px; padding: 64px 0 86px; }
.jw-hero-brand { width: 300px; margin-bottom: 34px; border-color: var(--ai-line-gold); box-shadow: 0 12px 32px rgba(22,38,62,0.09); }
.jw-hero h1 { max-width: 990px; font-size: 76px; line-height: 1.02; font-weight: 800; text-wrap: balance; }
.jw-hero h1 span { background: none; color: var(--ai-gold); }
.jw-hero-copy { max-width: 740px; font-size: 16px; line-height: 1.85; margin-top: 26px; }
.jw-hero-actions { gap: 14px; margin-top: 32px; }
.jw-ops-scene { width: min(760px,86%); margin-top: 80px; filter: none; }
.jw-ops-board { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.86); box-shadow: 0 22px 56px rgba(26,43,61,0.1); backdrop-filter: blur(8px); padding: 24px; }
.jw-ops-head strong { color: var(--ai-navy); }
.jw-live-status::before { background: var(--ai-success); }
.jw-flow-item { border: 0; border-radius: 0; border-left: 1px solid var(--ai-line); background: transparent; }
.jw-flow-item:first-child { border-left: 0; }
.jw-float-card { border-color: var(--ai-line); background: rgba(255,255,255,0.94); box-shadow: var(--ai-shadow); font-weight: 600; backdrop-filter: none; }
.jw-trust-strip { background: #fff; }
.jw-section { padding-block: 100px; }
.jw-section-heading h2 { font-size: 48px; line-height: 1.12; text-wrap: balance; }
.jw-section-heading p, .public-page-hero p, .section-heading p { font-size: 16px; }
.jw-kicker, .eyebrow { letter-spacing: 0; font-weight: 650; }
.jw-solution-card, .jw-industry-card, .jw-scope-card, .jw-proof-card,
.public-page .card, .public-page .plan, .public-page .review-card,
.case-study-page .media-card, .case-study-page .case-impact-card, .case-copy-card, .case-dashboard-card, .case-quote-panel {
  border-radius: 8px; background: #fff; box-shadow: none; backdrop-filter: none;
}
.jw-solution-card:hover, .jw-industry-card:hover, .jw-scope-card:hover, .media-card:hover { border-color: #b8c2cc; box-shadow: var(--ai-shadow); }
.jw-section-navy { background: var(--ai-navy); }
.jw-section-navy .jw-section-heading h2, .jw-section-navy .jw-proof-card blockquote { color: #fff; }
.jw-section-navy .jw-section-heading p, .jw-section-navy .jw-proof-card p { color: #d7dfeb; }
.jw-section-navy .jw-proof-card { background: #21344e; border-color: #41536b; }
.jw-closing { background: #edf1f2; }
.public-page-hero, .case-hero-section, .prototype-intro { background: var(--ai-obsidian); }
.public-page-hero h1 { font-size: 68px; line-height: 1.08; }
.case-hero-section::before { content: none; }
.case-hero-section h1 { font-size: 56px; line-height: 1.08; }
.case-badge, .case-tabs span { background: #f5f0e2; border-color: #ddd2b5; color: #755720; }
.jw-video-frame, .case-video-shell, .video-card { border-color: #d5dde2; background: #fff; box-shadow: 0 20px 54px rgba(22,38,62,0.1); }
.jw-video-frame::before, .case-video-shell::after, .video-card::before { content: none; }
.jw-video-frame video, .case-video-shell video, .video-card video { background: #fff; }
.jw-video-caption, .case-video-caption { background: #f5f7f6; }
.ai-video-controls { background: var(--ai-navy); padding: 12px 16px; }
.ai-video-button { min-width: 44px; height: 36px; border-color: #617087; background: transparent; color: #fff; }
.ai-video-button:hover { border-color: #d5b471; background: #2b4160; color: #fff; }
.ai-video-progress { accent-color: #d5b471; }
.ai-video-status { border-color: #dce2e5; background: rgba(255,255,255,0.94); color: var(--ai-navy); letter-spacing: 0; backdrop-filter: none; }
.ai-video-status::before { background: var(--ai-gold); box-shadow: none; }
.prototype-intro-inner { max-width: 1240px; padding-block: 52px; }
.prototype-intro h1 { max-width: 900px; font-size: 44px; line-height: 1.16; }
.prototype-intro p { max-width: 850px; }
.prototype-studio-shell { width: min(100% - 64px,1280px); grid-template-columns: minmax(270px,0.8fr) minmax(0,2fr); gap: 56px; padding-block: 48px 80px; }
.prototype-builder { border: 0; border-right: 1px solid var(--ai-line); border-radius: 0; padding-right: 26px; background: transparent; box-shadow: none; backdrop-filter: none; scrollbar-width: thin; }
.prototype-builder-head { padding: 0 0 22px; }
.prototype-builder-head h2 { font-size: 26px; line-height: 1.2; }
.prototype-builder-head p { font-size: 12px; line-height: 1.7; }
.prototype-form { padding: 20px 0 0; }
.prototype-form legend, .prototype-form label, .prototype-form-status { font-size: 12px; }
.prototype-form input, .prototype-form select, .prototype-form textarea, .prototype-whatsapp-compose input { border-color: #d5dde2; background: #fff; border-radius: 8px; }
.prototype-form input:focus, .prototype-form select:focus, .prototype-form textarea:focus { border-color: var(--ai-gold); box-shadow: 0 0 0 3px rgba(149,113,45,0.1); }
.prototype-check { background: #fff; }
.prototype-check:has(input:checked) { border-color: #c1ac7c; background: #f5f0e2; }
.industry-assistant-menu { gap: 24px; padding-block: 8px; }
.industry-assistant-group { gap: 10px; }
.industry-assistant-group > span { font-size: 10px; font-weight: 600; letter-spacing: 0; }
.industry-assistant-options { display: flex; flex-wrap: wrap; gap: 5px; }
.industry-assistant-option { min-height: 36px; border-color: transparent; border-radius: 999px; background: transparent; padding: 8px 11px; font: 550 11px/1.35 var(--ai-font); }
.industry-assistant-option:hover { background: #e9edf0; border-color: transparent; color: var(--ai-navy); transform: none; }
.industry-assistant-option.active { border-color: var(--ai-navy); background: var(--ai-navy); color: #fff; box-shadow: none; }
.industry-assistant-option i, .industry-assistant-option svg { width: 14px; height: 14px; }
.industry-native-select { margin-top: 8px; }
.prototype-output { gap: 30px; align-content: start; }
.prototype-output-head { border: 0; border-bottom: 1px solid var(--ai-line); border-radius: 0; background: transparent; box-shadow: none; padding: 0 0 16px; backdrop-filter: none; }
.prototype-device-switch { background: #ecf0f1; }
.prototype-device-switch button.active { background: #fff; color: var(--ai-navy); box-shadow: 0 2px 8px rgba(22,38,62,0.07); }
.prototype-canvas { background: #f0f3f3; box-shadow: none; }
.generated-brand-mark { background: var(--ai-navy); color: #d5b471; border-radius: 50%; }
.generated-nav-cta, .generated-hero-actions button, .generated-phone-button { border-radius: 999px; font-weight: 650; }
.generated-nav-cta { background: var(--ai-navy); }
.generated-hero h2 { font-size: 34px; line-height: 1.14; color: #fff; }
.generated-hero-copy { padding: 36px 28px; }
.generated-primary, .generated-phone-button { background: #d5b471; color: var(--ai-navy); }
.generated-service-item span:last-child, .generated-service-card span { color: var(--ai-gold); }
.generated-service-card { background: #f5f7f6; }
.generated-nav-links, .generated-service-item, .generated-phone-head { font-weight: 600; }
.generated-services h3 { font-size: 25px; line-height: 1.2; }
.prototype-demo, .prototype-workflow { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; backdrop-filter: none; }
.prototype-insight-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
.prototype-panel-head { gap: 14px; margin-bottom: 26px; }
.prototype-panel-head h2 { font-size: 30px; line-height: 1.2; }
.prototype-demo { display: flex; flex-direction: column; }
.prototype-demo .prototype-panel-head { display: contents; }
.prototype-demo .prototype-panel-head > div:first-child { order: 0; margin-bottom: 22px; }
.prototype-demo-stage { order: 1; min-height: 410px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.prototype-demo-stage > small { display: block; padding: 17px 20px; border-radius: 8px; background: var(--ai-navy); color: #e3ca94; font-size: 11px; line-height: 1.5; font-weight: 650; }
.prototype-demo-stage h3 { margin-top: 26px; font-size: 26px; line-height: 1.3; }
.prototype-demo-stage p { font-size: 13px; line-height: 1.8; }
.prototype-demo-visual { min-height: 230px; margin-top: 24px; }
.prototype-demo-controls { order: 3; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.prototype-demo-controls [data-demo-play] { flex: 1 1 220px; min-height: 46px; border-color: var(--ai-navy); background: var(--ai-navy); color: #fff; font-weight: 650; }
.prototype-demo-controls [data-demo-play]:hover { background: #2b4160; color: #fff; }
.prototype-demo-controls [data-demo-restart] { border-color: var(--ai-line); background: #fff; color: var(--ai-navy); padding: 12px; }
.prototype-demo-dots { order: 2; grid-template-columns: repeat(6,minmax(0,1fr)); margin-top: 20px; }
.prototype-demo-dots button { background: #dce2e5; }
.prototype-demo-dots button.active { background: var(--ai-gold); box-shadow: none; }
.prototype-workflow { border-top: 1px solid var(--ai-line); padding-top: 30px; }
.prototype-workflow-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.prototype-workflow-step { margin: 0; }
.prototype-workflow-step:not(:last-child)::after { content: none; }
.prototype-save-bar { border-color: var(--ai-line); border-radius: 8px; background: #eff3f3; box-shadow: none; backdrop-filter: none; }
.ai-sim-state { background: #fff; padding: 9px 12px; font-size: 10px; font-weight: 650; letter-spacing: 0; }
.ai-sim-state[data-state="running"] { border-color: #b6c5d6; }
.ai-sim-state[data-state="running"]::before { box-shadow: none; }
.ai-sim-state[data-state="completed"] { border-color: #afcfbf; }
.ai-simulation-feed { gap: 18px; }
.ai-simulation-item { grid-template-columns: 26px minmax(0,1fr); border: 0; background: transparent; padding: 12px 14px; }
.ai-simulation-item[data-kind="customer"] { justify-self: end; max-width: 88%; margin: 0; background: var(--ai-navy); border-radius: 18px 18px 4px 18px; }
.ai-simulation-item[data-kind="ai"] { justify-self: start; max-width: 94%; margin: 0; padding-left: 0; background: transparent; }
.ai-simulation-item[data-kind="event"] { justify-self: center; width: min(100%,560px); border: 1px solid #e5e6df; background: #f2f4ed; padding: 10px 14px; }
.ai-simulation-icon { width: 26px; height: 26px; border-radius: 50%; background: #e9edf0; color: var(--ai-navy); font-size: 9px; font-weight: 700; }
.ai-simulation-item[data-kind="customer"] .ai-simulation-icon { background: #344964; color: #fff; }
.ai-simulation-item[data-kind="event"] .ai-simulation-icon { background: #eae3d0; color: #7a5c26; }
.ai-simulation-copy { gap: 5px; }
.ai-simulation-copy strong { font-size: 11px; font-weight: 650; }
.ai-simulation-copy span { font-size: 12px; line-height: 1.7; }
.ai-simulation-item[data-kind="customer"] .ai-simulation-copy strong, .ai-simulation-item[data-kind="customer"] .ai-simulation-copy span { color: #fff; }
.ai-simulation-item[data-kind="event"] .ai-simulation-copy strong { color: #7a5c26; }
.ai-simulation-cta { flex-wrap: wrap; gap: 14px; padding: 20px 0 0; border: 0; border-top: 1px solid var(--ai-line); border-radius: 0; background: transparent; }
.ai-simulation-cta span { color: var(--ai-muted); font-size: 12px; }
.ai-simulation-cta button { background: var(--ai-navy); color: #fff; padding: 13px 18px; font: 650 11px/1.4 var(--ai-font); }
.prototype-whatsapp { border-color: #cbd9d2; box-shadow: 0 12px 32px rgba(22,38,62,0.07); }
.prototype-whatsapp-thread { background-color: #e9efe9; }
.portal-card, .table-card, .admin-route-card, .admin-module-card, .admin-tool-card { border-radius: 8px; box-shadow: none; }
.portal-login input, .portal-login select, .admin-form-grid input, .admin-form-grid select, .admin-form-grid textarea, .crm-chat-composer input { border-color: #d5dde2; background: #fff; }
.admin-workspace-sidebar { background: #f0f3f3; }
.admin-workspace-nav button:hover { background: #e4eaed; }
.admin-workspace-nav button.active { background: var(--ai-navy); color: #fff; }
.admin-workspace-nav button.active i { color: #d5b471; }
.admin-route-card:hover { border-color: #b8c2cc; background: #fff; box-shadow: var(--ai-shadow); }
.auth-modal, .modal, .modal-card { box-shadow: 0 28px 80px rgba(22,38,62,0.2); }
@media (max-width:1100px) {
  .jw-hero h1 { font-size: 64px; }
  .prototype-studio-shell { width: min(100% - 40px,1280px); gap: 28px; grid-template-columns: 280px minmax(0,1fr); }
  .prototype-builder { padding-right: 18px; }
}
@media (max-width:980px) {
  .prototype-studio-shell { grid-template-columns: 1fr; gap: 40px; }
  .prototype-builder { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--ai-line); padding: 0 0 30px; }
  .industry-assistant-menu { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .prototype-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .prototype-form fieldset:first-child, .prototype-form-actions { grid-column: 1 / -1; }
}
@media (max-width:640px) {
  .jw-hero { min-height: auto; }
  .jw-hero-content { padding: 44px 0 60px; }
  .jw-hero-brand { width: min(280px,85%); margin-bottom: 28px; }
  .jw-hero h1 { font-size: 43px; line-height: 1.08; }
  .jw-hero-copy { font-size: 14px; line-height: 1.8; }
  .jw-hero-actions { gap: 10px; }
  .jw-ops-scene { width: 100%; margin-top: 54px; }
  .jw-ops-board { padding: 16px; }
  .jw-flow-item { padding: 12px; }
  .jw-flow-item:nth-child(3) { border-left: 0; }
  .jw-section { padding-block: 64px; }
  .jw-section-heading h2 { font-size: 34px; }
  .jw-section-heading p { font-size: 14px; }
  .public-page-hero h1, .case-hero-section h1 { font-size: 40px; }
  .ai-video-controls { gap: 9px; padding: 10px; }
  .prototype-intro-inner { padding-block: 36px; }
  .prototype-intro h1 { font-size: 32px; }
  .prototype-studio-shell { width: calc(100% - 32px); padding-top: 30px; }
  .prototype-form { display: block; }
  .industry-assistant-menu { grid-template-columns: 1fr; gap: 20px; }
  .industry-assistant-option { min-height: 40px; font-size: 12px; }
  .prototype-output { gap: 24px; }
  .prototype-output-head { gap: 16px; }
  .prototype-panel-head h2 { font-size: 27px; }
  .prototype-demo-stage h3 { font-size: 23px; }
  .prototype-demo-stage > small { padding: 15px; }
  .prototype-workflow-list { grid-template-columns: 1fr; }
  .ai-simulation-item { padding: 11px; }
  .ai-simulation-item[data-kind="customer"] { max-width: 94%; }
  .ai-simulation-copy span { font-size: 11px; }
}
