/* ==========================================================================
   Bravion Industry — Premium Design System
   Palette derived from the Bravion "B" logo (deep navy -> royal -> bright blue)
   ========================================================================== */

:root {
  --b-ink: #050B1F;          /* deepest background */
  --b-ink-2: #08132E;        /* raised dark surface */
  --b-navy: #0A2E7A;         /* logo dark blue */
  --b-royal: #1450C0;        /* logo mid blue */
  --b-blue: #1E6FE0;         /* logo bright blue */
  --b-sky: #4FA3FF;          /* highlight */
  --b-ice: #A9D1FF;          /* soft highlight */
  --b-paper: #F5F8FD;        /* light section background */
  --b-line: rgba(255, 255, 255, 0.08);
  --b-line-light: #E3EAF5;
  --b-text: #0B1530;
  --b-muted: #5A6785;
  --b-grad: linear-gradient(135deg, #0A2E7A 0%, #1450C0 45%, #1E6FE0 75%, #4FA3FF 100%);
  --b-grad-text: linear-gradient(100deg, #FFFFFF 0%, #A9D1FF 40%, #4FA3FF 70%, #1E6FE0 100%);
  --b-radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--b-paper);
  color: var(--b-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .font-display { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
::selection { background: rgba(30, 111, 224, .25); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--b-blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--b-sky); outline-offset: 3px; border-radius: 8px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

.sec { position: relative; padding: 88px 0; overflow: hidden; }
@media (min-width: 1024px) { .sec { padding: 120px 0; } }
.sec-dark { background: var(--b-ink); color: #E6EDFA; }
.sec-dark-2 { background: linear-gradient(180deg, var(--b-ink) 0%, #071535 100%); color: #E6EDFA; }
.sec-light { background: var(--b-paper); }
.sec-white { background: #fff; }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  color: var(--b-royal); background: rgba(30, 111, 224, .08); border: 1px solid rgba(30, 111, 224, .18);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(30,111,224,.15); }
.sec-dark .eyebrow, .sec-dark-2 .eyebrow, .on-dark .eyebrow { color: var(--b-ice); background: rgba(79, 163, 255, .1); border-color: rgba(79, 163, 255, .25); }

.h-sec { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
.lead { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; color: var(--b-muted); }
.sec-dark .lead, .sec-dark-2 .lead { color: #9FB0D0; }

.grad-text { background: var(--b-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-blue { background: linear-gradient(100deg, #0A2E7A, #1450C0 45%, #1E6FE0 80%, #4FA3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; border-radius: 999px; padding: 14px 26px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s, border-color .3s;
  isolation: isolate; overflow: hidden; white-space: nowrap; cursor: pointer;
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { color: #fff; background: var(--b-grad); background-size: 160% 160%; box-shadow: 0 10px 30px -8px rgba(30, 111, 224, .65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(30, 111, 224, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(169, 209, 255, .6); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-outline { color: var(--b-royal); border: 1px solid rgba(20, 80, 192, .3); background: #fff; }
.btn-outline:hover { border-color: var(--b-blue); transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(20,80,192,.5); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Header ---------- */
#main-header { position: fixed; inset: 14px 0 auto 0; z-index: 60; padding: 0 12px; pointer-events: none; transition: inset .4s var(--ease-out); }
.nav-shell {
  pointer-events: auto; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 12px; border-radius: 999px;
  background: rgba(8, 19, 46, .55); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.5);
  transition: background .4s, box-shadow .4s, border-color .4s;
}
#main-header.is-scrolled { inset: 8px 0 auto 0; }
#main-header.is-scrolled .nav-shell { background: rgba(5, 11, 31, .82); border-color: rgba(79,163,255,.18); }
.brand-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; background: #fff; padding: 4px; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 6px 18px -4px rgba(30,111,224,.7);
  transition: transform .5s var(--ease-out);
}
.brand-logo:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: .02em; line-height: 1; }
.brand-name span { color: var(--b-sky); font-weight: 700; }
.brand-tag { white-space: nowrap; font-size: 9px; font-weight: 700; letter-spacing: .26em; color: #8FA7D6; margin-top: 4px; }

.nav-link {
  position: relative; padding: 9px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #C6D3EE;
  transition: color .25s, background .25s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link.is-active { color: #fff; background: rgba(30,111,224,.25); box-shadow: inset 0 0 0 1px rgba(79,163,255,.35); }
.nav-pill { font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; }
.pill-blue { background: rgba(79,163,255,.18); color: var(--b-ice); border: 1px solid rgba(79,163,255,.35); }
.pill-green { background: rgba(52,211,153,.15); color: #6EE7B7; border: 1px solid rgba(52,211,153,.35); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  color: #DCE6FA; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  transition: background .25s, transform .25s, border-color .25s;
}
.icon-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(169,209,255,.5); transform: translateY(-1px); }

/* Mobile drawer */
#mobile-drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(2, 6, 20, .6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s; }
#mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); z-index: 80;
  background: linear-gradient(180deg, #08132E, #050B1F); color: #fff; border-left: 1px solid rgba(255,255,255,.08);
  transform: translateX(105%); transition: transform .5s var(--ease-out); display: flex; flex-direction: column;
}
body.menu-open #mobile-drawer { transform: none; }
body.menu-open #mobile-drawer-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.m-link {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px;
  font-weight: 600; color: #D7E2F7; border: 1px solid transparent; transition: background .25s, border-color .25s;
  opacity: 0; transform: translateX(24px);
}
.m-link:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
body.menu-open .m-link { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background .25s; }

/* ---------- Hero ---------- */
#hero { position: relative; min-height: 100vh; padding: 140px 0 72px; background: var(--b-ink); color: #fff; overflow: hidden; }
@media (min-width: 1024px) { #hero { padding: 168px 0 96px; } }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow.g1 { width: 620px; height: 620px; top: -220px; left: -160px; background: radial-gradient(circle, rgba(20,80,192,.55), transparent 65%); animation: drift 16s ease-in-out infinite; }
.hero-glow.g2 { width: 560px; height: 560px; top: 18%; right: -200px; background: radial-gradient(circle, rgba(30,111,224,.45), transparent 65%); animation: drift 19s ease-in-out infinite reverse; }
.hero-glow.g3 { width: 480px; height: 480px; bottom: -240px; left: 35%; background: radial-gradient(circle, rgba(79,163,255,.25), transparent 65%); animation: drift 22s ease-in-out infinite; }
.grid-fade {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(79,163,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(79,163,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-title { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); font-size: 13px; font-weight: 600; color: #C9D8F5;
}
.hero-badge b { padding: 3px 10px; border-radius: 999px; background: var(--b-grad); color: #fff; font-size: 11px; letter-spacing: .06em; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); filter: blur(6px); transition: all .7s var(--ease-out); }
.rotator > span.on { opacity: 1; transform: none; filter: none; }
.rotator > span.off { opacity: 0; transform: translateY(-40%); filter: blur(6px); }

/* Hero product stage */
.stage {
  position: relative; border-radius: 26px; padding: 1px;
  background: linear-gradient(140deg, rgba(79,163,255,.55), rgba(255,255,255,.06) 40%, rgba(30,111,224,.45));
  box-shadow: 0 40px 100px -30px rgba(20, 80, 192, .7);
}
.stage-inner { border-radius: 25px; background: rgba(7, 16, 40, .92); backdrop-filter: blur(20px); overflow: hidden; }
.stage-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--b-line); }
.stage-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3A62; }
.stage-bar i:nth-child(1) { background: #FF5F57; } .stage-bar i:nth-child(2) { background: #FEBC2E; } .stage-bar i:nth-child(3) { background: #28C840; }
.stage-tabs { display: flex; gap: 4px; padding: 6px; margin: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--b-line); }
.stage-tab { flex: 1; padding: 8px 6px; border-radius: 10px; font-size: 12.5px; font-weight: 700; color: #8EA3CC; transition: all .3s; position: relative; overflow: hidden; }
.stage-tab.on { color: #fff; background: rgba(30,111,224,.3); box-shadow: inset 0 0 0 1px rgba(79,163,255,.4); }
.stage-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--b-sky); }
.stage-tab.on .bar { animation: tabbar 6s linear forwards; }
.stage-pane { display: none; padding: 4px 16px 18px; min-height: 330px; }
.stage-pane.on { display: block; animation: paneIn .6s var(--ease-out); }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: rgba(255,255,255,.95); color: var(--b-text); box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); font-size: 12.5px; font-weight: 700;
  animation: bob 6s ease-in-out infinite;
}
.float-chip small { display: block; font-size: 11px; color: var(--b-muted); font-weight: 600; }
.chip-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--b-grad); flex-shrink: 0; }

/* Metric strip */
.metric-strip { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 22px; border: 1px solid var(--b-line); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
@media (min-width: 768px) { .metric-strip { grid-template-columns: repeat(4, 1fr); } }
.metric { padding: 22px 20px; border-color: var(--b-line); }
.metric:not(:last-child) { border-right: 1px solid var(--b-line); }
@media (max-width: 767px) { .metric:nth-child(2) { border-right: 0; } .metric:nth-child(-n+2) { border-bottom: 1px solid var(--b-line); } }
.metric b { display: block; font-family: 'Plus Jakarta Sans'; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.metric > span { font-size: 13px; color: #8EA3CC; font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; flex-shrink: 0; padding-right: 14px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.tech-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: 14px; color: #33456E; background: #fff; border: 1px solid var(--b-line-light);
}
.tech-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--b-blue); }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--b-radius); background: #fff; border: 1px solid var(--b-line-light);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  box-shadow: 0 1px 2px rgba(11, 21, 48, .04);
}
.card:hover { transform: translateY(-6px); border-color: rgba(30,111,224,.35); box-shadow: 0 30px 60px -28px rgba(20, 80, 192, .45); }
.card-dark {
  position: relative; border-radius: var(--b-radius); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--b-line); transition: transform .5s var(--ease-out), border-color .4s, background .4s;
}
.card-dark:hover { transform: translateY(-6px); border-color: rgba(79,163,255,.4); }
/* cursor spotlight */
.spot { --mx: 50%; --my: 50%; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(30,111,224,.12), transparent 45%);
}
.card-dark.spot::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79,163,255,.16), transparent 45%); }
.spot:hover::before { opacity: 1; }

.ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--b-grad);
  box-shadow: 0 12px 24px -10px rgba(20,80,192,.7), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .6s var(--ease-out);
}
.card:hover .ico, .card-dark:hover .ico { transform: rotate(-8deg) scale(1.08); }
.ico-soft { background: rgba(30,111,224,.1); color: var(--b-royal); box-shadow: none; }
.num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 13px; color: #A3B3D1; letter-spacing: .08em; }
.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #F0F5FD; color: #2C4677; border: 1px solid #E1E9F6; }
.chip-dark { background: rgba(255,255,255,.05); color: #BFD0EE; border-color: rgba(255,255,255,.1); }

/* ---------- Showcase (Software / AI / HRMS) ---------- */
.show-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--b-line); }
.show-tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #9FB0D0; transition: all .35s var(--ease-out); }
.show-tab:hover { color: #fff; }
.show-tab.on { color: #fff; background: var(--b-grad); box-shadow: 0 10px 26px -10px rgba(30,111,224,.8); }
.show-panel { display: none; }
.show-panel.on { display: grid; animation: paneIn .7s var(--ease-out); }

.window { border-radius: 20px; background: #07122C; border: 1px solid rgba(79,163,255,.2); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--b-line); font-size: 12px; color: #7F93BC; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; }
.window-bar i:nth-child(1) { background: #FF5F57; } .window-bar i:nth-child(2) { background: #FEBC2E; } .window-bar i:nth-child(3) { background: #28C840; }

/* code editor */
.code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.75; padding: 16px 0; min-height: 300px; color: #C8D6F0; overflow-x: auto; }
.code .ln { display: flex; white-space: pre; padding: 0 16px; }
.code .ln::before { content: attr(data-n); width: 26px; flex-shrink: 0; color: #3E5280; text-align: right; margin-right: 16px; }
.tk-k { color: #7AB8FF; } .tk-f { color: #B4A4FF; } .tk-s { color: #8BE3B5; } .tk-c { color: #5D7299; font-style: italic; } .tk-n { color: #FFC07A; }
.caret { display: inline-block; width: 7px; height: 15px; background: var(--b-sky); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.term { font-family: ui-monospace, Menlo, monospace; font-size: 12px; padding: 12px 16px; background: #040A1C; border-top: 1px solid var(--b-line); min-height: 112px; color: #8FA6CF; }
.term .ok { color: #34D399; } .term .info { color: var(--b-sky); }

.pipe { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--b-line); background: rgba(255,255,255,.03); transition: all .5s var(--ease-out); }
.pipe .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #8EA3CC; border: 1px solid rgba(255,255,255,.15); flex-shrink: 0; transition: all .4s; }
.pipe.run { border-color: rgba(79,163,255,.5); background: rgba(30,111,224,.12); }
.pipe.run .dot { border-color: var(--b-sky); color: var(--b-sky); animation: pulseRing 1.2s infinite; }
.pipe.done .dot { background: #10B981; border-color: #10B981; color: #fff; }
.pipe .st { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #5D7299; white-space: nowrap; }
.pipe.run .st { color: var(--b-sky); } .pipe.done .st { color: #34D399; }

/* chat */
.chat-body { height: 380px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-body::-webkit-scrollbar { width: 6px; } .chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 6px; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 18px; font-size: 14px; line-height: 1.55; animation: msgIn .5s var(--ease-out); }
.msg.bot { align-self: flex-start; background: rgba(255,255,255,.06); border: 1px solid var(--b-line); color: #DCE6FA; border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: var(--b-grad); color: #fff; border-bottom-right-radius: 6px; }
.msg .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .src span { font-size: 11px; padding: 3px 8px; border-radius: 8px; background: rgba(79,163,255,.12); color: var(--b-ice); border: 1px solid rgba(79,163,255,.25); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8EA3CC; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.suggest { font-size: 12.5px; font-weight: 600; padding: 8px 12px; border-radius: 999px; color: #C9D8F5; border: 1px solid rgba(79,163,255,.3); background: rgba(30,111,224,.08); transition: all .25s; text-align: left; }
.suggest:hover { background: rgba(30,111,224,.25); color: #fff; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--b-line); }
.chat-input input { flex: 1; min-width: 0; background: rgba(255,255,255,.05); border: 1px solid var(--b-line); border-radius: 999px; padding: 11px 16px; color: #fff; font-size: 14px; outline: none; }
.chat-input input:focus { border-color: rgba(79,163,255,.5); }
.chat-input input::placeholder { color: #6E82AB; }

/* HRMS */
.hr-kpi { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--b-line); }
.hr-kpi b { display: block; font-family: 'Plus Jakarta Sans'; font-size: 22px; color: #fff; font-weight: 800; }
.hr-kpi > span { font-size: 11.5px; color: #8EA3CC; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; }
.bars div { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #4FA3FF, #1450C0); height: 0; transition: height 1.2s var(--ease-out); position: relative; }
.bars div.lo { background: linear-gradient(180deg, rgba(79,163,255,.45), rgba(20,80,192,.35)); }
.hr-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--b-line); transition: all .5s var(--ease-out); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; }
.tag { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: rgba(16,185,129,.15); color: #6EE7B7; } .tag-wait { background: rgba(251,191,36,.14); color: #FCD34D; } .tag-blue { background: rgba(79,163,255,.15); color: var(--b-ice); }
.ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--b-sky) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); transition: --p 1.5s; position: relative; }
.ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #07122C; }
.ring b { position: relative; z-index: 1; font-family: 'Plus Jakarta Sans'; font-size: 20px; color: #fff; }

.feat { display: flex; gap: 14px; padding: 16px; border-radius: 18px; transition: background .3s; }
.feat:hover { background: rgba(255,255,255,.04); }
.feat .ico { width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; }

/* Dev hub stations */
.station { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--b-line); text-align: left; transition: all .4s var(--ease-out); width: 100%; position: relative; overflow: hidden; }
.station:hover { background: rgba(255,255,255,.03); }
.station.on { border-color: rgba(79,163,255,.5); background: rgba(30,111,224,.12); }
.station .em { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); font-size: 18px; flex-shrink: 0; }
.station.on .em { background: var(--b-grad); }
.station .prog { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--b-sky); width: 0; }
.station.on .prog { animation: tabbar 7s linear forwards; }
.station-panel { display: none; } .station-panel.on { display: block; animation: paneIn .6s var(--ease-out); }
.kv { padding: 14px; border-radius: 14px; border: 1px solid var(--b-line); background: rgba(255,255,255,.03); }
.kv b { display: block; font-family: 'Plus Jakarta Sans'; color: #fff; font-size: 20px; font-weight: 800; }
.kv span { font-size: 11.5px; color: #8EA3CC; font-weight: 600; }

/* ---------- Solutions (problem -> solution) ---------- */
.sol { display: grid; grid-template-columns: 1fr; border-radius: var(--b-radius); overflow: hidden; border: 1px solid var(--b-line-light); background: #fff; transition: transform .5s var(--ease-out), box-shadow .5s; }
.sol:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(20,80,192,.45); }
.sol .p { padding: 22px; background: #FBFCFF; border-bottom: 1px dashed var(--b-line-light); }
.sol .s { padding: 22px; position: relative; }
.sol .s::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--b-grad); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out); }
.sol:hover .s::before { transform: scaleY(1); }
.lbl { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Phone mockup ---------- */
.phone { width: 290px; height: 590px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #1B2A4D, #050B1F); box-shadow: 0 50px 100px -30px rgba(10,46,122,.6), inset 0 0 0 2px rgba(255,255,255,.08); position: relative; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #0B1E4A, #061230); position: relative; color: #fff; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }

/* ---------- Timeline ---------- */
.tl { position: relative; }
.tl-line { position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--b-line-light); }
.tl-fill { position: absolute; left: 23px; top: 0; width: 2px; height: 0; background: var(--b-grad); transition: height .2s linear; }
@media (min-width: 1024px) {
  .tl-line, .tl-fill { left: 0; top: 23px; height: 2px; width: 100%; bottom: auto; }
  .tl-fill { width: 0; }
}
.tl-dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: 'Plus Jakarta Sans'; font-size: 14px; color: var(--b-royal); background: #fff; border: 2px solid var(--b-line-light); position: relative; z-index: 1; transition: all .5s var(--ease-out); flex-shrink: 0; }
.tl-step.on .tl-dot { color: #fff; background: var(--b-grad); border-color: transparent; box-shadow: 0 0 0 6px rgba(30,111,224,.15); }

/* ---------- Portfolio ---------- */
.filter-btn { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: #4A5B80; background: #fff; border: 1px solid var(--b-line-light); transition: all .3s; }
.filter-btn:hover { border-color: var(--b-blue); color: var(--b-royal); }
.filter-btn.on { color: #fff; background: var(--b-grad); border-color: transparent; box-shadow: 0 10px 24px -10px rgba(30,111,224,.7); }
.work { transition: opacity .45s, transform .45s var(--ease-out); }
.work.hide { display: none; }
.work-art { height: 190px; border-radius: 16px; position: relative; overflow: hidden; background: var(--b-grad); }
.work-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.35), transparent 50%); }

/* ---------- FAQ ---------- */
.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--b-line-light); transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: rgba(30,111,224,.35); box-shadow: 0 20px 40px -26px rgba(20,80,192,.5); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16px; color: var(--b-text); }
.faq-q .pm { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #F0F5FD; color: var(--b-royal); flex-shrink: 0; transition: transform .4s var(--ease-out), background .3s, color .3s; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--b-blue); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--b-muted); line-height: 1.7; font-size: 15px; }

/* ---------- Form ---------- */
.field label { display: block; font-size: 13px; font-weight: 700; color: #2C3B5E; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border-radius: 14px; border: 1px solid #DCE4F2; background: #FAFCFF; padding: 13px 15px; font-size: 15px; color: var(--b-text);
  transition: border-color .25s, box-shadow .25s, background .25s; outline: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235A6785' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--b-blue); background: #fff; box-shadow: 0 0 0 4px rgba(30,111,224,.12); }
.field.err input, .field.err select, .field.err textarea { border-color: #EF4444; box-shadow: 0 0 0 4px rgba(239,68,68,.1); }
.field .msg-err { display: none; font-size: 12.5px; color: #DC2626; margin-top: 6px; font-weight: 600; }
.field.err .msg-err { display: block; }

/* ---------- Footer ---------- */
footer { background: var(--b-ink); color: #9FB0D0; position: relative; overflow: hidden; }
footer a:hover { color: #fff; }
.footer-wordmark { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: clamp(60px, 15vw, 210px); line-height: .8; letter-spacing: -.05em; background: linear-gradient(180deg, rgba(79,163,255,.18), rgba(79,163,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; text-align: center; }
.social { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--b-line); color: #C6D3EE; transition: all .3s; }
.social:hover { background: var(--b-grad); border-color: transparent; color: #fff; transform: translateY(-3px); }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(2,6,20,.65); backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fadeIn .3s; }
.modal-box { width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto; background: #fff; border-radius: 24px; padding: 28px; animation: paneIn .5s var(--ease-out); }

/* ---------- Floating widgets ---------- */
.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .3s; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ripple 2.2s infinite; }
.fab-wa:hover { transform: scale(1.08); }
#back-to-top { position: fixed; right: 22px; bottom: 86px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(8,19,46,.85); border: 1px solid rgba(79,163,255,.35); backdrop-filter: blur(10px); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .4s var(--ease-out); }
#back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top svg.prog { position: absolute; inset: -2px; width: 50px; height: 50px; transform: rotate(-90deg); }
#scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 100; background: var(--b-grad); box-shadow: 0 0 12px rgba(79,163,255,.8); }

#speed-audit-widget { position: fixed; left: 16px; bottom: 16px; z-index: 55; width: min(360px, calc(100vw - 32px)); border-radius: 22px; padding: 20px; color: #fff; background: linear-gradient(160deg, #0A2E7A, #07122C 70%); border: 1px solid rgba(79,163,255,.35); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: translateY(calc(100% + 40px)); transition: transform .6s var(--ease-out); }
#speed-audit-widget.is-open { transform: none; }
#speed-audit-teaser { position: fixed; left: 16px; bottom: 16px; z-index: 54; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: var(--b-grad); box-shadow: 0 14px 30px -10px rgba(30,111,224,.8); transition: transform .4s var(--ease-out), opacity .3s; }
#speed-audit-widget.is-open ~ #speed-audit-teaser { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ---------- Reveal animations ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.rv-l { transform: translateX(-40px); } .rv.rv-r { transform: translateX(40px); } .rv.rv-s { transform: scale(.94); }
.rv.in { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.in .split-word > span, .split-word.in > span { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes tabbar { to { width: 100%; } }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(79,163,255,.5); } 100% { box-shadow: 0 0 0 10px rgba(79,163,255,0); } }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes orbit { to { transform: rotate(360deg); } }
.spin-slow { animation: orbit 30s linear infinite; }
.shine-text { background: linear-gradient(90deg, #A9D1FF, #fff, #4FA3FF, #A9D1FF); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv, .split-word > span { opacity: 1; transform: none; }
}

/* ==========================================================================
   LIGHT PREMIUM THEME (overrides)
   White + ice-blue surfaces, Bravion blue accents. Footer stays navy.
   ========================================================================== */
body { background: #fff; }
.sec-dark { background: linear-gradient(180deg, #F5F8FD 0%, #FFFFFF 100%); color: var(--b-text); }
.sec-dark-2 { background: radial-gradient(1200px 500px at 50% 0%, #EAF2FF 0%, #F7FAFF 55%, #FFFFFF 100%); color: var(--b-text); }
.sec-dark .eyebrow, .sec-dark-2 .eyebrow { color: var(--b-royal); background: rgba(30,111,224,.08); border-color: rgba(30,111,224,.18); }
.sec-dark .lead, .sec-dark-2 .lead { color: var(--b-muted); }

/* glows & grid softened for light */
.hero-glow.g1 { background: radial-gradient(circle, rgba(30,111,224,.22), transparent 65%); }
.hero-glow.g2 { background: radial-gradient(circle, rgba(79,163,255,.22), transparent 65%); }
.hero-glow.g3 { background: radial-gradient(circle, rgba(20,80,192,.14), transparent 65%); }
.grid-fade { background-image: linear-gradient(rgba(20,80,192,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,80,192,.07) 1px, transparent 1px); }

/* header */
.nav-shell { background: rgba(255,255,255,.72); border-color: rgba(20,80,192,.12); box-shadow: 0 12px 40px -18px rgba(10,46,122,.35); }
#main-header.is-scrolled .nav-shell { background: rgba(255,255,255,.9); border-color: rgba(20,80,192,.18); }
.brand-logo { color: var(--b-text); }
.brand-name { color: #0A2E7A; }
.brand-name span { color: var(--b-blue); }
.brand-tag { color: #7A8AAD; }
.brand-mark { box-shadow: 0 0 0 1px #E3EAF5, 0 8px 18px -8px rgba(30,111,224,.6); }
.nav-link { color: #3A4A6E; }
.nav-link:hover { color: #0A2E7A; background: rgba(30,111,224,.07); }
.nav-link.is-active { color: #fff; background: var(--b-grad); box-shadow: 0 8px 20px -10px rgba(30,111,224,.8); }
.pill-blue { background: rgba(30,111,224,.1); color: var(--b-royal); border-color: rgba(30,111,224,.25); }
.pill-green { background: rgba(16,185,129,.1); color: #047857; border-color: rgba(16,185,129,.3); }
.nav-link.is-active .nav-pill { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.4); }
.icon-btn { color: #1450C0; border-color: #DCE4F2; background: #fff; }
.icon-btn:hover { background: #F0F5FD; border-color: rgba(30,111,224,.4); }

/* drawer */
#mobile-drawer { background: linear-gradient(180deg, #FFFFFF, #F3F7FD); color: var(--b-text); border-left-color: #E3EAF5; }
#mobile-drawer-backdrop { background: rgba(10,30,70,.35); }
.m-link { color: #24345A; }
.m-link:hover { background: #fff; border-color: #E3EAF5; }

/* hero */
#hero { background: radial-gradient(1100px 600px at 75% 10%, #E4EEFF 0%, transparent 60%), radial-gradient(900px 500px at 0% 0%, #EEF4FF 0%, transparent 60%), linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); color: var(--b-text); }
#hero-canvas { opacity: .5; }
.hero-badge { background: #fff; border-color: #E1E9F6; color: #33456E; box-shadow: 0 6px 20px -12px rgba(10,46,122,.4); }
.stage { background: linear-gradient(140deg, rgba(30,111,224,.5), rgba(227,234,245,.9) 40%, rgba(79,163,255,.5)); box-shadow: 0 40px 90px -40px rgba(20,80,192,.55); }
.stage-inner { background: rgba(255,255,255,.92); }
.stage-bar { border-bottom-color: #EDF2FA; }
.stage-bar i { background: #DCE4F2; }
.stage-tabs { background: #F3F7FD; border-color: #E3EAF5; }
.stage-tab { color: #6B7A99; }
.stage-tab.on { color: #fff; background: var(--b-grad); box-shadow: 0 8px 18px -10px rgba(30,111,224,.8); }
.stage-tab .bar { background: rgba(255,255,255,.7); }
.metric-strip { background: #fff; border-color: #E3EAF5; box-shadow: 0 20px 50px -35px rgba(10,46,122,.45); }
.metric { border-color: #E3EAF5 !important; }
.metric b { color: #0A2E7A; }
.metric > span { color: var(--b-muted); }
.float-chip { border: 1px solid #E3EAF5; box-shadow: 0 20px 40px -20px rgba(10,46,122,.45); }

/* cards formerly dark */
.card-dark { background: #fff; border-color: #E3EAF5; }
.chip-dark { background: #F0F5FD; color: #2C4677; border-color: #E1E9F6; }

/* showcase */
.show-tabs { background: #fff; border-color: #E3EAF5; box-shadow: 0 10px 30px -20px rgba(10,46,122,.4); }
.show-tab { color: #4A5B80; }
.show-tab:hover { color: #0A2E7A; }
.window { background: #fff; border-color: #E3EAF5; box-shadow: 0 40px 80px -40px rgba(10,46,122,.45); }
.window-bar { background: #F7FAFE; border-bottom-color: #EDF2FA; color: #6B7A99; }
.window-dark { background: #07122C; border-color: rgba(79,163,255,.2); box-shadow: 0 40px 80px -30px rgba(10,46,122,.55); }
.window-dark .window-bar { background: rgba(255,255,255,.03); border-bottom-color: rgba(255,255,255,.08); color: #7F93BC; }

.pipe { background: #fff; border-color: #E3EAF5; }
.pipe .dot { color: #6B7A99; border-color: #DCE4F2; }
.pipe.run { background: #EEF5FF; border-color: rgba(30,111,224,.45); }
.pipe.run .dot { color: var(--b-blue); border-color: var(--b-blue); }
.pipe .st { color: #8A98B5; }
.pipe.run .st { color: var(--b-blue); } .pipe.done .st { color: #059669; }

.chat-body { background: linear-gradient(180deg, #FFFFFF, #F7FAFE); }
.chat-body::-webkit-scrollbar-thumb { background: #DCE4F2; }
.msg.bot { background: #F1F5FC; border-color: #E3EAF5; color: #24345A; }
.msg.bot b { color: #0A2E7A; }
.msg .src span { background: #E8F1FF; color: var(--b-royal); border-color: #CFE0FA; }
.typing i { background: #8A98B5; }
.suggest { color: #1450C0; background: #fff; border-color: #CFE0FA; }
.suggest:hover { background: #EEF5FF; color: #0A2E7A; }
.chat-input { border-top-color: #EDF2FA; background: #fff; }
.chat-input input { background: #F5F8FD; border-color: #E3EAF5; color: var(--b-text); }
.chat-input input::placeholder { color: #8A98B5; }

.hr-kpi { background: #F7FAFE; border-color: #E3EAF5; }
.hr-kpi b { color: #0A2E7A; }
.hr-kpi > span { color: #6B7A99; }
.bars div.lo { background: linear-gradient(180deg, #BFD7FB, #93B8F2); }
.hr-row { background: #fff; border-color: #E3EAF5; }
.tag-ok { background: #DDF7EC; color: #047857; } .tag-wait { background: #FEF3C7; color: #B45309; } .tag-blue { background: #E8F1FF; color: var(--b-royal); }
.ring { background: conic-gradient(var(--b-blue) calc(var(--p) * 1%), #E6EDF8 0); }
.ring::after { background: #fff; }
.ring b { color: #0A2E7A; }
.feat:hover { background: #fff; box-shadow: 0 14px 30px -22px rgba(10,46,122,.45); }

/* dev hub */
.station { background: #fff; border-color: #E3EAF5; }
.station:hover { background: #F7FAFE; }
.station.on { background: #EEF5FF; border-color: rgba(30,111,224,.45); box-shadow: 0 14px 30px -22px rgba(30,111,224,.7); }
.station .em { background: #F0F5FD; }
.station .prog { background: var(--b-blue); }
.kv { background: #F7FAFE; border-color: #E3EAF5; }
.kv b { color: #0A2E7A; }
.kv span { color: #6B7A99; }

/* phone */
.phone-screen { background: linear-gradient(180deg, #F7FAFF, #EAF2FF); color: var(--b-text); }
.phone-screen .absolute.bottom-4 { background: #fff !important; border-color: #E3EAF5 !important; }

/* audit widget — light */
#speed-audit-widget { background: #fff; color: var(--b-text); border-color: #E3EAF5; box-shadow: 0 30px 70px -25px rgba(10,46,122,.45); }
#speed-audit-widget::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 22px 22px 0 0; background: var(--b-grad); }
#back-to-top { background: #fff; color: var(--b-royal); border-color: #DCE4F2; box-shadow: 0 12px 26px -14px rgba(10,46,122,.5); }

/* portfolio images */
.work-art { height: auto; aspect-ratio: 16 / 10; background: #EAF2FF; }
.work-art::after { display: none; }
.work-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.work:hover .work-art img { transform: scale(1.05); }

/* audit page hero + report harmonisation */
.audit-hero { background: radial-gradient(1100px 600px at 75% 0%, #E4EEFF 0%, transparent 60%), radial-gradient(900px 500px at 0% 0%, #EEF4FF 0%, transparent 60%), linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); }
#audit-progress-section, #audit-report-section { padding-top: 120px; }
#audit-hero-section #audit-form + * , #audit-hero-section .glass-panel { position: relative; }
#audit-hero-section .glass-panel { border-color: #E3EAF5 !important; box-shadow: 0 30px 70px -35px rgba(10,46,122,.45) !important; }
#analyze-btn { background: var(--b-grad) !important; border-radius: 999px !important; box-shadow: 0 12px 28px -12px rgba(30,111,224,.8); }
#url-input { border-radius: 999px !important; }

/* header fit on 1280–1439px */
@media (max-width: 1439px) {
  .nav-link { padding: 8px 9px; font-size: 13.5px; }
  .nav-shell .nav-link .nav-pill { display: none; }
  .brand-tag { letter-spacing: .18em; }
}
@media (min-width: 1280px) and (max-width: 1365px) {
  .nav-shell [data-open-audit] { display: none !important; }
}
/* footer brand stays readable on navy */
footer .brand-name { color: #fff; }
footer .brand-name span { color: var(--b-sky); }
footer .brand-tag { color: #8FA7D6; }
