/* ==========================================================================
   SABAL SECURITY — Site Stylesheet
   Design tokens + base styles shared by all pages.
   Palette sampled from the primary logo (Logo/sabal-full-logo.png).
   ========================================================================== */

/* ---- Design tokens -------------------------------------------------------- */
:root {
  --color-bg: #01020b;          /* matches logo background exactly */
  --color-surface: #060a18;     /* slightly lifted panels (future use) */
  --color-white: #f0f0f0;
  --color-cyan: #07f4fc;        /* bright neon cyan */
  --color-cyan-mid: #13d8dc;
  --color-blue: #0071ff;        /* electric blue */
  --color-blue-mid: #02a0d5;
  --color-dim: #8b93a7;         /* muted text on dark */

  --font-display: 'Michroma', 'Segoe UI', sans-serif;  /* wide, squared — echoes logo lettering */
  --font-body: 'Rajdhani', 'Segoe UI', sans-serif;

  --glow-cyan: 0 0 12px rgba(7, 244, 252, 0.55), 0 0 32px rgba(0, 113, 255, 0.35);
  --max-width: 1080px;
}

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-cyan-mid); text-decoration: none; }
a:hover, a:focus-visible { color: var(--color-cyan); }

/* ---- Layout ---------------------------------------------------------------- */
.page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 1.25rem 0;
}

.site-footer {
  flex-shrink: 0;
  padding: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--color-dim);
  text-align: center;
}

/* ---- Coming soon page ------------------------------------------------------ */
/* Logo asset is 832x880 (h = 1.058w); the 51vh width cap keeps its height ~54vh
   so logo + tagline + coming-soon + footer always fit one viewport. */
.hero-logo {
  width: min(80vw, 51vh, 500px);
  margin: 0 auto;
}

.tagline {
  margin: 0.5rem 0 0;
  font-size: clamp(1.4rem, 1.1rem + 1.7vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.tagline .line {
  display: block;
}

.tagline .line-2 {
  color: var(--color-dim);
  font-weight: 400;
  font-size: 0.86em;
}

/* "COMING SOON" — echoes the — SECURITY — treatment in the logo */
.coming-soon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.25rem, 3.5vh, 2.25rem);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 0.65rem + 1.1vw, 1.25rem);
  letter-spacing: 0.45em;
  text-indent: 0.45em; /* visually balance letter-spacing */
  color: var(--color-cyan);
  text-shadow: var(--glow-cyan);
  animation: pulse 3.2s ease-in-out infinite;
}

.coming-soon::before,
.coming-soon::after {
  content: "";
  display: block;
  width: clamp(2rem, 8vw, 4.5rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-blue), var(--color-cyan));
  box-shadow: 0 0 8px rgba(7, 244, 252, 0.5);
}

.coming-soon::after {
  background: linear-gradient(90deg, var(--color-cyan), var(--color-blue), transparent);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ---- Utility (future pages) ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-cyan { color: var(--color-cyan); }
.text-dim { color: var(--color-dim); }

/* ---- Mobile ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-logo { width: min(86vw, 48vh); }
  .coming-soon { gap: 0.75rem; letter-spacing: 0.32em; text-indent: 0.32em; }
}

/* ---- Accessibility --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
