/* Swapo — rebuilt static site styles */

:root {
  --navy-950: #0a0f1f;
  --navy-900: #0f1730;
  --navy-800: #16204a;
  --blue-600: #3b56e4;
  --blue-500: #4d68f0;
  --blue-100: #e8ecfd;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --text: #1c2333;
  --text-muted: #5c6478;
  --border: #e4e8f1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 48, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  flex-shrink: 0;
}

.brand svg { display: block; }
.brand .logo-mark { display: block; height: 26px; width: auto; }

.hero-logo {
  height: 88px;
  width: auto;
  margin: 0 auto 22px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: #fff; }

.nav-cta {
  background: var(--blue-600);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--blue-500); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  text-align: center;
  padding: 88px 24px 96px;
}

.hero .eyebrow {
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 820px;
  margin: 0 auto 20px;
  color: #fff;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto 34px;
}

.page-hero {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); max-width: 780px; margin: 0 auto 14px; }
.page-hero p.lead { color: rgba(255,255,255,0.72); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .divider { width: 56px; height: 3px; background: var(--blue-600); margin: 18px auto 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-500); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(59,86,228,0.35); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: #fff; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--blue-600); text-transform: uppercase; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-950); }

.grid {
  display: grid;
  gap: 28px;
}
.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: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; color: var(--navy-950); margin-bottom: 10px; }
.card p { margin-bottom: 16px; }
.card a.link { color: var(--blue-600); font-weight: 700; font-size: 14px; }
.card a.link:hover { text-decoration: underline; }

/* Two column feature row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
@media (max-width: 860px) {
  .feature-row, .feature-row.reverse .feature-media { grid-template-columns: 1fr; order: initial; }
  .feature-row { grid-template-columns: 1fr; }
}
.feature-media {
  background: var(--navy-950);
  border-radius: var(--radius);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
}
.feature-media-logo { height: 96px; width: auto; }
.feature-body h3 { color: var(--navy-950); font-size: 1.05rem; margin: 22px 0 8px; }
.feature-body h3:first-child { margin-top: 0; }
.feature-body .badge {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Numbered list blocks (solutions detail pages) */
.step-block { margin-bottom: 30px; }
.step-block h3 { color: var(--navy-950); font-size: 1.1rem; margin-bottom: 10px; }
.step-block ul { list-style: none; }
.step-block li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.step-block li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
}
.step-block li strong { color: var(--text); }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--navy-950);
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  text-align: center;
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-strip .stat b { display: block; font-size: 2rem; color: #fff; margin-bottom: 4px; }
.stat-strip .stat span { color: rgba(255,255,255,0.65); font-size: 13px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 auto 28px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-950);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--blue-600);
  font-size: 22px;
  font-weight: 400;
  margin-left: 16px;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { margin-top: 14px; color: var(--text-muted); }
.faq-item .faq-answer ul { margin: 10px 0; padding-left: 20px; list-style: disc; }
.faq-item .faq-answer li { margin-bottom: 6px; }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--navy-950); }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-alt);
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #e9f9ee;
  border: 1px solid #b8ecc6;
  color: #1c6b34;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Contact info list */
.contact-info h3 { color: var(--navy-950); margin-bottom: 6px; }
.contact-info .info-block { margin-bottom: 26px; }
.contact-info .info-block .label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-600); font-weight: 700; margin-bottom: 6px; }

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-top h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-top ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-top a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 13.5px; max-width: 260px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.footer-bottom a:hover { color: #fff; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.badge-pill {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
a.badge-pill:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}
