/* ============================================================
   هوشیار پایش پیشرو — responsive bilingual interface
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #05060B;
  --bg-2: #090B14;
  --bg-3: #0D1020;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F3F5FB;
  --muted: #9BA3B8;
  --muted-2: #6B7288;
  --violet: #3B82F6;
  --indigo: #1E40AF;
  --teal: #34D399;
  --rose: #FB5F7A;
  --amber: #F5B04C;
  --grad: linear-gradient(120deg, #EAF2FF 0%, #60A5FA 48%, #34D399 100%);
  --grad-btn: linear-gradient(120deg, #1E40AF, #3B82F6 72%, #10B981);
  --radius: 18px;
  --radius-lg: 24px;
  --font: "Vazirmatn", "IRANSans", Tahoma, "Segoe UI", sans-serif;
  --nav-h: 72px;
  --ann-h: 40px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F7FC;
  --bg-2: #EAF0F8;
  --bg-3: #FFFFFF;
  --surface: rgba(255, 255, 255, .76);
  --surface-2: rgba(255, 255, 255, .94);
  --border: rgba(15, 39, 71, .11);
  --border-strong: rgba(15, 39, 71, .2);
  --text: #10243F;
  --muted: #52657C;
  --muted-2: #708197;
  --grad: linear-gradient(120deg, #173B72 0%, #2563EB 50%, #059669 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--ann-h) + 12px); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

::selection { background: rgba(124, 92, 255, .35); color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img, svg { display: block; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- Icons ---------- */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-xs { width: 15px; height: 15px; }
.ic-lg { width: 26px; height: 26px; }
#i-spark, #i-spark path { fill: currentColor; stroke: none; }
g use[href="#i-spark"], .kicker .ic { fill: currentColor; stroke: none; }

/* ---------- Glass base ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 13px 22px; border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, .55), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(59, 130, 246, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn-glass { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }

/* ---------- Announcement bar ---------- */
.announce {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, rgba(124,92,255,.14), rgba(45,212,191,.1));
  border-bottom: 1px solid var(--border);
  font-size: .8rem; color: #C9CFDE;
}
.announce-in { height: var(--ann-h); display: flex; align-items: center; justify-content: center; gap: 10px; }
.announce .ic { color: var(--violet); }
.announce-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #B7A6FF; }
.announce-link:hover { color: #fff; }
.announce-link .ic { transition: transform .25s; }
.announce-link:hover .ic { transform: translateX(-4px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  transition: background .35s, border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 11, .78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.8);
}
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo {
  width: 64px; height: 62px; object-fit: contain;
  border-radius: 10px; background: #fff; padding: 3px;
  box-shadow: 0 8px 24px -14px rgba(96,165,250,.55);
}
.brand-logo-footer { width: 132px; height: 138px; padding: 6px; border-radius: 14px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-link {
  position: relative; padding: 9px 13px; font-size: .92rem; font-weight: 500; color: var(--muted);
  border-radius: 10px; transition: color .25s, background .25s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; bottom: 2px; inset-inline: 13px; height: 2px; border-radius: 2px; background: var(--grad);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.lang-toggle {
  height: 42px; min-width: 66px; padding: 0 10px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  direction: ltr; font: 700 .72rem/1 "Segoe UI", sans-serif;
  color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.lang-toggle:hover { transform: translateY(-2px); background: var(--surface-2); border-color: var(--violet); }
.lang-current { color: var(--violet); }
.lang-sep { color: var(--muted-2); }
:root[lang="en"] body { font-family: "Segoe UI", Inter, Arial, sans-serif; line-height: 1.75; }
:root[lang="en"] .nav-link { font-size: .88rem; font-weight: 600; letter-spacing: -.01em; }
:root[lang="en"] .nav-links { gap: 2px; }
:root[lang="en"] .hero-title { letter-spacing: -.035em; }
:root[lang="en"] .sec-title { letter-spacing: -.025em; }
:root[lang="en"] use[href="#i-arrow"],
:root[lang="en"] use[href="#i-chev"] { transform: scaleX(-1); transform-origin: center; transform-box: fill-box; }
:root[lang="en"] .pcard p,
:root[lang="en"] .sec-sub { text-wrap: pretty; }
.theme-toggle:hover { transform: translateY(-2px); background: var(--surface-2); border-color: var(--violet); }
.theme-toggle .ic { grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease); }
.theme-moon { opacity: 0; transform: rotate(-35deg) scale(.65); }
:root[data-theme="light"] .theme-sun { opacity: 0; transform: rotate(35deg) scale(.65); }
:root[data-theme="light"] .theme-moon { opacity: 1; transform: none; }
.nav-ghost { padding: 11px 18px; }
.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 11px; place-items: center; }
.nav-burger .ic-close { display: none; }
.nav-burger.open .ic-menu { display: none; }
.nav-burger.open .ic-close { display: block; }
.nav-cta-mobile { display: none; }

/* ============================================================ HERO */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-a { width: 560px; height: 560px; background: rgba(110, 79, 255, .34); top: -220px; inset-inline-start: -120px; animation: drift 14s ease-in-out infinite alternate; }
.orb-b { width: 460px; height: 460px; background: rgba(45, 212, 191, .2); top: -140px; inset-inline-end: -100px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.orb-c { width: 380px; height: 380px; background: rgba(79, 124, 255, .22); top: 320px; inset-inline-start: 38%; animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }

.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; color: #C2C9DB;
  padding: 8px 15px; border-radius: 100px;
  background: rgba(124, 92, 255, .1); border: 1px solid rgba(124, 92, 255, .3);
  transition: background .25s, border-color .25s;
}
.kicker:hover { background: rgba(124, 92, 255, .18); border-color: rgba(124, 92, 255, .5); }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title {
  margin-top: 24px;
  font-size: clamp(2.1rem, 4.6vw + .6rem, 4rem);
  font-weight: 800; line-height: 1.45; letter-spacing: -.5px;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-2 { background: linear-gradient(120deg, #2DD4BF, #7CE8D8); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { margin-top: 20px; color: var(--muted); font-size: 1.06rem; max-width: 56ch; }
.hero-sub b { color: #D8DDF0; font-weight: 700; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-chips { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 18px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.chip:hover { border-color: rgba(124, 92, 255, .4); transform: translateY(-3px); }
.chip dt { font-size: .76rem; color: var(--muted-2); }
.chip dd { font-weight: 800; font-size: .95rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero dashboard mock ---------- */
.hero-viz { position: relative; }
.browser-frame {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0E1122, #090B16 60%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(124,92,255,.08), 0 -30px 80px -40px rgba(124,92,255,.35);
  overflow: hidden;
  transform: perspective(1400px) rotateY(4deg) rotateX(1.5deg);
  transition: transform .6s var(--ease);
}
.hero-viz:hover .browser-frame { transform: perspective(1400px) rotateY(0) rotateX(0); }
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; background: rgba(255,255,255,.035); border-bottom: 1px solid var(--border);
}
.bdot { width: 11px; height: 11px; border-radius: 50%; background: #2A2E44; }
.bdot:nth-child(1) { background: #FB5F7A; } .bdot:nth-child(2) { background: #F5B04C; } .bdot:nth-child(3) { background: #2DD4BF; }
.burl {
  margin-inline-start: 12px; display: flex; align-items: center; gap: 7px;
  font-size: .72rem; color: var(--muted-2); direction: ltr;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 8px; flex: 1; max-width: 300px;
}
.browser-body { display: flex; min-height: 380px; }
.dash-side {
  width: 62px; border-inline-end: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0;
  background: rgba(255,255,255,.015);
}
.side-logo { width: 26px; height: 26px; border-radius: 9px; background: var(--grad); margin-bottom: 8px; box-shadow: 0 0 18px rgba(124,92,255,.5); }
.side-item { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.055); }
.side-item.active { background: rgba(124,92,255,.28); box-shadow: inset 0 0 0 1px rgba(124,92,255,.5); }
.dash-main { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--muted-2); }
.dash-head > div { display: flex; align-items: center; gap: 12px; }
.dash-title { font-weight: 800; font-size: .95rem; color: #EDEFF8; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: .72rem; font-weight: 700; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: sonar 1.8s infinite; display: inline-block; }
@keyframes sonar { 0% { box-shadow: 0 0 0 0 rgba(45,212,191,.55); } 100% { box-shadow: 0 0 0 9px rgba(45,212,191,0); } }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 1px; }
.kpi-label { font-size: .64rem; color: var(--muted-2); }
.kpi-val { font-size: 1.12rem; font-weight: 800; }
.kpi-trend { font-size: .62rem; direction: rtl; }
.kpi-trend.up { color: var(--teal); } .kpi-trend.down { color: var(--rose); }

.dash-chart { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px 6px; flex: 1; display: flex; flex-direction: column; }
.chart-head { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); font-weight: 600; }
.chart-legend { display: flex; align-items: center; gap: 10px; font-size: .64rem; color: var(--muted-2); }
.lg { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-inline-end: 4px; vertical-align: -1px; }
.lg-a { background: #8B76FF; } .lg-b { background: #2DD4BF; }
.area-svg { width: 100%; flex: 1; min-height: 110px; }
.gridlines line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.chart-cursor { animation: cursor 9s linear infinite; offset-path: path("M0,140 C40,120 70,90 110,95 C150,100 180,60 230,62 C280,64 300,95 350,88 C400,81 430,45 480,50 C510,53 540,38 560,35"); offset-rotate: 0deg; }
@keyframes cursor { from { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }

.dash-foot { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.bars, .alerts { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.bars-title, .alerts-title { font-size: .7rem; color: var(--muted); font-weight: 700; display: block; margin-bottom: 10px; }
.bars-in { display: flex; align-items: flex-end; gap: 7px; height: 74px; }
.bars-in i, .vd-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, rgba(139,118,255,.95), rgba(139,118,255,.25)); animation: grow 1.2s var(--ease) backwards; }
.bars-in i:nth-child(3n) { background: linear-gradient(180deg, rgba(45,212,191,.9), rgba(45,212,191,.2)); }
@keyframes grow { from { height: 4%; } }
.alert-row { display: flex; align-items: center; gap: 8px; font-size: .68rem; color: #C4CADB; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.06); }
.alert-row:last-child { border-bottom: none; }
.alert-row time { margin-inline-start: auto; color: var(--muted-2); font-size: .62rem; }
.sev { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sev-ok { background: var(--teal); box-shadow: 0 0 8px rgba(45,212,191,.8); }
.sev-warn { background: var(--amber); box-shadow: 0 0 8px rgba(245,176,76,.8); }
.sev-info { background: var(--indigo); box-shadow: 0 0 8px rgba(79,124,255,.8); }
.sev-crit { background: var(--rose); box-shadow: 0 0 8px rgba(251,95,122,.9); animation: pulse 1.4s infinite; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 11px;
  border-radius: 15px; padding: 13px 17px;
  box-shadow: 0 22px 50px -18px rgba(0,0,0,.8);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip .ic { color: var(--teal); width: 24px; height: 24px; }
.float-chip b { display: block; font-size: .85rem; }
.float-chip span { display: block; font-size: .68rem; color: var(--muted); }
.fc-a { top: 8%; inset-inline-start: -34px; }
.fc-b { bottom: 10%; inset-inline-end: -26px; animation-delay: -2.6s; }
.fc-a .ic { color: var(--violet); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* ============================================================ MARQUEE */
.marquee-sec { padding: 12px 0 76px; }
.marquee-cap { text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted-2); margin-bottom: 26px; }
.marquee { overflow: hidden; padding: 20px 0; border-block: 1px solid var(--border); background: rgba(255,255,255,.015);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: mq 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item {
  display: inline-flex; align-items: center; gap: 10px; direction: rtl;
  padding: 13px 24px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .92rem; font-weight: 600; color: #C6CCDE; white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.mq-item:hover { border-color: rgba(124,92,255,.45); color: #fff; }
.mq-item .ic { color: var(--violet); }

/* ============================================================ SECTIONS */
.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.sec-kicker {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .4px;
  color: #B7A6FF; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.32);
  padding: 7px 15px; border-radius: 100px; margin-bottom: 20px;
}
.sec-kicker.light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.sec-title { font-size: clamp(1.7rem, 3.2vw + .5rem, 2.7rem); font-weight: 800; line-height: 1.5; letter-spacing: -.4px; }
.sec-sub { margin-top: 16px; color: var(--muted); font-size: 1.03rem; max-width: 62ch; }
.sec-sub.center { margin-inline: auto; text-align: center; }
.sec-sub b { color: #DDE2F2; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-cards { margin-top: 34px; display: grid; gap: 13px; }
.about-card { display: flex; align-items: center; gap: 16px; padding: 17px 20px; border-radius: var(--radius); transition: transform .35s var(--ease), border-color .35s; }
.about-card:hover { transform: translateX(-6px); border-color: rgba(124,92,255,.4); }
.about-ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.32); color: #B7A6FF;
}
.about-k { display: block; font-size: .76rem; color: var(--muted-2); }
.about-card b { font-size: 1.02rem; }

.radar { border-radius: var(--radius-lg); padding: 46px 30px 30px; text-align: center; position: relative; overflow: hidden; }
.radar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 32%, rgba(124,92,255,.16), transparent 62%); }
.radar-rings { position: relative; width: 250px; height: 250px; margin: 0 auto; }
.rr { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(124,92,255,.28); }
.r2 { inset: 17%; border-color: rgba(124,92,255,.2); }
.r3 { inset: 34%; border-color: rgba(45,212,191,.28); }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45,212,191,.5), transparent 72deg);
  animation: sweep 4.2s linear infinite;
  mask: radial-gradient(circle, transparent 18%, #000 19%);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 19%);
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-core {
  position: absolute; inset: 41%; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-btn); color: #fff; box-shadow: 0 0 34px rgba(110,79,255,.6);
}
.radar-blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2.4s infinite; }
.b1 { top: 24%; inset-inline-start: 26%; } .b2 { top: 58%; inset-inline-start: 70%; animation-delay: -.9s; background: var(--violet); box-shadow: 0 0 12px var(--violet); } .b3 { top: 72%; inset-inline-start: 30%; animation-delay: -1.7s; }
.radar-stats { position: relative; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radar-stats > div { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 14px; padding: 14px 8px; }
.radar-stats b { display: block; font-size: 1.3rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.radar-stats span { font-size: .72rem; color: var(--muted); }

/* ============================================================ DOMAIN CARDS (Harness product card style) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.pcard:hover { transform: translateY(-7px); border-color: rgba(124, 92, 255, .42); background: rgba(124,92,255,.045); }
.pcard-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.28), transparent 65%);
  top: -90px; inset-inline-end: -70px; opacity: 0; transition: opacity .45s;
}
.pcard:hover .pcard-glow { opacity: 1; }
.pcard-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  color: #fff; box-shadow: 0 12px 26px -10px rgba(110,79,255,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.gi-a { background: linear-gradient(135deg, #6E4FFF, #4F7CFF); }
.gi-b { background: linear-gradient(135deg, #4F7CFF, #2DD4BF); }
.gi-c { background: linear-gradient(135deg, #8B5CF6, #D946EF); }
.gi-d { background: linear-gradient(135deg, #2DD4BF, #0EA5E9); }
.gi-e { background: linear-gradient(135deg, #FB7185, #F59E0B); }
.gi-f { background: linear-gradient(135deg, #5168F5, #8B76FF); }
.pcard h3 { font-size: 1.16rem; font-weight: 800; line-height: 1.6; }
.pcard p { margin-top: 10px; font-size: .92rem; color: var(--muted); min-height: 88px; }
.pcard-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: .88rem; font-weight: 700; color: #B7A6FF; transition: gap .25s, color .25s; }
.pcard-link:hover { gap: 12px; color: #fff; }

/* ============================================================ SHOWCASE TABS */
.showcase { display: grid; grid-template-columns: minmax(300px, 430px) 1fr; gap: 26px; align-items: stretch; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab {
  position: relative; display: flex; gap: 16px; text-align: start;
  padding: 18px 20px 18px 24px;
  border-radius: 16px; border: 1px solid transparent;
  color: var(--muted); transition: background .3s, border-color .3s, color .3s;
  overflow: hidden;
}
.tab:hover { background: rgba(255,255,255,.03); }
.tab.active { background: rgba(124,92,255,.07); border-color: rgba(124,92,255,.3); color: var(--text); }
.tab-num { font-size: .78rem; font-weight: 800; color: var(--muted-2); padding-top: 4px; transition: color .3s; }
.tab.active .tab-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tab-body b { display: block; font-size: 1.02rem; font-weight: 800; }
.tab-body p { font-size: .85rem; color: var(--muted); margin-top: 5px; line-height: 1.8; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .4s, margin .3s; }
.tab.active .tab-body p { max-height: 90px; opacity: 1; margin-top: 7px; }
.tab-fill { position: absolute; inset-inline-start: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.tab-fill::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleY(0); transform-origin: top; }
.tab.active .tab-fill::after { animation: tabfill 6.5s linear forwards; }
@keyframes tabfill { to { transform: scaleY(1); } }
.showcase.paused .tab.active .tab-fill::after { animation-play-state: paused; }

.panels { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 480px; background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.panels::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 12%, rgba(124,92,255,.14), transparent 55%); pointer-events: none; }
.panel {
  position: absolute; inset: 0; padding: 34px;
  display: flex; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.985);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.panel.active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s, visibility 0s; }
.panel > div { width: 100%; margin: auto; display: flex; flex-direction: column; gap: 18px; }
.vd-cap { text-align: center; font-size: .8rem; color: var(--muted-2); font-weight: 600; }

/* Panel 01 — dashboards */
.vd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vd-kpi { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 15px; padding: 15px 16px; }
.vd-kpi span { display: block; font-size: .72rem; color: var(--muted); }
.vd-kpi b { font-size: 1.5rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spark { display: block; height: 26px; margin-top: 9px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, rgba(124,92,255,.7) 0 6px, transparent 6px 11px);
  mask-image: linear-gradient(180deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000);
}
.s2 { background: repeating-linear-gradient(90deg, rgba(45,212,191,.7) 0 6px, transparent 6px 11px); }
.s3 { background: repeating-linear-gradient(90deg, rgba(251,95,122,.7) 0 6px, transparent 6px 11px); }
.vd-bars { display: flex; align-items: flex-end; gap: 10px; height: 190px; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 15px; padding: 20px; }
.vd-bars i:nth-child(4n) { background: linear-gradient(180deg, rgba(45,212,191,.95), rgba(45,212,191,.2)); }

/* Panel 02 — live */
.vl-head { display: flex; justify-content: space-between; align-items: center; }
.vl-badge { font-size: .74rem; font-weight: 700; color: var(--teal); padding: 7px 14px; border-radius: 100px; }
.vl-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vl-nums > div { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; }
.vl-nums b { display: block; font-size: 1.45rem; font-weight: 800; color: #EDEFF8; font-variant-numeric: tabular-nums; }
.vl-nums span { font-size: .72rem; color: var(--muted); }
.vl-svg { width: 100%; height: 180px; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 15px; position: relative; }
.live-line { stroke-dasharray: 1300; stroke-dashoffset: 1300; animation: draw 3.4s var(--ease) forwards; filter: drop-shadow(0 0 8px rgba(45,212,191,.6)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scan { fill: linear-gradient(90deg, transparent, rgba(45,212,191,.15), transparent); fill: rgba(45,212,191,.08); animation: scan 3.2s linear infinite; }
@keyframes scan { from { x: 0; } to { x: 560px; } }

/* Panel 03 — trends */
.vt-legend { display: flex; gap: 20px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.vt-axis { display: flex; justify-content: space-around; font-size: .7rem; color: var(--muted-2); }
.predict { animation: dashmove 1.4s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -15; } }

/* Panel 04 — alerts */
.va-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.va-count { font-size: .74rem; font-weight: 700; color: var(--rose); background: rgba(251,95,122,.12); border: 1px solid rgba(251,95,122,.35); padding: 6px 13px; border-radius: 100px; }
.va-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 15px; padding: 16px 18px;
  animation: slidein .6s var(--ease) backwards;
}
.va-row:nth-of-type(2) { animation-delay: .12s; } .va-row:nth-of-type(3) { animation-delay: .24s; }
@keyframes slidein { from { opacity: 0; transform: translateY(14px); } }
.va-row.critical { border-color: rgba(251,95,122,.4); background: rgba(251,95,122,.06); }
.va-row.warning { border-color: rgba(245,176,76,.3); }
.va-body { flex: 1; } .va-body b { font-size: .94rem; display: block; } .va-body span { font-size: .76rem; color: var(--muted); }
.va-row time { font-size: .72rem; color: var(--muted-2); flex: none; }
.va-foot { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.va-foot .ic { color: var(--amber); }

/* Panel 05 — report */
.vr-doc { background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 13px; max-width: 440px; margin-inline: auto; }
.vr-head { display: flex; align-items: center; gap: 13px; }
.vr-head > div { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.vr-logo { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); flex: none; }
.vr-chip { font-size: .68rem; font-weight: 800; color: var(--rose); border: 1px solid rgba(251,95,122,.4); background: rgba(251,95,122,.1); padding: 4px 11px; border-radius: 8px; }
.ln { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.1); }
.w90 { width: 90%; } .w75 { width: 75%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; } .w30 { width: 30%; }
.vr-table { display: grid; gap: 7px; border: 1px solid var(--border); border-radius: 11px; padding: 11px; }
.vr-tr { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 9px; }
.vr-tr span { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); }
.vr-th span { background: rgba(124,92,255,.35); }
.vr-sign { display: flex; justify-content: space-between; align-items: center; }
.vr-stamp { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed rgba(45,212,191,.6); display: grid; place-items: center; color: var(--teal); transform: rotate(-12deg); }

/* Panel 06 — network */
.viz-net svg { width: 100%; max-width: 520px; margin-inline: auto; }
.net-links line { stroke: rgba(124,92,255,.45); stroke-width: 1.6; stroke-dasharray: 6 7; animation: dashmove 1.6s linear infinite; }
.node circle { fill: #10142a; stroke: rgba(124,92,255,.65); stroke-width: 2; }
.node.hub circle { fill: url(#brandGrad); stroke: none; filter: drop-shadow(0 0 16px rgba(124,92,255,.55)); }
.node text { fill: #DDE2F2; font-size: 13px; font-weight: 700; font-family: var(--font); }
.node.hub text { fill: #fff; font-size: 14px; }

/* ============================================================ VALUE */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard { border-radius: var(--radius); padding: 27px 25px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.vcard:hover { transform: translateY(-6px); border-color: rgba(45,212,191,.4); box-shadow: 0 22px 44px -22px rgba(45,212,191,.25); }
.vcard-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  color: var(--teal); background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.3);
}
.vcard h3 { font-size: 1.04rem; font-weight: 800; }
.vcard p { margin-top: 8px; font-size: .89rem; color: var(--muted); }

/* ============================================================ APPROACH */
.approach { background: linear-gradient(120deg, #14052E, #0A0B25 55%, #04241F); overflow: hidden; }
.approach::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
}
.approach-in { position: relative; text-align: center; max-width: 820px; margin-inline: auto; }
.approach .sec-sub { margin-inline: auto; }
.approach-pills { margin-top: 52px; display: flex; align-items: stretch; justify-content: center; gap: 16px; }
.apill {
  flex: 1; max-width: 240px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 26px 18px 22px; backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative;
  transition: transform .35s var(--ease), border-color .35s;
}
.apill:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.4); }
.apill-num { position: absolute; top: 13px; inset-inline-start: 15px; font-size: .72rem; font-weight: 800; color: rgba(255,255,255,.4); }
.apill .ic { width: 30px; height: 30px; color: #fff; }
.apill b { font-size: 1.08rem; }
.apill span { font-size: .8rem; color: rgba(255,255,255,.65); }
.apill-arrow { align-self: center; color: rgba(255,255,255,.35); }

/* ============================================================ CTA */
.cta { position: relative; padding: 110px 0; overflow: hidden; border-block: 1px solid var(--border); }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(140deg, #13072C, #070B1D 55%, #03231E); }
.cta-bg .hero-grid { mask-image: radial-gradient(ellipse at 50% 100%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 20%, transparent 75%); }
.orb-d { width: 420px; height: 420px; background: rgba(124,92,255,.3); bottom: -200px; inset-inline-start: 8%; }
.orb-e { width: 380px; height: 380px; background: rgba(45,212,191,.18); top: -180px; inset-inline-end: 6%; }
.cta-in { position: relative; text-align: center; max-width: 720px; }
.cta-in h2 { font-size: clamp(1.8rem, 3.4vw + .5rem, 2.9rem); font-weight: 800; line-height: 1.5; }
.cta-in p { margin-top: 16px; color: #B9C0D4; }
.center-cta { justify-content: center; }

/* ============================================================ CONTACT */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.c-lines { margin-top: 34px; display: grid; gap: 14px; }
.c-line { display: flex; gap: 16px; align-items: center; border-radius: var(--radius); padding: 19px 20px; transition: transform .3s var(--ease), border-color .3s; }
a.c-line:hover { transform: translateX(-6px); border-color: rgba(124,92,255,.45); }
.c-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #B7A6FF; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.3); }
.c-line div span { display: block; font-size: .76rem; color: var(--muted-2); }
.c-line div b { font-size: .98rem; font-weight: 700; line-height: 1.9; }

.contact-form { border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 17px; position: relative; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 1.8em; font-size: .82rem; text-align: center; color: var(--muted); }
.form-status.error { color: var(--rose); }
.contact-form button[disabled] { cursor: wait; opacity: .65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: .84rem; font-weight: 700; color: #CFD5E6; }
.field > span i { color: var(--rose); font-style: normal; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .93rem; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px; outline: none; width: 100%;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,.16); background: rgba(124,92,255,.05);
}
.field select { appearance: none; background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239BA3B8" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>'); background-repeat: no-repeat; background-position: left 14px center; background-size: 16px; padding-inline-end: 15px; }
.field select option { background: #12152A; color: var(--text); }
.field.error input, .field.error select { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(251,95,122,.14); }
.captcha-control { display: grid; grid-template-columns: minmax(170px, 1fr) 110px 44px; gap: 10px; align-items: center; }
.captcha-question { min-height: 47px; display: flex; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.24); color: var(--text); font-size: .88rem; font-weight: 700; }
.captcha-control input { text-align: center; direction: ltr; font-variant-numeric: tabular-nums; }
.captcha-refresh { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--violet); border: 1px solid var(--border-strong); background: var(--surface); transition: transform .25s, background .25s; }
.captcha-refresh:hover { transform: rotate(-25deg); background: var(--surface-2); }
.captcha-refresh:disabled { opacity: .55; cursor: wait; }
.form-note { font-size: .74rem; color: var(--muted-2); text-align: center; }
.form-success { position: absolute; inset: 0; border-radius: inherit; background: rgba(9,11,20,.96); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 30px; z-index: 3; }
.form-success[hidden] { display: none; }
.fs-ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 0 44px rgba(45,212,191,.45); margin-bottom: 8px; }
.form-success b { font-size: 1.25rem; } .form-success p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

/* ============================================================ FOOTER */
.footer { border-top: 1px solid var(--border); background: #04050A; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; font-size: .88rem; color: var(--muted-2); max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col b { font-size: .95rem; margin-bottom: 6px; }
.foot-col a { font-size: .87rem; color: var(--muted); transition: color .25s, transform .25s; width: fit-content; }
.foot-col a:hover { color: #fff; transform: translateX(-4px); }
.foot-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted-2);
}
.foot-made { color: #8579c9; }
.foot-made a { color: #60A5FA; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(96,165,250,.35); text-underline-offset: 4px; transition: color .25s, text-decoration-color .25s; }
.foot-made a:hover { color: #93C5FD; text-decoration-color: currentColor; }

/* ============================================================ LIGHT THEME */
:root[data-theme="light"] .announce { background: linear-gradient(90deg, rgba(37,99,235,.09), rgba(16,185,129,.09)); }
:root[data-theme="light"] .announce-in { color: #42566F; }
:root[data-theme="light"] .announce-link,
:root[data-theme="light"] .sec-kicker,
:root[data-theme="light"] .pcard-link,
:root[data-theme="light"] .c-ic { color: #1D4ED8; }
:root[data-theme="light"] .nav { background: rgba(244,247,252,.82); }
:root[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,.94); }
:root[data-theme="light"] .nav-link:hover,
:root[data-theme="light"] .nav-link.active,
:root[data-theme="light"] .mq-item:hover,
:root[data-theme="light"] .pcard-link:hover { color: #10243F; }
:root[data-theme="light"] .hero-sub b,
:root[data-theme="light"] .sec-sub b,
:root[data-theme="light"] .field > span { color: #1B3555; }
:root[data-theme="light"] .kicker { color: #42566F; background: rgba(37,99,235,.07); }
:root[data-theme="light"] .hero-grid { opacity: .5; }
:root[data-theme="light"] .orb { opacity: .34; }
:root[data-theme="light"] .mq-item,
:root[data-theme="light"] .about-card,
:root[data-theme="light"] .radar-stats > div,
:root[data-theme="light"] .pcard,
:root[data-theme="light"] .vcard,
:root[data-theme="light"] .c-line,
:root[data-theme="light"] .contact-form { box-shadow: 0 20px 50px -38px rgba(15,39,71,.4); }
:root[data-theme="light"] .panels,
:root[data-theme="light"] .browser-frame,
:root[data-theme="light"] .radar {
  color-scheme: dark; --text: #F3F5FB; --muted: #9BA3B8; --muted-2: #6B7288;
  --border: rgba(255,255,255,.085); --surface: rgba(255,255,255,.032);
}
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .field textarea { background-color: rgba(255,255,255,.8); }
:root[data-theme="light"] .field select option { background: #fff; color: #10243F; }
:root[data-theme="light"] .form-success { background: rgba(255,255,255,.97); }
:root[data-theme="light"] .approach,
:root[data-theme="light"] .cta,
:root[data-theme="light"] .footer { color: #F3F5FB; }
:root[data-theme="light"] .approach .sec-title,
:root[data-theme="light"] .cta h2,
:root[data-theme="light"] .footer b { color: #F3F5FB; }
:root[data-theme="light"] .approach .sec-sub,
:root[data-theme="light"] .cta-in p,
:root[data-theme="light"] .footer p,
:root[data-theme="light"] .footer a,
:root[data-theme="light"] .foot-bottom { color: #9BA3B8; }
:root[data-theme="light"] .footer .brand { color: #F3F5FB; }
:root[data-theme="light"] .footer a:hover { color: #fff; }
:root[data-theme="light"] .footer .foot-made a { color: #60A5FA; }
:root[data-theme="light"] .footer .foot-made a:hover { color: #93C5FD; }

@media (max-width: 860px) {
  :root[data-theme="light"] .nav-links { background: rgba(255,255,255,.98); }
}

/* ============================================================ REVEAL ANIM */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE */
@media (min-width: 861px) and (max-width: 1240px) {
  .nav-in { gap: 16px; }
  .nav-link { padding-inline: 9px; }
  .nav-actions { gap: 7px; }
  .nav-actions .btn { padding-inline: 15px; font-size: .86rem; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .nav-ghost { display: none; }
}
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-chips { justify-content: center; }
  .hero-viz { max-width: 660px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .card-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .panels { min-height: 430px; }
  .tab-body p { max-height: none; opacity: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0;
    background: rgba(6,7,13,.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 18px 22px 24px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: .35s var(--ease); z-index: 49;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { padding: 13px 14px; font-size: 1rem; }
  .nav-cta-mobile { display: flex; gap: 10px; margin-top: 14px; }
  .nav-cta-mobile .btn { flex: 1; }
  .nav-actions .btn { display: none; }
  .nav-burger { display: grid; }
  .approach-pills { flex-direction: column; align-items: center; }
  .apill { max-width: 320px; width: 100%; }
  .apill-arrow { transform: rotate(-90deg); }
  .fc-a { inset-inline-start: 2px; } .fc-b { inset-inline-end: 2px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 34px); }
  .brand-logo { width: 52px; height: 50px; padding: 2px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .announce span { display: none; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .dash-foot { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .browser-frame { transform: none; }
  .card-grid, .value-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .captcha-control { grid-template-columns: 1fr 82px 44px; }
  .pcard p { min-height: 0; }
  .panels { min-height: 520px; }
  .panel { padding: 22px; }
  .vd-kpis, .vl-nums { grid-template-columns: 1fr; gap: 9px; }
  .vd-bars { height: 150px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { letter-spacing: 0; }
  .float-chip { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   AUDIT-LED REDESIGN — October 2026
   Direction: Enterprise Decision Center
   ============================================================ */
:root {
  --bg: #0B1726;
  --bg-2: #0F2033;
  --bg-3: #132840;
  --surface: rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.08);
  --border: rgba(204,221,230,.12);
  --border-strong: rgba(204,221,230,.22);
  --text: #F2F7F8;
  --muted: #A8BAC5;
  --muted-2: #8095A4;
  --violet: #4BC7B0;
  --indigo: #0D796F;
  --teal: #4BC7B0;
  --amber: #D4A84F;
  --grad: linear-gradient(120deg,#F4F8F7 0%,#79D4C3 55%,#D4A84F 100%);
  --grad-btn: linear-gradient(120deg,#087E74,#0A8D82);
  --radius: 15px;
  --radius-lg: 20px;
}

:root[data-theme="light"] {
  --bg: #F5F8F7;
  --bg-2: #EDF4F3;
  --bg-3: #FFFFFF;
  --surface: rgba(255,255,255,.9);
  --surface-2: #FFFFFF;
  --border: rgba(18,42,62,.11);
  --border-strong: rgba(18,42,62,.2);
  --text: #13243D;
  --muted: #506579;
  --muted-2: #687D8D;
  --violet: #087E74;
  --indigo: #13243D;
  --teal: #087E74;
  --amber: #B78A35;
  --grad: linear-gradient(120deg,#13243D 0%,#087E74 65%,#0A8D82 100%);
}

body { letter-spacing: -.006em; }
.btn:focus-visible,.nav-link:focus-visible,.brand:focus-visible,.theme-toggle:focus-visible,.lang-toggle:focus-visible,.nav-burger:focus-visible,.pcard-link:focus-visible,.tab:focus-visible,.c-line:focus-visible,.captcha-refresh:focus-visible,.foot-col a:focus-visible {
  outline: 3px solid color-mix(in srgb,var(--teal) 42%,transparent);
  outline-offset: 3px;
}
.container { width: min(1160px,calc(100% - 48px)); }
.glass { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.announce {
  background: color-mix(in srgb,var(--bg-2) 82%,var(--teal) 18%);
  border-bottom-color: var(--border);
}
.announce .ic,.announce-link { color: var(--teal); }

.nav { background: color-mix(in srgb,var(--bg) 90%,transparent); }
.nav.scrolled {
  background: color-mix(in srgb,var(--bg-3) 94%,transparent);
  box-shadow: 0 16px 42px -32px rgba(9,31,48,.65);
}
.brand-logo { width: 62px; height: 60px; border-radius: 9px; box-shadow: none; }
.nav-link { font-size: .88rem; font-weight: 650; }
.nav-link:hover,.nav-link.active { color: var(--text); background: color-mix(in srgb,var(--teal) 8%,transparent); }
.nav-link.active::after { background: var(--teal); }
.theme-toggle,.lang-toggle { border-radius: 10px; }
.nav-ghost { border-color: var(--border-strong); }

.btn { border-radius: 10px; box-shadow: none; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 14px 30px -20px rgba(8,126,116,.75); }
.btn-primary:hover { background: #076E66; box-shadow: 0 18px 34px -20px rgba(8,126,116,.72); }
.btn-ghost { background: var(--surface); }

.hero { min-height: 690px; padding: 92px 0 82px; }
.hero-bg { background: radial-gradient(ellipse at 7% 20%,rgba(21,150,139,.12),transparent 38%),linear-gradient(180deg,var(--bg) 0%,var(--bg-2) 100%); }
.hero-grid { opacity: .13; background-size: 72px 72px; }
.orb { opacity: .13; filter: blur(125px); animation: none; }
.orb-a { background: var(--teal); }
.orb-b { background: var(--amber); }
.orb-c { display: none; }
.hero-in { grid-template-columns: 1.03fr .97fr; gap: 68px; }
.kicker {
  color: var(--teal); background: transparent; border: 0; padding: 0;
  border-radius: 0; font-size: .78rem; font-weight: 800;
}
.kicker::before { content:""; width: 24px; height: 2px; background: var(--amber); }
.kicker-dot { display: none; }
.kicker:hover { background: transparent; border: 0; }
.hero-title { margin-top: 22px; max-width: 12ch; font-size: clamp(2.7rem,4.7vw,4.45rem); line-height: 1.37; letter-spacing: -.055em; }
.grad-text,.grad-text-2 { background: none; -webkit-text-fill-color: currentColor; color: var(--teal); }
.hero-sub { max-width: 58ch; font-size: 1rem; line-height: 2.05; }
.hero-sub b { color: var(--text); }
.hero-chips { margin-top: 28px; gap: 8px; }
.chip { padding: 8px 13px; border-radius: 99px; background: var(--surface); border-color: var(--border); }
.chip dt { display: none; }
.chip dd { font-size: .75rem; color: var(--muted); }

.browser-frame { transform: none; border-radius: 20px; border-color: rgba(255,255,255,.12); box-shadow: 0 32px 70px -32px rgba(4,20,35,.68); }
.hero-viz:hover .browser-frame { transform: translateY(-4px); }
.browser-bar { background: #10233A; }
.browser-body { background: #13243D; }
.dash-side { background: #102037; }
.kpi,.dash-chart,.bars,.alerts { border-radius: 11px; }
.float-chip { border-radius: 11px; box-shadow: 0 18px 36px -24px rgba(10,31,50,.65); }

.marquee-sec { padding: 28px 0 54px; background: var(--bg-3); border-bottom: 1px solid var(--border); }
.marquee-cap { color: var(--text); text-align: start; font-weight: 800; margin-bottom: 14px; }
.marquee {
  overflow: hidden;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee-track {
  width: max-content;
  flex-wrap: nowrap;
  gap: 8px;
  will-change: transform;
  animation: audience-marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes audience-marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.mq-item { min-width: 0; padding: 9px 13px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); }
.mq-item::after { display: none; }
.mq-item .ic { display: none; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.sec-kicker { color: var(--teal); background: transparent; border: 0; border-radius: 0; padding: 0; font-size: .76rem; }
.sec-kicker::before { content:""; display:inline-block; width:22px; height:2px; margin-inline-end:8px; vertical-align:middle; background:var(--amber); }
.sec-title { font-size: clamp(2rem,3.4vw,3.05rem); line-height: 1.48; letter-spacing: -.045em; }
.sec-sub { line-height: 2; }
.split { gap: 96px; }
.about-card { border-radius: 12px; background: var(--surface); box-shadow: none; }
.about-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb,var(--teal) 38%,var(--border)); }
.about-ic { color: var(--teal); background: color-mix(in srgb,var(--teal) 9%,transparent); border-color: color-mix(in srgb,var(--teal) 24%,transparent); }
.radar { border-radius: 50%; background: radial-gradient(circle,color-mix(in srgb,var(--teal) 9%,transparent),transparent 65%); box-shadow: none; }

.card-grid { gap: 14px; }
.pcard { border-radius: 15px; padding: 25px 23px 22px; background: var(--surface); box-shadow: 0 20px 48px -40px rgba(13,38,57,.5); }
.pcard::before { background: linear-gradient(90deg,var(--teal),var(--amber)); opacity: .48; }
.pcard-glow { display: none; }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--teal) 32%,var(--border)); }
.pcard-ic { color: var(--teal) !important; background: color-mix(in srgb,var(--teal) 9%,transparent) !important; border-color: color-mix(in srgb,var(--teal) 22%,transparent) !important; }
.pcard-link { color: var(--teal); }

.showcase { border-radius: 18px; box-shadow: none; }
.tab.active { background: color-mix(in srgb,var(--teal) 8%,var(--bg-3)); }
.tab-fill { background: var(--teal); }
.panels { background: #13243D; }
.value-grid { gap: 14px; }
.vcard { border-radius: 14px; background: var(--surface); box-shadow: none; }
.vcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb,var(--teal) 34%,var(--border)); box-shadow: none; }
.vcard-ic { color: var(--teal); background: color-mix(in srgb,var(--teal) 9%,transparent); border-color: color-mix(in srgb,var(--teal) 25%,transparent); }

.approach { background: linear-gradient(125deg,#13243D,#102B3E 62%,#083C3A); }
.approach::before { opacity: .17; background-size: 68px 68px; }
.apill { border-radius: 14px; background: rgba(255,255,255,.045); }
.apill:hover { transform: translateY(-4px); border-color: rgba(75,199,176,.55); }
.apill .ic { color: #80D4C2; }

.cta { padding: 80px 0; }
.cta-bg { background: linear-gradient(115deg,#13243D 0%,#0D796F 100%); }
.cta-bg .hero-grid,.cta-bg .orb { display: none; }
.cta-in { text-align: start; max-width: 1160px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 54px; }
.cta-in h2 { margin: 0; }
.cta-in p { margin: 0; grid-column: 1; }
.cta-in .hero-cta { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.cta-in .btn-glass { display: none; }

#contact { background: linear-gradient(120deg,var(--bg-2),var(--bg) 68%,color-mix(in srgb,var(--amber) 6%,var(--bg))); }
.contact-grid { grid-template-columns: .82fr 1.18fr; gap: 58px; }
.c-line { border-radius: 12px; background: var(--surface); box-shadow: none; }
a.c-line:hover { transform: translateY(-3px); border-color: color-mix(in srgb,var(--teal) 36%,var(--border)); }
.c-ic { color: var(--teal); background: color-mix(in srgb,var(--teal) 9%,transparent); border-color: color-mix(in srgb,var(--teal) 24%,transparent); }
.contact-form { border-radius: 18px; background: var(--bg-3); box-shadow: 0 28px 64px -46px rgba(13,38,57,.55); }
.field input,.field select,.field textarea { border-radius: 10px; background: var(--bg); }
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb,var(--teal) 15%,transparent); background: var(--bg-3); }
.captcha-question,.captcha-refresh { border-radius: 10px; }
.captcha-question { background: color-mix(in srgb,var(--teal) 7%,var(--bg)); border-color: color-mix(in srgb,var(--teal) 23%,var(--border)); }
.captcha-refresh { color: var(--teal); }

.footer { background: #0A1422; padding-top: 58px; }
.foot-made { color: #9AAEBA; }
.foot-made a { color: #80D4C2; }

:root[data-theme="light"] .announce { background: #EAF4F2; }
:root[data-theme="light"] .nav { background: rgba(255,255,255,.88); }
:root[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,.96); }
:root[data-theme="light"] .kicker { color: #087E74; background: transparent; }
:root[data-theme="light"] .hero-grid { opacity: .11; }
:root[data-theme="light"] .orb { opacity: .12; }
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .field textarea { background-color: #F9FBFB; }
:root[data-theme="light"] .mq-item,
:root[data-theme="light"] .about-card,
:root[data-theme="light"] .pcard,
:root[data-theme="light"] .vcard,
:root[data-theme="light"] .c-line,
:root[data-theme="light"] .contact-form { box-shadow: 0 20px 48px -40px rgba(13,38,57,.5); }

@media (max-width:1080px) {
  .hero-in { gap: 58px; }
  .hero-title { max-width: none; }
  .cta-in { grid-template-columns: 1fr; text-align: center; }
  .cta-in p,.cta-in .hero-cta { grid-column: 1; grid-row: auto; margin-inline: auto; }
}
@media (max-width:860px) {
  .nav-links { background: color-mix(in srgb,var(--bg-3) 97%,transparent); }
  .marquee-sec { padding-top: 22px; }
}
@media (max-width:620px) {
  .container { width: calc(100% - 32px); }
  .hero-in { display: block; }
  .hero-copy,.hero-viz,.browser-frame,.browser-body,.dash-main { min-width: 0; max-width: 100%; }
  .hero-viz { width: 100%; margin-top: 50px; overflow: hidden; border-radius: 16px; }
  .browser-bar { min-width: 0; }
  .burl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dash-head { gap: 8px; }
  .dash-head>div { min-width: 0; flex-wrap: wrap; }
  .dash-date { white-space: nowrap; }
  .hero { padding: 62px 0 64px; }
  .hero-title { font-size: 2.45rem; line-height: 1.48; }
  .hero-cta { display: grid; }
  .section { padding: 74px 0; }
  .marquee-track { gap: 7px; }
  .mq-item { padding: 8px 11px; font-size: .72rem; }
  .cta { padding: 62px 0; }
  .cta-in .hero-cta { width: 100%; }
  .contact-form { padding: 22px 16px; }
}
