/* Fire-IT holding pages -- shared by coming-soon/ and parked/.
   Colours are the LIVE fire-it.co.za dark theme (not nextmain/dist/site-theme.css, which is stale). */
:root {
  --bg-top: #0b3058;
  --bg-1: #082a4d;
  --bg-2: #071d33;
  --bg-bottom: #070d11;
  --blue: #1f7aeb;
  --blue-2: #2b9be6;
  --blue-dark: #1560c4;
  --teal: #62ded2;
  --ice: #bfe9f2;
  --ink: #eaeef6;
  --ink-dim: #c5cedb;
  --ink-faint: #aab5c4;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  background: radial-gradient(ellipse 110% 75% at 50% 0%, var(--bg-top) 0%, var(--bg-1) 22%, var(--bg-2) 55%, var(--bg-bottom) 100%) fixed;
  background-color: var(--bg-bottom);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: var(--teal); }
a:hover { color: #9be9e1; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- background ---- */
.top-glow {
  position: fixed; top: -260px; left: 50%; width: 1100px; height: 620px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(31,122,235,.22) 0%, rgba(31,122,235,0) 70%);
  filter: blur(30px); pointer-events: none;
  animation: glow 14s ease-in-out infinite;
}
#network { position: fixed; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* ---- layout ---- */
main {
  position: relative; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 16px 64px;
}
.card {
  position: relative; width: 100%; max-width: 820px;
  border-radius: 28px; padding: 1px; overflow: hidden;
}
.card-edge {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(43,155,230,.6) 0%, rgba(255,255,255,.08) 32%, rgba(255,255,255,.05) 68%, rgba(98,222,210,.5) 100%);
  animation: breathe 7s ease-in-out infinite;
}
.card-body {
  position: relative; border-radius: 27px;
  background: linear-gradient(145deg, rgba(10,24,44,.86), rgba(5,16,30,.80));
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(31,122,235,.10);
  padding: 48px 48px 44px;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.logo { height: 96px; width: auto; max-width: 100%; }

.domain {
  margin: 0; font-size: 76px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  color: #fff; overflow-wrap: anywhere;
  align-self: stretch; /* fixed width, so holding.js can tell when the name overflows and shrink it */
}
.shine {
  background: linear-gradient(110deg, #fff 0%, #fff 40%, var(--blue-2) 46%, var(--ice) 50%, var(--teal) 54%, #fff 60%, #fff 100%);
  background-size: 260% 100%; background-position: 130% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(43,155,230,.25));
  animation: shine 14s cubic-bezier(.45,0,.25,1) 1.2s infinite;
}

.headline { margin: 0; font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.word { display: inline-block; opacity: 0; animation: word 1s var(--ease) forwards; }
.word:nth-child(1) { animation-delay: .8s; }
.word:nth-child(2) { animation-delay: .95s; }
.word:nth-child(3) { animation-delay: 1.1s; }
.word:nth-child(4) { animation-delay: 1.25s; }
.word:nth-child(5) { animation-delay: 1.4s; }
.accent { position: relative; }
.grad {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 35%, var(--teal) 70%, var(--blue-2) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad 10s ease-in-out infinite;
}
.underline {
  position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform-origin: 0 50%; transform: scaleX(0);
  animation: underline 1.3s var(--ease) 1.9s forwards;
}

.typer {
  margin: 0; max-width: 620px; min-height: 64px;
  display: flex; align-items: flex-start; justify-content: center;
  font-family: var(--mono); font-size: 18px; line-height: 1.7; color: var(--ink-dim);
}
.prompt { color: var(--blue-2); }
.caret {
  display: inline-block; width: 10px; height: 1.15em; margin-left: 3px; vertical-align: -.2em; border-radius: 1px;
  background: var(--teal); box-shadow: 0 0 12px rgba(98,222,210,.7);
  animation: blink 1s steps(1) infinite;
}

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease, background-color .3s ease;
}
.btn-primary { background: linear-gradient(90deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: 0 0 25px rgba(31,122,235,.3); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 35px rgba(31,122,235,.55); }
.btn-ghost { border: 1px solid rgba(255,255,255,.18); background-color: rgba(4,18,31,.5); color: var(--ink); }
.btn-ghost:hover { color: var(--ink); border-color: rgba(98,222,210,.6); background-color: rgba(98,222,210,.06); }

.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pills li {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(4,18,31,.6); border: 1px solid rgba(255,255,255,.14);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .8s ease forwards; }
.pills li:nth-child(1) .check path { animation-delay: 2.2s; }
.pills li:nth-child(2) .check path { animation-delay: 2.4s; }
.pills li:nth-child(3) .check path { animation-delay: 2.6s; }

footer { position: relative; text-align: center; padding: 0 16px 24px; font-size: 13px; color: var(--ink-faint); }

.rise { opacity: 0; animation: rise 1.1s var(--ease) forwards; }
.d1 { animation-delay: .15s; }
.d2 { animation-delay: .35s; }
.d4 { animation-delay: 1.7s; }
.d5 { animation-delay: 1.9s; }

/* ---- motion ---- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes word { from { opacity: 0; transform: translateY(.4em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grad { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes shine { 0% { background-position: 130% 50%; } 60%, 100% { background-position: -30% 50%; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glow { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
@keyframes breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (max-width: 720px) {
  main { padding: 32px 12px 40px; }
  .card-body { padding: 36px 22px 32px; gap: 22px; }
  .logo { height: 64px; }
  .domain { font-size: 44px; }
  .headline { font-size: 26px; }
  .typer { font-size: 15px; min-height: 78px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .word, .grad, .shine, .top-glow, .card-edge, .caret, .check path { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
  .underline { animation: none !important; transform: none; }
}
