:root {
  --bg: #070912;
  --bg-2: #0a0d18;
  --panel: rgba(18, 22, 36, 0.66);
  --panel-2: rgba(24, 29, 46, 0.78);
  --line: rgba(232, 197, 131, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #ece9e1;
  --muted: #98a0b3;
  --gold: #e8c583;
  --gold-deep: #c79a52;
  --emerald: #45e09a;
  --violet: #8b7ff0;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  --title: "Cinzel", "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Consolas", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

/* ---- animated backdrop ---- */
#constellation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(139, 127, 240, 0.18), transparent 60%),
    radial-gradient(55% 45% at 86% 4%, rgba(232, 197, 131, 0.16), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(69, 224, 154, 0.10), transparent 65%),
    linear-gradient(180deg, #070912 0%, #090c16 55%, #07090f 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black 5%, transparent 75%);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

/* ---- topbar ---- */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(10, 13, 24, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  text-decoration: none;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(232, 197, 131, 0.35));
}

.brand__text {
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.36em;
  color: var(--text);
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
}

.topbar__nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 220ms ease;
}

.topbar__nav a:hover { color: var(--text); }
.topbar__nav a:hover::after { width: 100%; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(69, 224, 154, 0.32);
  border-radius: 999px;
  background: rgba(69, 224, 154, 0.08);
  color: #cdeede;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---- shared status dot ---- */
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-block;
}

.dot--live {
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(69, 224, 154, 0.55);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(69, 224, 154, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(69, 224, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 224, 154, 0); }
}

/* ---- type ---- */
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
}

h1, h2, h3 { font-family: var(--title); font-weight: 700; }

.grad {
  background: linear-gradient(120deg, var(--gold), #fff2d2 40%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- hero ---- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 30px;
  align-items: center;
  margin-top: 26px;
  padding: 56px 48px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(232, 197, 131, 0.06), transparent 45%),
    var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.hero__lead {
  max-width: 56ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 200ms ease, border-color 180ms ease, background 180ms ease;
}

.button--primary {
  color: #1a1306;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 14px 34px rgba(199, 154, 82, 0.28);
}

.button--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(199, 154, 82, 0.42); }

.button--ghost {
  color: var(--text);
  border-color: rgba(232, 197, 131, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.button--ghost:hover { transform: translateY(-2px); border-color: var(--gold); }

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 40px 0 0;
}

.hero__metrics div {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.hero__metrics dt {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--title);
  font-size: 1.7rem;
}

.hero__metrics dd { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

/* ---- console card ---- */
.console {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 9, 17, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

.console__dots { display: inline-flex; gap: 7px; }
.console__dots i { width: 11px; height: 11px; border-radius: 50%; background: #2c3142; }
.console__dots i:nth-child(1) { background: #e0654f; }
.console__dots i:nth-child(2) { background: #e0b14f; }
.console__dots i:nth-child(3) { background: #4fd07a; }

.console__title { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

.console__body { padding: 20px 18px 22px; font-family: var(--mono); font-size: 0.86rem; line-height: 1.9; }
.console__line { margin: 0; color: #c4ccdc; }
.cyan { color: #5fd0e0; }
.console__svc { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; color: var(--text); }
.console__ok { margin-left: auto; color: var(--emerald); font-size: 0.78rem; }
.console__meta { margin: 0 0 4px 19px; color: #69728a; font-size: 0.78rem; }
.console__meta b { color: var(--gold); font-weight: 600; }
.console__cursor { margin-top: 10px; }
.console__cursor::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 1.05em;
  margin-left: -4px;
  vertical-align: -2px;
  background: var(--gold);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---- bands ---- */
.band {
  margin-top: 26px;
  padding: 48px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.section-head { margin-bottom: 32px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.08;
}
.section-sub { margin: 14px 0 0; color: var(--muted); font-size: 1.02rem; max-width: 60ch; }

/* about */
.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
}
.about__text { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.85; }

.quote-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  background: rgba(232, 197, 131, 0.05);
}
.quote-card p {
  margin: 0;
  font-family: var(--title);
  font-size: 1.28rem;
  line-height: 1.4;
  color: var(--text);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.pillar {
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 200ms ease, border-color 200ms ease;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--line); }
.pillar__ico {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(232, 197, 131, 0.1);
  color: var(--gold);
  font-size: 1.4rem;
}
.pillar h3 { margin: 0 0 10px; font-size: 1.3rem; }
.pillar p { margin: 0; color: var(--muted); line-height: 1.7; }

/* status grid */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.svc-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(69, 224, 154, 0.05), transparent 30%),
    var(--panel-2);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), transparent 70%);
  opacity: 0.7;
}
.svc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(69, 224, 154, 0.4);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.svc-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.svc-card__idx { font-family: var(--mono); color: var(--gold); letter-spacing: 0.2em; font-size: 0.9rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.badge--live { border: 1px solid rgba(69, 224, 154, 0.34); background: rgba(69, 224, 154, 0.08); color: #bdeed8; }
.svc-card h3 { margin: 0 0 12px; font-size: 1.55rem; }
.svc-card > p { margin: 0 0 20px; color: var(--muted); line-height: 1.75; }
.svc-card__facts { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.svc-card__facts li { display: flex; justify-content: space-between; font-size: 0.84rem; }
.svc-card__facts span { color: var(--muted); font-family: var(--mono); }
.svc-card__facts b { color: var(--emerald); font-weight: 600; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step {
  padding: 26px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 200ms ease, border-color 200ms ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--line); }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--title);
  font-weight: 700;
  color: var(--gold);
}
.step h3 { margin: 0 0 10px; font-size: 1.18rem; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 0.94rem; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline__item {
  position: relative;
  padding: 22px 24px 22px 60px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 26px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-2);
}
.timeline__item.is-done::before { background: var(--emerald); border-color: var(--emerald); box-shadow: 0 0 12px rgba(69, 224, 154, 0.5); }
.timeline__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.is-done .timeline__tag { color: #bdeed8; background: rgba(69, 224, 154, 0.1); border: 1px solid rgba(69, 224, 154, 0.3); }
.is-next .timeline__tag { color: var(--gold); background: rgba(232, 197, 131, 0.08); border: 1px solid rgba(232, 197, 131, 0.3); }
.timeline__item h3 { margin: 0 0 6px; font-size: 1.25rem; }
.timeline__item p { margin: 0; color: var(--muted); line-height: 1.65; }

/* contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  align-items: center;
}
.contact__copy h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.contact__copy p { color: var(--muted); line-height: 1.8; margin: 0 0 24px; max-width: 48ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.panel__label {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}
.contact__panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-2);
}
.contact__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__panel li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.contact__panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__panel span { color: var(--muted); font-family: var(--mono); font-size: 0.84rem; }
.contact__panel b { color: var(--text); font-weight: 600; text-align: right; }

/* disclaimer + footer */
.disclaimer {
  margin: 26px 0 0;
  padding: 22px 26px;
  border: 1px dashed var(--line-soft);
  border-radius: 16px;
  color: #7e8699;
  font-size: 0.86rem;
  line-height: 1.7;
  text-align: center;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding: 24px 10px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.footer__brand { font-family: var(--title); letter-spacing: 0.3em; color: var(--gold); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dot--live, .console__cursor::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding: 44px 32px; }
  .about__layout, .contact { grid-template-columns: 1fr; }
  .pillars, .status-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-shell { width: min(100% - 22px, 1240px); }
  .topbar { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
  .topbar__nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 10px; }
  .status-pill { margin-left: auto; }
  .hero, .band { padding: 30px 20px; border-radius: 22px; }
  .hero__metrics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
