:root {
  --bg: #050b09;
  --panel: rgba(7, 18, 13, 0.72);
  --text: #f4f8f6;
  --muted: #9ba9a2;
  --green: #54ed9d;
  --green-2: #2fd982;
  --line: rgba(101, 242, 166, 0.18);
}

* { box-sizing: border-box; }

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::selection { background: rgba(84, 237, 157, .28); color: white; }

.page-shell {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    radial-gradient(circle at 50% 20%, rgba(45, 150, 96, .12), transparent 26%),
    linear-gradient(180deg, #07100c 0%, #040806 78%, #030604 100%);
}

.grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: .2;
  background-image:
    linear-gradient(rgba(92, 247, 168, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 247, 168, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 85%);
}

.noise {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .035;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.ambient {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  opacity: .16;
  animation: drift 12s ease-in-out infinite alternate;
}

.ambient-one { background: #2ae082; top: -18rem; left: -10rem; }
.ambient-two { background: #159860; right: -12rem; bottom: -17rem; animation-delay: -5s; }

.hero {
  width: min(100% - 40px, 880px);
  margin: auto;
  text-align: center;
  padding: clamp(48px, 7vh, 84px) 0 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visual {
  width: clamp(150px, 22vw, 210px);
  aspect-ratio: 1;
  margin-bottom: clamp(26px, 5vh, 44px);
  position: relative;
  display: grid;
  place-items: center;
  animation: enter .9s cubic-bezier(.2,.7,.2,1) both;
}

.core {
  width: 46%;
  aspect-ratio: 1;
  position: relative;
  z-index: 3;
  border-radius: 29%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(22,45,33,.95), rgba(6,14,10,.98));
  border: 1px solid rgba(95, 246, 167, .34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 10px rgba(54, 229, 140, .025),
    0 0 60px rgba(49, 229, 139, .2);
  transform: rotate(45deg);
  animation: coreFloat 5.2s ease-in-out infinite;
}

.core::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(83, 239, 157, .18);
  border-radius: 24%;
}

.core span {
  transform: rotate(-45deg);
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.06em;
  color: #bafbd7;
  text-shadow: 0 0 22px rgba(84, 237, 157, .48);
}

.core-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: rgba(66, 234, 147, .28);
  filter: blur(28px);
}

.orbital {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(78, 237, 155, .23);
}

.orbital-a { inset: 3%; animation: spin 18s linear infinite; border-style: dashed; }
.orbital-b { inset: 17%; animation: spinReverse 13s linear infinite; border-color: rgba(86, 240, 161, .35); }
.orbital-c { inset: 30%; border-color: rgba(105, 255, 179, .19); box-shadow: 0 0 28px rgba(69, 232, 147, .12); }

.pulse-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69f4ab;
  box-shadow: 0 0 14px rgba(105, 244, 171, .8);
  animation: blink 2.3s ease-in-out infinite;
}

.dot-one { top: 29%; left: 8%; }
.dot-two { right: 6%; top: 52%; animation-delay: -.9s; }
.dot-three { bottom: 4%; left: 47%; animation-delay: -1.5s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #6cf0a8;
  animation: enter .8s .08s cubic-bezier(.2,.7,.2,1) both;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(84, 237, 157, .7);
  animation: blink 2s infinite;
}

h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(42px, 7.1vw, 72px);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 800;
  text-wrap: balance;
  animation: enter .8s .14s cubic-bezier(.2,.7,.2,1) both;
}

.subheading {
  margin: 26px 0 0;
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(16px, 2.3vw, 20px);
  line-height: 1.72;
  text-wrap: balance;
  animation: enter .8s .2s cubic-bezier(.2,.7,.2,1) both;
}

.cta {
  margin-top: 34px;
  min-width: min(100%, 310px);
  min-height: 64px;
  padding: 16px 28px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #031009;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, #77f3b8, #3fe392 60%, #2fd982);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    0 16px 44px rgba(47, 217, 130, .18),
    0 0 0 1px rgba(88, 242, 164, .08);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  animation: enter .8s .26s cubic-bezier(.2,.7,.2,1) both;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  left: -60%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: shine 4.5s 1.3s ease-in-out infinite;
}

.cta:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 20px 54px rgba(47, 217, 130, .26); }
.cta:active { transform: translateY(0) scale(.99); }
.cta svg { width: 21px; height: 21px; transition: transform .22s ease; }
.cta:hover svg { transform: translateX(4px); }

.risk-note {
  margin: 16px 0 0;
  color: rgba(191, 204, 197, .48);
  font-size: 10px;
  line-height: 1.5;
  animation: enter .8s .31s cubic-bezier(.2,.7,.2,1) both;
}

footer {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.055);
  text-align: center;
  color: rgba(198, 209, 203, .38);
  font-size: 10px;
  letter-spacing: .03em;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes blink { 0%,100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes coreFloat { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translate(-4px, -4px); } }
@keyframes drift { from { transform: translate3d(-2%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.08); } }
@keyframes shine { 0%,68% { left: -60%; } 83%,100% { left: 125%; } }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .page-shell { min-height: 100svh; }
  .grid { background-size: 42px 42px; opacity: .15; }
  .hero { width: min(100% - 32px, 520px); padding: max(28px, env(safe-area-inset-top)) 0 26px; }
  .visual { width: 148px; margin-bottom: 27px; }
  .eyebrow { font-size: 10px; letter-spacing: .18em; margin-bottom: 16px; }
  h1 { font-size: clamp(38px, 12vw, 54px); line-height: 1.02; letter-spacing: -.055em; }
  .subheading { margin-top: 20px; font-size: 15px; line-height: 1.65; max-width: 92%; }
  .cta { width: 100%; min-width: 0; margin-top: 28px; min-height: 60px; border-radius: 17px; }
  .risk-note { font-size: 9px; }
  footer { width: min(100% - 32px, 520px); padding-top: 18px; }
}

@media (max-width: 380px) {
  .hero { width: min(100% - 26px, 520px); }
  .visual { width: 132px; margin-bottom: 22px; }
  h1 { font-size: 36px; }
  .subheading { font-size: 14px; max-width: 100%; }
  .cta { min-height: 56px; padding: 14px 20px; }
}

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