@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #f4f7ff;
  --muted: #9aa9c7;
  --orange: #ff6b00;
  --orange-bright: #ff8a1f;
  --line: rgba(124, 161, 230, 0.22);
  --panel: rgba(8, 27, 69, 0.76);
  --bg: #050d22;
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: 'Space Grotesk', sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: '';
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 86, 184, 0.28), transparent 28rem),
    radial-gradient(circle at 90% 78%, rgba(255, 107, 0, 0.13), transparent 26rem),
    linear-gradient(135deg, #050d22 0%, #071b45 48%, #040a18 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: '';
  opacity: 0.22;
  background-image: linear-gradient(rgba(124, 161, 230, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 161, 230, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.shell {
  width: min(1160px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  animation: rise 700ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-logo { width: 184px; height: auto; display: block; }

.header-note {
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
  padding: 72px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  color: var(--orange-bright);
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: rise 700ms 100ms ease both;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
  animation: pulse 2s infinite;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #f1f8f3;
  font-size: clamp(3.7rem, 8vw, 7.3rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
  animation: rise 700ms 180ms ease both;
}

h1 em {
  color: var(--orange-bright);
  font-style: normal;
}

.intro {
  max-width: 510px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  animation: rise 700ms 260ms ease both;
}

.contact-actions {
  max-width: 510px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 35px;
  animation: rise 700ms 340ms ease both;
}

.contact-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: rgba(2, 12, 9, 0.5);
  font: 600 0.88rem 'Space Grotesk', sans-serif;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-button:hover { border-color: var(--orange); background: rgba(255, 107, 0, 0.12); transform: translateY(-2px); }
.contact-button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.contact-button.primary { border-color: var(--orange); color: #06110d; background: var(--orange); }
.contact-button.primary:hover { background: var(--orange-bright); }

button {
  border: 0;
  border-radius: 2px;
  padding: 0 22px;
  cursor: pointer;
  color: #06110d;
  background: var(--orange);
  font: 600 0.88rem 'Space Grotesk', sans-serif;
  transition: background 180ms ease, transform 180ms ease;
}

button:hover { background: #d0ffe0; transform: translateY(-2px); }
button:focus-visible { outline: 2px solid white; outline-offset: 3px; }

.form-message {
  min-height: 22px;
  margin: 11px 0 0;
  color: var(--orange-bright);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
}

.status-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  animation: reveal 800ms 300ms ease both;
}

.status-panel::before {
  position: absolute;
  top: -1px;
  left: 28px;
  width: 78px;
  height: 2px;
  content: '';
  background: var(--orange);
}

.panel-top, .metric { display: flex; justify-content: space-between; align-items: center; }
.panel-top { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.panel-label, .metric-label { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.secure { color: var(--orange-bright); font-family: 'DM Mono', monospace; font-size: 0.68rem; }
.metric { padding: 20px 0; border-bottom: 1px solid var(--line); }
.metric:last-child { padding-bottom: 0; border-bottom: 0; }
.metric-value { color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.metric-value.green { color: var(--orange-bright); }
.meter { width: 100px; height: 5px; overflow: hidden; background: rgba(124, 161, 230, 0.18); }
.meter span { display: block; width: 68%; height: 100%; background: var(--orange); animation: load 1.4s 700ms ease both; transform-origin: left; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: #60776e;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .shell { width: min(100% - 36px, 560px); }
  header { padding: 22px 0; }
  .header-note { display: none; }
  main { grid-template-columns: 1fr; gap: 52px; padding: 64px 0 70px; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.7rem); }
  .intro { font-size: 1rem; }
  .contact-actions { flex-direction: column; }
  .contact-button { width: 100%; }
  footer { flex-direction: column; gap: 8px; }
}
