/* ZelunoVemax visual system */
:root {
  --zeluno-night: #07111f;
  --zeluno-graphite: #101827;
  --zeluno-sand: #f2d99b;
  --zeluno-bronze: #c9873f;
  --zeluno-cyan: #20d4e8;
  --zeluno-panel: #151f31;
  --zeluno-muted: #9fb0c2;
  --zv-line: rgba(242, 217, 155, 0.16);
  --zv-ink: #f7f1df;
  --zv-danger: #ffb0a6;
  --zv-ok: #9cf0cb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(32, 212, 232, 0.08), transparent 34rem),
    radial-gradient(circle at top right, rgba(201, 135, 63, 0.13), transparent 24rem),
    var(--zeluno-night);
  color: var(--zv-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--zeluno-cyan);
}

a:hover,
a:focus {
  color: var(--zeluno-sand);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--zeluno-cyan);
  color: var(--zeluno-night);
}

/* Header and navigation */
.zv-topbar {
  background: rgba(7, 17, 31, 0.96);
  border-bottom: 1px solid rgba(242, 217, 155, 0.14);
  backdrop-filter: blur(12px);
}

.zv-logo {
  color: var(--zeluno-sand);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.zv-logo::before {
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  border: 3px solid var(--zeluno-bronze);
  border-radius: 0.45rem;
  background:
    linear-gradient(90deg, transparent 42%, var(--zeluno-cyan) 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, var(--zeluno-cyan) 42% 58%, transparent 58%);
  box-shadow: 0 0 0 4px rgba(32, 212, 232, 0.08);
}

.zv-navlink {
  color: rgba(247, 241, 223, 0.82);
  font-weight: 700;
  padding: 0.65rem 0.8rem !important;
  text-decoration: none;
}

.zv-navlink:hover,
.zv-navlink:focus,
.zv-navlink[aria-current="page"] {
  color: var(--zeluno-sand);
}

.navbar-toggler {
  border-color: rgba(242, 217, 155, 0.3);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(32, 212, 232, 0.22);
}

.zv-toggler-mark {
  display: block;
  width: 1.55rem;
  height: 1.1rem;
  background:
    linear-gradient(var(--zeluno-sand), var(--zeluno-sand)) top left / 100% 2px no-repeat,
    linear-gradient(var(--zeluno-sand), var(--zeluno-sand)) center left / 70% 2px no-repeat,
    linear-gradient(var(--zeluno-sand), var(--zeluno-sand)) bottom left / 100% 2px no-repeat;
}

/* Shared layout primitives */
.zv-page {
  min-height: 100vh;
}

.zv-main {
  overflow: hidden;
}

.zv-band {
  padding: 4rem 0;
}

.zv-band-tight {
  padding: 2.6rem 0;
}

.zv-kicker {
  color: var(--zeluno-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12rem;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.zv-headline {
  color: var(--zv-ink);
  font-size: clamp(2rem, 8vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 1rem;
}

.zv-page-title {
  color: var(--zv-ink);
  font-size: clamp(2rem, 7vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.zv-lead {
  color: rgba(247, 241, 223, 0.82);
  font-size: 1.08rem;
  max-width: 62rem;
}

.zv-copy {
  color: rgba(247, 241, 223, 0.78);
}

.zv-gridline {
  background:
    linear-gradient(90deg, rgba(242, 217, 155, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(242, 217, 155, 0.07) 1px, transparent 1px),
    var(--zeluno-graphite);
  background-size: 38px 38px;
}

.zv-link-arrow {
  color: var(--zeluno-sand);
  display: inline-flex;
  font-weight: 800;
  gap: 0.35rem;
  text-decoration: none;
}

.zv-link-arrow::after {
  content: ">";
  color: var(--zeluno-cyan);
}

.zv-action {
  align-items: center;
  background: var(--zeluno-cyan);
  border: 0;
  border-radius: 999px;
  color: #06101d;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
}

.zv-action:hover,
.zv-action:focus {
  background: var(--zeluno-sand);
  color: #06101d;
}

.zv-action-ghost {
  background: transparent;
  border: 1px solid rgba(242, 217, 155, 0.45);
  color: var(--zeluno-sand);
}

.zv-action-ghost:hover,
.zv-action-ghost:focus {
  background: rgba(242, 217, 155, 0.1);
  color: var(--zeluno-sand);
}

.zv-gate {
  padding: 5rem 0 3.5rem;
  position: relative;
}

.zv-gate::before {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(242, 217, 155, 0.04) 22px 23px),
    linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.82));
}

.zv-gate > .container {
  position: relative;
}

.zv-gate-visual {
  border: 1px solid rgba(242, 217, 155, 0.16);
  border-radius: 1.4rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.zv-gate-visual img {
  display: block;
  width: 100%;
}

.zv-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.3rem 0 1.8rem;
}

.console-note {
  border: 1px solid rgba(32, 212, 232, 0.3);
  border-radius: 999px;
  color: var(--zeluno-muted);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
}

.vemax-board {
  background: rgba(21, 31, 49, 0.86);
  border: 1px solid rgba(242, 217, 155, 0.15);
  border-radius: 0.9rem;
  height: 100%;
  padding: 1.25rem;
  position: relative;
}

.vemax-board::after {
  content: "";
  background: linear-gradient(90deg, var(--zeluno-bronze), var(--zeluno-cyan));
  border-radius: 999px;
  height: 0.22rem;
  inset: auto 1.25rem 1rem 1.25rem;
  opacity: 0.72;
  position: absolute;
}

.vemax-board h3,
.vemax-board h2,
.pixel-brief h3,
.score-vault h3,
.tool-stack h3,
.arena-pulse h3,
.reader-panel h3 {
  color: var(--zv-ink);
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 0.55rem;
}

.zv-stamp {
  color: var(--zeluno-cyan);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.cairo-feed {
  display: grid;
  gap: 1rem;
}

.cairo-lane {
  align-items: flex-start;
  background: rgba(7, 17, 31, 0.55);
  border: 1px solid rgba(242, 217, 155, 0.14);
  border-radius: 0.85rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto 1fr;
  padding: 1rem;
}

.cairo-badge {
  align-items: center;
  background: rgba(32, 212, 232, 0.12);
  border: 1px solid rgba(32, 212, 232, 0.35);
  border-radius: 0.7rem;
  color: var(--zeluno-cyan);
  display: inline-flex;
  font-weight: 900;
  height: 2.4rem;
  justify-content: center;
  width: 2.4rem;
}

.pixel-brief,
.score-vault,
.tool-stack,
.arena-pulse,
.reader-panel {
  background: rgba(21, 31, 49, 0.88);
  border: 1px solid rgba(242, 217, 155, 0.15);
  border-radius: 0.9rem;
  height: 100%;
  padding: 1.2rem;
}

.pixel-brief {
  border-top: 4px solid var(--zeluno-cyan);
}

.score-vault {
  border-top: 4px solid var(--zeluno-bronze);
}

.tool-stack {
  border-top: 4px solid var(--zeluno-sand);
}

.arena-pulse {
  border-top: 4px solid #78e0b7;
}

.reader-panel {
  border-top: 4px solid #98a6ff;
}

.zv-meta {
  color: var(--zeluno-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.zv-score {
  align-items: center;
  background: linear-gradient(135deg, rgba(32, 212, 232, 0.18), rgba(201, 135, 63, 0.18));
  border: 1px solid rgba(32, 212, 232, 0.26);
  border-radius: 0.9rem;
  color: var(--zeluno-sand);
  display: inline-flex;
  font-size: 2.35rem;
  font-weight: 900;
  justify-content: center;
  min-width: 5.8rem;
  padding: 0.25rem 0.7rem;
}

.zv-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zv-mini-list li {
  border-top: 1px solid rgba(242, 217, 155, 0.12);
  color: rgba(247, 241, 223, 0.78);
  padding: 0.62rem 0;
}

.zv-mini-list li:first-child {
  border-top: 0;
}

/* Filters and local tools */
.briefing-switchboard,
.cookie-switchboard {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.briefing-chip {
  background: rgba(21, 31, 49, 0.92);
  border: 1px solid rgba(242, 217, 155, 0.22);
  border-radius: 999px;
  color: var(--zv-ink);
  font-weight: 800;
  padding: 0.62rem 0.9rem;
}

.briefing-chip[aria-pressed="true"],
.briefing-chip:hover,
.briefing-chip:focus {
  background: var(--zeluno-sand);
  color: var(--zeluno-night);
}

.tool-question {
  background: rgba(21, 31, 49, 0.92);
  border: 1px solid rgba(242, 217, 155, 0.16);
  border-radius: 0.9rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.tool-query {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--zv-ink);
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  padding: 1rem;
  text-align: left;
  width: 100%;
}

.tool-query::after {
  content: "+";
  color: var(--zeluno-cyan);
  font-size: 1.4rem;
  line-height: 1;
}

.tool-query[aria-expanded="true"]::after {
  content: "-";
}

.tool-answer {
  color: rgba(247, 241, 223, 0.77);
  padding: 0 1rem 1rem;
}

/* Forms */
.message-rig {
  background: rgba(21, 31, 49, 0.9);
  border: 1px solid rgba(242, 217, 155, 0.16);
  border-radius: 1rem;
  padding: 1.2rem;
}

.message-rig label {
  color: var(--zeluno-sand);
  font-weight: 800;
}

.message-rig .form-control {
  background: #0b1422;
  border-color: rgba(242, 217, 155, 0.22);
  color: var(--zv-ink);
}

.message-rig .form-control:focus {
  background: #0b1422;
  border-color: var(--zeluno-cyan);
  box-shadow: 0 0 0 0.2rem rgba(32, 212, 232, 0.18);
  color: var(--zv-ink);
}

.field-alert {
  color: var(--zv-danger);
  display: block;
  font-size: 0.88rem;
  min-height: 1.25rem;
  padding-top: 0.25rem;
}

.message-success {
  background: rgba(156, 240, 203, 0.12);
  border: 1px solid rgba(156, 240, 203, 0.35);
  border-radius: 0.8rem;
  color: var(--zv-ok);
  font-weight: 800;
  margin-top: 1rem;
  padding: 0.9rem;
}

/* Cookie notice */
.cookie-dock {
  background: rgba(7, 17, 31, 0.98);
  border: 1px solid rgba(242, 217, 155, 0.2);
  border-radius: 1rem;
  bottom: 1rem;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  left: 1rem;
  max-width: 44rem;
  padding: 1rem;
  position: fixed;
  right: 1rem;
  z-index: 1080;
}

.cookie-dock[hidden],
.cookie-desk[hidden],
.tool-answer[hidden],
.message-success[hidden] {
  display: none;
}

.cookie-desk {
  background: rgba(21, 31, 49, 0.92);
  border: 1px solid rgba(242, 217, 155, 0.14);
  border-radius: 0.8rem;
  margin-top: 0.9rem;
  padding: 0.9rem;
}

.cookie-toggle {
  align-items: center;
  border-top: 1px solid rgba(242, 217, 155, 0.12);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.cookie-toggle:first-child {
  border-top: 0;
}

.cookie-toggle input {
  accent-color: var(--zeluno-cyan);
  height: 1.1rem;
  width: 1.1rem;
}

/* Footer */
.zv-footer {
  background: #060e19;
  border-top: 1px solid rgba(242, 217, 155, 0.14);
  padding: 3rem 0 2rem;
}

.zv-footer h2,
.zv-footer h3 {
  color: var(--zeluno-sand);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.9rem;
}

.zv-footer a {
  color: rgba(247, 241, 223, 0.76);
  display: inline-block;
  margin-bottom: 0.45rem;
  text-decoration: none;
}

.zv-footer a:hover,
.zv-footer a:focus {
  color: var(--zeluno-cyan);
}

.zv-disclaimer {
  border-top: 1px solid rgba(242, 217, 155, 0.12);
  color: var(--zeluno-muted);
  font-size: 0.9rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
}

/* Page accents */
.desk-rhythm {
  border-left: 4px solid var(--zeluno-cyan);
  padding-left: 1rem;
}

.terms-slate h2,
.privacy-ledger h2,
.cookie-ledger h2 {
  color: var(--zeluno-sand);
  font-size: 1.35rem;
  font-weight: 900;
  margin-top: 1.8rem;
}

.arena-calendar-row {
  border-bottom: 1px solid rgba(242, 217, 155, 0.13);
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 0;
}

.arena-calendar-row:last-child {
  border-bottom: 0;
}

@media (min-width: 576px) {
  .message-rig {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .zv-band {
    padding: 5rem 0;
  }

  .zv-gate {
    padding: 6rem 0 4.5rem;
  }

  .arena-calendar-row {
    align-items: center;
    grid-template-columns: 9rem 1fr 10rem;
  }
}

@media (min-width: 992px) {
  .zv-navlink {
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }

  .cookie-dock {
    left: auto;
    width: 42rem;
  }
}
