/* Bloom Mode — Coming Soon
   Static, lightweight and Cloudflare Pages friendly.
*/

:root {
  --bg: #08080b;
  --surface: rgba(255,255,255,.045);
  --text: #f5f3fa;
  --muted: #9d99a8;
  --line: rgba(255,255,255,.11);
  --purple: #8750ff;
  --purple-soft: #bca4ff;
  --blue: #91b8ff;
  --pink: #d891ff;
}

* { box-sizing: border-box; }

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

html { scroll-behavior: smooth; }

body {
  min-height: 100svh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 65% 45%, #000 0%, transparent 72%);
  opacity: .55;
}

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

.glow {
  position: fixed;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: .18;
}

.glow-a {
  background: var(--purple);
  right: -18vw;
  top: 0;
}

.glow-b {
  background: var(--blue);
  left: -28vw;
  bottom: -25vw;
  opacity: .08;
}

.topbar,
.footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px clamp(22px, 4vw, 64px);
}

.topbar {
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.brand-text strong {
  font-size: 13px;
  letter-spacing: .2em;
  font-weight: 750;
}

.brand-text small {
  font-size: 8px;
  letter-spacing: .18em;
  color: var(--muted);
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-block;
  transform: rotate(45deg);
}

.brand-mark i,
.brand-mark b {
  position: absolute;
  display: block;
}

.brand-mark i {
  width: 12px;
  height: 19px;
  border-radius: 12px 12px 5px 12px;
  background: linear-gradient(145deg, var(--blue), var(--purple));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.brand-mark i:nth-child(1) { left: 2px; top: 0; transform: rotate(-18deg); }
.brand-mark i:nth-child(2) { right: 0; top: 2px; transform: rotate(72deg); }
.brand-mark i:nth-child(3) { right: 2px; bottom: 0; transform: rotate(162deg); }
.brand-mark i:nth-child(4) { left: 0; bottom: 2px; transform: rotate(252deg); }

.brand-mark b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 12px;
  top: 12px;
  background: #fff;
  box-shadow: 0 0 20px rgba(188,164,255,.95);
}

.contact-small {
  text-decoration: none;
  color: var(--text);
  font-size: 10px;
  letter-spacing: .18em;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: .25s ease;
}

.contact-small:hover {
  border-color: rgba(188,164,255,.55);
  background: rgba(135,80,255,.08);
}

.hero {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(42px, 7vh, 90px) clamp(22px, 4vw, 64px);
  gap: clamp(36px, 5vw, 90px);
}

.copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .22em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--purple-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(135,80,255,.08), 0 0 18px rgba(135,80,255,.7);
  animation: pulse 2.2s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 132px);
  line-height: .82;
  letter-spacing: -.065em;
  font-weight: 650;
  max-width: 920px;
}

.gradient-word {
  display: block;
  background: linear-gradient(95deg, var(--purple-soft) 0%, var(--purple) 45%, var(--blue) 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}

.lead {
  max-width: 600px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.65;
}

.lead strong {
  color: #dcd8e8;
  font-weight: 500;
}

.actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 19px;
  border-radius: 999px;
  background: var(--text);
  color: #0a090d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(145,184,255,.12);
}

.primary span {
  font-size: 15px;
}

.launch {
  color: #777481;
  font-size: 9px;
  letter-spacing: .17em;
}

.visual {
  position: relative;
  min-height: min(68vh, 690px);
  display: grid;
  place-items: center;
  perspective: 900px;
}

.bloom {
  --rx: 0deg;
  --ry: 0deg;
  width: clamp(250px, 31vw, 430px);
  aspect-ratio: 1;
  position: relative;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  filter: drop-shadow(0 45px 75px rgba(0,0,0,.5));
  transition: transform .12s linear;
}

.petal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 35%;
  height: 48%;
  transform-origin: 50% 100%;
  border-radius: 54% 54% 28% 60%;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.55), transparent 22%),
    linear-gradient(155deg, rgba(145,184,255,.96), rgba(135,80,255,.88) 48%, rgba(74,40,139,.92));
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    inset -18px -24px 35px rgba(36,17,74,.35),
    inset 8px 8px 20px rgba(255,255,255,.08),
    0 24px 45px rgba(93,49,183,.22);
  backdrop-filter: blur(4px);
}

.p1 { transform: translate(-50%, -100%) rotate(0deg) translateY(-8%) rotateX(10deg); }
.p2 { transform: translate(-50%, -100%) rotate(90deg) translateY(-8%) rotateX(10deg); }
.p3 { transform: translate(-50%, -100%) rotate(180deg) translateY(-8%) rotateX(10deg); }
.p4 { transform: translate(-50%, -100%) rotate(270deg) translateY(-8%) rotateX(10deg); }

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(25px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, #fff 0%, #d8ceff 13%, #8b5cff 44%, #30146a 100%);
  box-shadow:
    0 0 30px rgba(188,164,255,.85),
    0 0 85px rgba(135,80,255,.42);
  animation: corePulse 3.2s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-12deg);
}

.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-soft);
  box-shadow: 0 0 18px rgba(188,164,255,.85);
  left: 50%;
  top: -4px;
  animation: orbitDot 9s linear infinite;
  transform-origin: 0 calc(var(--orbit-size) / 2);
}

.orbit-outer {
  --orbit-size: clamp(410px, 43vw, 610px);
  width: var(--orbit-size);
  height: var(--orbit-size);
  opacity: .7;
}

.orbit-inner {
  width: clamp(330px, 35vw, 500px);
  height: clamp(330px, 35vw, 500px);
  opacity: .35;
  transform: rotateX(72deg) rotateZ(22deg);
}

.floating-label {
  position: absolute;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #85818e;
  background: rgba(8,8,11,.45);
  backdrop-filter: blur(10px);
  font-size: 8px;
  letter-spacing: .18em;
  animation: float 5s ease-in-out infinite;
}

.label-a { left: 8%; top: 28%; animation-delay: -1s; }
.label-b { right: 3%; top: 42%; animation-delay: -2.4s; }
.label-c { left: 18%; bottom: 17%; animation-delay: -3.3s; }

.footer {
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .16em;
  color: #6f6b78;
}

.footer a {
  color: #a8a3b2;
  text-decoration: none;
}

@keyframes pulse {
  0%,100% { opacity: .45; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes corePulse {
  0%,100% { transform: translate(-50%, -50%) translateZ(25px) scale(.94); }
  50% { transform: translate(-50%, -50%) translateZ(28px) scale(1.05); }
}

@keyframes float {
  0%,100% { transform: translateY(-5px); }
  50% { transform: translateY(7px); }
}

@keyframes orbitDot {
  from { transform: rotate(0deg) translateY(calc(var(--orbit-size) / 2)) rotate(0deg); }
  to { transform: rotate(360deg) translateY(calc(var(--orbit-size) / 2)) rotate(-360deg); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .copy {
    max-width: 720px;
  }

  h1 {
    font-size: clamp(58px, 15vw, 105px);
  }

  .visual {
    min-height: 500px;
    margin-top: -10px;
  }

  .bloom {
    width: min(70vw, 360px);
  }

  .orbit-outer {
    --orbit-size: min(94vw, 520px);
  }

  .orbit-inner {
    width: min(76vw, 420px);
    height: min(76vw, 420px);
  }
}

@media (max-width: 560px) {
  .topbar,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-text small {
    display: none;
  }

  .contact-small {
    padding: 10px 12px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 82px);
  }

  .lead {
    margin-top: 26px;
  }

  .visual {
    min-height: 390px;
  }

  .floating-label {
    display: none;
  }

  .footer span:last-child {
    display: none;
  }
}

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