
:root {
  --bg: #111111;
  --bg-alt: #1b1b1b;
  --fg: #f5f5f5;
  --muted: #a0a0a0;
  --accent: #9efb5d;
  --accent-strong: #58e0a7;
  --border: #333333;
  --max-width: 1200px;
  --gutter: 1.5rem;
  --radius: 0.6rem;
  --transition-fast: 0.25s ease-out;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 4rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: radial-gradient(circle at top, rgba(255,255,255,0.03), rgba(0,0,0,0.9));
}

.logo {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  cursor: pointer;
}
.logo span { font-weight: 400; opacity: 0.7; }

nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-links { display: flex; align-items: center; gap: 1.75rem; }

nav a {
  position: relative;
  padding-bottom: 0.1rem;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width var(--transition-fast);
}
nav a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--fg);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}
.nav-cta span { display: inline-block; transform: translateY(1px); }
.nav-cta:hover { background: var(--fg); color: var(--bg); }

/* MOBILE NAV */
.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--fg);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }
.nav-toggle.active span { transform: rotate(45deg); }
.nav-toggle.active span::before { transform: rotate(-90deg) translateX(-5px); }
.nav-toggle.active span::after { opacity: 0; }

@media (max-width: 900px) {
  nav { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 2.6rem;
    right: 0;
    flex-direction: column;
    align-items: flex-end;
    background: #000;
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border);
    min-width: 230px;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }
  .nav-links.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}

/* HERO */
.hero {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
}
.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.hero-title {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  text-transform: uppercase;
  margin-top: 0.8rem;
}
.hero-subtitle {
  max-width: 30rem;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1.1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.btn {
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.btn-outline { background: transparent; color: var(--fg); }
.btn:hover {
  transform: translateY(-1px);
  background: var(--bg-alt);
  color: var(--fg);
}
.btn-outline:hover { background: var(--fg); color: var(--bg); }

.hero-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.hero-meta-row div {
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}

.hero-side-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.3rem 1.4rem;
  background: linear-gradient(145deg, #151515, #101010);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-side-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.hero-side-body { font-size: 0.9rem; color: var(--muted); }

.hero-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(158, 251, 93, 0.06);
}

/* SECTION */
section.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.section-title {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.6rem;
}
.section-description {
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 720px) {
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* CARDS */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: linear-gradient(145deg, #151515, #101010);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.card-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.card-body { font-size: 0.9rem; color: var(--muted); }
.card-meta {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

/* FOOTER */
footer { padding-top: 3rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr 2fr;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: auto;
}
.footer-title {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-sub {
  color: var(--muted);
  max-width: 24rem;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--fg);
  padding: 0.8rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.footer-cta:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-1px);
}
.footer-meta {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.footer-links a {
  padding-bottom: 0.08rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.footer-links a:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}
.footer-email { font-size: 0.9rem; }
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* IMAGE SLIDER */
.image-slider {
  margin-bottom: 1rem;
  width: 100%;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0f0f0f, #0b0b0b);
}
.image-slider-track {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  /* duplicated content will allow seamless loop; translate by -50% */
  /* animation will be enabled when JS marks the track ready (after images load) */
}
.image-slider-track.ready { animation: marquee-left 32s linear infinite; }
.image-slider-track.paused { animation-play-state: paused; }
.image-slider img {
  height: 160px;
  width: auto;
  object-fit: cover;
  border-radius: 0.4rem;
  display: block;
}
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--marquee-distance, -50%)); }
}

@media (min-width: 980px) {
  .image-slider img { height: 220px; }
}

@media (max-width: 640px) {
  .image-slider img { height: 120px; }
}

/* AFIA STYLES */
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.card-tag.accent {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(158, 251, 93, 0.08);
}
.card-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(158, 251, 93, 0.2);
}
.tag-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.tag-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
}
.tag-list li::before {
  content: "•";
  color: var(--accent);
  margin-top: 0.1rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card .price-range {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(158, 251, 93, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
@media (max-width: 540px) {
  .mini-grid { grid-template-columns: 1fr; }
}
.divider {
  height: 1px;
  width: 100%;
  background: var(--border);
  margin: 0.8rem 0;
  border: none;
}
.hero-bullets {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-bullets strong { color: var(--fg); font-weight: 600; }
