.home-page .neo-hero {
  position: relative;
  display: block;
  height: 100svh;
  min-height: 780px;
  max-height: 1080px;
  padding: 0;
  overflow: hidden;
  background: #F2F8FA;
}
.home-page .neo-hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.32), transparent 40%), radial-gradient(ellipse 40% 45% at 76% 44%, rgba(0,194,209,.06), transparent 75%);
}
.neo-hero .city-viewport {
  position: absolute;
  z-index: 0;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
}
.neo-hero .city-viewport:active { cursor: grabbing; }
.neo-hero .city-viewport:focus-visible { box-shadow: inset 0 0 0 2px rgba(0,194,209,.65); }
.neo-hero .city-viewport canvas { width: 100%; height: 100%; }
.neo-hero .city-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: #F2F8FA; }
.neo-hero .city-fallback svg { width: 72%; max-width: 900px; height: auto; transform: translate(22%, 1%); }
.neo-hero .city-viewport.webgl-ready .city-fallback { display: none; }
.hero-scene-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247,250,252,.99) 0%, rgba(247,250,252,.96) 23%, rgba(247,250,252,.74) 34%, rgba(247,250,252,.12) 50%, transparent 60%), linear-gradient(0deg, rgba(242,248,250,.82), transparent 25%);
}
.neo-hero .gov-hero-grid {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 100%;
  padding-bottom: 104px;
  pointer-events: none;
}
.neo-hero .gov-hero-copy {
  position: relative;
  max-width: 680px;
  pointer-events: auto;
  animation: heroCopyEnter .85s var(--ease-out) both;
}
.neo-hero .gov-kicker {
  gap: 12px;
  color: #087F95;
  font: 650 10px/1.4 var(--font-mono);
  letter-spacing: .18em;
}
.neo-hero .gov-kicker::before { display: none; }
.neo-hero .gov-kicker .data-dot { width: 6px; height: 6px; box-shadow: 0 0 0 6px rgba(0,194,209,.09), 0 0 18px rgba(0,194,209,.5); }
.home-page .neo-hero h1 {
  max-width: 760px;
  margin-top: 27px;
  font-size: clamp(64px, 6.25vw, 96px);
  font-weight: 820;
  line-height: .99;
  letter-spacing: -.072em;
}
.home-page .neo-hero h1 .hero-line { display: block; }
.home-page .neo-hero h1 .hero-line:last-child {
  margin-top: 12px;
  color: var(--energy-deep);
  font-size: 1em;
  line-height: 1.04;
  letter-spacing: -.072em;
}
.neo-hero .gov-hero-lead {
  max-width: 470px;
  margin-top: 28px;
  color: #48687C;
  font-size: 15.5px;
  line-height: 1.9;
  letter-spacing: .01em;
}
.neo-hero .gov-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.neo-hero .gov-actions .btn { width: auto; min-height: 52px; padding-inline: 25px; }
.neo-hero .btn.primary { background: #082D43; box-shadow: 0 14px 36px rgba(8,45,67,.2); }
.neo-hero .btn.primary span { color: var(--energy-pale); }
.neo-hero .btn.ghost { border-color: rgba(22,73,94,.16); background: rgba(255,255,255,.52); backdrop-filter: blur(12px); }
.hero-system-status { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 29px; color: #688696; font: 550 7.5px/1.4 var(--font-mono); letter-spacing: .14em; }
.hero-system-status i { width: 1px; height: 9px; background: rgba(44,100,120,.2); }
.hero-model-meta { position: absolute; z-index: 3; top: 116px; right: 7%; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.hero-model-meta .data-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--energy); box-shadow: 0 0 16px var(--energy); }
.hero-model-meta div { display: flex; flex-direction: column; }
.hero-model-meta b { color: #163F52; font: 700 10px/1.2 var(--font-mono); letter-spacing: .17em; }
.hero-model-meta small { margin-top: 6px; color: #668795; font: 500 7px/1 var(--font-mono); letter-spacing: .12em; }
.hero-side-rail { position: absolute; z-index: 3; top: 50%; right: 24px; display: flex; align-items: center; gap: 14px; color: #648491; font: 550 7px/1 var(--font-mono); letter-spacing: .18em; writing-mode: vertical-rl; transform: translateY(-50%); pointer-events: none; }
.hero-side-rail > span:first-child { color: var(--energy-deep); font-size: 9px; }
.hero-side-rail i { width: 1px; height: 58px; background: linear-gradient(var(--energy), rgba(0,194,209,.08)); }
.neo-hero .city-hint { position: absolute; z-index: 3; left: auto; right: 8%; top: auto; bottom: 151px; gap: 8px; color: #5B7D8C; font: 500 7px/1 var(--font-mono); letter-spacing: .09em; }
.neo-hero .city-hint > span { width: 10px; height: 14px; border-color: #6E929F; }
.neo-hero .city-hint > span::before { background: #6E929F; }
.neo-hero .city-legend { position: absolute; z-index: 3; left: auto; right: 7%; top: 157px; gap: 16px; color: #587B89; font: 500 8px/1 var(--font-sans); }
.neo-hero .city-legend span { gap: 6px; }
.neo-hero .city-legend span::before { width: 14px; height: 2px; box-shadow: 0 0 8px currentColor; }
.neo-hero .city-label { position: absolute; z-index: 2; left: 0; top: 0; display: block; margin: 0; padding: 10px 13px; border: 1px solid rgba(57,230,245,.34); border-radius: 3px; background: rgba(6,38,55,.88); box-shadow: 0 10px 30px rgba(4,34,49,.16), inset 0 0 18px rgba(0,194,209,.06); color: #fff; backdrop-filter: blur(14px); pointer-events: none; white-space: nowrap; transition: opacity .2s; }
.neo-hero .city-label::before { content: ""; position: absolute; left: -1px; top: -1px; width: 10px; height: 10px; border-left: 2px solid var(--energy-bright); border-top: 2px solid var(--energy-bright); }
.neo-hero .city-label::after { content: ""; position: absolute; left: 50%; right: auto; top: 100%; width: 1px; height: 32px; background: linear-gradient(rgba(0,194,209,.75),rgba(0,194,209,.08)); transform: none; }
.neo-hero .city-label span { display: flex; flex-direction: column; line-height: 1.2; }
.neo-hero .city-label b { font: 700 9px/1.2 var(--font-mono); letter-spacing: .15em; }
.neo-hero .city-label small { margin-top: 5px; color: #7FE9F2; font: 500 6.5px/1 var(--font-mono); letter-spacing: .11em; }
.hero-console-wrap { position: absolute; z-index: 5; left: 50%; bottom: 28px; transform: translateX(-50%); pointer-events: none; }
.hero-console { position: relative; display: grid; grid-template-columns: minmax(190px,.8fr) auto minmax(320px,1fr) 42px; align-items: center; min-height: 96px; border: 1px solid rgba(107,218,229,.18); border-radius: 18px; background: rgba(6,34,50,.94); color: #fff; box-shadow: 0 24px 70px rgba(6,34,50,.22), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(24px) saturate(1.3); pointer-events: auto; overflow: hidden; }
.hero-console::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, rgba(0,194,209,.08), transparent 33%, transparent 75%, rgba(0,194,209,.035)); }
.console-identity { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; padding: 20px 21px; }
.console-identity > div { min-width: 0; }
.console-identity b { display: block; font-size: 12px; font-weight: 650; white-space: nowrap; }
.console-identity small { display: block; margin-top: 5px; color: rgba(210,239,244,.46); font-size: 7.5px; white-space: nowrap; }
.console-pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--energy-bright); box-shadow: 0 0 14px var(--energy); }
.console-pulse::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(57,230,245,.4); border-radius: 50%; animation: consolePulse 2.2s ease-out infinite; }
.console-identity .data-tag { margin-left: auto; padding: 4px 7px; border-color: rgba(245,166,35,.22); background: rgba(245,166,35,.08); color: #F3C777; font-size: 7px; }
.neo-hero .city-controls { position: relative; left: auto; right: auto; bottom: auto; display: flex; justify-content: center; gap: 5px; padding: 0 12px; }
.neo-hero .city-controls button { min-height: 39px; gap: 6px; padding: 8px 11px; border: 1px solid rgba(181,230,236,.11); border-radius: 7px; background: rgba(255,255,255,.045); color: rgba(222,242,245,.6); box-shadow: none; backdrop-filter: none; font-size: 9px; white-space: nowrap; transition: background .25s,border-color .25s,color .25s,box-shadow .25s,transform .25s; }
.neo-hero .city-controls button > span { color: rgba(127,233,242,.45); font-size: 6.5px; }
.neo-hero .city-controls button:hover { transform: translateY(-1px); border-color: rgba(57,230,245,.35); background: rgba(57,230,245,.08); box-shadow: none; }
.neo-hero .city-controls button.active { border-color: rgba(57,230,245,.65); background: #25C8D5; color: #062E40; box-shadow: 0 0 22px rgba(0,194,209,.22); }
.neo-hero .city-controls button.active > span { color: #07586A; }
.neo-hero .city-readouts { position: relative; left: auto; right: auto; bottom: auto; display: grid; grid-template-columns: repeat(3,1fr); border: 0; border-left: 1px solid rgba(190,232,237,.09); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.neo-hero .city-readouts > div { padding: 15px 16px; border-right: 0; }
.neo-hero .city-readouts span { color: rgba(210,239,244,.46); font-size: 8px; }
.neo-hero .city-readouts b { margin-top: 4px; color: #F3FDFF; font-size: 18px; text-shadow: 0 0 16px rgba(57,230,245,.12); }
.neo-hero .city-readouts small { margin-top: 4px; color: rgba(127,233,242,.4); font-size: 7px; }
.console-link { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(127,233,242,.25); border-radius: 50%; color: var(--energy-pale); font-size: 13px; transition: background .25s,color .25s,transform .25s; }
.console-link:hover { background: var(--energy); color: var(--ink); transform: rotate(45deg); }
@keyframes consolePulse { 0% { opacity: .8; transform: scale(.6); } 75%,100% { opacity: 0; transform: scale(1.5); } }

.neo-hero .gov-hero-copy { animation: none; }
.neo-hero .gov-kicker { opacity: 0; animation: neoFadeUp .8s .12s var(--ease-out) forwards; }
.home-page .neo-hero h1 .hero-line { opacity: 0; clip-path: inset(0 0 100% 0); animation: neoLineReveal 1.15s .24s var(--ease-out) forwards; }
.home-page .neo-hero h1 .hero-line:last-child { animation: neoLineReveal 1.15s .39s var(--ease-out) forwards, wordFlow 7s linear 1.6s infinite; }
.neo-hero .gov-hero-lead { opacity: 0; animation: neoFadeUp .95s .72s var(--ease-out) forwards; }
.neo-hero .gov-actions { opacity: 0; animation: neoFadeUp .95s .86s var(--ease-out) forwards; }
.neo-hero .hero-system-status { opacity: 0; animation: neoFadeUp .85s 1.02s var(--ease-out) forwards; }
.hero-model-meta, .hero-side-rail, .neo-hero .city-hint, .neo-hero .city-legend { opacity: 0; animation: neoFade 1s 1.45s var(--ease-out) forwards; }
.hero-console { opacity: 0; transform: translateY(24px) scale(.985); animation: neoConsoleEnter 1.1s 1.08s var(--ease-out) forwards; }
.neo-hero .btn { position: relative; isolation: isolate; overflow: hidden; transition: transform .45s var(--ease-out),box-shadow .45s var(--ease-out),background .45s var(--ease-out),border-color .45s var(--ease-out); }
.neo-hero .btn::before { content: ""; position: absolute; z-index: -1; inset: -20% -35%; background: linear-gradient(105deg,transparent 34%,rgba(255,255,255,.32) 50%,transparent 66%); transform: translateX(-80%) skewX(-18deg); transition: transform .8s var(--ease-out); pointer-events: none; }
.neo-hero .btn:hover { transform: translateY(-3px) scale(1.012); }
.neo-hero .btn:hover::before { transform: translateX(80%) skewX(-18deg); }
.neo-hero .city-controls button { transition: background .45s var(--ease-out),border-color .45s var(--ease-out),color .45s var(--ease-out),box-shadow .45s var(--ease-out),transform .45s var(--ease-out); }
.neo-hero .city-readouts b { transition: text-shadow .35s var(--ease-out),color .35s var(--ease-out); }
.neo-hero .city-readouts b.metric-moving { color: #BDF9FC; text-shadow: 0 0 22px rgba(57,230,245,.48); }
.console-link { transition: background .45s var(--ease-out),color .45s var(--ease-out),transform .45s var(--ease-out); }
@keyframes neoFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes neoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes neoLineReveal { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(48px); } to { opacity: 1; clip-path: inset(-8% 0 -8% 0); transform: none; } }
@keyframes neoConsoleEnter { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .home-page .neo-hero h1 { font-size: clamp(62px, 7.1vw, 84px); }
  .hero-console { grid-template-columns: auto minmax(300px,1fr) 42px; }
  .console-identity { display: none; }
  .neo-hero .city-controls { padding-left: 20px; }
  .hero-side-rail { right: 15px; }
}

@media (max-width: 900px) {
  .home-page .neo-hero { min-height: 860px; }
  .neo-hero .gov-hero-grid { padding-bottom: 116px; }
  .home-page .neo-hero h1 { font-size: clamp(58px, 8.7vw, 76px); }
  .neo-hero .gov-hero-copy { max-width: 540px; }
  .neo-hero .gov-hero-lead { max-width: 390px; font-size: 14px; }
  .hero-model-meta { right: 5%; }
  .hero-side-rail { display: none; }
  .hero-console-wrap { bottom: 22px; }
  .neo-hero .city-hint { right: 6%; bottom: 142px; }
  .neo-hero .city-legend { right: 5%; }
}

@media (max-width: 640px) {
  .home-page .neo-hero { height: max(100svh, 880px); min-height: 880px; max-height: none; }
  .home-page .neo-hero::before { background: radial-gradient(ellipse 90% 38% at 50% 52%, rgba(0,194,209,.08), transparent 75%); }
  .hero-scene-shade { background: linear-gradient(180deg, rgba(242,248,250,.98) 0%, rgba(242,248,250,.91) 25%, rgba(242,248,250,.36) 37%, transparent 48%, transparent 74%, rgba(242,248,250,.88) 90%); }
  .neo-hero .gov-hero-grid { display: block; height: auto; padding-top: 113px; padding-bottom: 0; }
  .neo-hero .gov-hero-copy { max-width: none; }
  .neo-hero .gov-kicker { font-size: 7.5px; letter-spacing: .14em; }
  .home-page .neo-hero h1 { margin-top: 21px; font-size: clamp(48px, 13.2vw, 62px); line-height: 1.02; letter-spacing: -.065em; }
  .home-page .neo-hero h1 .hero-line:last-child { margin-top: 7px; font-size: 1em; line-height: 1.04; letter-spacing: -.065em; }
  .neo-hero .gov-hero-lead { max-width: 340px; margin-top: 20px; font-size: 13px; line-height: 1.85; }
  .neo-hero .gov-actions { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 23px; }
  .neo-hero .gov-actions .btn { width: auto; min-height: 47px; padding: 11px 17px; gap: 12px; font-size: 12px; }
  .hero-system-status { gap: 8px; margin-top: 22px; font-size: 6px; letter-spacing: .09em; }
  .hero-model-meta, .hero-side-rail { display: none; }
  .neo-hero .city-legend { top: auto; right: 20px; bottom: 195px; font-size: 7px; }
  .neo-hero .city-hint { left: 20px; right: auto; bottom: 195px; font-size: 5.5px; letter-spacing: .04em; }
  .neo-hero .city-hint > span { width: 8px; height: 12px; }
  .neo-hero .city-label { display: none; }
  .neo-hero .city-fallback svg { width: 126%; max-width: none; transform: translate(0, 70px); }
  .hero-console-wrap { width: calc(100% - 24px); bottom: 14px; }
  .hero-console { display: flex; flex-direction: column; align-items: stretch; min-height: 158px; padding: 12px; border-radius: 15px; }
  .neo-hero .city-controls { width: 100%; gap: 5px; padding: 0; }
  .neo-hero .city-controls button { flex: 1; justify-content: center; min-height: 42px; padding: 8px 4px; font-size: 8.5px; }
  .neo-hero .city-readouts { width: 100%; margin-top: 11px; padding-top: 10px; border-left: 0; border-top: 1px solid rgba(190,232,237,.1); }
  .neo-hero .city-readouts > div { padding: 7px 9px; }
  .neo-hero .city-readouts span { font-size: 7px; }
  .neo-hero .city-readouts b { font-size: 17px; }
  .neo-hero .city-readouts small { display: block; font-size: 6px; }
  .console-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .neo-hero .gov-kicker, .home-page .neo-hero h1 .hero-line, .neo-hero .gov-hero-lead, .neo-hero .gov-actions, .neo-hero .hero-system-status, .hero-model-meta, .hero-side-rail, .neo-hero .city-hint, .neo-hero .city-legend, .hero-console { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media print {
  .home-page .neo-hero { height: auto; min-height: 0; }
  .neo-hero .city-viewport, .hero-model-meta, .hero-side-rail, .city-hint, .city-legend, .hero-console-wrap { display: none !important; }
  .neo-hero .gov-hero-grid { padding: 30px 0; }
}
