/* ============================================================
   Archygon — Coming Soon
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000000;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --grad: linear-gradient(90deg, #a99cff 0%, #7f8bf5 45%, #4f7cff 100%);
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  text-transform: uppercase;
  overflow-x: hidden;
}

/* Gradient text (SOON, Y, FUTURE, feature line 2, ANYWHERE) */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Page shell ── */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) 1.5rem clamp(2rem, 4vh, 3rem);
  text-align: center;
}

/* ============================================================
   Brand
   ============================================================ */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-lockup {
  margin: 0;
  line-height: 0;
  font-weight: 400; /* reset h1 defaults */
}

.brand-lockup img {
  display: block;
  width: clamp(240px, 34vw, 420px);
  height: auto;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.headline {
  font-size: clamp(1.7rem, 8.5vw, 5rem);
  font-weight: 200;
  letter-spacing: 0.2em;
  line-height: 1;
  text-indent: 0.2em;
}

.hero-sub {
  margin-top: 0.4rem;
  font-size: clamp(0.62rem, 1.5vw, 0.8rem);
  font-weight: 300;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--muted);
}

/* ── Light flare / planet horizon ── */
.flare {
  position: relative;
  width: 100%;
  height: clamp(130px, 22vh, 185px);
  margin: 0.25rem 0;
  overflow: hidden;               /* clip the huge disc to this band */
}

/* Atmospheric purple glow rising from the horizon */
.flare__glow {
  position: absolute;
  left: 50%;
  bottom: 34%;
  transform: translateX(-50%);
  width: min(1000px, 140vw);
  height: 130%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 50% 58% at 50% 100%,
    rgba(150, 130, 255, 0.42) 0%,
    rgba(110, 100, 230, 0.16) 34%,
    transparent 68%
  );
}

/* Planet limb: huge dark disc; only its shallow top arc shows */
.flare__planet {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translateX(-50%);
  width: min(1700px, 220vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--bg);
  box-shadow:
    0 0 2px 0 rgba(200, 195, 255, 0.5),
    0 -1px 22px 3px rgba(120, 110, 240, 0.28);
}

/* Bright horizon line, fading at both ends */
.flare__line {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -1px);
  width: min(70%, 720px);
  height: 2px;
  filter: blur(0.4px);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(150, 140, 255, 0.5) 26%,
    #ffffff 50%,
    rgba(150, 140, 255, 0.5) 74%,
    transparent 100%
  );
}

/* Central burst (sunrise) */
.flare__burst {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 10px 4px rgba(255, 255, 255, 0.95),
    0 0 30px 12px rgba(190, 180, 255, 0.9),
    0 0 80px 30px rgba(110, 100, 230, 0.5),
    0 0 150px 60px rgba(80, 90, 220, 0.28);
  animation: burst-pulse 5s ease-in-out infinite;
}

@keyframes burst-pulse {
  0%, 100% { opacity: 0.82; }
  50%      { opacity: 1; }
}

/* ============================================================
   Features
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 780px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(0.5rem, 2vw, 1.25rem);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.feature:last-child {
  border-right: none;
}

.feature__icon {
  width: clamp(42px, 6vw, 54px);
  height: clamp(42px, 6vw, 54px);
  margin-bottom: 0.9rem;
}

.feature__l1,
.feature__l2 {
  font-size: clamp(0.58rem, 1.35vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.7;
}

/* ============================================================
   Footer
   ============================================================ */
.footer p {
  font-size: clamp(0.6rem, 1.4vw, 0.78rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--muted);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 360px;
    row-gap: 2.25rem;
  }
  .feature {
    border-right: none;
  }
  .feature:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.09);
  }
  .feature:nth-child(-n + 2) {
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
}

@media (max-width: 480px) {
  .headline {
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }
  .features {
    grid-template-columns: 1fr;
    max-width: 220px;
    row-gap: 2rem;
  }
  .feature,
  .feature:nth-child(odd) {
    border: none !important;
    padding-bottom: 0;
  }
}
