/* ============================================================
   DESIGN TOKENS — Simba Technology
   Brand: White #ffffff (50%) · Red #ff6161 (25%) · Black #000000 (25%)
   Typography: Poppins
   ============================================================ */

:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Simba Brand — exact spec */
  --white:        #ffffff;
  --red:          #ff6161;
  --red-hover:    #e63f3f;
  --red-light:    #fff0f0;
  --red-mid:      #ffcccc;
  --black:        #000000;
  --black-soft:   #111111;
  --grey-light:   #f5f5f5;
  --grey-mid:     #e8e8e8;
  --grey-border:  #e0e0e0;
  --grey-text:    #444444;
  --grey-muted:   #777777;

  /* Semantic aliases */
  --color-bg:           var(--white);
  --color-surface:      var(--grey-light);
  --color-border:       var(--grey-border);
  --color-divider:      var(--grey-mid);
  --color-text:         var(--black);
  --color-text-muted:   var(--grey-text);
  --color-text-faint:   var(--grey-muted);
  --color-accent:       var(--red);
  --color-accent-hover: var(--red-hover);

  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 6px; --radius-full: 9999px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);

  --content-narrow: 640px; --content-default: 960px;
  --content-wide: 1200px;

  --font: 'Poppins', 'Helvetica Neue', sans-serif;
  --font-display: 'Poppins', 'Helvetica Neue', sans-serif;
  --font-body: 'Poppins', 'Helvetica Neue', sans-serif;

  /* Kept for base.css compatibility */
  --text-inverse: #ffffff;
  --transition-interactive: var(--transition);
}

/* ── GLOBAL ── */
body { font-family: var(--font); color: var(--black); background: var(--white); }
.container { max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.container--narrow { max-width: var(--content-default); }
a { color: inherit; text-decoration: none; }

/* ── HEADER / NAV — Black, 100% ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: none;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 5rem;
}

/* LOGO */
.logo {
  display: flex; align-items: center;
  text-decoration: none; line-height: 0;
}
.logo-img {
  height: 58px; width: auto; display: block;
}

.nav-desktop { display: flex; align-items: center; gap: var(--space-8); }
.nav-desktop a {
  font-size: var(--text-sm); font-weight: 500;
  color: rgba(255,255,255,0.65); text-decoration: none;
  letter-spacing: 0.02em; transition: color var(--transition);
}
.nav-desktop a:hover { color: var(--white); }
.nav-desktop a.active { color: var(--red); font-weight: 700; }

/* CTA nav button */
.nav-desktop .btn--nav-cta {
  background: var(--red); color: var(--white);
  padding: 0.5rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: var(--text-sm);
  transition: background var(--transition);
}
.nav-desktop .btn--nav-cta:hover { background: var(--red-hover); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: var(--space-2); cursor: pointer; background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
  display: none; position: fixed; top: 4.5rem; left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 99;
  padding: var(--space-8) var(--space-6); flex-direction: column; gap: var(--space-2);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: var(--text-lg); font-weight: 600; color: rgba(255,255,255,0.75);
  text-decoration: none; padding-block: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--red); }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO — White ── */
.hero {
  background: var(--white);
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
  border-bottom: 1px solid var(--grey-mid);
}
.hero__credibility {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--red); margin-bottom: var(--space-5);
}
.hero__headline {
  font-size: var(--text-3xl); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--black);
  max-width: 16ch; margin-bottom: var(--space-6);
}
/* Red accent on key word */
.hero__headline em { font-style: normal; color: var(--red); }

.hero__sub {
  font-size: var(--text-lg); font-weight: 600; color: var(--grey-text);
  max-width: 48ch; line-height: 1.5; margin-bottom: var(--space-4);
}
.hero__support {
  font-size: var(--text-base); color: var(--grey-muted);
  max-width: 52ch; line-height: 1.65; margin-bottom: var(--space-8);
}
.hero__ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.75rem 1.75rem; font-family: var(--font);
  font-size: var(--text-sm); font-weight: 700; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; transition: all var(--transition);
  min-height: 48px; letter-spacing: 0.02em; border: 2px solid transparent;
}
/* Primary — Red */
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-hover); border-color: var(--red-hover); }
/* Secondary — Black */
.btn--secondary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--secondary:hover { background: #222; border-color: #222; }
/* Outline — Black border */
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
/* Outline white — for use on dark bg */
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ── SECTIONS — White / Light alternating ── */
.section { padding: clamp(var(--space-12), 8vw, var(--space-24)) 0; }
.section--bordered { border-bottom: 1px solid var(--grey-mid); }
.section--shaded { background: var(--grey-light); }

/* Red eyebrow labels */
.section__label {
  font-size: var(--text-xs); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--red); margin-bottom: var(--space-4);
}
.section__title {
  font-size: var(--text-xl); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: var(--space-6); color: var(--black);
}
.section__title em { font-style: normal; color: var(--red); }
.section__text { font-size: var(--text-base); color: var(--grey-text); line-height: 1.7; max-width: 60ch; }
.section__text + .section__text { margin-top: var(--space-3); }

/* ── BLACK SECTION ── */
.section--black {
  background: var(--black); color: var(--white);
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}
.section--black .section__label { color: var(--red); }
.section--black .section__title { color: var(--white); }
.section--black .section__text  { color: rgba(255,255,255,0.65); }

/* ── LISTS ── */
.bullet-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.bullet-list li {
  font-size: var(--text-base); color: var(--grey-text);
  line-height: 1.65; padding-left: var(--space-6); position: relative;
}
.bullet-list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; background: var(--red); border-radius: 2px;
  flex-shrink: 0;
}

/* Black bg bullet list */
.section--black .bullet-list li { color: rgba(255,255,255,0.75); }
.section--black .bullet-list li::before { background: var(--red); }

.step-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-5); counter-reset: steps; }
.step-list li {
  font-size: var(--text-base); color: var(--grey-text);
  line-height: 1.65; padding-left: 3rem; position: relative;
  counter-increment: steps;
}
.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--space-10); } }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md); padding: var(--space-6);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__number { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; color: var(--red); margin-bottom: var(--space-3); }
.card__title { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-3); color: var(--black); }
.card__text { font-size: var(--text-base); color: var(--grey-text); line-height: 1.65; }
.card__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 700; color: var(--red);
  margin-top: var(--space-4); text-decoration: none;
  transition: gap var(--transition);
}
.card__link:hover { gap: var(--space-3); }
.card__link svg { width: 16px; height: 16px; }

/* ── CTA SECTION — Black ── */
.cta-section {
  background: var(--black); color: var(--white);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}
.cta-section .section__label { color: var(--red); }
.cta-section .section__title { color: var(--white); }
.cta-section .section__text { color: rgba(255,255,255,0.65); }
.cta-section .btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.cta-section .btn--primary:hover { background: var(--red-hover); }
.cta-section .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.4); background: transparent; }
.cta-section .btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.cta-buttons { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); }

/* ── FOOTER — Black ── */
.site-footer { background: var(--black); padding: var(--space-16) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-12); } }

.footer-about { max-width: 30ch; }
.footer-about .logo { margin-bottom: var(--space-5); }
.footer-about .logo-img { height: 38px; }
.footer-about p { font-size: var(--text-sm); color: rgba(255,255,255,0.45); line-height: 1.7; }

.footer-col h4 {
  font-size: var(--text-xs); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--red); margin-bottom: var(--space-5);
}
.footer-col a {
  display: block; font-size: var(--text-sm); color: rgba(255,255,255,0.5);
  text-decoration: none; padding-block: var(--space-1);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--text-xs); color: rgba(255,255,255,0.25);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
}
.footer-bottom a { color: var(--red); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── RED ACCENT STRIP ── */
.red-strip {
  background: var(--red); padding: var(--space-3) 0;
}
.red-strip p {
  color: var(--white); font-size: var(--text-sm); font-weight: 600;
  text-align: center; letter-spacing: 0.04em;
}

/* ── PAGE HEADER — Black ── */
.page-header {
  background: var(--black); color: var(--white);
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
}
.page-header__label {
  font-size: var(--text-xs); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--red); margin-bottom: var(--space-3);
}
.page-header__title {
  font-size: var(--text-2xl); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: var(--space-4); color: var(--white);
}
.page-header__sub { font-size: var(--text-base); color: rgba(255,255,255,0.6); max-width: 52ch; line-height: 1.65; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-12); } }
.contact-item { display: flex; flex-direction: column; gap: var(--space-2); }
.contact-item__label { font-size: var(--text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); }
.contact-item__value { font-size: var(--text-base); font-weight: 600; color: var(--black); }
.contact-item__value a { color: var(--black); border-bottom: 2px solid var(--grey-mid); transition: border-color var(--transition), color var(--transition); }
.contact-item__value a:hover { border-color: var(--red); color: var(--red); }

/* ── PILLARS ── */
.pillar-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin-top: var(--space-8); }
@media (min-width: 768px) { .pillar-grid { grid-template-columns: 1fr 1fr 1fr; } }
.pillar { padding: var(--space-6) 0; border-top: 4px solid var(--black); position: relative; }
.pillar::before {
  content: ''; position: absolute; top: -4px; left: 0;
  width: 40px; height: 4px; background: var(--red);
}
.pillar__title { font-size: var(--text-sm); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-3); color: var(--black); }
.pillar__text { font-size: var(--text-sm); color: var(--grey-text); line-height: 1.65; }

/* ── SOLUTION CARDS ── */
.solution-card {
  padding: var(--space-8); border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  border-left: 5px solid var(--black);
  transition: border-left-color var(--transition), box-shadow var(--transition);
}
.solution-card:hover { border-left-color: var(--red); box-shadow: var(--shadow-md); }
.solution-card + .solution-card { margin-top: var(--space-6); }
.solution-card__title { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-4); color: var(--black); }
.solution-card__text { font-size: var(--text-base); color: var(--grey-text); line-height: 1.7; margin-bottom: var(--space-4); }
.solution-card__link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: var(--red); transition: gap var(--transition); }
.solution-card__link:hover { gap: var(--space-3); }

/* ── DETAIL ── */
.detail-section { padding: clamp(var(--space-10), 6vw, var(--space-16)) 0; }
.detail-section + .detail-section { border-top: 1px solid var(--grey-mid); }
.detail-section__title { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-4); color: var(--black); }

/* ── STAT / METRIC BLOCKS ── */
.stat-block { padding: var(--space-6); background: var(--black); border-radius: var(--radius-md); }
.stat-block__value { font-size: var(--text-2xl); font-weight: 900; color: var(--red); line-height: 1; margin-bottom: var(--space-2); }
.stat-block__label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── UTILITIES ── */
.asterisk-note { font-size: var(--text-xs); color: var(--grey-muted); margin-top: var(--space-4); }
.divider { border: none; border-top: 1px solid var(--grey-mid); margin: var(--space-8) 0; }
.inline-list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 2px;
  background: var(--red-light); color: var(--red);
  border: 1px solid rgba(255,97,97,0.3);
}
.tag--black { background: var(--black); color: var(--white); border-color: var(--black); }
.text-red { color: var(--red); }
.text-white { color: var(--white); }
