:root {
  --mouse-x: 50vw;
  --mouse-y: 40vh;
  --blue: #178cff;
  --cyan: #52d9ff;
  --ink: #020408;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; background: var(--ink); }

body {
  color: #f7f9ff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(10, 46, 91, .16), transparent 34%),
    linear-gradient(150deg, #05080d 0%, #010205 55%, #050810 100%);
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.particle-canvas, .cursor-glow, .ambient, .grid-plane {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle-canvas { z-index: -1; }

.cursor-glow {
  z-index: -1;
  background: radial-gradient(480px circle at var(--mouse-x) var(--mouse-y), rgba(21, 128, 255, .11), transparent 62%);
  transition: opacity .3s ease;
}

.ambient { z-index: -1; filter: blur(70px); opacity: .28; }
.ambient-one { width: 42vw; height: 42vw; left: -25vw; top: 12%; background: #064eae; animation: drift 12s ease-in-out infinite alternate; }
.ambient-two { width: 30vw; height: 30vw; right: -18vw; bottom: -6%; background: #0037a3; animation: drift 15s 2s ease-in-out infinite alternate-reverse; }

.grid-plane {
  z-index: -1;
  inset: auto -20% -37% -20%;
  height: 56%;
  opacity: .15;
  transform: perspective(550px) rotateX(64deg);
  transform-origin: center top;
  background-image: linear-gradient(rgba(42,137,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(42,137,255,.3) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent 88%);
}

.topbar {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.075);
  animation: fadeDown .9s ease both;
}

.topbar-mark {
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .18em;
  color: #dce6f6;
}

.status { display: flex; align-items: center; gap: 9px; color: #8794a7; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; }
.status i { width: 6px; height: 6px; border-radius: 99px; background: #2c9cff; box-shadow: 0 0 0 5px rgba(44,156,255,.08), 0 0 14px #2c9cff; animation: pulse 2s ease infinite; }

.hero {
  flex: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(50px, 8vh, 92px) 0 58px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-stage { position: relative; width: min(650px, 88vw); animation: reveal 1.15s .15s cubic-bezier(.16,1,.3,1) both; }
.brand-logo { position: relative; z-index: 2; display: block; width: 100%; height: auto; filter: contrast(1.05) drop-shadow(0 20px 28px rgba(0,0,0,.65)) drop-shadow(0 0 14px rgba(29,136,255,.18)); }
.logo-halo { position: absolute; left: 18%; right: 18%; top: 24%; bottom: 14%; background: rgba(25,122,255,.22); filter: blur(54px); animation: breathe 4s ease-in-out infinite; }
.scanner { position: absolute; z-index: 3; left: 12%; right: 12%; height: 1px; top: 26%; opacity: 0; background: linear-gradient(90deg, transparent, rgba(97,222,255,.75), transparent); box-shadow: 0 0 12px #27adff; animation: scan 5.5s 1.5s ease-in-out infinite; }

.eyebrow { margin: 10px 0 23px; display: flex; align-items: center; gap: 18px; color: #7e8ca0; font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; animation: rise .8s .55s ease both; }
.eyebrow span { display: block; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, #258fff); }
.eyebrow span:last-child { transform: rotate(180deg); }

h1 { margin: 0; max-width: 880px; color: #f1f4f9; font-size: clamp(40px, 5vw, 70px); line-height: 1.02; letter-spacing: -.052em; font-weight: 300; animation: rise .85s .68s ease both; }
h1 em { color: transparent; font-style: normal; font-weight: 650; background: linear-gradient(95deg, #e8eff9 8%, #7abfff 50%, #eef6ff 90%); background-clip: text; -webkit-background-clip: text; }

.intro { max-width: 580px; margin: 26px 0 31px; color: #7d899a; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.8; letter-spacing: .01em; animation: rise .85s .79s ease both; }

.launch-chip {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 20px 13px 14px;
  text-align: left;
  border: 1px solid rgba(72,156,255,.2);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(17,30,51,.7), rgba(7,12,21,.55));
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 15px 45px rgba(0,0,0,.3), 0 0 35px rgba(15,107,229,.06);
  backdrop-filter: blur(15px);
  animation: rise .85s .92s ease both;
}

.chip-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 3px; background: linear-gradient(145deg, rgba(38,147,255,.2), rgba(19,84,182,.08)); border: 1px solid rgba(72,168,255,.15); }
.chip-icon i { display: block; width: 3px; border-radius: 5px; background: #49b9ff; box-shadow: 0 0 7px rgba(73,185,255,.6); animation: levels 1.2s ease-in-out infinite alternate; }
.chip-icon i:nth-child(1) { height: 9px; }
.chip-icon i:nth-child(2) { height: 18px; animation-delay: -.5s; }
.chip-icon i:nth-child(3) { height: 13px; animation-delay: -.8s; }
.launch-chip small { display: block; margin-bottom: 3px; color: #607087; font-size: 8px; letter-spacing: .18em; }
.launch-chip strong { color: #cfd9e7; font-size: 12px; font-weight: 600; letter-spacing: .06em; }

footer { width: min(1200px, calc(100% - 48px)); margin: 0 auto; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 20px; color: #435066; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; animation: fadeUp 1s 1.2s ease both; }
.footer-line { width: 40px; height: 1px; background: #1a2a41; }
.email-link { color: #71839b; text-decoration: none; text-transform: lowercase; letter-spacing: .1em; transition: color .25s ease, text-shadow .25s ease; }
.email-link:hover, .email-link:focus-visible { color: #67c8ff; text-shadow: 0 0 16px rgba(70,177,255,.5); outline: none; }
.email-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

@keyframes reveal { from { opacity: 0; transform: scale(.92) translateY(15px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 0 9px rgba(44,156,255,0), 0 0 6px #2c9cff; } }
@keyframes breathe { 50% { opacity: .5; transform: scale(1.12); } }
@keyframes scan { 0%, 14% { opacity: 0; transform: translateY(0); } 25% { opacity: .9; } 58% { opacity: .45; } 72%, 100% { opacity: 0; transform: translateY(210px); } }
@keyframes levels { to { height: 6px; opacity: .45; } }
@keyframes drift { to { transform: translate(8vw, 5vh) scale(1.12); } }

@media (max-width: 640px) {
  .topbar { width: calc(100% - 28px); height: 68px; }
  .status { letter-spacing: .1em; font-size: 9px; }
  .hero { width: calc(100% - 28px); padding-top: 56px; }
  .logo-stage { width: min(510px, 100vw); margin-left: -7vw; margin-right: -7vw; }
  .eyebrow { margin-top: 4px; gap: 10px; letter-spacing: .18em; font-size: 8px; }
  .eyebrow span { width: 20px; }
  h1 { font-size: clamp(36px, 12vw, 51px); }
  .intro { max-width: 340px; line-height: 1.7; }
  footer { width: calc(100% - 28px); flex-wrap: wrap; gap: 8px; padding: 18px 0; line-height: 1.7; }
  .footer-line { display: none; }
}

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