/* ==========================================================================
   GST Security Systems — Coming Soon page
   ========================================================================== */

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

html,
body {
  height: 100%;
}

/* ---------- Theme tokens ---------- */

html[data-theme="dark"] {
  --bg: #070b11;
  --text: #ffffff;
  --eyebrow-1: #18e8d9;
  --eyebrow-2: #5f79ea;
  --tile-border: rgba(255, 255, 255, 0.10);
  --tile-bg: rgba(255, 255, 255, 0.035);
  --tile-text: #d8e0e9;
  --contact-text: #d8e0e9;
  --contact-hover: #18e8d9;
  --footer-text: #657384;
  --pulse: #1599ff;
  --pulse-shadow: rgba(21, 153, 255, 0.7);
  --logo-shadow: drop-shadow(0 0 35px rgba(21, 153, 255, 0.35));
  --toggle-bg: rgba(255, 255, 255, 0.08);
  --toggle-border: rgba(255, 255, 255, 0.14);
  --toggle-icon: #d8e0e9;
}

html[data-theme="light"] {
  --bg: #f4f6f9;
  --text: #1b2430;
  --eyebrow-1: #65799b;
  --eyebrow-2: #5e2663;
  --tile-border: rgba(15, 23, 32, 0.09);
  --tile-bg: rgba(15, 23, 32, 0.03);
  --tile-text: #3d4a5c;
  --contact-text: #1f2937;
  --contact-hover: #4a3d63;
  --footer-text: #8791a0;
  --pulse: #5e2663;
  --pulse-shadow: rgba(94, 38, 99, 0.55);
  --logo-shadow: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.12));
  --toggle-bg: rgba(15, 23, 32, 0.05);
  --toggle-border: rgba(15, 23, 32, 0.12);
  --toggle-icon: #3d4a5c;
}

/* ---------- Base layout ---------- */

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.25s ease, color 0.25s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: 45px 45px;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(920px, 92%);
  padding: 40px 20px;
  text-align: center;
}

/* ---------- Theme toggle ---------- */

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--toggle-border);
  border-radius: 50%;
  background: var(--toggle-bg);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.theme-toggle:hover {
  transform: scale(1.06);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--eyebrow-1);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--toggle-icon);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
}

.logo img {
  width: min(220px, 55vw);
  height: auto;
  filter: var(--logo-shadow);
}

/* ---------- Type ---------- */

.eyebrow {
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--eyebrow-1), var(--eyebrow-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 9vw, 36px);
  line-height: 0.95;
  letter-spacing: -3px;
}

h1 em {
  background: linear-gradient(90deg, var(--eyebrow-1), var(--eyebrow-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.line {
  width: 80px;
  height: 3px;
  margin: 0 auto 34px;
  background: linear-gradient(90deg, var(--eyebrow-1), var(--eyebrow-2));
  box-shadow: 0 0 18px rgba(95, 121, 234, 0.5);
}

/* ---------- Services ---------- */

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
}

.services div {
  border: 1px solid var(--tile-border);
  border-radius: 5px;
  background: var(--tile-bg);
  padding: 11px 17px;
  color: var(--tile-text);
  font-size: 20px;
  letter-spacing: 0.5px;
}

/* ---------- Contact ---------- */

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 34px;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--contact-text);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact a:hover {
  color: var(--contact-hover);
}

.contact svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

/* ---------- Footer ---------- */

footer {
  color: var(--footer-text);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Pulse indicator ---------- */

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 0 0 var(--pulse-shadow);
  animation: pulse 2s infinite;
}

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

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  .wrap {
    padding: 32px 16px;
  }

  .logo {
    margin-bottom: 30px;
  }

  .logo img {
    width: 45vw;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 3px;
  }

  h1 {
    margin-bottom: 18px;
    letter-spacing: -1.5px;
  }

  .line {
    margin-bottom: 26px;
  }

  .services {
    gap: 8px;
    margin-bottom: 32px;
  }

  .services div {
    padding: 9px 13px;
    font-size: 12px;
  }

  .contact {
    gap: 18px;
    margin-bottom: 26px;
  }

  .contact a {
    font-size: 17px;
  }

  .contact svg {
    width: 22px;
    height: 22px;
  }

  .theme-toggle {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
}

@media (max-height: 700px) {
  body {
    align-items: flex-start;
  }
}
