/* =========================================================
   WERYO — Shared Stylesheet
   Brand colors: Navy #002D56 / Red #E31B23 / Black #000000
   ========================================================= */

:root {
  --navy: #002D56;
  --navy-light: #0a4d8c;
  --navy-dim: #0d2a44;
  --red: #E31B23;
  --black: #000000;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #767676;
  --gray-200: #e6e8eb;
  --gray-100: #f5f6f8;
  --white: #ffffff;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;

  --max-width: 1180px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; text-transform: none; }

p { margin: 0 0 16px; color: var(--gray-700); }
.lede { font-size: 1.2rem; color: var(--gray-700); max-width: 620px; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(227,27,35,0.28); }

.btn-ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--gray-700);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Status pill ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
}
.status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #35d67d;
  box-shadow: 0 0 0 3px rgba(53,214,125,0.2);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Hero (dark) ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 500px at 15% -10%, var(--navy-light) 0%, var(--navy) 45%, var(--navy-dim) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 30% 20%, black 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 780px; }
.hero .lede { color: rgba(255,255,255,0.78); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  padding: 72px 0 64px;
}
.page-hero .section-head { margin-bottom: 0; }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: 0 16px 32px rgba(0,45,86,0.09);
  transform: translateY(-3px);
  border-color: rgba(0,45,86,0.15);
}
.card .index {
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--gray-700); }
.card ul li { margin-bottom: 6px; font-size: 0.94rem; }

.card-dark {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.75); }

/* ---------- Section divider style ---------- */
.rule {
  height: 3px;
  width: 56px;
  background: var(--red);
  margin: 0 0 20px;
  border-radius: 2px;
}

/* ---------- Bullet lists (brand style) ---------- */
.brand-list { list-style: none; margin: 0; padding: 0; }
.brand-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--gray-700);
}
.brand-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--red);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
}
.step:first-child { border-top: none; }
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  min-width: 48px;
}

/* ---------- Terminal / dashboard mockup ---------- */
.mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mockup-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.mockup-body { padding: 20px; font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.75); }
.mockup-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.mockup-row:last-child { border-bottom: none; }
.mockup-row .ok { color: #35d67d; }

/* ---------- Bands ---------- */
.band-light { background: var(--gray-100); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy p { color: rgba(255,255,255,0.78); }

.cta-band {
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Stats ---------- */
.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat .num { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--white); }
.stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ---------- Form ---------- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,45,86,0.1);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  border-top: 3px solid var(--red);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a, .footer-col li { display: block; font-size: 0.9rem; margin-bottom: 10px; color: rgba(255,255,255,0.65); list-style: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 26px; width: auto; display: block; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex-center { display: flex; align-items: center; }
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: rgba(0,45,86,0.07);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
