/* ============================================================
   Wicanja Landing Page — extends the shared style.css theme
   (dark bg, teal/indigo accents, DM Sans/DM Serif Display)
   ============================================================ */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header / nav ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.site-header.scrolled {
  background: rgba(0,0,0,0.75);
  border-bottom-color: var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--color-text);
}
.nav-logo-img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .15s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-cta {
  width: auto;
  padding: .625rem 1.35rem;
  font-size: .75rem;
}
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 9px; right: 9px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform .2s, opacity .2s;
}
.nav-toggle::before { top: 13px; }
.nav-toggle span     { top: 17.5px; }
.nav-toggle::after   { top: 22px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after  { transform: translateY(-4.5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span    { opacity: 0; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.mobile-menu.open { max-height: 320px; padding-bottom: 1rem; }
.mobile-menu a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: .9rem;
  padding: .75rem .25rem;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu a.btn { margin-top: .75rem; border-bottom: none; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  padding: 168px 1.5rem 96px;
  text-align: center;
  max-width: 860px;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin: .75rem 0 1.25rem;
}
.hero-title .accent { color: var(--color-accent); }
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}
.hero-actions .btn { width: auto; padding: .875rem 1.75rem; }

/* ── Sections ──────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 88px 1.5rem;
}
.section-divider { border-top: 1px solid var(--color-border); }
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-indigo-text);
  margin-bottom: .75rem;
}
.section-title {
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: .85rem;
}
.section-sub {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Feature grid (reuses .card/.card-icon/.card-title/.card-desc
   from style.css, laid out as a responsive grid instead of a
   vertical stack) ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-grid .card {
  margin-bottom: 0;
  padding: 1.75rem 1.5rem;
  height: 100%;
}
.feature-grid .card-icon { margin-bottom: 1.25rem; }
.feature-grid .card-icon.teal   { color: var(--color-accent); }
.feature-grid .card-icon.indigo { color: var(--color-indigo-text); }
.feature-grid .card-title { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-grid .card-desc  { font-size: .9rem; }

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, var(--color-accent-dim), var(--color-indigo-dim));
}
.cta-band-title {
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: .75rem;
}
.cta-band-sub {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.cta-band .btn { width: auto; padding: .875rem 2rem; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--color-text-muted);
  font-size: .875rem;
}
.footer-brand .serif { color: var(--color-text); font-size: 1rem; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: .8rem;
}
.footer-links a:hover { color: var(--color-text); }

/* ── Scroll-reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: flex; }
  .hero { padding-top: 140px; }
  .feature-grid { grid-template-columns: 1fr; }
}
