/* ==========================================================================
   Smart Learning - Modern Premium Landing Page Design System
   Visual Identity: Royal Navy & Sapphire Blue, Vibrant Mint, Sunny Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Preserving Brand Identity with Premium Vibrancy */
  --sl-navy-950: #081028;
  --sl-navy-900: #0c1838;
  --sl-navy-800: #11275b;
  --sl-navy-700: #17387f;
  --sl-blue-600: #2554e8;
  --sl-blue-500: #2c5ae9;
  --sl-blue-400: #4e77f7;
  --sl-blue-100: #e8f0fe;
  --sl-blue-50:  #f3f7ff;
  
  --sl-mint-600: #059669;
  --sl-mint-500: #10b981;
  --sl-mint-400: #34d399;
  --sl-mint-100: #d1fae5;
  --sl-mint-50:  #ecfbf4;
  
  --sl-amber-500: #f59e0b;
  --sl-amber-400: #fbbf24;
  --sl-amber-100: #fef3c7;
  --sl-amber-50:  #fffbeb;

  --sl-purple-600: #7c3aed;
  --sl-purple-500: #8b5cf6;
  --sl-purple-50:  #f5f3ff;
  
  --sl-text-main: #0f1c3f;
  --sl-text-muted: #546583;
  --sl-text-light: #8292ab;
  --sl-surface-card: #ffffff;
  --sl-surface-soft: #f8fbff;
  --sl-border-subtle: rgba(223, 233, 248, 0.85);
  --sl-border-focus: rgba(44, 90, 233, 0.4);
  
  /* Shadows & Glows */
  --sl-shadow-sm: 0 4px 12px rgba(17, 39, 91, 0.04);
  --sl-shadow-md: 0 12px 30px rgba(17, 39, 91, 0.07);
  --sl-shadow-lg: 0 20px 48px rgba(17, 39, 91, 0.11);
  --sl-shadow-glow: 0 14px 34px rgba(44, 90, 233, 0.28);
  --sl-shadow-card-hover: 0 24px 50px rgba(23, 56, 127, 0.13);
  
  /* Typography */
  --font-arabic: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-latin: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  
  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.landing-page {
  font-family: var(--font-arabic);
  background-color: #ffffff;
  color: var(--sl-text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.22s var(--ease-smooth);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.landing-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .landing-container {
    width: calc(100% - 32px);
  }
}

/* Accessibility: Skip Link */
.landing-skip-link {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--sl-navy-800);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease-spring);
  box-shadow: var(--sl-shadow-lg);
}

.landing-skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--sl-border-subtle);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.landing-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(17, 39, 91, 0.05);
}

.landing-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

/* Brand */
.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--sl-navy-900);
  letter-spacing: -0.5px;
  user-select: none;
}

.landing-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sl-blue-500), var(--sl-blue-600));
  color: #ffffff;
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(44, 90, 233, 0.32);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

.landing-brand:hover .landing-brand-mark {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 10px 24px rgba(44, 90, 233, 0.45);
}

.landing-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.landing-brand-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--sl-navy-900);
}

.landing-brand-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--sl-blue-500);
}

/* Nav Menu */
.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.landing-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--sl-navy-800);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s, background-color 0.2s;
}

.landing-nav-links a:hover {
  color: var(--sl-blue-500);
  background-color: var(--sl-blue-50);
}

.landing-nav-links a.is-current {
  color: var(--sl-blue-500);
  background-color: var(--sl-blue-50);
  font-weight: 800;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 12px;
}

.landing-nav-login {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  color: var(--sl-navy-800);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}

.landing-nav-login:hover {
  color: var(--sl-blue-500);
  border-color: var(--sl-border-subtle);
  background: #ffffff;
}

.landing-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sl-blue-500), var(--sl-blue-600));
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(44, 90, 233, 0.28);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}

.landing-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(44, 90, 233, 0.38);
}

/* Menu Toggle for Mobile */
.landing-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--sl-surface-soft);
  border: 1px solid var(--sl-border-subtle);
  cursor: pointer;
  transition: background-color 0.2s;
}

.landing-menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 99px;
  background-color: var(--sl-navy-900);
  transition: transform 0.25s, opacity 0.25s;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.landing-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.landing-button-primary {
  background: linear-gradient(135deg, var(--sl-blue-500) 0%, #1e4bd6 100%);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(44, 90, 233, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(44, 90, 233, 0.4);
  background: linear-gradient(135deg, #3764ef 0%, #2554e8 100%);
}

.landing-button-secondary {
  background: #ffffff;
  color: var(--sl-navy-900);
  border: 1px solid var(--sl-border-subtle);
  box-shadow: var(--sl-shadow-sm);
}

.landing-button-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--sl-blue-400);
  background: var(--sl-blue-50);
  color: var(--sl-blue-600);
  box-shadow: var(--sl-shadow-md);
}

.landing-button-light {
  background: #ffffff;
  color: var(--sl-blue-600);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.landing-button-light:hover {
  transform: translateY(-3px);
  background: #ffffff;
  color: var(--sl-blue-500);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.landing-button-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.landing-button-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.landing-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--ease-spring);
}

.landing-button:hover .landing-btn-arrow {
  transform: translateX(-4px);
}

/* ==========================================================================
   Campaign Banner
   ========================================================================== */
.landing-campaign {
  background: linear-gradient(90deg, #ecf4ff, #e8faf2 50%, #fff7ea);
  border-bottom: 1px solid rgba(44, 90, 233, 0.12);
  padding: 12px 0;
  position: relative;
  overflow: hidden;
}

.landing-campaign::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sl-blue-500), var(--sl-mint-500), var(--sl-amber-500));
}

.landing-campaign-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.landing-campaign-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--sl-mint-600);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
  border: 1px solid var(--sl-mint-100);
}

.landing-campaign-text strong {
  color: var(--sl-navy-900);
  font-size: 15px;
  font-weight: 800;
}

.landing-campaign-text p {
  color: var(--sl-text-muted);
  font-size: 13px;
  font-weight: 600;
  display: inline;
  margin-inline-start: 8px;
}

.landing-campaign .landing-button {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.landing-hero {
  position: relative;
  padding: 64px 0 88px;
  background: radial-gradient(circle at 85% 15%, rgba(44, 90, 233, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  overflow: hidden;
}

/* Ambient Background Blobs */
.landing-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.landing-hero-blob-1 {
  top: -80px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: rgba(44, 90, 233, 0.12);
}

.landing-hero-blob-2 {
  bottom: -60px;
  left: -50px;
  width: 380px;
  height: 380px;
  background: rgba(16, 185, 129, 0.1);
}

.landing-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

/* Hero Content */
.landing-hero-copy {
  display: flex;
  flex-direction: column;
}

.landing-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(17, 39, 91, 0.06);
  margin-bottom: 24px;
}

.landing-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sl-mint-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.landing-pill-text {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sl-navy-800);
}

.landing-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--sl-navy-950);
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}

.landing-hero h1 .landing-highlight {
  position: relative;
  display: inline-block;
  color: var(--sl-blue-500);
}

.landing-hero h1 .landing-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(255, 180, 76, 0.45);
  border-radius: 6px;
  z-index: -1;
  transform: rotate(-1deg);
}

.landing-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
  color: var(--sl-text-muted);
  font-weight: 600;
  margin-bottom: 32px;
  max-width: 600px;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.landing-hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.landing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sl-text-muted);
}

.landing-trust-item svg {
  color: var(--sl-mint-500);
}

/* Hero Interactive Visual Board */
.landing-hero-visual {
  position: relative;
  perspective: 1000px;
}

.landing-visual-card-main {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sl-border-subtle);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(17, 39, 91, 0.12), 0 0 1px rgba(17, 39, 91, 0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
  animation: float-board 6s ease-in-out infinite;
}

.landing-visual-card-main:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 30px 70px rgba(17, 39, 91, 0.16);
}

@keyframes float-board {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-0.5deg) translateY(-10px); }
}

.landing-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sl-blue-50);
}

.landing-board-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-user-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fed7aa, #fdba74);
  color: #9a3412;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.25);
}

.landing-user-info strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--sl-navy-900);
}

.landing-user-info span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sl-text-light);
}

.landing-streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: var(--radius-pill);
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
}

/* Progress preview */
.landing-board-progress-wrap {
  margin-bottom: 22px;
}

.landing-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--sl-text-muted);
  margin-bottom: 8px;
}

.landing-progress-meta strong {
  color: var(--sl-blue-500);
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 800;
}

.landing-progress-bar-outer {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--sl-blue-50);
  overflow: hidden;
  position: relative;
}

.landing-progress-bar-inner {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--sl-blue-500), var(--sl-mint-400));
  border-radius: inherit;
  position: relative;
}

.landing-progress-bar-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Interactive Letter & Sound Box in Board */
.landing-board-interactive {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
  margin-bottom: 16px;
}

.landing-mini-letter-card {
  padding: 16px;
  background: var(--sl-blue-50);
  border: 1px solid var(--sl-blue-100);
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.landing-mini-letter-card:hover {
  transform: scale(1.04);
  background: #e1ecfe;
}

.landing-mini-letter-card span.letter-display {
  font-family: var(--font-latin);
  font-size: 36px;
  font-weight: 900;
  color: var(--sl-blue-600);
  line-height: 1;
  margin-bottom: 4px;
}

.landing-mini-letter-card small {
  font-size: 11px;
  font-weight: 700;
  color: var(--sl-text-muted);
}

.landing-mini-sound-card {
  padding: 16px;
  background: var(--sl-mint-50);
  border: 1px solid var(--sl-mint-100);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  position: relative;
}

.landing-mini-sound-card:hover {
  transform: scale(1.04);
  background: #def7eb;
}

.landing-sound-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.landing-sound-action .speaker-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--sl-mint-500);
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.landing-sound-word {
  font-family: var(--font-latin);
  font-size: 24px;
  font-weight: 900;
  color: var(--sl-navy-900);
  letter-spacing: 1px;
}

.landing-sound-phonics {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sl-mint-600);
}

/* Mini Completed pill */
.landing-mini-complete-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sl-navy-800);
}

.landing-mini-complete-pill .check-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sl-mint-500);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

/* Floating Glass Badges */
.landing-floating-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(17, 39, 91, 0.14);
  animation: float-subtle 5s ease-in-out infinite;
}

.landing-floating-badge-1 {
  top: -24px;
  right: -24px;
  animation-delay: 0s;
}

.landing-floating-badge-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2.5s;
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.landing-badge-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
}

.landing-badge-icon.purple {
  background: var(--sl-purple-50);
  color: var(--sl-purple-600);
}

.landing-badge-icon.amber {
  background: var(--sl-amber-50);
  color: var(--sl-amber-500);
}

.landing-badge-details strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sl-navy-900);
}

.landing-badge-details small {
  font-size: 11px;
  font-weight: 600;
  color: var(--sl-text-muted);
}

/* ==========================================================================
   Trust Strip & Metrics
   ========================================================================== */
.landing-trust-strip {
  padding: 32px 0;
  background: #ffffff;
  border-top: 1px solid var(--sl-border-subtle);
  border-bottom: 1px solid var(--sl-border-subtle);
  position: relative;
}

.landing-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.landing-trust-metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: background-color 0.2s;
}

.landing-trust-metric:hover {
  background-color: var(--sl-surface-soft);
}

.landing-metric-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sl-blue-50);
  color: var(--sl-blue-500);
  font-size: 22px;
  flex-shrink: 0;
}

.landing-metric-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--sl-navy-900);
}

.landing-metric-text p {
  font-size: 12.5px;
  color: var(--sl-text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */
.landing-section {
  padding: 96px 0;
  position: relative;
}

.landing-section-soft {
  background-color: var(--sl-surface-soft);
}

.landing-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.landing-kicker {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sl-blue-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.landing-section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  color: var(--sl-navy-950);
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.landing-section-subtitle {
  font-size: 16.5px;
  color: var(--sl-text-muted);
  font-weight: 600;
  line-height: 1.7;
}

/* Split header variant */
.landing-split-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.landing-split-header .landing-section-header {
  text-align: right;
  margin: 0;
}

.landing-split-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sl-blue-500);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.landing-split-link:hover {
  color: var(--sl-blue-600);
  transform: translateX(-4px);
}

/* ==========================================================================
   Section: Problem & Traditional Challenges
   ========================================================================== */
.landing-problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.landing-problem-card {
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--sl-shadow-sm);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.landing-problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.landing-problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--sl-shadow-card-hover);
}

.landing-problem-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fffbeb;
  color: #d97706;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
}

.landing-problem-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sl-navy-900);
  margin-bottom: 12px;
  line-height: 1.4;
}

.landing-problem-card p {
  font-size: 14.5px;
  color: var(--sl-text-muted);
  font-weight: 600;
  line-height: 1.7;
}

.landing-problem-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--sl-blue-50), #ffffff);
  border: 1px dashed var(--sl-blue-400);
  border-radius: var(--radius-md);
  text-align: center;
}

.landing-problem-banner-icon {
  font-size: 22px;
}

.landing-problem-banner p {
  font-size: 16px;
  font-weight: 800;
  color: var(--sl-navy-800);
}

/* ==========================================================================
   Section: Solution & How It Works Steps
   ========================================================================== */
.landing-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.landing-step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  box-shadow: var(--sl-shadow-sm);
  transition: all 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.landing-step-card:hover {
  transform: translateY(-8px);
  border-color: var(--sl-blue-400);
  box-shadow: var(--sl-shadow-card-hover);
}

.landing-step-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 900;
  color: var(--sl-blue-500);
  background: var(--sl-blue-50);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.landing-step-icon-wrap {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sl-blue-50), #ffffff);
  border: 1px solid var(--sl-blue-100);
  color: var(--sl-blue-500);
  font-size: 24px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(44, 90, 233, 0.1);
  transition: transform 0.3s var(--ease-spring);
}

.landing-step-card:hover .landing-step-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--sl-blue-500), var(--sl-blue-600));
  color: #ffffff;
}

.landing-step-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--sl-navy-900);
  margin-bottom: 10px;
}

.landing-step-card p {
  font-size: 14px;
  color: var(--sl-text-muted);
  font-weight: 600;
  line-height: 1.65;
}

/* ==========================================================================
   Section: 4 Levels Curriculum
   ========================================================================== */
.landing-levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.landing-level-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sl-shadow-sm);
  transition: all 0.35s var(--ease-spring);
  overflow: hidden;
}

.landing-level-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sl-shadow-card-hover);
}

.landing-level-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
}

.level-1 .landing-level-accent { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.level-2 .landing-level-accent { background: linear-gradient(90deg, #10b981, #34d399); }
.level-3 .landing-level-accent { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.level-4 .landing-level-accent { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

.landing-level-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.level-1 .landing-level-tag { background: #eff6ff; color: #1d4ed8; }
.level-2 .landing-level-tag { background: #ecfdf5; color: #047857; }
.level-3 .landing-level-tag { background: #fffbeb; color: #b45309; }
.level-4 .landing-level-tag { background: #f5f3ff; color: #6d28d9; }

.landing-level-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--sl-navy-900);
  margin-bottom: 8px;
}

.landing-level-desc {
  font-size: 13.5px;
  color: var(--sl-text-muted);
  font-weight: 600;
  min-height: 48px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.landing-level-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-level-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sl-navy-800);
}

.landing-level-list li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.level-1 .landing-level-list li svg { color: #2563eb; }
.level-2 .landing-level-list li svg { color: #059669; }
.level-3 .landing-level-list li svg { color: #d97706; }
.level-4 .landing-level-list li svg { color: #7c3aed; }

.landing-level-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  transition: all 0.25s var(--ease-spring);
}

.level-1 .landing-level-cta { background: #eff6ff; color: #1d4ed8; }
.level-1 .landing-level-cta:hover { background: #2563eb; color: #ffffff; }

.level-2 .landing-level-cta { background: #ecfdf5; color: #047857; }
.level-2 .landing-level-cta:hover { background: #059669; color: #ffffff; }

.level-3 .landing-level-cta { background: #fffbeb; color: #b45309; }
.level-3 .landing-level-cta:hover { background: #d97706; color: #ffffff; }

.level-4 .landing-level-cta { background: #f5f3ff; color: #6d28d9; }
.level-4 .landing-level-cta:hover { background: #7c3aed; color: #ffffff; }

/* ==========================================================================
   Section: Interactive Features Grid
   ========================================================================== */
.landing-features-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.landing-features-info .landing-kicker {
  margin-bottom: 8px;
}

.landing-features-info h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--sl-navy-950);
  line-height: 1.3;
  margin-bottom: 18px;
}

.landing-features-info p {
  font-size: 16.5px;
  color: var(--sl-text-muted);
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 28px;
}

.landing-feature-grid-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.landing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--sl-shadow-sm);
  transition: all 0.25s var(--ease-spring);
}

.landing-feature-item:hover {
  transform: translateY(-4px);
  border-color: var(--sl-blue-400);
  box-shadow: var(--sl-shadow-md);
}

.landing-feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-blue { background: var(--sl-blue-50); color: var(--sl-blue-500); }
.feature-mint { background: var(--sl-mint-50); color: var(--sl-mint-600); }
.feature-amber { background: var(--sl-amber-50); color: var(--sl-amber-500); }
.feature-purple { background: var(--sl-purple-50); color: var(--sl-purple-600); }

.landing-feature-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--sl-navy-900);
  margin-bottom: 4px;
}

.landing-feature-text small {
  display: block;
  font-size: 12px;
  color: var(--sl-text-muted);
  font-weight: 600;
  line-height: 1.5;
}

/* ==========================================================================
   Section: Dark Preview Mode (Interactive Activities Showcase)
   ========================================================================== */
.landing-dark-section {
  background: linear-gradient(180deg, var(--sl-navy-950) 0%, var(--sl-navy-900) 100%);
  color: #ffffff;
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}

.landing-dark-section .landing-kicker {
  color: var(--sl-blue-400);
}

.landing-dark-section .landing-section-title {
  color: #ffffff;
}

.landing-dark-section .landing-section-subtitle {
  color: #94a3b8;
}

.landing-interactive-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.landing-showcase-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-spring);
}

.landing-showcase-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(44, 90, 233, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.landing-showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.landing-showcase-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.badge-listen { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.badge-read { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.badge-play { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }

/* Interactive widget: Audio Equalizer */
.landing-audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 80px;
  margin-bottom: 24px;
  cursor: pointer;
}

.landing-audio-wave span {
  display: block;
  width: 8px;
  background: linear-gradient(180deg, var(--sl-blue-400), #2563eb);
  border-radius: 99px;
  animation: wave-anim 1.2s ease-in-out infinite alternate;
}

.landing-audio-wave span:nth-child(1) { height: 24px; animation-delay: 0.1s; }
.landing-audio-wave span:nth-child(2) { height: 54px; animation-delay: 0.3s; }
.landing-audio-wave span:nth-child(3) { height: 72px; animation-delay: 0.5s; }
.landing-audio-wave span:nth-child(4) { height: 40px; animation-delay: 0.2s; }
.landing-audio-wave span:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes wave-anim {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Interactive widget: Word builder */
.landing-word-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin-bottom: 24px;
  font-family: var(--font-latin);
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
  direction: ltr;
}

.landing-word-box em {
  color: var(--sl-mint-400);
  font-style: normal;
  text-decoration: underline wavy rgba(16, 185, 129, 0.6);
  text-underline-offset: 6px;
}

/* Interactive widget: Play circles */
.landing-game-orbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 80px;
  margin-bottom: 24px;
}

.landing-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  animation: orb-bounce 2s ease-in-out infinite alternate;
}

.landing-orb:nth-child(1) { background: #f59e0b; animation-delay: 0s; }
.landing-orb:nth-child(2) { background: #3b82f6; animation-delay: 0.3s; }
.landing-orb:nth-child(3) { background: #10b981; animation-delay: 0.6s; }

@keyframes orb-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.landing-showcase-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.landing-showcase-card p {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1.65;
}

/* ==========================================================================
   Section: Learning Journey Pathway
   ========================================================================== */
.landing-journey-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 44px 0 24px;
}

.landing-journey-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--sl-shadow-sm);
  transition: all 0.25s var(--ease-spring);
}

.landing-journey-node:hover {
  transform: translateY(-6px);
  border-color: var(--sl-blue-500);
  box-shadow: var(--sl-shadow-md);
}

.landing-journey-node strong {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 900;
  color: var(--sl-navy-900);
}

.landing-journey-node small {
  font-size: 12px;
  font-weight: 700;
  color: var(--sl-blue-500);
  margin-top: 4px;
}

.landing-journey-arrow {
  display: grid;
  place-items: center;
  color: var(--sl-blue-400);
  font-size: 20px;
}

/* ==========================================================================
   Section: Placement Test CTA Banner
   ========================================================================== */
.landing-placement-banner {
  background: linear-gradient(135deg, #1842b8 0%, #0d2772 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(17, 39, 91, 0.22);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.landing-placement-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.landing-placement-content .landing-kicker {
  color: #93c5fd;
}

.landing-placement-content h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.landing-placement-content p {
  font-size: 16.5px;
  color: #dbeafe;
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 24px;
}

.landing-placement-perks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}

.landing-placement-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #eff6ff;
}

.landing-placement-perks li svg {
  color: var(--sl-mint-400);
}

.landing-placement-action {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Section: Parent Dashboard Showcase
   ========================================================================== */
.landing-dashboard-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.landing-dashboard-mockup {
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--sl-shadow-lg);
  position: relative;
}

.landing-mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.landing-mockup-score-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.landing-mockup-score-row strong {
  font-family: var(--font-latin);
  font-size: 52px;
  font-weight: 900;
  color: var(--sl-blue-500);
  line-height: 1;
}

.landing-mockup-score-row span {
  font-size: 16px;
  font-weight: 800;
  color: var(--sl-navy-800);
}

.landing-mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.landing-mockup-stat {
  padding: 16px 12px;
  background: var(--sl-surface-soft);
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
}

.landing-mockup-stat strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 900;
  color: var(--sl-navy-900);
  margin-bottom: 4px;
}

.landing-mockup-stat span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sl-text-muted);
}

/* ==========================================================================
   Section: FAQ Accordion
   ========================================================================== */
.landing-faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.landing-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-accordion-item {
  background: #ffffff;
  border: 1px solid var(--sl-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s var(--ease-spring);
}

.landing-accordion-item:hover {
  border-color: var(--sl-blue-400);
}

.landing-accordion-item.is-open {
  border-color: var(--sl-blue-500);
  box-shadow: var(--sl-shadow-sm);
  background: #ffffff;
}

.landing-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: right;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--sl-navy-900);
  cursor: pointer;
  user-select: none;
}

.landing-accordion-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sl-blue-50);
  color: var(--sl-blue-500);
  font-size: 18px;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s;
  flex-shrink: 0;
}

.landing-accordion-item.is-open .landing-accordion-icon {
  transform: rotate(180deg);
  background: var(--sl-blue-500);
  color: #ffffff;
}

.landing-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-spring);
}

.landing-accordion-item.is-open .landing-accordion-content {
  grid-template-rows: 1fr;
}

.landing-accordion-inner {
  overflow: hidden;
}

.landing-accordion-inner p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--sl-text-muted);
  font-weight: 600;
  line-height: 1.75;
}

/* ==========================================================================
   Section: Final CTA & Footer
   ========================================================================== */
.landing-final-cta {
  background: linear-gradient(135deg, var(--sl-navy-950) 0%, var(--sl-navy-800) 50%, var(--sl-blue-600) 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(44, 90, 233, 0.25) 0%, transparent 60%);
}

.landing-final-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.landing-final-cta h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.25;
}

.landing-final-cta p {
  font-size: 18px;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 36px;
  line-height: 1.7;
}

.landing-final-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.landing-footer {
  background: var(--sl-navy-950);
  color: #94a3b8;
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.landing-footer .landing-brand-title {
  color: #ffffff;
}

.landing-footer p {
  font-size: 13.5px;
  margin-top: 8px;
}

.landing-footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.landing-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.landing-footer-links a:hover {
  color: var(--sl-blue-400);
}

/* Persistent support entry point. Kept above page content and clear of the mobile CTA. */
.landing-whatsapp-contact {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 91;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 16px 8px 9px;
  color: #ffffff;
  background: #16a34a;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(21, 128, 61, 0.28);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.landing-whatsapp-contact:hover {
  color: #ffffff;
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(21, 128, 61, 0.34);
}

.landing-whatsapp-contact:focus-visible {
  outline: 3px solid #86efac;
  outline-offset: 3px;
}

.landing-whatsapp-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.landing-whatsapp-copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.landing-whatsapp-copy strong {
  font-size: 13px;
}

.landing-whatsapp-copy small {
  font-size: 12px;
  letter-spacing: 0;
  opacity: 0.88;
}

/* Floating Mobile Sticky CTA */
.landing-mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: 16px;
  z-index: 90;
}

.landing-mobile-floating-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  width: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--sl-blue-500), var(--sl-blue-600));
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(44, 90, 233, 0.45);
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */
.landing-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .landing-hero-grid,
  .landing-features-layout,
  .landing-dashboard-layout,
  .landing-faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .landing-hero-copy {
    text-align: center;
    align-items: center;
  }

  .landing-lead {
    margin-inline: auto;
  }

  .landing-hero-actions,
  .landing-hero-trust {
    justify-content: center;
  }

  .landing-hero-visual {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .landing-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-steps-grid,
  .landing-levels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-interactive-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-placement-banner {
    grid-template-columns: 1fr;
    padding: 44px 32px;
    text-align: center;
  }

  .landing-placement-perks {
    justify-content: center;
  }

  .landing-placement-action {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .landing-header {
    position: relative;
  }

  .landing-menu-toggle {
    display: flex;
  }

  .landing-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border: 1px solid var(--sl-border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--sl-shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .landing-nav.is-open {
    display: flex;
  }

  .landing-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .landing-nav-links a {
    padding: 12px 16px;
  }

  .landing-nav-actions {
    margin: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .landing-nav-login,
  .landing-nav-cta {
    justify-content: center;
    min-height: 48px;
  }

  .landing-problem-cards,
  .landing-steps-grid,
  .landing-levels-grid,
  .landing-interactive-showcase,
  .landing-feature-grid-items,
  .landing-trust-grid {
    grid-template-columns: 1fr;
  }

  .landing-split-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .landing-section {
    padding: 64px 0;
  }

  .landing-mobile-floating-cta {
    display: block;
  }

  .landing-whatsapp-contact {
    left: 16px;
    bottom: 86px;
    min-width: 56px;
    padding: 9px;
  }

  .landing-whatsapp-copy {
    display: none;
  }

  .landing-footer {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .landing-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
