body:has(.sa-hero) {
  background: var(--sa-dark) !important;
}
body:has(.sa-hero) > main {
  padding-bottom: 0 !important;
}
body:has(.sa-hero) > main > div.container.py-4 {
  max-width: 100% !important;
  padding: 0 0 0 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}
body:has(.sa-hero) .alerts-container {
  padding: 8px 20px;
}

:root {
  --sa-primary: #E53935;
  --sa-primary-dark: #B71C1C;
  --sa-primary-light: #EF5350;
  --sa-dark: #1a1a2e;
  --sa-dark2: #16213e;
  --sa-light: #f5f7fa;
  --sa-white: #ffffff;
  --sa-text: #333333;
  --sa-text-muted: #6c757d;
  --sa-border: #e8ecf1;
  --sa-radius: 16px;
  --sa-shadow: 0 4px 24px rgba(0,0,0,0.06);
  --sa-shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --sa-font: 'DM Sans', 'Outfit', system-ui, sans-serif;
  --sa-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

.sa-hero *,
.sa-why-card *,
.sa-module-card *,
.sa-step *,
.sa-testimonial *,
.sa-cta * {
  transition: all 0.25s ease !important;
  animation: auto !important;
}

/* ===================== HERO ===================== */
.sa-hero {
  background: linear-gradient(145deg, var(--sa-dark) 0%, var(--sa-dark2) 100%);
  color: var(--sa-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.sa-hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(229,57,53,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(229,57,53,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.sa-hero-inner { position: relative; z-index: 2; }

.sa-hero-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.sa-hero-title {
  font-family: var(--sa-font);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.sa-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.sa-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.sa-hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.sa-proof-item { text-align: center; }
.sa-proof-num {
  display: block;
  font-family: var(--sa-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sa-primary);
}
.sa-proof-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sa-proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ===================== BUTTONS ===================== */
.sa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sa-font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
}
.sa-btn-primary {
  background: var(--sa-primary);
  color: var(--sa-white);
  border-color: var(--sa-primary);
}
.sa-btn-primary:hover {
  background: var(--sa-primary-dark);
  border-color: var(--sa-primary-dark);
  color: var(--sa-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229,57,53,0.35);
}
.sa-btn-outline {
  background: transparent;
  color: var(--sa-white);
  border-color: rgba(255,255,255,0.4);
}
.sa-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: var(--sa-white);
  transform: translateY(-2px);
}
.sa-btn-cta {
  background: var(--sa-white);
  color: var(--sa-primary);
  border-color: var(--sa-white);
  font-size: 1.05rem;
  padding: 15px 36px;
}
.sa-btn-cta:hover {
  background: #f5f5f5;
  color: var(--sa-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===================== SECTION HEADERS ===================== */
.sa-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.sa-section-title {
  font-family: var(--sa-font);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--sa-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}
.sa-section-sub {
  font-size: 1.05rem;
  color: var(--sa-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.sa-section-header-light .sa-section-title,
.sa-section-header-light .sa-section-sub { color: var(--sa-white); }
.sa-section-header-light .sa-section-sub { opacity: 0.8; }

/* ===================== WHY SECTION ===================== */
.sa-why {
  padding: 80px 0;
  background: var(--sa-light);
}
.sa-why-card {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--sa-shadow);
  border: 1px solid var(--sa-border);
  position: relative;
  overflow: hidden;
}
.sa-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sa-shadow-lg);
  border-color: rgba(229,57,53,0.2);
}
.sa-why-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--sa-primary), var(--sa-primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sa-white);
  margin-bottom: 16px;
}
.sa-why-card h3 {
  font-family: var(--sa-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sa-dark);
  margin-bottom: 8px;
}
.sa-why-card p {
  font-size: 0.92rem;
  color: var(--sa-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ===================== MODULES SECTION ===================== */
.sa-modules {
  padding: 80px 0;
  background: var(--sa-white);
}
.sa-module-card {
  background: var(--sa-white);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--sa-shadow);
}
.sa-module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sa-shadow-lg);
  border-color: rgba(229,57,53,0.2);
}
.sa-module-icon {
  width: 56px;
  height: 56px;
  background: rgba(229,57,53,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--sa-primary);
  margin-bottom: 16px;
}
.sa-module-card h3 {
  font-family: var(--sa-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sa-dark);
  margin-bottom: 8px;
}
.sa-module-card > p {
  font-size: 0.9rem;
  color: var(--sa-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.sa-module-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sa-module-list li {
  font-size: 0.88rem;
  color: var(--sa-text);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sa-module-list li i {
  color: var(--sa-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ===================== HOW IT WORKS ===================== */
.sa-how {
  padding: 80px 0;
  background: linear-gradient(145deg, var(--sa-dark) 0%, var(--sa-dark2) 100%);
  color: var(--sa-white);
}
.sa-step {
  text-align: center;
  padding: 24px 16px;
}
.sa-step-num {
  width: 56px;
  height: 56px;
  background: var(--sa-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sa-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--sa-white);
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(229,57,53,0.4);
}
.sa-step h3 {
  font-family: var(--sa-font);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.sa-step p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* ===================== STATS ===================== */
.sa-stats {
  padding: 60px 0;
  background: var(--sa-primary);
  color: var(--sa-white);
}
.sa-stat-item { text-align: center; padding: 16px; }
.sa-stat-num {
  font-family: var(--sa-mono);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 4px;
}
.sa-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* ===================== TESTIMONIALS ===================== */
.sa-testimonials {
  padding: 80px 0;
  background: var(--sa-light);
}
.sa-testimonial {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--sa-shadow);
  border: 1px solid var(--sa-border);
  position: relative;
}
.sa-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--sa-shadow-lg);
}
.sa-testimonial-quote {
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--sa-primary);
  line-height: 1;
  margin-bottom: -8px;
  opacity: 0.6;
}
.sa-testimonial p {
  font-size: 0.95rem;
  color: var(--sa-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.sa-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sa-testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sa-primary), var(--sa-primary-light));
  color: var(--sa-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.sa-testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--sa-dark);
}
.sa-testimonial-author span {
  font-size: 0.8rem;
  color: var(--sa-text-muted);
}

/* ===================== CTA ===================== */
.sa-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--sa-primary) 0%, var(--sa-primary-dark) 100%);
  color: var(--sa-white);
}
.sa-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.sa-cta-inner h2 {
  font-family: var(--sa-font);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
}
.sa-cta-inner p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ===================== FOOTER ===================== */
.sa-footer {
  background: var(--sa-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
  font-size: 0.9rem;
}
.sa-footer-brand p {
  margin-top: 12px;
  line-height: 1.65;
  opacity: 0.7;
  font-size: 0.88rem;
}
.sa-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.sa-footer-logo-icon { font-size: 1.5rem; }
.sa-footer-logo-text {
  font-family: var(--sa-font);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--sa-white);
  letter-spacing: 1px;
}
.sa-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.sa-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  text-decoration: none;
}
.sa-footer-social a:hover {
  background: var(--sa-primary);
  color: var(--sa-white);
}
.sa-footer h4 {
  font-family: var(--sa-font);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sa-white);
  margin-bottom: 16px;
}
.sa-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sa-footer ul li { margin-bottom: 8px; }
.sa-footer ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
}
.sa-footer ul li a:hover { color: var(--sa-primary); }
.sa-footer-form {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
}
.sa-footer-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px 0 0 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--sa-white);
  font-size: 0.88rem;
  outline: none;
}
.sa-footer-form input[type="email"]::placeholder { color: rgba(255,255,255,0.35); }
.sa-footer-form input[type="email"]:focus { border-color: var(--sa-primary); }
.sa-footer-form button {
  padding: 10px 16px;
  border: none;
  background: var(--sa-primary);
  color: var(--sa-white);
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 0.9rem;
}
.sa-footer-form button:hover { background: var(--sa-primary-dark); }
.sa-footer-contact { display: flex; flex-direction: column; gap: 6px; }
.sa-footer-contact a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sa-footer-contact a:hover { color: var(--sa-primary); }
.sa-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.82rem;
  opacity: 0.6;
}
.sa-footer-bottom a { color: var(--sa-primary); text-decoration: none; }
.sa-footer-bottom a:hover { text-decoration: underline; }

/* ===================== FOCUS STYLES ===================== */
.sa-btn:focus-visible {
  outline: 3px solid rgba(229,57,53,0.5);
  outline-offset: 3px;
}
.sa-btn-outline:focus-visible {
  outline-color: rgba(255,255,255,0.7);
}
.sa-footer a:focus-visible,
.sa-footer button:focus-visible,
.sa-footer-form input:focus-visible {
  outline: 2px solid var(--sa-primary);
  outline-offset: 2px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .sa-hero { padding: 60px 0 50px; }
  .sa-why, .sa-modules, .sa-testimonials, .sa-cta, .sa-how { padding: 60px 0; }
}

@media (max-width: 767px) {
  .sa-hero { padding: 48px 0 40px; }
  .sa-hero-btns { flex-direction: column; }
  .sa-hero-btns .sa-btn { width: 100%; justify-content: center; }
  .sa-hero-proof { justify-content: center; }
  .sa-why, .sa-modules, .sa-testimonials, .sa-cta, .sa-how { padding: 48px 0; }
  .sa-section-header { margin-bottom: 32px; }
  .sa-stats { padding: 40px 0; }
  .sa-footer-bottom { flex-direction: column; text-align: center; }
}

/* ===================== SCROLL ANIMATIONS ===================== */
@keyframes saFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.sa-hero-title { animation: saFadeUp 0.7s ease-out !important; }
.sa-hero-sub { animation: saFadeUp 0.7s ease-out 0.1s backwards !important; }
.sa-hero-btns { animation: saFadeUp 0.7s ease-out 0.2s backwards !important; }
.sa-hero-proof { animation: saFadeUp 0.7s ease-out 0.3s backwards !important; }
