/* ==========================================================================
   IGNITE TECHNOLOGY GROUP - Coming Soon Page Styles
   Fonts: Syne & DM Sans
   ========================================================================== */

:root {
  --bg: #05080f;
  --bg-2: #090d16;
  --panel: rgba(13, 17, 26, 0.72);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --amber: #e5a83b;
  --gold: #ffd447;
  --sky: #38bdf8;
  --cyan: #22d3ee;
  --green: #4ade80;
  --violet: #c084fc;
  --line: rgba(255, 255, 255, 0.08);
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow.a {
  width: 620px;
  height: 620px;
  left: -180px;
  top: -200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
}

.glow.b {
  width: 560px;
  height: 560px;
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(229, 168, 59, 0.32), transparent 70%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: 0.5;
}

.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 200%;
  height: 46vh;
  min-height: 280px;
  animation: drift 28s linear infinite;
}

.waves path {
  fill: none;
  stroke-width: 1.6;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Layout ---------- */
header, main, footer {
  position: relative;
  z-index: 1;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(16px, 5vw, 64px);
}

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

.mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 0 24px rgba(229, 168, 59, 0.35);
}

.mark svg {
  width: 20px;
  height: 20px;
}

.brand b {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  display: block;
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--muted);
}

.logo {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

@media (max-width: 760px) {
  .logo {
    height: 40px;
  }
}

.head-link {
  color: var(--soft);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  transition: 0.2s;
}

.head-link:hover {
  border-color: rgba(229, 168, 59, 0.5);
  color: var(--gold);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(16px, 5vw, 64px) 80px;
}

.wrap {
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(229, 168, 59, 0.4);
  padding: 8px 16px;
  border-radius: 999px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 212, 71, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(255, 212, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 212, 71, 0);
  }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-size: clamp(44px, 9vw, 104px);
  margin: 26px 0 18px;
}

h1 .grad {
  background: linear-gradient(90deg, var(--gold) 0%, var(--amber) 30%, var(--sky) 70%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.06em;
  color: var(--soft);
}

.lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
}

/* Notify form */
form {
  margin: 38px auto 0;
  max-width: 520px;
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

form:focus-within {
  border-color: rgba(56, 189, 248, 0.45);
}

input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 0 18px;
}

input::placeholder {
  color: #64748b;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b1220;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  padding: 14px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(229, 168, 59, 0.35);
}

.msg {
  min-height: 22px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--green);
}

/* Business units */
.units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 46px;
}

.unit {
  text-align: left;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition: 0.25s;
}

.unit:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.unit i {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.unit span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.unit b {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(16px, 5vw, 64px);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  background: linear-gradient(to top, rgba(3, 5, 8, 0.9), rgba(3, 5, 8, 0.4));
}

footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

footer a {
  color: var(--soft);
  text-decoration: none;
}

footer a:hover {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }

@keyframes in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .units {
    grid-template-columns: repeat(2, 1fr);
  }
  .head-link {
    display: none;
  }
}

@media (max-width: 480px) {
  form {
    flex-direction: column;
    border-radius: 18px;
    padding: 8px;
  }
  input {
    padding: 12px 12px;
  }
  button {
    width: 100%;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}