:root{
  color-scheme: dark;
  --bg:#090a16;
  --bg-deep:#05060f;
  --text:#eef1ff;
  --muted:#b5bcdf;
  --border:rgba(255,255,255,.14);
  --accent:#7c5cff;
  --accent-soft:#a28dff;
  --violet:#7c5cff;
  --violet-2:#5d3ef0;
  --cyan:#69d7ff;
  --shadow:0 30px 80px rgba(0,0,0,.46);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100%;
  overflow-x:hidden;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background-color:#090a16;
  background:
    radial-gradient(circle at 18% 18%, rgba(124,92,255,.20), transparent 25%),
    radial-gradient(circle at 82% 24%, rgba(105,215,255,.12), transparent 20%),
    radial-gradient(circle at 62% 86%, rgba(124,92,255,.18), transparent 24%),
    linear-gradient(180deg, #12142a 0%, var(--bg) 42%, var(--bg-deep) 100%);
  position:relative;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.025), transparent 28%, rgba(255,255,255,.012) 58%, transparent 100%);
  pointer-events:none;
  z-index:-4;
}

.mesh{
  position:fixed;
  border-radius:999px;
  filter:blur(88px);
  opacity:.62;
  pointer-events:none;
  z-index:-3;
  animation:floatOrb 16s ease-in-out infinite;
}
.mesh-a{
  width:360px;
  height:360px;
  left:-110px;
  top:4vh;
  background:radial-gradient(circle, rgba(124,92,255,.50), rgba(124,92,255,0));
}
.mesh-b{
  width:380px;
  height:380px;
  right:-120px;
  top:18vh;
  background:radial-gradient(circle, rgba(105,215,255,.28), rgba(105,215,255,0));
  animation-duration:19s;
}
.mesh-c{
  width:430px;
  height:430px;
  left:44%;
  bottom:-190px;
  background:radial-gradient(circle, rgba(93,62,240,.34), rgba(93,62,240,0));
  animation-duration:22s;
}

.noise-mask{
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size:36px 36px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.14));
}

.particles,
.glyphs{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  overflow:hidden;
}

.particle{
  position:absolute;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,255,255,.8) 0%, rgba(162,141,255,.22) 40%, transparent 72%);
  opacity:.20;
  animation:particleFloat linear infinite;
  will-change:transform, opacity;
}

.glyph{
  position:absolute;
  font-size:clamp(16px, 2vw, 24px);
  color:rgba(203,193,255,.18);
  text-shadow:0 0 20px rgba(124,92,255,.18);
  animation:glyphDrift linear infinite;
  user-select:none;
  will-change:transform, opacity;
}

.page-shell{
  min-height:100%;
  display:grid;
  place-items:center;
  padding:24px;
}

.hero-card{
  width:min(100%, 860px);
  padding:34px 32px 30px;
  border-radius:32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045)),
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  backdrop-filter:blur(24px) saturate(150%);
  -webkit-backdrop-filter:blur(24px) saturate(150%);
  position:relative;
  overflow:hidden;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.12), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,.04), transparent 18%);
  pointer-events:none;
}

.hero-card::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:31px;
  border:1px solid rgba(255,255,255,.04);
  pointer-events:none;
}

.hero-topline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  margin-bottom:20px;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}

.hero-copy h1{
  margin:0;
  font-size:clamp(34px, 6vw, 64px);
  line-height:1.01;
  letter-spacing:-.05em;
  max-width:11ch;
  text-wrap:balance;
}

.hero-copy p{
  margin:18px 0 0;
  color:var(--muted);
  font-size:clamp(16px, 2.45vw, 21px);
  line-height:1.68;
  max-width:38rem;
}

.hero-copy strong{
  color:var(--text);
  font-weight:900;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:15px 24px;
  border-radius:20px;
  color:#f7f4ff;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.01em;
  background:linear-gradient(135deg, var(--violet-2), var(--accent), var(--accent-soft));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 42px rgba(124,92,255,.34);
  position:relative;
  overflow:hidden;
  transition:transform .24s ease, filter .24s ease, box-shadow .24s ease;
}

.hero-btn::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:conic-gradient(from 180deg, rgba(255,255,255,0), rgba(255,255,255,.24), rgba(255,255,255,0) 35%);
  opacity:.65;
  mix-blend-mode:screen;
  animation:spinGlow 4.4s linear infinite;
}

.hero-btn::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-130%);
  background:linear-gradient(110deg, transparent 0%, rgba(255,255,255,.12) 42%, rgba(255,255,255,.33) 50%, rgba(255,255,255,.12) 58%, transparent 100%);
  transition:transform .9s ease;
}

.hero-btn:hover{
  transform:translateY(-2px) scale(1.01);
  box-shadow:0 24px 50px rgba(124,92,255,.42);
  filter:brightness(1.05);
}
.hero-btn:hover::after{transform:translateX(130%)}
.hero-btn:active{transform:translateY(0) scale(.985)}

.hero-note{
  margin-top:18px;
  color:rgba(238,241,255,.74);
  font-size:14px;
  line-height:1.55;
}

.site-footer{
  position:fixed;
  left:0;
  right:0;
  bottom:18px;
  display:flex;
  justify-content:center;
  padding:0 16px;
  color:rgba(238,241,255,.72);
  font-size:13px;
  text-align:center;
  letter-spacing:.02em;
  pointer-events:none;
}

.reveal{
  opacity:0;
  transform:translateY(16px) scale(.985);
  transition:opacity .65s ease, transform .65s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

@keyframes floatOrb{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-24px,0)}
}

@keyframes particleFloat{
  0%{transform:translate3d(0, 8vh, 0) scale(.7); opacity:0}
  10%{opacity:.22}
  85%{opacity:.12}
  100%{transform:translate3d(var(--drift-x), -110vh, 0) scale(1.08); opacity:0}
}

@keyframes glyphDrift{
  0%{transform:translate3d(0, 8vh, 0) rotate(0deg); opacity:0}
  12%{opacity:.18}
  88%{opacity:.1}
  100%{transform:translate3d(var(--drift-x), -112vh, 0) rotate(10deg); opacity:0}
}

@keyframes spinGlow{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

@media (max-width: 820px){
  .page-shell{padding:18px}
  .hero-card{
    padding:26px 18px 22px;
    border-radius:26px;
  }
  .hero-card::after{border-radius:25px}
  .hero-btn{
    width:100%;
  }
  .site-footer{
    bottom:14px;
    font-size:12px;
  }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
  .reveal{
    opacity:1;
    transform:none;
  }
}
