:root {
  --bg: #020714;
  --bg-soft: #07152f;
  --navy: #08285f;
  --blue: #1649ff;
  --electric: #2e72ff;
  --text: #f7f9ff;
  --muted: #aebbd3;
  --line: rgba(255, 255, 255, 0.10);
  --surface: rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(19, 71, 255, .16), transparent 31rem),
    radial-gradient(circle at 83% 73%, rgba(36, 105, 255, .13), transparent 34rem),
    linear-gradient(145deg, #020611 0%, #05122a 52%, #020714 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: -25%;
  background-image:
    linear-gradient(rgba(63, 115, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 115, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0 42%, transparent 74%);
  transform: perspective(700px) rotateX(63deg) translateY(34%);
  transform-origin: center bottom;
  animation: gridDrift 18s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(9px);
  opacity: .46;
}
.orb-a {
  width: 390px;
  height: 390px;
  left: -140px;
  top: 17%;
  background: radial-gradient(circle, rgba(25, 73, 255, .34), rgba(25, 73, 255, 0) 69%);
  animation: floatA 12s ease-in-out infinite alternate;
}
.orb-b {
  width: 520px;
  height: 520px;
  right: -210px;
  bottom: -95px;
  background: radial-gradient(circle, rgba(23, 93, 255, .25), rgba(23, 93, 255, 0) 70%);
  animation: floatB 15s ease-in-out infinite alternate;
}

.beam {
  position: absolute;
  width: 1px;
  height: 68vh;
  background: linear-gradient(transparent, rgba(63, 127, 255, .48), transparent);
  transform: rotate(36deg);
  box-shadow: 0 0 22px rgba(30, 91, 255, .55);
  opacity: .32;
}
.beam-a { left: 18%; top: -18%; animation: beam 8s ease-in-out infinite alternate; }
.beam-b { right: 20%; bottom: -18%; animation: beam 10s ease-in-out 1.6s infinite alternate-reverse; }

.ambient-mark {
  position: absolute;
  width: min(44vw, 680px);
  right: -7vw;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  opacity: .07;
  filter: drop-shadow(0 0 40px rgba(42, 91, 255, .42));
  animation: markFloat 11s ease-in-out infinite alternate;
}
.ambient-mark img { width: 100%; display: block; }

.page-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 52px 24px 32px;
}

.hero {
  width: min(100%, 910px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-plate {
  width: min(100%, 660px);
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,248,255,.93));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(70, 118, 255, .07) inset,
    0 0 54px rgba(32, 84, 255, .10);
  backdrop-filter: blur(16px);
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 155px;
  object-fit: contain;
}

.status {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(106, 148, 255, .20);
  border-radius: 999px;
  background: rgba(24, 72, 190, .12);
  color: #c9d7fb;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f82ff;
  box-shadow: 0 0 0 5px rgba(79, 130, 255, .13), 0 0 16px rgba(79, 130, 255, .7);
  animation: pulse 2.3s ease-in-out infinite;
}

h1 {
  max-width: 880px;
  margin: 24px 0 0;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 800;
  text-wrap: balance;
}

.lead {
  max-width: 710px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
}

.tagline {
  margin: 17px 0 0;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .035em;
  color: #dce5fa;
}
.tagline span { color: #6f98ff; }

.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.button {
  min-height: 52px;
  padding: 0 19px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button svg { width: 19px; height: 19px; fill: currentColor; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(104, 150, 255, .5); outline-offset: 3px; }
.button-primary {
  color: white;
  background: linear-gradient(135deg, #1645e7, #2868ff);
  border: 1px solid rgba(118, 154, 255, .45);
  box-shadow: 0 12px 34px rgba(15, 70, 238, .26);
}
.button-primary:hover { box-shadow: 0 16px 42px rgba(15, 70, 238, .36); }
.button-secondary {
  color: #e8eeff;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .13);
}
.button-secondary:hover { background: rgba(255, 255, 255, .095); border-color: rgba(255,255,255,.22); }

.contact-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: #8fa0c2;
  font-size: .86rem;
}
.contact-row a { text-decoration: none; }
.contact-row a:hover { color: white; }

footer {
  position: relative;
  z-index: 2;
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 18px 24px 24px;
  color: #7686a7;
  font-size: .78rem;
  text-align: center;
}

.reveal { opacity: 0; transform: translateY(14px); animation: reveal .75s cubic-bezier(.21,.85,.38,1) forwards; }
.reveal-1 { animation-delay: .06s; }
.reveal-2 { animation-delay: .17s; }
.reveal-3 { animation-delay: .27s; }
.reveal-4 { animation-delay: .38s; }
.reveal-5 { animation-delay: .49s; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { transform: scale(.72); opacity: .68; } }
@keyframes gridDrift { to { transform: perspective(700px) rotateX(63deg) translateY(34%) translateX(72px); } }
@keyframes markFloat { to { transform: translateY(-52%) rotate(-4deg) scale(1.025); } }
@keyframes floatA { to { transform: translate(80px, 55px) scale(1.12); } }
@keyframes floatB { to { transform: translate(-80px, -45px) scale(.92); } }
@keyframes beam { to { opacity: .55; transform: rotate(36deg) translateY(80px); } }

@media (max-width: 640px) {
  .page-shell { min-height: calc(100vh - 58px); padding: 32px 18px 22px; }
  .brand-plate { border-radius: 18px; padding: 10px 15px; }
  .brand-logo { max-height: 108px; }
  .status { margin-top: 22px; font-size: .7rem; }
  h1 { margin-top: 20px; }
  .lead { margin-top: 19px; line-height: 1.65; }
  .actions { width: 100%; margin-top: 25px; }
  .button { width: 100%; }
  .ambient-mark { width: 92vw; right: -42vw; top: 56%; }
  footer { min-height: 58px; padding-bottom: 18px; }
}

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