@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #111216;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, .12);
  --magenta: #ee3d6f;
  --magenta-soft: #ff7ca0;
  --teal: #31c7bd;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 12% 18%, rgba(238, 61, 111, .18), transparent 31%),
    radial-gradient(circle at 84% 22%, rgba(49, 199, 189, .15), transparent 28%),
    linear-gradient(135deg, #07080a 0%, #111216 48%, #090a0d 100%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.eventesse-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
    rgba(16,17,22,.78);
  box-shadow: 0 24px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}
.eventesse-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(238,61,111,.18), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(49,199,189,.18), transparent 24%);
  opacity: .7;
}

.app-shell {
  min-height: 100vh;
  display: block;
  padding: 16px;
}

.sidebar {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  border-radius: 32px;
  padding: 20px;
}
.sidebar-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 13px; padding: 2px 3px; }
.brand-symbol { position: relative; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.05); }
.brand-symbol i { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; transform: translate(-50%, -50%); border: 5px solid var(--magenta); border-radius: 10px; }
.brand-symbol b, .brand-symbol em { position: absolute; left: 50%; top: 50%; display: block; background: var(--magenta); transform: translate(-50%, -50%); }
.brand-symbol b { width: 35px; height: 7px; }
.brand-symbol em { width: 7px; height: 35px; }
.brand-copy { min-width: 0; display: block; }
.brand-name { display: block; font: 700 24px/1 "Space Grotesk", sans-serif; letter-spacing: -.045em; }
.brand-name strong { color: var(--magenta); }
.brand-name b { color: #d4d4d8; }
.brand-copy small { display: block; margin-top: 6px; color: #71717a; font-size: 8px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; white-space: nowrap; }

.environment-card { margin-top: 30px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); }
.environment-card > span { display: block; color: #71717a; font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.environment-card strong { display: block; margin-top: 5px; font: 700 17px/1.25 "Space Grotesk", sans-serif; }
.environment-card small { display: flex; align-items: center; gap: 7px; margin-top: 7px; color: #71717a; font-size: 11px; }
.environment-card small i, .period-card small i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }

.side-nav { margin-top: 20px; display: grid; gap: 4px; }
.nav-item { position: relative; min-height: 58px; padding: 8px 11px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-radius: 16px; color: #a1a1aa; font-size: 13px; font-weight: 650; transition: .28s ease; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); transform: translateX(2px); }
.nav-primary { color: white; background: var(--magenta); box-shadow: 0 18px 45px rgba(238,61,111,.26); }
.nav-primary:hover { background: #ff527e; }
.nav-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.055); }
.nav-primary .nav-icon { background: rgba(255,255,255,.16); }
.nav-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item > small { color: rgba(255,255,255,.38); font: 600 9px/1 "Space Grotesk", sans-serif; }

.sidebar-note { margin-top: auto; padding: 16px; border: 1px solid rgba(49,199,189,.2); border-radius: 16px; background: rgba(49,199,189,.1); }
.sidebar-note span { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.sidebar-note p { margin: 8px 0 0; color: #d4d4d8; font-size: 12px; line-height: 1.55; }

.workspace { min-width: 0; width: 100%; }
.control-bar { min-height: 76px; margin-bottom: 16px; padding: 12px 14px 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(255,255,255,.035); backdrop-filter: blur(18px); }
.control-brand { flex: 0 0 auto; }
.control-brand .brand-symbol { width: 40px; height: 40px; flex-basis: 40px; }
.control-brand .brand-symbol i { width: 25px; height: 25px; border-width: 4px; }
.control-brand .brand-symbol b { width: 32px; height: 6px; }
.control-brand .brand-symbol em { width: 6px; height: 32px; }
.control-brand .brand-name { font-size: 22px; }
.screen-status { display: flex; align-items: center; gap: 9px; color: #71717a; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.screen-status small { font: inherit; color: #52525b; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 16px var(--teal); }
.control-actions { display: flex; align-items: center; gap: 10px; }
.secure-badge { padding: 10px 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #a1a1aa; background: rgba(255,255,255,.04); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.cockpit-button { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border-radius: 999px; background: var(--magenta); color: white; font-size: 12px; font-weight: 800; box-shadow: 0 12px 32px rgba(238,61,111,.24); transition: .25s ease; }
.cockpit-button:hover { background: #ff5f89; transform: translateY(-2px); }
.cockpit-button span { font-size: 17px; }

.stage { position: relative; min-height: calc(100vh - 108px); overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 32px; background: rgba(9,10,13,.86); box-shadow: 0 24px 70px rgba(0,0,0,.38); }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 67% 7%, rgba(238,61,111,.24), transparent 29%), linear-gradient(90deg, rgba(7,8,10,.96), rgba(7,8,10,.76) 48%, rgba(7,8,10,.92)); }
.stage-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px); background-size: 58px 58px; mask-image: radial-gradient(circle at 70% 35%, black, transparent 72%); }
.stage-glow { position: absolute; right: 7%; top: 8%; width: 340px; height: 340px; border: 1px solid rgba(49,199,189,.12); border-radius: 50%; box-shadow: 0 0 0 76px rgba(49,199,189,.025), 0 0 0 152px rgba(238,61,111,.018); }
.stage-content { position: relative; z-index: 1; min-height: calc(100vh - 108px); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; }

.section-header { display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.eyebrow { margin: 0 0 13px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .33em; }
.section-header h1 { margin: 0; font: 700 clamp(44px, 5vw, 72px)/.94 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.section-header h1 span { color: var(--magenta); }
.section-description { max-width: 670px; margin: 18px 0 0; color: #a1a1aa; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.6; }
.period-card { min-width: 180px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.055); backdrop-filter: blur(18px); text-align: right; }
.period-card > span { display: block; color: #71717a; font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.period-card strong { display: block; margin-top: 3px; font: 700 17px/1.2 "Space Grotesk", sans-serif; }
.period-card small { margin-top: 7px; display: flex; justify-content: flex-end; align-items: center; gap: 7px; color: #71717a; font-size: 10px; }

.dashboard-grid { margin-top: 34px; display: grid; grid-template-columns: minmax(360px, .68fr) minmax(0, 1.32fr); gap: 18px; flex: 1; }
.featured-card, .panel-card { z-index: 1; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.featured-card { min-height: 470px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 28px; box-shadow: 0 0 0 1px rgba(238,61,111,.35), 0 18px 60px rgba(238,61,111,.16); }
.featured-card:hover { transform: translateY(-4px); border-color: rgba(238,61,111,.52); box-shadow: 0 0 0 1px rgba(238,61,111,.5), 0 24px 70px rgba(238,61,111,.22); }
.featured-card > * { position: relative; z-index: 1; }
.featured-heading { display: flex; justify-content: space-between; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .28em; }
.launch-icon { color: var(--magenta-soft); font-size: 24px; line-height: .7; }
.card-number { color: var(--teal); font-size: 11px; font-weight: 800; }
.featured-copy h2 { margin: 12px 0 16px; font: 700 clamp(44px, 4vw, 62px)/.92 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.featured-copy p { max-width: 390px; margin: 0; color: #a1a1aa; font-size: 13px; line-height: 1.55; }
.chart-bars { height: 54px; display: flex; align-items: end; gap: 5px; }
.chart-bars i { flex: 1; border-radius: 4px 4px 0 0; background: rgba(255,255,255,.1); }
.chart-bars i:nth-child(1) { height: 22%; }
.chart-bars i:nth-child(2) { height: 38%; }
.chart-bars i:nth-child(3) { height: 31%; }
.chart-bars i:nth-child(4) { height: 54%; }
.chart-bars i:nth-child(5) { height: 72%; background: var(--teal); box-shadow: 0 0 20px rgba(49,199,189,.25); }
.chart-bars i:nth-child(6) { height: 100%; background: var(--magenta); box-shadow: 0 0 20px rgba(238,61,111,.25); }

.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel-card { min-height: 225px; padding: 22px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.panel-card:hover { transform: translateY(-4px); border-color: rgba(238,61,111,.4); box-shadow: 0 24px 70px rgba(0,0,0,.44), 0 12px 44px rgba(238,61,111,.1); }
.panel-card > * { position: relative; z-index: 1; }
.panel-top { display: flex; justify-content: space-between; align-items: start; }
.panel-top small { color: #71717a; font: 600 10px/1 "Space Grotesk", sans-serif; }
.panel-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #ff7ca0; background: rgba(238,61,111,.14); font: 700 18px/1 "Space Grotesk", sans-serif; }
.panel-icon.teal { color: #7ee8e1; background: rgba(49,199,189,.13); }
.panel-card h2 { margin: 0; font: 700 clamp(23px, 2vw, 31px)/1.03 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.panel-card p { margin: 9px 0 0; color: #85858f; font-size: 12px; line-height: 1.5; }
.open-label { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.07); color: #71717a; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.open-label b { color: white; font-size: 17px; transition: transform .25s ease; }
.panel-card:hover .open-label b { color: var(--magenta); transform: translateX(3px); }

.stage-footer { margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #52525b; font-size: 9px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.stage-footer b { color: #71717a; }
a:focus-visible { outline: 3px solid rgba(49,199,189,.5); outline-offset: 4px; }

@media (max-width: 980px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .featured-card { min-height: 380px; }
}
@media (max-width: 880px) {
  .app-shell { padding: 10px; }
  .control-bar { margin-bottom: 10px; }
  .stage { border-radius: 24px; }
  .section-header { align-items: start; }
  .period-card { display: none; }
}
@media (max-width: 720px) {
  .screen-status { display: none; }
}
@media (max-width: 620px) {
  .brand-copy small { font-size: 7px; }
  .control-bar { min-height: 58px; padding: 10px 12px; }
  .secure-badge { display: none; }
  .cockpit-button { padding: 10px 14px; font-size: 10px; }
  .stage-content { min-height: auto; padding: 24px 18px; }
  .section-header h1 { font-size: clamp(42px, 13vw, 58px); }
  .dashboard-grid { margin-top: 28px; }
  .featured-card { min-height: 340px; padding: 22px; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-card { min-height: 205px; }
  .stage-footer { gap: 16px; }
  .stage-footer span:last-child { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
