/* =============================================================
   STRATIM — Shared Stylesheet
   File: PUBLICATION/Netlify/public/assets/style.css
   Version: 0.1.0-protocol
   ============================================================= */

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

:root {
  --ink:     #0A0D14;
  --dark:    #101622;
  --dark2:   #161F30;
  --steel:   #1E2A40;
  --city:    #1B4F72;
  --blue:    #2471A3;
  --blue2:   #3498DB;
  --violet:  #6C3483;
  --violet2: #8E44AD;
  --teal:    #0B6E6E;
  --teal2:   #17A589;
  --amber:   #C47C1A;
  --red:     #C0392B;
  --gold:    #D4AC0D;
  --mid:     #566573;
  --muted:   #7F8C8D;
  --white:   #EAF2FF;
  --border:  rgba(52,152,219,0.22);
  --border2: rgba(52,152,219,0.10);
  --card:    rgba(16,22,34,0.78);
  --glass:   rgba(10,13,20,0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(52,152,219,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,152,219,0.045) 1px, transparent 1px),
    linear-gradient(rgba(108,52,131,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,52,131,0.02) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  pointer-events: none;
  z-index: 0;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 68px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.3rem;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--blue), var(--violet2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--blue2); }

.nav-cta {
  background: linear-gradient(135deg, var(--steel), var(--city));
  color: #fff; border: 1px solid rgba(52,152,219,0.35);
  padding: 0.5rem 1.4rem; border-radius: 6px;
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: opacity 0.2s; letter-spacing: 0.02em;
}

.nav-cta:hover { opacity: 0.85; }

section, footer { position: relative; z-index: 1; }

main { padding-top: 68px; }

/* --- Hero --- */
.hero {
  min-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(52,152,219,0.4);
  background: rgba(52,152,219,0.06);
  color: var(--blue2);
  padding: 0.35rem 1rem; border-radius: 100px;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.hero-badge span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 .c-b { background: linear-gradient(135deg, var(--blue), var(--blue2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .c-t { background: linear-gradient(135deg, var(--violet), var(--violet2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-sub {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 400; color: var(--muted);
  max-width: 720px; margin: 1.2rem auto 0;
}

.hero-quote {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem; color: var(--teal2);
  border-left: 2px solid var(--violet2);
  padding: 0.7rem 1.2rem;
  margin: 2.5rem auto;
  max-width: 780px; text-align: left;
  background: rgba(108,52,131,0.06);
  border-radius: 0 8px 8px 0;
}

.hero-actions {
  display: flex; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
  margin-top: 2.5rem;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--steel), var(--violet));
  color: #fff; text-decoration: none;
  padding: 0.75rem 1.8rem; border-radius: 8px;
  font-weight: 500; font-size: 0.9rem;
  border: 1px solid rgba(142,68,173,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(142,68,173,0.45);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border);
  color: var(--white); text-decoration: none;
  padding: 0.75rem 1.8rem; border-radius: 8px;
  font-weight: 500; font-size: 0.9rem;
  background: rgba(255,255,255,0.025);
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover { border-color: var(--violet2); background: rgba(142,68,173,0.06); }

/* --- Stats row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  margin: 3rem auto; max-width: 1100px;
}

.stat { background: var(--card); padding: 1.8rem 1.2rem; text-align: center; }

.stat-n {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--violet2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.stat-l { font-size: 0.74rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* --- Sections --- */
.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.15em;
  color: var(--violet2); text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* --- Cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(142,68,173,0.45);
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

/* --- Tables --- */
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }

table.data {
  width: 100%; border-collapse: collapse;
  font-size: 0.82rem;
}

table.data th {
  background: var(--steel); color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.76rem; letter-spacing: 0.05em;
  padding: 0.75rem 1rem; text-align: left;
  border: 1px solid rgba(52,152,219,0.25);
  position: sticky; top: 0;
}

table.data td {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border2);
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
}

table.data tr:nth-child(even) td { background: rgba(52,152,219,0.05); }
table.data tr:hover td { background: rgba(142,68,173,0.08); }

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.badge-ok    { background: rgba(23,165,137,0.15);  color: var(--teal2);  border: 1px solid rgba(23,165,137,0.4); }
.badge-warn  { background: rgba(196,124,26,0.15);  color: var(--amber);  border: 1px solid rgba(196,124,26,0.4); }
.badge-fail  { background: rgba(192,57,43,0.15);   color: var(--red);    border: 1px solid rgba(192,57,43,0.4); }
.badge-info  { background: rgba(52,152,219,0.15);  color: var(--blue2);  border: 1px solid rgba(52,152,219,0.4); }
.badge-violet { background: rgba(142,68,173,0.15); color: var(--violet2); border: 1px solid rgba(142,68,173,0.4); }

/* --- Status blocks --- */
.status-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border2);
  font-size: 0.88rem;
}

.status-row:last-child { border-bottom: none; }

.status-key { font-family: 'DM Mono', monospace; color: var(--white); }

/* --- Footer --- */
footer {
  background: rgba(3,6,12,0.99);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--blue), var(--violet2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.7; max-width: 300px;
  margin-bottom: 0.5rem;
}

.footer-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; color: var(--muted);
  line-height: 1.9;
}

.footer-meta a { color: var(--blue2); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  font-size: 0.82rem; color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}

.footer-col a:hover { color: var(--violet2); opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.78rem; color: var(--muted); }

.flinks { display: flex; gap: 1rem; flex-wrap: wrap; }

.flinks a {
  color: var(--muted); text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
}

/* ============================================================= */
/* End of style.css                                              */
/* ============================================================= */
