/* ============================================================
   Sh-Epic Design System — shared across all pages
   Color palette derived from brand logos
   ============================================================ */

:root {
  --bg-main:        #020d1a;
  --bg-alt:         #040e20;
  --bg-card:        #061428;
  --border:         #0e2040;
  --border-glow:    rgba(0, 229, 255, 0.25);

  --cyan:           #00e5ff;
  --cyan-dim:       #00cfee;
  --blue:           #0070ff;
  --gold:           #ffcc44;
  --gold-dim:       #e6b83c;

  --text:           #f0f4ff;
  --text-muted:     #8899bb;
  --text-faint:     #4a5a7a;

  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-pill:    999px;

  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-glow:    0 0 60px rgba(0, 229, 255, 0.12);
  --shadow-btn:     0 8px 28px rgba(0, 112, 255, 0.45);
  --shadow-btn-gold:0 8px 28px rgba(255, 204, 68, 0.35);

  --max-w:          1100px;
  --font:           'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 13, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-brand span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(0, 229, 255, 0.07);
}

.nav-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #020d1a;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover { box-shadow: 0 12px 36px rgba(0, 112, 255, 0.6); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #020d1a;
  box-shadow: var(--shadow-btn-gold);
}

.btn-gold:hover { box-shadow: 0 12px 36px rgba(255, 204, 68, 0.5); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
}

.btn-ghost:hover { border-color: var(--cyan); color: var(--text); background: rgba(0, 229, 255, 0.05); }

/* ---- Pill / Badge ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glow);
  background: rgba(0, 229, 255, 0.06);
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.pill.gold {
  border-color: rgba(255, 204, 68, 0.35);
  background: rgba(255, 204, 68, 0.07);
  color: var(--gold);
}

.pill.gold .pill-dot { background: var(--gold); box-shadow: 0 0 6px var(--gold); }

.pill.muted {
  border-color: var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
}

/* ---- Section ---- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-subtitle { margin: 0.75rem auto 0; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: var(--shadow-card), 0 0 24px rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  flex-shrink: 0;
}

.card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.card-link {
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 600;
  transition: gap 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link:hover { gap: 0.5rem; }

/* ---- Grid ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* ---- Gradient text ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gold { color: var(--gold); }

/* ---- Divider ---- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a { transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

/* ---- Placeholder / Coming Soon ---- */
.placeholder-section {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.placeholder-section .placeholder-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.placeholder-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.placeholder-section p {
  font-size: 0.87rem;
  max-width: 28rem;
  margin: 0 auto;
}

.coming-soon-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(255, 204, 68, 0.3);
  background: rgba(255, 204, 68, 0.07);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

/* ---- 6W Section layout (SentinelVault page) ---- */
.sixw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.sixw-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sixw-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
}

.sixw-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  font-weight: 700;
}

.sixw-label .sixw-q {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--cyan);
  flex-shrink: 0;
}

.sixw-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.sixw-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.sixw-placeholder {
  font-style: italic;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ---- Hero (shared) ---- */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 112, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sixw-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
}

/* ── Product stage toggle ─────────────────────────────────────────────────
 *
 * Single source of truth for whether Sentinel Radar is in private beta
 * or public release. Driven by `data-stage` on <body>:
 *
 *     <body data-stage="private-beta">    <!-- show .stage-beta, hide .stage-public -->
 *     <body data-stage="public-release">  <!-- show .stage-public, hide .stage-beta -->
 *
 * Wrap any copy that differs between stages in matched twin spans:
 *
 *     <span class="stage-beta">Private Beta</span>
 *     <span class="stage-public">Generally Available</span>
 *
 * Both elements live in the DOM; CSS hides whichever doesn't match the
 * current stage. To switch the whole site from beta to public, change
 * one attribute on <body> in each HTML file (index.html, sentinelradar/,
 * sentinelvault/) — that's the entire migration.
 */
body[data-stage="private-beta"]  .stage-public { display: none !important; }
body[data-stage="public-release"] .stage-beta   { display: none !important; }
