/* EXEMATIC — Coming Soon */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #080808;
  --fg:       #f0f0f0;
  --muted:    #4a4a4a;
  --muted-2:  #888;
  --border:   rgba(255,255,255,0.07);
  --input-bg: rgba(255,255,255,0.04);
}

html, body { height: 100%; overflow: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.enter-1      { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s  forwards; }
.enter-2      { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.35s forwards; }
.enter-3      { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.48s forwards; }
.enter-4      { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.58s forwards; }
.enter-5      { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.70s forwards; }

/* Page fade-in on load (set by JS) */
html { opacity: 0; transition: opacity 0.35s ease; }

/* Canvas */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   BACKGROUND
   ============================================ */

/* Atmospheric orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}
.orb-1 {
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(60, 100, 200, 0.18) 0%, transparent 70%);
  top: -10%; left: -8%;
  animation: drift1 22s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(100, 60, 180, 0.14) 0%, transparent 70%);
  bottom: -10%; right: -5%;
  animation: drift2 28s ease-in-out infinite alternate;
}
.orb-3 {
  width: 350px; height: 300px;
  background: radial-gradient(ellipse, rgba(40, 80, 160, 0.1) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translateX(-50%);
  animation: drift3 18s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, 80px); }
}
@keyframes drift2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-50px, -60px); }
}
@keyframes drift3 {
  from { transform: translateX(-50%) translate(0, 0); }
  to   { transform: translateX(-50%) translate(30px, -40px); }
}

/* Grid */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* Noise */
.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.022;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.page {
  position: relative;
  z-index: 1;
  height: 100vh;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
}


/* ---- Main ---- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
  min-height: 0;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 28px;
}


/* Heading */
h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--fg);
  margin-bottom: 32px;
}

/* Per-character sweep animation */
@keyframes char-pulse {
  0%   { color: rgba(240,240,240,0.18); text-shadow: none; }
  8%   { color: #ffffff; text-shadow: 0 0 10px rgba(80,140,255,1), 0 0 24px rgba(80,140,255,0.7), 0 0 52px rgba(80,140,255,0.3); }
  22%  { color: rgba(240,240,240,0.18); text-shadow: none; }
  100% { color: rgba(240,240,240,0.18); text-shadow: none; }
}

.hero-word { display: block; }

.char {
  display: inline-block;
  animation: char-pulse 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.19s);
}

/* Subtitle */
.sub {
  font-size: 1rem;
  color: var(--muted-2);
  line-height: 1.75;
  margin-bottom: 80px;
}

/* ---- Socials ---- */
.socials {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.social-link {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted-2);
  text-decoration: none;
  background: var(--input-bg);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.social-link:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--fg);
  transform: translateY(-2px);
}

/* ---- Footer ---- */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
footer span, footer a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
footer a:hover { color: var(--muted-2); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  html, body { overflow: auto; }

  .page {
    height: auto;
    min-height: 100vh;
    padding: 0 24px;
  }

  main { padding: 52px 0 40px; }

  h1 { font-size: 2.8rem; letter-spacing: 0.12em; }

  form { flex-direction: column; }

  button[type="submit"] { width: 100%; justify-content: center; }

  footer { flex-direction: column; gap: 6px; text-align: center; }
}
