:root {
  --helf-green: rgb(7, 77, 49);
  --helf-white: rgb(255, 255, 255);
  --helf-mint: rgb(237, 247, 242);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--helf-green);
}

body {
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.coming-soon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--helf-green);
  color: var(--helf-white);
}

.ambient-glow {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(600px, 70vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(237, 247, 242, 0.035);
  filter: blur(80px);
  pointer-events: none;
}

.content {
  width: min(1280px, 100%);
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.logo {
  display: block;
  width: 420px;
  max-width: 100%;
  height: auto;
}

.copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 72px;
  line-height: 1.264;
  font-weight: 600;
  letter-spacing: -0.03em;
}

p {
  width: min(540px, 100%);
  color: var(--helf-mint);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

footer {
  width: 100%;
  color: rgba(237, 247, 242, 0.45);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  text-align: center;
}

/* Tablet */
@media (max-width: 1024px) {
  .coming-soon {
    padding: 64px 48px;
  }

  .content {
    gap: 48px;
  }

  .logo {
    width: 360px;
  }

  .copy {
    gap: 24px;
  }

  h1 {
    font-size: 56px;
  }

  p {
    font-size: 16px;
    width: min(520px, 100%);
  }

  footer {
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .coming-soon {
    padding: max(40px, env(safe-area-inset-top)) 24px max(40px, env(safe-area-inset-bottom));
  }

  .content {
    gap: 36px;
  }

  .logo {
    width: 210px;
  }

  .copy {
    gap: 18px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.2;
  }

  p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.6;
  }

  footer {
    font-size: 11px;
    line-height: 16px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .coming-soon {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .content {
    gap: 24px;
  }

  .logo {
    width: 180px;
  }

  h1 {
    font-size: 40px;
  }

  .copy {
    gap: 12px;
  }
}

/* Motion */
.logo { animation: logoReveal 900ms cubic-bezier(.22,1,.36,1) both, logoFloat 5s ease-in-out 1.1s infinite; }
.copy h1 { animation: riseIn 800ms cubic-bezier(.22,1,.36,1) 180ms both; }
.copy p { animation: riseIn 800ms cubic-bezier(.22,1,.36,1) 320ms both; }
footer { animation: fadeIn 900ms ease 600ms both; }
.ambient-glow { animation: glowPulse 6s ease-in-out infinite alternate; }

@keyframes logoReveal {
  from { opacity: 0; transform: translateY(-16px) scale(.96); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glowPulse {
  from { opacity: .55; transform: translate(-50%, -50%) scale(.88); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .logo, .copy h1, .copy p, footer, .ambient-glow { animation: none !important; }
}

/* Premium motion layer */
.visual-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-one {
  width: min(760px, 78vw);
  background: radial-gradient(circle, rgba(237,247,242,.11) 0%, rgba(237,247,242,.035) 38%, transparent 70%);
  filter: blur(34px);
  animation: premiumGlow 9s ease-in-out infinite alternate;
}

.glow-two {
  top: 38%;
  left: 58%;
  width: min(420px, 50vw);
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 68%);
  filter: blur(50px);
  animation: driftGlow 12s ease-in-out infinite alternate;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(237,247,242,.055);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 0 0 18px rgba(237,247,242,.65);
}
.orbit-one { width: min(760px, 74vw); aspect-ratio: 1; animation: orbitSpin 28s linear infinite; }
.orbit-one::after { top: 12%; left: 22%; }
.orbit-two { width: min(560px, 58vw); aspect-ratio: 1; border-style: dashed; opacity: .65; animation: orbitSpinReverse 34s linear infinite; }
.orbit-two::after { right: 8%; top: 48%; width: 3px; height: 3px; }

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(237,247,242,.72);
  box-shadow: 0 0 12px rgba(237,247,242,.5);
  opacity: 0;
  animation: sparkFloat 8s ease-in-out infinite;
}
.spark-1 { left: 14%; top: 26%; animation-delay: .4s; }
.spark-2 { left: 82%; top: 31%; animation-delay: 2.2s; }
.spark-3 { left: 22%; top: 72%; animation-delay: 4.1s; }
.spark-4 { left: 76%; top: 68%; animation-delay: 1.2s; }
.spark-5 { left: 60%; top: 18%; animation-delay: 5.4s; }
.spark-6 { left: 39%; top: 82%; animation-delay: 3.3s; }

/* Override the first version with a more cinematic entrance */
.logo {
  transform-origin: 50% 50%;
  animation: premiumLogoReveal 1.25s cubic-bezier(.16,1,.3,1) both,
             premiumLogoFloat 6s ease-in-out 1.4s infinite;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.06));
}
.copy h1 {
  animation: premiumTitleReveal 1.05s cubic-bezier(.16,1,.3,1) .22s both;
}
.copy p {
  animation: premiumTextReveal 1s cubic-bezier(.16,1,.3,1) .48s both;
}
footer { animation: premiumFade 1.1s ease .9s both; }

@keyframes premiumLogoReveal {
  0% { opacity: 0; transform: translateY(24px) scale(.86); filter: blur(16px) drop-shadow(0 0 0 transparent); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0) drop-shadow(0 12px 30px rgba(0,0,0,.06)); }
}
@keyframes premiumLogoFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.012); }
}
@keyframes premiumTitleReveal {
  0% { opacity: 0; transform: translateY(34px) scale(.975); filter: blur(10px); letter-spacing: -.055em; }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); letter-spacing: -.03em; }
}
@keyframes premiumTextReveal {
  0% { opacity: 0; transform: translateY(20px); filter: blur(7px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes premiumFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes premiumGlow {
  0% { opacity: .55; transform: translate(-52%,-49%) scale(.88); }
  50% { opacity: .92; }
  100% { opacity: .68; transform: translate(-48%,-51%) scale(1.13); }
}
@keyframes driftGlow {
  from { opacity: .25; transform: translate(-60%,-48%) scale(.85); }
  to { opacity: .65; transform: translate(-42%,-55%) scale(1.15); }
}
@keyframes orbitSpin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes orbitSpinReverse { from { transform: translate(-50%,-50%) rotate(360deg); } to { transform: translate(-50%,-50%) rotate(0deg); } }
@keyframes sparkFloat {
  0%,100% { opacity: 0; transform: translateY(14px) scale(.5); }
  28% { opacity: .55; }
  55% { opacity: .9; transform: translateY(-12px) scale(1); }
  78% { opacity: .25; }
}

@media (max-width: 600px) {
  .orbit-one { width: 145vw; }
  .orbit-two { width: 105vw; }
  .spark-1, .spark-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit, .spark, .glow-one, .glow-two { animation: none !important; }
}
