/* ==========================================================================
   ADHYAYAN — APPLICATION-GRADE UI & TYPOGRAPHY SYSTEM
   Calibrated App-Like Font Scaling, Tactile Button Sizes, High Contrast
   ========================================================================== */

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

:root {
  /* Solid High-Contrast Palette */
  --primary: #4338CA;           /* Indigo 700 */
  --primary-hover: #3730A3;     /* Indigo 800 */
  --primary-active: #312E81;    /* Indigo 900 */
  --primary-light: #EEF2FF;     /* Indigo 50 */
  --primary-border: #A5B4FC;    /* Indigo 300 */

  --accent-orange: #EA580C;      /* Orange 600 */
  --accent-orange-hover: #C2410C;
  --accent-orange-light: #FFF7ED;

  --accent-emerald: #047857;     /* Emerald 700 */
  --accent-emerald-light: #ECFDF5;
  --accent-emerald-border: #6EE7B7;

  --accent-cyan: #0284C7;        /* Sky 700 */
  --accent-cyan-light: #F0F9FF;

  --accent-amber: #B45309;       /* Amber 700 */
  --accent-amber-light: #FEF3C7;

  /* Solid Clean Backgrounds */
  --bg-page: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;
  --bg-dark: #0F172A;
  --bg-dark-box: #1E1B4B;

  /* High-Contrast Crisp Text Tokens */
  --text-main: #0F172A;          /* Slate 900 - Pure Deep Dark */
  --text-muted: #334155;         /* Slate 700 - Body text */
  --text-medium: #475569;        /* Slate 600 */
  --text-dark-sub: #E2E8F0;
  --text-dark-muted: #CBD5E1;

  /* Crisp Application Borders */
  --border-color: #CBD5E1;       /* Slate 300 */
  --border-strong: #94A3B8;      /* Slate 400 */
  --border-focus: #4338CA;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Tactile App Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 2px 5px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.10);
  --shadow-primary: 0 2px 8px rgba(67, 56, 202, 0.25);
  --shadow-orange: 0 2px 8px rgba(234, 88, 12, 0.25);

  /* Layout & Application Dimensions */
  --max-w: 1200px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;
  --nav-height: 68px;

  --transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.color-primary {
  color: var(--primary);
  font-weight: 800;
}

.color-orange {
  color: var(--accent-orange);
  font-weight: 800;
}

/* ==========================================================================
   PERFECTLY CENTERED HEADER & NAVBAR UI
   ========================================================================== */

/* Announcement Bar */
.announcement-bar {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 1rem;
  min-height: 38px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.announcement-badge {
  background: var(--accent-orange);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.announcement-link {
  color: #FEF08A;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}

/* Navbar - Perfectly Vertically Centered */
.navbar {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-bottom: 1.5px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 1.25rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  line-height: 1;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.brand-tag-small {
  font-size: 0.65rem;
  font-family: var(--font-main);
  font-weight: 800;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--primary-border);
  letter-spacing: 0.02em;
  margin-left: 2px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-item a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-item a.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 800;
}

/* Navbar Action CTAs */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 100%;
}

/* Mobile Hamburger Button */
.nav-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  padding: 0;
}

.nav-hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: calc(var(--nav-height) + 38px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 2px solid var(--border-color);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-drawer.open,
.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-drawer a {
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.mobile-nav-drawer a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-drawer .drawer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}

/* ==========================================================================
   UNIFIED STUDENT & TENANT HEADER COMPONENTS
   ========================================================================== */
.sp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.sp-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary, #4338CA);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sp-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main, #0F172A);
}

.sp-brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-medium, #64748B);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

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

.sp-nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted, #475569);
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sp-nav-link:hover,
.sp-nav-link.active {
  background: var(--primary-light, #EEF2FF);
  color: var(--primary, #4338CA);
  font-weight: 700;
}

.sp-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sp-notif-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-subtle, #F8FAFC);
  border: 1px solid var(--border-color, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 17px;
  color: var(--text-main, #0F172A);
  transition: all 0.2s ease;
}

.sp-notif-btn:hover {
  background: var(--primary-light, #EEF2FF);
  border-color: var(--primary, #4338CA);
  color: var(--primary, #4338CA);
}

.sp-notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  background: #EF4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  padding: 0 4px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

.sp-notif-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 320px;
  background: #fff;
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  overflow: hidden;
  animation: dropIn 0.18s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sp-notif-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color, #E2E8F0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-subtle, #F8FAFC);
}

.sp-notif-header strong {
  font-size: 13px;
  color: var(--text-main, #0F172A);
  font-weight: 700;
}

.sp-notif-mark-read {
  background: none;
  border: none;
  color: var(--primary, #4338CA);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.sp-notif-body {
  max-height: 300px;
  overflow-y: auto;
}

.sp-notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #F8FAFC;
  transition: background 0.15s;
}

.sp-notif-item:hover { background: var(--bg-subtle, #F8FAFC); }
.sp-notif-item.unread { background: #EFF6FF; border-left: 3px solid var(--primary, #4338CA); }

.sp-notif-title { font-size: 12px; font-weight: 700; color: var(--text-main, #0F172A); }
.sp-notif-msg { font-size: 12px; color: var(--text-muted, #475569); margin: 3px 0 4px; line-height: 1.4; }
.sp-notif-time { font-size: 10px; color: #94A3B8; }

.sp-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--bg-subtle, #F8FAFC);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 10px;
  padding: 5px 12px 5px 5px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sp-user-btn:hover {
  border-color: var(--primary, #4338CA);
  background: var(--primary-light, #EEF2FF);
}

.sp-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--primary, #4338CA);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.sp-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main, #0F172A);
}

.sp-logout-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted, #475569);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #E2E8F0);
  transition: all 0.2s ease;
  white-space: nowrap;
  background: #FFFFFF;
}

.sp-logout-btn:hover {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #EF4444;
}


/* ==========================================================================
   APPLICATION-GRADE BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-orange {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  background: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-dark {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

.btn-dark:hover {
  background: #1E293B;
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  height: 38px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-lg {
  height: 46px;
  padding: 0 24px;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: var(--radius-md);
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 4.5rem;
  background: var(--bg-page);
  border-bottom: 1.5px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--primary-light);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid var(--border-color);
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: #FFFFFF;
}

.trust-avatar:first-child { margin-left: 0; }
.t-av1 { background: #4338CA; }
.t-av2 { background: #EA580C; }
.t-av3 { background: #0369A1; }
.t-av4 { background: #047857; }
.t-av5 { background: #7C3AED; }

.trust-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-copy strong {
  color: var(--text-main);
  font-weight: 800;
}

.stars-rating {
  color: #D97706;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

/* Hero Stage Mockup */
.hero-stage {
  position: relative;
}

.hero-dashboard-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.card-topbar-mac {
  background: var(--bg-muted);
  border-bottom: 1.5px solid var(--border-color);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-dots {
  display: flex;
  gap: 5px;
}

.mac-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.md-red { background: #DC2626; }
.md-yellow { background: #D97706; }
.md-green { background: #059669; }

.subdomain-tag {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.demo-tabs-nav {
  display: flex;
  background: var(--bg-muted);
  padding: 4px;
  border-bottom: 1.5px solid var(--border-color);
}

.demo-tab-btn {
  flex: 1;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  border: none;
  background: transparent;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.demo-tab-btn.active {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.demo-stage-body {
  padding: 1.25rem;
  background: #FFFFFF;
}

.institute-hero-preview {
  background: var(--bg-dark-box);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.inst-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid #10B981;
  color: #A7F3D0;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.inst-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 3px;
  color: #FFFFFF;
}

.inst-tagline {
  font-size: 0.78rem;
  color: #E2E8F0;
  margin-bottom: 10px;
}

.inst-action-row {
  display: flex;
  gap: 6px;
}

.inst-btn-enroll {
  background: var(--accent-orange);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.inst-btn-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 0.85rem;
}

.metric-box {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.metric-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-val {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--text-main);
}

.metric-trend {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.mini-courses-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-course-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.mini-c-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.c-ic1 { background: var(--primary-light); color: var(--primary); }
.c-ic2 { background: var(--accent-orange-light); color: var(--accent-orange); }

.mini-c-details { flex: 1; }
.mini-c-name { font-size: 0.78rem; font-weight: 800; color: var(--text-main); }
.mini-c-students { font-size: 0.68rem; color: var(--text-muted); font-weight: 600; }
.mini-c-price { font-size: 0.85rem; font-weight: 900; color: var(--primary); }

.floating-callout {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 9px 14px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.callout-revenue {
  top: -16px;
  right: -16px;
  border-left: 4px solid var(--accent-emerald);
}

.callout-instant {
  bottom: -16px;
  left: -16px;
  border-left: 4px solid var(--accent-orange);
}

.callout-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.ci-green { background: #ECFDF5; color: #047857; }
.ci-orange { background: #FFF7ED; color: #C2410C; }

.callout-title { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.callout-val { font-size: 0.9rem; font-weight: 900; color: var(--text-main); }

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 4.5rem 0;
  background: var(--bg-subtle);
  border-bottom: 1.5px solid var(--border-color);
}

.calc-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: center;
}

.calc-header .tag { margin-bottom: 0.65rem; }
.calc-title { font-size: 2rem; font-weight: 900; line-height: 1.2; margin-bottom: 0.85rem; }
.calc-desc { font-size: 0.98rem; color: var(--text-muted); margin-bottom: 1.75rem; }

.slider-group { margin-bottom: 1.5rem; }
.slider-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.slider-name { font-size: 0.92rem; font-weight: 800; color: var(--text-main); }

.slider-val-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  border: 1.5px solid var(--primary-border);
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.calc-result-box {
  background: var(--bg-dark-box);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #FFFFFF;
  text-align: center;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.result-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 1rem;
}

.result-amount {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  letter-spacing: -0.04em;
  color: #FDE047;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.result-sub { font-size: 0.9rem; color: #E2E8F0; font-weight: 600; margin-bottom: 1.5rem; }

.comparison-pills {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.comp-item .c-label { font-size: 0.7rem; color: #E2E8F0; text-transform: uppercase; font-weight: 800; }
.comp-item .c-val { font-size: 1.05rem; font-weight: 900; color: #FFFFFF; }
.comp-item .c-val.strike { text-decoration: line-through; color: #FCA5A5; }

/* ==========================================================================
   BENTO FEATURE GRID
   ========================================================================== */
.section {
  padding: 4.75rem 0;
}

.section-alt {
  background: var(--bg-subtle);
  border-top: 1.5px solid var(--border-color);
  border-bottom: 1.5px solid var(--border-color);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 900;
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: #FFFFFF;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.bi-indigo { background: var(--primary-light); color: var(--primary); }
.bi-emerald { background: var(--accent-emerald-light); color: var(--accent-emerald); }
.bi-orange { background: var(--accent-orange-light); color: var(--accent-orange); }
.bi-cyan { background: var(--accent-cyan-light); color: var(--accent-cyan); }
.bi-amber { background: var(--accent-amber-light); color: var(--accent-amber); }

.bento-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.bento-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-pill-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.1rem;
}

.feat-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.feat-pill.highlight {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

/* ==========================================================================
   COURSE CATALOG
   ========================================================================== */
.course-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.course-banner {
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 2.6rem;
}

.cb-1 { background: #312E81; }
.cb-2 { background: #065F46; }
.cb-3 { background: #831843; }

.course-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
}

.course-content-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.course-name-h { font-size: 1.15rem; font-weight: 900; color: var(--text-main); margin-bottom: 0.4rem; }
.course-desc-p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.1rem; flex: 1; }

.course-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1.5px solid var(--border-color);
}

.course-pricing-tag .mrp { font-size: 0.75rem; color: var(--text-muted); text-decoration: line-through; font-weight: 600; }
.course-pricing-tag .final-price { font-size: 1.25rem; font-weight: 900; color: var(--text-main); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.billing-switch-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
}

.billing-label { font-size: 0.95rem; font-weight: 800; color: var(--text-muted); }
.billing-label.active { color: var(--text-main); }

.toggle-switch-btn {
  width: 50px;
  height: 26px;
  background: var(--border-strong);
  border-radius: var(--radius-pill);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch-btn.active {
  background: var(--primary);
}

.switch-dot {
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: var(--transition);
}

.toggle-switch-btn.active .switch-dot {
  transform: translateX(24px);
}

.discount-tag-bubble {
  background: var(--accent-emerald-light);
  border: 1.5px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-plan-card {
  background: #FFFFFF;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-plan-card.featured {
  border: 2.5px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.popular-banner-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-tier-name { font-size: 1.25rem; font-weight: 900; color: var(--text-main); margin-bottom: 0.4rem; }
.plan-tier-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; min-height: 40px; line-height: 1.55; }

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--border-color);
}

.plan-currency { font-size: 1.35rem; font-weight: 800; color: var(--text-muted); }
.plan-big-number { font-size: 2.8rem; font-weight: 900; font-family: var(--font-heading); letter-spacing: -0.04em; color: var(--text-main); line-height: 1; }
.plan-period { font-size: 0.88rem; color: var(--text-muted); font-weight: 700; }

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.plan-feature-item.not-included {
  color: var(--text-medium);
  font-weight: 500;
}

.plan-icon-ok {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  border: 1px solid var(--accent-emerald-border);
}

.plan-icon-no {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #FFFFFF;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.test-stars-row { color: #D97706; font-size: 0.98rem; margin-bottom: 0.85rem; }
.test-quote-text { font-size: 0.95rem; color: var(--text-main); line-height: 1.7; margin-bottom: 1.25rem; flex: 1; font-weight: 500; }

.test-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 0.85rem;
  border-top: 1.5px solid var(--border-color);
}

.test-avatar-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #FFFFFF;
  font-size: 0.9rem;
}

.test-author-name { font-size: 0.92rem; font-weight: 900; color: var(--text-main); }
.test-author-inst { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ==========================================================================
   MEGA CTA BOX
   ========================================================================== */
.final-cta-section {
  padding: 4rem 0 5rem;
}

.cta-mega-box {
  background: var(--bg-dark-box);
  border-radius: var(--radius-xl);
  padding: 3.75rem 2.5rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.cta-tag-glow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.cta-big-h {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-sub-p {
  font-size: 1.05rem;
  color: #E2E8F0;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: #FFFFFF;
  color: var(--text-main);
  font-weight: 800;
}

.btn-cta-white:hover {
  background: var(--bg-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 4.5rem 0;
  background: var(--bg-page);
}

.faq-accordion-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item-card.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.faq-header-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 900;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item-card.open .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary);
  color: #FFFFFF;
}

.faq-answer-body {
  display: none;
  padding: 0 1.35rem 1.15rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1.5px solid var(--border-color);
  padding-top: 0.95rem;
}

.faq-item-card.open .faq-answer-body {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
  background: var(--bg-dark);
  color: #CBD5E1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.9rem;
}

.footer-brand-p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #CBD5E1;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-col-h {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #FFFFFF;
}

.footer-contact-item {
  color: #CBD5E1;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-contact-item strong {
  color: #FFFFFF;
}

.footer-bottom-bar {
  padding-top: 1.75rem;
  border-top: 1.5px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-bar a {
  color: #CBD5E1;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom-bar a:hover {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 2rem !important;
  }

  .hero-text-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-subtitle { margin: 0 auto 1.5rem !important; }
  .hero-actions { justify-content: center !important; width: 100% !important; }
  .hero-actions .btn { width: 100% !important; justify-content: center !important; }
  .hero-trust-bar { justify-content: center !important; }
  .hero-stage { width: 100% !important; max-width: 480px !important; margin: 0 auto !important; }
  .hero-dashboard-card { padding: 22px 18px !important; border-radius: 16px !important; }

  .bento-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .bento-card.span-2 { grid-column: span 2 !important; }

  .calc-card {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 1.75rem !important;
  }

  .course-cards-grid,
  .pricing-grid,
  .testimonials-cards-grid {
    grid-template-columns: 1fr !important;
    max-width: 440px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 860px) {
  .nav-menu { display: none; }
  .nav-hamburger-btn { display: flex; }
  .nav-cta-group .btn-ghost { display: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .floating-callout { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .cta-mega-box { padding: 2.5rem 1.25rem; }
  .announcement-bar { font-size: 0.78rem; flex-direction: column; gap: 4px; padding: 6px; }
}

/* ==========================================================================
   APPLICATION FORM CONTROLS & INPUT SYSTEM
   ========================================================================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main, #0F172A);
  letter-spacing: 0.2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-label-optional {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-medium, #64748B);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color, #CBD5E1);
  border-radius: var(--radius-md, 10px);
  font-family: var(--font-main, inherit);
  font-size: 0.95rem;
  color: var(--text-main, #0F172A);
  line-height: 1.5;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-control:hover {
  border-color: var(--border-strong, #94A3B8);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary, #4338CA);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.15);
  background-color: #FFFFFF;
}

.form-control::placeholder {
  color: #94A3B8;
  font-weight: 400;
  font-size: 0.9rem;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #F1F5F9;
  border-color: #E2E8F0;
  color: #64748B;
  cursor: not-allowed;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
  cursor: pointer;
}

.form-control-sm {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm, 8px);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-medium, #64748B);
  margin-top: 4px;
}

/* Alert Messages */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md, 10px);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.alert-success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #A7F3D0;
}

.alert-danger {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1.5px solid #FECACA;
}

.alert-warning {
  background-color: #FFFBEB;
  color: #92400E;
  border: 1.5px solid #FDE68A;
}

.alert-info {
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1.5px solid #BFDBFE;
}

/* ==========================================================================
   FIXED BOTTOM MOBILE APP DOCK & MICRO-ANIMATIONS
   ========================================================================== */
.mobile-app-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1.5px solid rgba(226, 232, 240, 0.85);
  z-index: 9990;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-app-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  color: #64748B;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  position: relative;
  transition: transform 0.12s ease, color 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  padding: 4px 0;
}

.mobile-dock-item:active {
  transform: scale(0.92);
}

.mobile-dock-icon {
  font-size: 20px;
  line-height: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-dock-item.active {
  color: var(--primary, #4338CA);
}

.mobile-dock-item.active .mobile-dock-icon {
  transform: translateY(-1px);
}

.mobile-dock-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 15px;
  height: 15px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  padding: 0 3.5px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFFFFF;
  line-height: 1;
}

@media (max-width: 1024px) {
  html, body {
    width: 100% !important;
    overflow-x: hidden !expression(none) !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  body {
    background-color: var(--bg-subtle, #F0F2F8) !important;
    padding-bottom: 76px !important;
  }
  
  .sp-page, .admin-content, main {
    padding-bottom: 84px !important;
  }

  /* Fixed Bottom Native Mobile App Dock */
  .mobile-app-dock {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1.5px solid rgba(226, 232, 240, 0.9) !important;
    z-index: 10000 !important;
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08) !important;
  }

  /* Compact Native Mobile App Fixed Top Bar */
  .navbar, .student-navbar, .admin-topbar {
    height: 56px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1.5px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) !important;
  }

  body {
    padding-top: 56px !important;
  }

  .sp-nav-inner, .navbar .nav-wrapper, .topbar-left {
    height: 56px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .sp-nav-links, .nav-menu {
    display: none !important;
  }

  .nav-hamburger-btn {
    display: flex !important;
  }

  .sp-brand-icon, .brand-icon-box {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
  }

  .sp-brand-name {
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .sp-brand-sub {
    font-size: 9px !important;
  }

  /* Native Mobile App Touch Card Containers */
  .sp-card, .admin-card, .stat-card, .sp-course-card, .sp-hero {
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    border: 1px solid var(--border-color, #E2E8F0) !important;
  }

  /* Touch Active Micro-Animations */
  .btn:active, button:active, .sp-notif-btn:active, .sp-user-btn:active, .mobile-dock-item:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease !important;
  }

  /* Universal Table Touch Scroll & Card Header Stack */
  .admin-card-body, .sp-card-body, .sp-table-wrap, .data-table-wrap, .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }

  .data-table, .sp-table {
    min-width: 580px;
  }

  .admin-card-header, .sp-card-header, .sp-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .admin-card-header .btn, .sp-card-header .btn, .admin-card-header a, .sp-card-header a {
    align-self: stretch !important;
    text-align: center !important;
    justify-content: center !important;
  }

  h1, h2, h3, h4, h5, h6, p, span, div, td, th, a, code {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Auto-Zoom on Form Focus */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Collapse Multi-Column Form & Dashboard Grids on Mobile */
  .form-grid, .grid-2col, .grid-3col, .admin-dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}





