:root {
  --navy: #02050d;
  --blue: #3a6fc4;
  --cyan: #12d3dc;
  --ice: #e8fbfc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", Arial, system-ui, sans-serif;
  color: #f5f5f5;
  background: linear-gradient(160deg, var(--navy) 0%, #07162e 45%, #0b3a5c 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* animated particle wave (canvas injected by wave-background.js) */
#wave-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 24px;
}

/* dark feathered box behind content so text stays readable over particles */
.panel {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 5vw, 56px) clamp(20px, 6vw, 72px);
  max-width: 100%;
}
.panel::before {
  content: "";
  position: absolute;
  inset: -60px -90px;
  z-index: -1;
  /* pure radial fade: no edge, alpha reaches 0 exactly at the border */
  background: radial-gradient(
    ellipse closest-side,
    rgba(2, 5, 13, .92) 0%,
    rgba(2, 5, 13, .88) 45%,
    rgba(2, 5, 13, .6) 70%,
    rgba(2, 5, 13, .22) 88%,
    rgba(2, 5, 13, 0) 100%
  );
}

/* crop square logo to content; screen blend hides its dark bg */
.logo {
  position: relative;
  width: min(560px, 90vw);
  aspect-ratio: 1340 / 750;
  overflow: hidden;
  margin-bottom: clamp(32px, 6vw, 64px);
  animation: rise .9s ease both;
}
.logo img {
  position: absolute;
  width: 149.25%;
  left: -22.39%;
  top: -78.67%;
  mix-blend-mode: screen;
}

.tagline {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  animation: rise .9s .15s ease both;
}
.tagline span {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--ice));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product {
  margin-top: 12px;
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, .85);
  animation: rise .9s .25s ease both;
}

.pillars {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  animation: rise .9s .35s ease both;
}
.pillars li {
  padding: 8px 20px;
  font-size: .95rem;
  letter-spacing: .04em;
  border: 1px solid rgba(18, 211, 220, .4);
  border-radius: 999px;
  background: rgba(18, 211, 220, .08);
  backdrop-filter: blur(6px);
}

.stay-tuned {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 1rem;
  color: rgba(245, 245, 245, .75);
  animation: rise .9s .4s ease both;
}
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(18, 211, 220, .6);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  to { box-shadow: 0 0 0 12px rgba(18, 211, 220, 0); }
}

.cta {
  margin-top: 28px;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(18, 211, 220, .3);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: rise .9s .45s ease both;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.actions .cta { margin-top: 0; }
.cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ice);
  background: rgba(18, 211, 220, .08);
  border: 1px solid rgba(18, 211, 220, .5);
  box-shadow: none;
}
.cta-outline:hover { background: rgba(18, 211, 220, .18); box-shadow: 0 10px 30px rgba(18, 211, 220, .25); }
.cta:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(18, 211, 220, .5); }
.cta:active { transform: translateY(0); }
.cta:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }

footer {
  position: relative;
  z-index: 1;
  padding: 20px 16px;
  text-align: center;
  font-size: .85rem;
  color: rgba(245, 245, 245, .45);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
