:root {
  --bg: #07090f;
  --surface: rgba(17, 21, 33, 0.78);
  --surface-2: #0d111b;
  --line: rgba(255, 255, 255, 0.085);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #9aa2b6;
  --faint: #61697d;
  --blue: #7f9dff;
  --violet: #9b7cff;
  --green: #5ee4a7;
  --display: "Manrope", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden; background: var(--bg); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: rgba(127, 157, 255, 0.35); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 9px; color: #07101c; background: #fff; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.ambient-orb--blue { width: 900px; height: 650px; top: -470px; left: 8%; background: radial-gradient(ellipse, rgba(73, 109, 255, .32), transparent 68%); }
.ambient-orb--violet { width: 760px; height: 760px; top: 130px; right: -510px; background: radial-gradient(circle, rgba(117, 67, 229, .22), transparent 68%); }
.ambient-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
.ambient-noise { position: absolute; inset: 0; opacity: .025; mix-blend-mode: screen; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hub-header, .hub-main, .hub-footer { position: relative; z-index: 1; }
.hub-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; padding: 0 clamp(24px, 4.6vw, 76px); border-bottom: 1px solid transparent; background: rgba(7, 9, 15, .58); backdrop-filter: blur(20px) saturate(140%); transition: border-color .25s, background .25s, box-shadow .25s; }
.hub-header.scrolled { border-color: var(--line); background: rgba(7, 9, 15, .86); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.hub-brand { display: flex; width: fit-content; }
.logo { display: block; width: auto; height: 38px; }
.header-center { display: flex; align-items: center; gap: 10px; justify-self: center; color: #c3c9d8; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.header-mark { width: 18px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--violet)); box-shadow: 0 0 8px var(--blue); }
.hub-meta { justify-self: end; display: flex; align-items: center; gap: 16px; }
.system-state { display: flex; align-items: center; gap: 7px; color: #aab2c4; font-size: 12px; font-weight: 600; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(94, 228, 167, .09), 0 0 14px rgba(94, 228, 167, .75); animation: breathe 2.4s ease-in-out infinite; }
.clock { padding-left: 16px; border-left: 1px solid var(--line); color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
@keyframes breathe { 50% { opacity: .55; box-shadow: 0 0 0 7px rgba(94, 228, 167, 0), 0 0 7px rgba(94, 228, 167, .5); } }

.hub-main { width: min(1380px, 100%); margin: 0 auto; padding: 0 clamp(24px, 4.6vw, 76px) 84px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(390px, .86fr); align-items: center; gap: clamp(50px, 7vw, 110px); min-height: 680px; padding: 78px 0 88px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #aab9ef; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-line { display: block; width: 34px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--violet)); box-shadow: 0 0 10px var(--blue); }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(49px, 5.45vw, 82px); font-weight: 700; line-height: 1.04; letter-spacing: -.058em; }
.hero h1 span { color: transparent; background: linear-gradient(112deg, #d9e0ff 5%, #8eacff 43%, #ab79f7 90%); -webkit-background-clip: text; background-clip: text; }
.hero-sub { max-width: 680px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.primary-cta { position: relative; display: inline-flex; align-items: center; gap: 13px; min-height: 52px; padding: 0 23px; overflow: hidden; border: 1px solid rgba(191, 205, 255, .52); border-radius: 12px; color: #07101c; background: linear-gradient(135deg, #edf1ff, #9cb1ff); box-shadow: 0 14px 34px rgba(86, 112, 230, .24), inset 0 1px rgba(255,255,255,.8); font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.primary-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.7), transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(86, 112, 230, .34); }
.primary-cta:hover::before { transform: translateX(120%); }
.primary-cta svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.availability { display: flex; align-items: center; color: var(--faint); font-size: 13px; white-space: nowrap; }
.availability .pulse-dot { margin-right: 9px; }
.availability strong { color: #c3c9d8; font-weight: 600; }
.stat-row { display: flex; width: fit-content; margin-top: 54px; }
.stat { min-width: 150px; padding-right: 38px; }
.stat + .stat { padding-left: 38px; border-left: 1px solid var(--line); }
.stat strong { display: block; margin-bottom: 5px; color: #e9ecf5; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.stat span { color: var(--faint); font-size: 12px; letter-spacing: .02em; }

.signal-panel { position: relative; min-height: 470px; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: linear-gradient(145deg, rgba(22, 27, 43, .88), rgba(10, 13, 22, .82)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.06); isolation: isolate; }
.signal-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 48%, rgba(95, 121, 239, .18), transparent 38%), linear-gradient(135deg, rgba(126, 151, 255, .08), transparent 35%); }
.signal-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at center, #000, transparent 78%); }
.signal-shine { position: absolute; top: -40%; left: -20%; width: 70%; height: 80%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.045), transparent); transform: rotate(-12deg); }
.signal-head { display: flex; justify-content: space-between; gap: 20px; }
.signal-label { color: #778096; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.signal-head h2 { margin: 8px 0 0; font-family: var(--display); font-size: 20px; letter-spacing: -.025em; }
.signal-live { align-self: flex-start; display: flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(94, 228, 167, .18); border-radius: 99px; color: #8ee8ba; background: rgba(94, 228, 167, .07); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.signal-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.signal-visual { position: relative; display: grid; place-items: center; height: 282px; }
.orbit { position: absolute; border: 1px solid rgba(143, 166, 255, .2); border-radius: 50%; animation: rotate 28s linear infinite; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.035); border-radius: 50%; }
.orbit--outer { width: 238px; height: 238px; }
.orbit--inner { width: 168px; height: 168px; animation-direction: reverse; animation-duration: 18s; border-style: dashed; }
.orbit i { position: absolute; width: 7px; height: 7px; border: 1px solid #abc0ff; border-radius: 50%; background: #7d9bff; box-shadow: 0 0 15px #607eea; }
.orbit--outer i:nth-child(1) { top: -4px; left: 50%; }
.orbit--outer i:nth-child(2) { right: 8px; bottom: 24%; background: #a77cf6; }
.orbit--outer i:nth-child(3) { left: 8px; bottom: 24%; background: #5ee4a7; }
.orbit--inner i:nth-child(1) { top: 18%; right: 4px; }
.orbit--inner i:nth-child(2) { bottom: 8%; left: 20%; background: #c977ef; }
.signal-core { display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border: 1px solid rgba(181, 197, 255, .38); border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(201, 211, 255, .22), rgba(79, 99, 189, .13) 45%, rgba(9,12,20,.94) 73%); box-shadow: 0 0 50px rgba(87, 110, 221, .25), inset 0 0 30px rgba(126, 151, 255, .14); }
.signal-core span { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.08em; }
.signal-core small { margin-top: -3px; color: #78829b; font-size: 7px; font-weight: 700; letter-spacing: .25em; }
@keyframes rotate { to { transform: rotate(360deg); } }
.signal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.signal-metrics div { padding-top: 18px; }
.signal-metrics div + div { padding-left: 17px; border-left: 1px solid var(--line); }
.signal-metrics span, .signal-metrics strong { display: block; }
.signal-metrics span { margin-bottom: 5px; color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.signal-metrics strong { color: #c9cfdd; font-size: 12px; font-weight: 600; }
.signal-metrics .healthy { color: #79dba7; }

.portfolio-section { scroll-margin-top: 96px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 12px; margin-bottom: 32px; }
.section-kicker { margin: 0 0 9px !important; color: #8094dc !important; font-size: 11px !important; font-weight: 700; letter-spacing: .19em; }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.045em; }
.section-heading p { margin: 9px 0 0; color: var(--faint); font-size: 14px; }
.result-count { flex: none; margin-bottom: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: #8991a4; background: rgba(255,255,255,.025); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 16, 26, .66); backdrop-filter: blur(12px); }
.filters { display: flex; gap: 3px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; color: #747d91; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: color .18s, background .18s, border-color .18s; }
.chip:hover { color: #cbd0dc; background: rgba(255,255,255,.035); }
.chip.active { border-color: rgba(141, 164, 255, .2); color: #e4e8f5; background: linear-gradient(135deg, rgba(101, 130, 239, .19), rgba(133, 87, 223, .12)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.search { flex: 0 0 300px; display: flex; align-items: center; gap: 9px; padding: 0 10px 0 13px; border-left: 1px solid var(--line); color: #636c80; cursor: text; }
.search svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search input { width: 100%; padding: 8px 0; border: 0; outline: 0; color: #e5e8f0; background: transparent; font-size: 12px; }
.search input::placeholder { color: #596175; }
.search kbd { display: grid; place-items: center; min-width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 6px; color: #616a7e; background: rgba(255,255,255,.03); font-family: inherit; font-size: 10px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.skeleton { min-height: 332px; padding: 23px; border: 1px solid var(--line); border-radius: 19px; background: rgba(14,17,28,.7); }
.sk-block { border-radius: 8px; background: linear-gradient(100deg, rgba(255,255,255,.035) 20%, rgba(255,255,255,.075) 40%, rgba(255,255,255,.035) 60%); background-size: 220% 100%; animation: shimmer 1.6s infinite; }
.sk-icon { width: 48px; height: 48px; margin-bottom: 42px; border-radius: 14px; }
.sk-line { height: 10px; margin-top: 13px; }
.w-40 { width: 40%; } .w-70 { width: 70%; } .w-100 { width: 100%; } .w-90 { width: 90%; }
.sk-btn { width: 92px; height: 35px; margin: 50px 0 0 auto; }
@keyframes shimmer { to { background-position: -220% 0; } }

.card { --accent: #7f9dff; position: relative; display: flex; flex-direction: column; min-height: 332px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(155deg, rgba(21,25,39,.92), rgba(10,13,21,.92)); box-shadow: inset 0 1px rgba(255,255,255,.025); opacity: 0; transform: translateY(16px); animation: card-in .55s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: var(--delay); transition: transform .3s cubic-bezier(.2,.75,.2,1), border-color .3s, box-shadow .3s; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(450px circle at var(--mx, 15%) var(--my, 0%), color-mix(in srgb, var(--accent) 15%, transparent), transparent 44%); opacity: .55; transition: opacity .3s; }
.card::after { content: ""; position: absolute; top: 0; left: 22px; width: 44px; height: 1px; background: var(--accent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 80%, transparent); opacity: .8; }
.card:hover { z-index: 2; border-color: color-mix(in srgb, var(--accent) 30%, var(--line-bright)); box-shadow: 0 25px 58px rgba(0,0,0,.32), 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card.hidden { display: none; }
@keyframes card-in { to { opacity: 1; transform: translateY(0); } }
.card-index { position: absolute; top: 22px; right: 22px; color: rgba(255,255,255,.13); font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 31px; padding-right: 38px; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 14px; color: var(--accent); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, transparent), rgba(255,255,255,.015)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 24px -17px var(--accent); transition: transform .3s; }
.card:hover .card-icon { transform: translateY(-2px) rotate(-3deg); }
.card-icon svg { width: 23px; height: 23px; }
.status { display: flex; align-items: center; gap: 6px; color: #687185; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.status .dot { width: 6px; height: 6px; border-radius: 50%; background: #5f6675; }
.status.is-running { color: #72dca6; }
.status.is-running .dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status.is-starting { color: #e7bc6d; }
.status.is-starting .dot { background: #e7ad4f; animation: breathe 1s infinite; }
.status.is-failed { color: #9a6670; }
.status.is-failed .dot { background: #b65366; }
.industry { margin: 0 0 8px; color: var(--accent); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.card h3 { margin: 0 0 11px; font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }
.tagline { flex-grow: 1; margin: 0; color: #8a92a6; font-size: 14px; line-height: 1.62; }
.capabilities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.capability { padding: 5px 8px; border: 1px solid rgba(255,255,255,.065); border-radius: 6px; color: #717a8e; background: rgba(255,255,255,.022); font-size: 10px; font-weight: 600; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.brandline { color: #596176; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 8px 3px 8px 10px; border: 0; color: #dfe4f2; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .2s; }
.btn span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid color-mix(in srgb, var(--accent) 23%, var(--line)); border-radius: 9px; color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); transition: transform .2s, background .2s; }
.btn svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn:hover { color: #fff; }
.btn:hover span { background: color-mix(in srgb, var(--accent) 16%, transparent); transform: translateX(3px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.card-error { display: none; }
.empty-state { padding: 70px 20px; border: 1px dashed var(--line); border-radius: 20px; text-align: center; }
.empty-state span { color: rgba(255,255,255,.09); font-family: var(--display); font-size: 54px; font-weight: 800; }
.empty-state h3 { margin: 8px 0; font-family: var(--display); }
.empty-state p { margin: 0 0 20px; color: var(--faint); font-size: 13px; }
.empty-state button { padding: 9px 14px; border: 1px solid var(--line-bright); border-radius: 9px; color: #d8dce7; background: rgba(255,255,255,.05); cursor: pointer; }

.hub-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin: 0 clamp(24px, 4.6vw, 76px); padding: 30px 0 40px; border-top: 1px solid var(--line); color: #51596b; font-size: 11px; }
.hub-footer p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #9299aa; font-size: 9px; letter-spacing: .12em; }
.footer-brand img { width: 21px; height: 21px; object-fit: contain; }
.footer-brand b { color: #555e72; font-weight: 600; }
.footer-note { justify-self: end; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .pill { padding: 12px 17px; border: 1px solid var(--line-bright); border-radius: 11px; color: #dce1ee; background: rgba(16, 19, 29, .94); box-shadow: var(--shadow); backdrop-filter: blur(15px); font-size: 12px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 390px; gap: 45px; }
  .hero h1 { font-size: clamp(46px, 5.8vw, 68px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock { display: none; }
}

@media (max-width: 820px) {
  .hub-header { grid-template-columns: 1fr auto; height: 68px; }
  .header-center { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 70px 0; }
  .hero-copy { max-width: 680px; }
  .signal-panel { width: min(520px, 100%); justify-self: center; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .search { flex-basis: auto; border-top: 1px solid var(--line); border-left: 0; padding: 7px 9px 0; }
  .hub-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-note { justify-self: center; }
}

@media (max-width: 590px) {
  .hub-header { height: 62px; padding: 0 18px; }
  .logo { height: 29px; }
  .system-state { font-size: 10px; }
  .hub-main { padding: 0 18px 60px; }
  .hero { padding: 56px 0 66px; gap: 48px; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(41px, 12vw, 58px); }
  .hero-sub { margin-top: 22px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; margin-top: 29px; }
  .stat-row { justify-content: space-between; width: 100%; margin-top: 42px; }
  .stat { min-width: 0; padding-right: 15px; }
  .stat + .stat { padding-left: 15px; }
  .stat strong { font-size: 24px; }
  .stat span { font-size: 10px; }
  .signal-panel { min-height: 430px; padding: 21px; border-radius: 21px; }
  .signal-visual { height: 270px; transform: scale(.9); }
  .signal-metrics div + div { padding-left: 10px; }
  .signal-metrics strong { font-size: 10px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading h2 { font-size: 31px; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 320px; }
  .hub-footer { margin: 0 18px; }
}

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