/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
}

/* ===== VARIABLES ===== */
:root {
  --absa-red: #DD0033;
  --absa-red-dark: #B0002A;
  --absa-red-light: #ff1a4a;
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --mid: #555555;
  --light: #f7f7f7;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--absa-red);
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(255,255,255,0.8);
}

.section-sub {
  font-size: 18px;
  color: var(--mid);
  max-width: 680px;
  margin: 0 0 48px;
  line-height: 1.7;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--black);
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--absa-red);
  color: var(--white);
  border-color: var(--absa-red);
}

.btn-primary:hover {
  background: var(--absa-red-dark);
  border-color: var(--absa-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(221,0,51,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--absa-red);
  border-color: var(--white);
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-large {
  padding: 18px 48px;
  font-size: 17px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.absa-circle {
  width: 44px;
  height: 44px;
  background: var(--absa-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--absa-red);
}

.absa-circle::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--white);
  border-radius: 0 0 6px 6px;
}

.absa-circle span {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  font-style: italic;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.absa-circle.small {
  width: 36px;
  height: 36px;
}

.absa-circle.small span {
  font-size: 9px;
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: #ddd;
}

.bsd-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.bsd-logo-footer {
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--absa-red);
}

.nav-cta {
  background: var(--absa-red) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px !important;
}

.nav-cta:hover {
  background: var(--absa-red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(221,0,51,0.3);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0008 50%, #330012 100%);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(221,0,51,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(221,0,51,0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(221,0,51,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(221,0,51,0.2);
  border: 1px solid rgba(221,0,51,0.4);
  color: #ff6680;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  margin: 0 auto 40px;
  max-width: 640px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  padding: 24px 48px;
  backdrop-filter: blur(8px);
  display: inline-flex;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--absa-red);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--light);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--absa-red);
  line-height: 1;
  min-width: 72px;
  opacity: 0.25;
  transition: opacity 0.3s;
}

.step:hover .step-num {
  opacity: 1;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 15px;
  color: var(--mid);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== ABSA SECTION ===== */
.absa-section {
  background: linear-gradient(135deg, var(--absa-red) 0%, var(--absa-red-dark) 100%);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.absa-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.absa-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.absa-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.absa-text h2 {
  color: var(--white);
}

.absa-text p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.check-list {
  list-style: none;
  margin-bottom: 36px;
}

.check-list li {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--white);
  font-weight: 700;
}

.absa-visual {
  display: flex;
  justify-content: center;
}

.absa-card-big {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(8px);
  max-width: 320px;
  width: 100%;
}

.big-absa-circle {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.big-absa-circle::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 0 0 12px 12px;
}

.big-absa-circle span {
  font-size: 22px;
  font-weight: 800;
  color: var(--absa-red);
  font-style: italic;
}

.absa-tagline {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.absa-purpose {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* ===== APPLY CTA ===== */
.apply-cta {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.apply-inner {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.apply-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.apply-cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.apply-cta p {
  font-size: 18px;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.apply-note {
  font-size: 13px !important;
  color: #aaa !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer .bsd-text {
  color: rgba(255,255,255,0.8);
}

.footer .logo-divider {
  background: rgba(255,255,255,0.2);
}

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .absa-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .absa-visual {
    order: -1;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: var(--shadow-lg);
    gap: 20px;
  }

  .hero-stats {
    padding: 20px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat {
    padding: 0 20px;
  }

  .hero-inner {
    text-align: left;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .section-sub {
    font-size: 16px;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

  .step-num {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 80px;
  }

  .about, .how-it-works, .absa-section, .apply-cta {
    padding: 64px 0;
  }

  .stat-divider {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat {
    padding: 0;
  }
}
