/* ==========================================================================
   BAOBAB RISE - Ultra-Premium Sports EdTech Design System
   Aesthetic: Sleek Midnight Slate, Vibrant Neon Cyan, Athletic Emerald, Warm Amber
   ========================================================================== */

:root {
  --primary-blue: #0284c7;
  --primary-cyan: #38bdf8;
  --primary-green: #10b981;
  --primary-green-dark: #059669;
  --bg-dark: #070b14;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-hover: rgba(22, 33, 62, 0.95);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(56, 189, 248, 0.4);
  --text-white: #ffffff;
  --text-lead: #e2e8f0;
  --text-dim: #94a3b8;
  --shadow-glow-blue: 0 0 25px rgba(2, 132, 199, 0.45);
  --shadow-glow-green: 0 0 25px rgba(16, 185, 129, 0.45);
}

.landing-body {
  background-color: var(--bg-dark);
  color: var(--text-lead);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

/* Ambient Background Glow */
.landing-body::before {
  content: '';
  position: fixed;
  top: -100px;
  right: -50px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.16) 0%, rgba(7, 11, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.landing-body::after {
  content: '';
  position: fixed;
  top: 450px;
  left: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.13) 0%, rgba(7, 11, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   LIVE ACTIVITY TICKER (Top Marquee)
   ========================================================================== */
.live-ticker-bar {
  background: linear-gradient(90deg, #0b1329 0%, #034b75 50%, #064e3b 100%);
  color: #ffffff;
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1002;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Legacy drawer suppression kill-switch (in case old HTML is served from browser cache) */
#mobileNavDrawer,
.mobile-nav-drawer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.live-ticker-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(90deg, #0b1329 80%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}

.ticker-label {
  position: relative;
  z-index: 10;
  background: #0284c7;
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.8);
}

.ticker-track {
  display: inline-flex;
  gap: 45px;
  animation: tickerScroll 38s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.ticker-track strong {
  color: #38bdf8;
}

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

/* ==========================================================================
   NAVBAR (Frosted Dark Glassmorphic Nav)
   ========================================================================== */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 14, 26, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-svg-glow {
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.35));
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.landing-nav-links a:hover {
  color: #ffffff;
}

.landing-nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  border-radius: 2px;
}

/* High-Converting Admin Login Button in Nav */
.btn-admin-login-nav {
  background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.45);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-admin-login-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: btnShimmer 3.5s infinite;
}

@keyframes btnShimmer {
  100% { left: 200%; }
}

.btn-admin-login-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.55);
  background: linear-gradient(135deg, #0369a1 0%, #059669 100%);
}

/* ==========================================================================
   HERO SECTION (High-Energy, Sleek & Dynamic)
   ========================================================================== */
.landing-hero {
  padding: 70px 6% 90px;
  position: relative;
  z-index: 10;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 90% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
              var(--bg-dark);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.badge-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-main-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}

.gradient-text-sky {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-green {
  background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description-lead {
  font-size: 17.5px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero-glow-portal {
  background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-hero-glow-portal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.55);
  background: linear-gradient(135deg, #0369a1 0%, #059669 100%);
}

.btn-hero-outline-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 15px 28px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-outline-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #070b14;
  margin-left: -10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.social-proof-text {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.4;
}

.social-proof-text strong {
  color: #f8fafc;
}

/* Hero Right: 3D Dark Glass Deck */
.hero-visual-deck {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-visual-glass-card {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(2, 132, 199, 0.15);
  backdrop-filter: blur(20px);
  position: relative;
}

.hero-action-image-box {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
}

.hero-action-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(7, 11, 20, 0.92));
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Floating Clean Badges */
.hero-float-badge-1 {
  position: absolute;
  top: -14px;
  right: -14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(2, 132, 199, 0.3);
  animation: floatSlow 4s ease-in-out infinite alternate;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.hero-float-badge-2 {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(34, 197, 94, 0.3);
  animation: floatSlow2 4.5s ease-in-out infinite alternate;
  z-index: 2;
  backdrop-filter: blur(12px);
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes floatSlow2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

/* ==========================================================================
   PARTNER SCHOOLS BADGES BAR
   ========================================================================== */
.schools-strip {
  padding: 40px 6%;
  background: #090e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schools-badges-row {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.school-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 20px;
  border-radius: 12px;
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.school-badge-item:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   METRICS COUNTER BAR (Glowing Stats)
   ========================================================================== */
.stats-strip {
  background: #070b14;
  padding: 60px 6%;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-item-box:hover {
  background: rgba(22, 33, 62, 0.85);
  border-color: #38bdf8;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.2);
}

.stat-big-num {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-title-label {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
}

/* ==========================================================================
   INTERACTIVE ROLE PREVIEWER TABS ON LANDING PAGE
   ========================================================================== */
.portal-preview-section {
  padding: 80px 6%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-tag-center {
  color: #38bdf8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

.section-title-center {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-subtitle-center {
  font-size: 16px;
  color: #94a3b8;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
  line-height: 1.6;
}

.role-switcher-banner {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.role-tab-selectors {
  display: flex;
  background: rgba(7, 11, 20, 0.7);
  padding: 6px;
  border-radius: 14px;
  gap: 8px;
  margin-bottom: 30px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.role-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.role-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.role-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45);
}

.role-tab-btn.active[data-role="principal"] { background: #166534; box-shadow: 0 4px 15px rgba(22, 101, 52, 0.45); }
.role-tab-btn.active[data-role="trainer"] { background: #0d9488; box-shadow: 0 4px 15px rgba(13, 148, 136, 0.45); }
.role-tab-btn.active[data-role="parent"] { background: #15803d; box-shadow: 0 4px 15px rgba(21, 128, 61, 0.45); }

.role-preview-card-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.role-preview-info h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 12px 0;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.role-feature-list {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #cbd5e1;
}

.role-feature-list li span.check {
  color: #10b981;
  font-size: 16px;
  font-weight: 900;
}

/* ==========================================================================
   5 PILLARS (Clean Crisp Cards)
   ========================================================================== */
.pillars-section {
  padding: 80px 6%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

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

.pillar-glow-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pillar-glow-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  background: rgba(22, 33, 62, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
}

.pillar-icon-glow {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.pillar-glow-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.pillar-glow-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

/* ==========================================================================
   LOGIN POPUP MODAL (Completely Hidden by Default, Centered Popup)
   ========================================================================== */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
}

.login-modal-overlay.active {
  display: flex;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: #0f172a;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(2, 132, 199, 0.25);
  overflow: hidden;
  position: relative;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.login-header-band {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

.login-role-tabs {
  display: flex;
  background: #1e293b;
  padding: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-role-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.login-role-tab:hover {
  color: #ffffff;
}

.login-role-tab.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-body-form {
  padding: 24px;
}

.quick-demo-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-demo-pill:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.login-card .form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.login-card .form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1e293b;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s;
}

.login-card .form-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #ffffff;
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.8);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .role-preview-card-display {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-main-title {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }
  .landing-nav-links {
    display: none !important;
  }
  .landing-nav {
    padding: 12px 5% !important;
  }
  .brand-svg-glow {
    height: 36px !important;
  }
  .btn-download-nav-badge {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }
  .btn-admin-login-nav {
    padding: 7px 14px !important;
    font-size: 12px !important;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  .pillars-grid-modern {
    grid-template-columns: 1fr !important;
  }
  .hero-cta-flex {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* ==========================================================================
   APP DOWNLOADS STYLING & SHOWCASE SECTION
   ========================================================================== */
.btn-download-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-download-nav-badge:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Hero Fast-Bar */
.hero-app-fastbar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fastbar-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fastbar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fastbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.15s ease;
}

.fastbar-pill:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Dedicated Download Apps Section */
.download-apps-section {
  padding: 80px 6%;
  background: linear-gradient(180deg, #070d1e 0%, #0b152d 50%, #070d1e 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.download-apps-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.download-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  color: #38bdf8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.download-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.download-desc {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Master Download Card */
.master-download-card {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.master-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.master-info p {
  font-size: 14px;
  color: #94a3b8;
  max-width: 600px;
  line-height: 1.5;
}

.master-action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Download Grid */
.download-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.app-download-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.app-download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.app-card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-card-title-group h4 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.app-card-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.app-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.app-card-features li {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-card-features li span.check {
  color: #22c55e;
  font-weight: 800;
}

.app-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* Button Variants */
.btn-apk-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: #0284c7;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-apk-download:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
  color: #ffffff;
}

.btn-play-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-play-store:hover {
  background: #111827;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-web-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-web-launch:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .download-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .master-download-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .master-action-buttons {
    flex-direction: column !important;
  }
  .master-action-buttons .btn-apk-download,
  .master-action-buttons .btn-play-store {
    width: 100% !important;
  }
  .btn-download-nav-badge {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
  }
}

