/*
Theme Name: SchoolERP.pk Official Theme
Theme URI: https://schoolerp.pk
Author: Pearl Soft (SchoolERP.pk Team)
Author URI: https://schoolerp.pk
Description: Ultra-fast, lightweight, SEO-optimized, and security-hardened WordPress theme for SchoolERP.pk — AI-Powered Cloud ERP for Educational Institutions. Includes built-in On-Page SEO & Schema.org JSON-LD, SEO Blog with auto Table of Contents, Contact Form 7 / WPForms integration + native AJAX lead capture, and enterprise WordPress security hardening.
Version: 2.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: schoolerp
*/

:root {
  /* Brand Colors extracted from SchoolERP.pk Logo */
  --navy-950: #030d1f;
  --navy-900: #061836;
  --navy-800: #0a2552;
  --navy-700: #103570;
  --teal-300: #4fffef;
  --teal-400: #00e5d1;
  --teal-500: #00bfb0;
  --teal-600: #00968a;
  --sky-500: #0ea5e9;
  --indigo-500: #6366f1;

  /* Neutral Palette */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Semantic Accents */
  --emerald-500: #10b981;
  --amber-500: #f59e0b;
  --rose-500: #f43f5e;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #00e5d1 0%, #00b4a6 45%, #0284c7 100%);
  --grad-navy: linear-gradient(160deg, #030d1f 0%, #071e42 55%, #0a2b5e 100%);

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px -2px rgba(6, 24, 54, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(6, 24, 54, 0.1);
  --shadow-lg: 0 24px 56px -12px rgba(6, 24, 54, 0.16);
  --shadow-teal: 0 12px 32px -6px rgba(0, 229, 209, 0.35);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   Reset & Strict Mobile Viewport Containment (Zero Horizontal Scroll)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: #ffffff;
  line-height: 1.65;
  position: relative;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Top Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-brand);
  z-index: 2000;
  box-shadow: 0 0 10px rgba(0, 229, 209, 0.7);
  transition: width 0.08s linear;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  max-width: 100%;
  min-width: 0;
}

svg.lucide-icon,
.svg-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Prevent any grid or flex child from forcing horizontal scroll */
.hero-grid > *,
.portals-grid > *,
.mobile-app-banner > *,
.tour-panel > *,
.modules-grid > *,
.guarantees-grid > *,
.ai-showcase > *,
.steps-grid > *,
.demo-section-grid > *,
.form-grid-2 > *,
.blog-grid > *,
.single-post-grid > *,
.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* ==========================================================================
   Top Promo Announcement Bar
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #04132c 0%, #092b5a 50%, #04132c 100%);
  color: #fff;
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 229, 209, 0.2);
  position: relative;
  z-index: 1001;
}

.top-announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-announcement__left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.top-announcement__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 229, 209, 0.16);
  color: var(--teal-300);
  border: 1px solid rgba(0, 229, 209, 0.38);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-announcement__links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.82rem;
  color: var(--slate-300);
}

.top-announcement__links a:hover {
  color: var(--teal-300);
}

/* ==========================================================================
   Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px -10px rgba(6, 24, 54, 0.09);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  list-style: none;
}

.nav-menu a,
.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-menu a::after,
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad-brand);
  transition: width 0.25s ease;
}

.nav-menu a:hover,
.nav-link:hover,
.current-menu-item > a {
  color: var(--navy-900);
}

.nav-menu a:hover::after,
.nav-link:hover::after,
.current-menu-item > a::after {
  width: 100%;
}

.nav-badge-ai {
  display: inline-flex;
  align-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(0, 229, 209, 0.2), rgba(14, 165, 233, 0.2));
  color: var(--teal-600);
  border: 1px solid rgba(0, 191, 176, 0.35);
  margin-left: 0.25rem;
  vertical-align: middle;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-mobile-cta {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  cursor: pointer;
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons with CSS3 Shimmer Sweep Effect
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0.76rem 1.4rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.btn-primary {
  background: var(--grad-brand);
  color: var(--navy-950);
  box-shadow: var(--shadow-teal);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: btnShimmer 4.5s infinite;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(0, 229, 209, 0.55);
}

.btn-navy {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--teal-500);
  background: rgba(0, 229, 209, 0.06);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--teal-300);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* ==========================================================================
   Hero Section + HTML5 Interactive Particle Canvas
   ========================================================================== */
.hero {
  position: relative;
  background: var(--grad-navy);
  color: #ffffff;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
  overflow: clip;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 209, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 209, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 50%, transparent 100%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.42;
  max-width: 85vw;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.hero-orb--teal {
  width: 480px;
  height: 480px;
  background: var(--teal-400);
  top: -120px;
  right: -40px;
}

.hero-orb--sky {
  width: 380px;
  height: 380px;
  background: var(--sky-500);
  bottom: -100px;
  left: -40px;
  animation-delay: -5s;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 229, 209, 0.12);
  border: 1px solid rgba(0, 229, 209, 0.35);
  color: var(--teal-300);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  max-width: 100%;
}

.hero-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-300);
  box-shadow: 0 0 12px var(--teal-300);
  animation: pulseGlow 2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, #5ffbf1 0%, #00e5d1 45%, #38bdf8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s ease infinite;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--slate-300);
  max-width: 610px;
  margin-bottom: 1.85rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.15rem;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.trust-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(0, 229, 209, 0.2), rgba(14, 165, 233, 0.15));
  border: 1px solid rgba(0, 229, 209, 0.32);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item__title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.trust-item__desc {
  font-size: 0.76rem;
  color: var(--slate-400);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  perspective: 1400px;
}

.browser-mockup {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 229, 209, 0.2);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease;
}

.hero-visual:hover .browser-mockup {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 36px 90px -12px rgba(0, 229, 209, 0.28), 0 0 0 1px rgba(0, 229, 209, 0.45);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: rgba(6, 24, 54, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.5rem;
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #f43f5e; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
  background: rgba(255, 255, 255, 0.07);
  color: var(--slate-300);
  font-size: 0.74rem;
  padding: 0.24rem 0.85rem;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.browser-screen {
  max-height: 420px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.browser-screen img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

/* Floating Hero Cards */
.float-card {
  position: absolute;
  background: rgba(6, 24, 54, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 229, 209, 0.35);
  border-radius: 16px;
  padding: 0.8rem 1.05rem;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: floatSlow 5s ease-in-out infinite;
}

.float-card--top-left {
  top: -20px;
  left: -16px;
}

.float-card--bottom-right {
  bottom: -22px;
  right: -12px;
  animation-delay: -2.5s;
}

.float-card__badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 229, 209, 0.22), rgba(14, 165, 233, 0.18));
  border: 1px solid rgba(0, 229, 209, 0.35);
  color: var(--teal-300);
  flex-shrink: 0;
}

.float-card__label {
  font-size: 0.7rem;
  color: var(--slate-300);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.float-card__value {
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
}

/* ==========================================================================
   Animated Live Counter Stats Strip
   ========================================================================== */
.stats-ribbon {
  background: #061b3a;
  border-top: 1px solid rgba(0, 229, 209, 0.2);
  border-bottom: 1px solid rgba(0, 229, 209, 0.2);
  padding: 1.85rem 0;
  color: #ffffff;
}

.stats-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.stat-box {
  padding: 0.5rem;
  position: relative;
}

.stat-box__number {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #5ffbf1 0%, #00e5d1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-box__label {
  font-size: 0.82rem;
  color: var(--slate-300);
  font-weight: 600;
}

/* ==========================================================================
   Bank & Payment Ecosystem Strip (Contained Infinite CSS3 Marquee)
   ========================================================================== */
.ecosystem-strip {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.4rem 0;
  overflow: hidden;
  overflow: clip;
}

.ecosystem-strip__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 0.9rem;
}

.marquee-track-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.bank-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1.05rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.bank-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 8px rgba(0, 191, 176, 0.6);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

.section--alt {
  background-color: var(--slate-50);
}

.section--dark {
  background: var(--grad-navy);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-600);
  background: rgba(0, 229, 209, 0.12);
  border: 1px solid rgba(0, 191, 176, 0.28);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
  max-width: 100%;
}

.section--dark .section-eyebrow {
  color: var(--teal-300);
  background: rgba(0, 229, 209, 0.14);
  border-color: rgba(0, 229, 209, 0.3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

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

.section-desc {
  font-size: 1.02rem;
  color: var(--slate-600);
}

.section--dark .section-desc {
  color: var(--slate-300);
}

/* ==========================================================================
   4 Dedicated Portals & Mobile Apps Section
   ========================================================================== */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.5rem;
}

.portal-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(
    450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(0, 229, 209, 0.1),
    transparent 40%
  );
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}

.portal-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #061836 0%, #0e326b 100%);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  box-shadow: 0 8px 20px -4px rgba(6, 24, 54, 0.25);
  transition: transform 0.3s ease;
}

.portal-card:hover .portal-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.portal-card__role {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  margin-bottom: 0.3rem;
}

.portal-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.55rem;
}

.portal-card__list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--slate-600);
  margin-top: 0.85rem;
}

.portal-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
}

/* Mobile Apps Banner Card */
.mobile-app-banner {
  background: linear-gradient(135deg, #041229 0%, #092754 60%, #063d5c 100%);
  border: 1px solid rgba(0, 229, 209, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  color: #ffffff;
  transition: all 0.25s ease;
}

.store-badge:hover {
  background: rgba(0, 229, 209, 0.16);
  border-color: var(--teal-300);
  transform: translateY(-2px);
}

.phone-preview-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.phone-mini-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.1rem;
  backdrop-filter: blur(8px);
  animation: floatSlow 6s ease-in-out infinite;
}

.phone-mini-card:nth-child(2) {
  animation-delay: -3s;
}

/* ==========================================================================
   Interactive Product Tour
   ========================================================================== */
.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
  max-width: 100%;
}

.tour-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tour-tab:hover {
  border-color: var(--teal-500);
  color: var(--navy-900);
}

.tour-tab.is-active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.tour-tab.is-active svg {
  color: var(--teal-400);
}

.tour-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeIn 0.35s ease;
}

.tour-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
}

.tour-panel__info {
  padding: 2.75rem 2.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid var(--slate-200);
}

.tour-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  margin-bottom: 0.65rem;
}

.tour-panel__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.tour-panel__desc {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.tour-checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.85rem;
}

.tour-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

.tour-checklist li svg {
  color: var(--teal-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.tour-panel__media {
  background: var(--slate-900);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.report-cards-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timetable-preview-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.screenshot-frame {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-height: 450px;
  position: relative;
  cursor: zoom-in;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.screenshot-frame:hover img {
  transform: scale(1.02);
}

.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(6, 24, 54, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 209, 0.35);
}

/* ==========================================================================
   Module Bento Grid + Interactive Cursor Spotlight Effect
   ========================================================================== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.module-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(
    500px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(0, 229, 209, 0.11),
    transparent 40%
  );
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 191, 176, 0.45);
}

.module-card:hover::before {
  transform: scaleX(1);
}

.module-card--featured {
  background: linear-gradient(145deg, #061836 0%, #0b2959 100%);
  color: #ffffff;
  border-color: rgba(0, 229, 209, 0.3);
}

.module-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0, 229, 209, 0.14) 0%, rgba(14, 165, 233, 0.12) 100%);
  border: 1.5px solid rgba(0, 191, 176, 0.32);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 20px -6px rgba(0, 191, 176, 0.22);
  transition: all 0.3s ease;
}

.module-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal-600);
  stroke-width: 2;
}

.module-card:hover .module-card__icon {
  background: var(--grad-brand);
  border-color: transparent;
  transform: scale(1.08) rotate(-4deg);
}

.module-card:hover .module-card__icon svg {
  stroke: var(--navy-950);
}

.module-card--featured .module-card__icon {
  background: linear-gradient(135deg, rgba(0, 229, 209, 0.22) 0%, rgba(56, 189, 248, 0.16) 100%);
  border-color: rgba(0, 229, 209, 0.45);
  box-shadow: 0 10px 24px -6px rgba(0, 229, 209, 0.3);
}

.module-card--featured .module-card__icon svg {
  stroke: var(--teal-300);
}

.module-card__tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  margin-bottom: 0.4rem;
}

.module-card--featured .module-card__tag {
  color: var(--teal-300);
}

.module-card__title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.module-card--featured .module-card__title {
  color: #ffffff;
}

.module-card__desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.module-card--featured .module-card__desc {
  color: var(--slate-300);
}

.module-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.mini-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.24rem 0.62rem;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--slate-700);
}

.module-card--featured .mini-pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--slate-200);
}

/* ==========================================================================
   Platform Guarantees Strip
   ========================================================================== */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 3rem;
}

.guarantee-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.28s ease;
}

.guarantee-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}

.guarantee-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Interactive AI Campus Copilot Section
   ========================================================================== */
.ai-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.ai-feature-list {
  display: grid;
  gap: 1rem;
  margin: 1.85rem 0;
}

.ai-feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.ai-feature-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 229, 209, 0.4);
  transform: translateX(4px);
}

.ai-feature-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 229, 209, 0.16);
  border: 1px solid rgba(0, 229, 209, 0.32);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-sandbox {
  background: rgba(8, 22, 48, 0.92);
  border: 1px solid rgba(0, 229, 209, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.ai-sandbox__header {
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ai-sandbox__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-300);
}

.ai-prompts {
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ai-prompt-btn {
  background: rgba(255, 255, 255, 0.07);
  color: var(--slate-200);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-prompt-btn:hover,
.ai-prompt-btn.is-active {
  background: rgba(0, 229, 209, 0.18);
  border-color: var(--teal-300);
  color: #ffffff;
}

.ai-chat-window {
  padding: 1.35rem;
  min-height: 260px;
  max-height: 330px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ai-msg {
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 92%;
  animation: fadeIn 0.25s ease;
}

.ai-msg--user {
  align-self: flex-end;
  background: var(--grad-brand);
  color: var(--navy-950);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.ai-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-100);
  border-bottom-left-radius: 4px;
}

.ai-sandbox__input {
  padding: 0.95rem 1.35rem;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.6rem;
}

.ai-sandbox__input input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  color: #ffffff;
  outline: none;
}

.ai-sandbox__input input:focus {
  border-color: var(--teal-400);
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */
.comparison-table-wrap {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.92rem;
}

.comparison-table thead th {
  background: var(--navy-900);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.comparison-table thead th.highlight-col {
  background: linear-gradient(135deg, #00bfb0 0%, #0284c7 100%);
  color: var(--navy-950);
  font-weight: 800;
}

.comparison-table tbody td.highlight-col {
  background: rgba(0, 229, 209, 0.05);
  font-weight: 700;
  color: var(--navy-900);
}

/* ==========================================================================
   30-Day Free Trial Onboarding Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2.15rem 1.85rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-teal);
}

/* ==========================================================================
   Book a Demo & 30-Day Free Trial Form + CF7 / WPForms Styling
   ========================================================================== */
.demo-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.demo-form-card {
  background: #ffffff;
  color: var(--slate-800);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 229, 209, 0.3);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.intent-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem;
  background: var(--slate-100);
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 1.4rem;
}

.intent-btn {
  padding: 0.65rem 0.6rem;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intent-btn.is-active {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  min-width: 0;
  max-width: 100%;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.38rem;
}

.form-control,
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-checkbox):not(.wpcf7-radio),
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container select,
.wpforms-container textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  background: var(--slate-50);
  color: var(--slate-900);
  outline: none;
  transition: all 0.2s ease;
  text-overflow: ellipsis;
}

.form-control:focus,
.wpcf7-form-control:focus {
  background: #ffffff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(0, 229, 209, 0.15);
}

.wpcf7-submit,
.wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  border: none;
  background: var(--grad-brand);
  color: var(--navy-950);
  box-shadow: var(--shadow-teal);
  cursor: pointer;
  transition: all 0.25s ease;
}

.module-check-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.module-check-pill input {
  display: none;
}

.module-check-pill span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 99px;
  border: 1px solid var(--slate-300);
  background: var(--slate-50);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.module-check-pill input:checked + span {
  background: var(--navy-900);
  color: var(--teal-300);
  border-color: var(--navy-900);
}

/* ==========================================================================
   SEO Blog System (Archive, Cards, Single Post, TOC, Breadcrumbs)
   ========================================================================== */
.blog-hero {
  background: var(--grad-navy);
  color: #ffffff;
  padding: 4rem 0 3.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-200);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  padding: 0.45rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--slate-700);
  font-size: 0.84rem;
  font-weight: 700;
}

.category-pill:hover,
.category-pill.is-active {
  background: var(--navy-900);
  color: var(--teal-300);
  border-color: var(--navy-900);
}

.blog-search-form {
  display: flex;
  gap: 0.5rem;
  min-width: 260px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}

.blog-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__thumb img {
  transform: scale(1.04);
}

.blog-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 24, 54, 0.9);
  color: var(--teal-300);
  border: 1px solid rgba(0, 229, 209, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
}

.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-bottom: 0.6rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.blog-card__title a:hover {
  color: var(--teal-600);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.95rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* Single Blog Post Layout & Auto TOC */
.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--slate-400);
  margin-bottom: 1.2rem;
}

.seo-breadcrumbs a:hover {
  color: var(--teal-300);
}

.single-post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem;
  align-items: start;
}

.post-toc {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--teal-500);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}

.post-toc__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.post-toc__list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.post-toc__list a {
  color: var(--slate-700);
  font-weight: 600;
}

.post-toc__list a:hover {
  color: var(--teal-600);
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-800);
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 2.2rem 0 0.85rem;
  line-height: 1.25;
}

.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 1.75rem 0 0.65rem;
}

.post-content p,
.post-content ul,
.post-content ol {
  margin-bottom: 1.25rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.4rem;
}

.inline-cta-banner {
  background: var(--grad-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 1px solid rgba(0, 229, 209, 0.35);
}

.wp-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.wp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
}

.wp-pagination .page-numbers.current {
  background: var(--navy-900);
  color: var(--teal-300);
  border-color: var(--navy-900);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.is-open {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.3rem;
  color: var(--slate-600);
  font-size: 0.94rem;
}

.faq-item.is-open .faq-answer {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.25rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.88rem;
}

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

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--slate-400);
}

/* ==========================================================================
   Floating WhatsApp Direct Widget
   ========================================================================== */
.wa-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1200;
}

.wa-Launcher {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;
}

.wa-Launcher::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: waPulseRing 2.5s infinite;
  pointer-events: none;
}

.wa-Launcher:hover {
  transform: translateY(-3px) scale(1.02);
}

.wa-popup {
  position: absolute;
  bottom: 66px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(6, 24, 54, 0.28);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: none;
}

.wa-popup.is-open {
  display: block;
  animation: fadeIn 0.25s ease;
}

.wa-popup__header {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  color: #ffffff;
  padding: 1.05rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-popup__body {
  padding: 1.05rem 1.2rem;
  background: #efeae2;
}

.wa-bubble {
  background: #ffffff;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border-top-left-radius: 2px;
  font-size: 0.85rem;
  color: var(--slate-800);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 0.85rem;
}

.wa-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wa-quick-btn {
  background: #ffffff;
  border: 1px solid #128c7e;
  color: #075e54;
  border-radius: 99px;
  padding: 0.3rem 0.68rem;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.wa-quick-btn:hover {
  background: #128c7e;
  color: #ffffff;
}

.wa-popup__footer {
  padding: 0.8rem 1rem;
  background: #ffffff;
  display: flex;
  gap: 0.5rem;
}

.wa-popup__footer input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--slate-300);
  border-radius: 99px;
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
  outline: none;
}

/* ==========================================================================
   Modal & Lightbox
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 13, 31, 0.78);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.is-open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 660px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   Scroll Reveal & CSS3 Keyframe Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--stagger-delay, 0ms);
}

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

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

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.25); }
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, 20px) scale(1.06); }
}

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

@keyframes btnShimmer {
  0% { left: -60%; }
  30%, 100% { left: 130%; }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes waPulseRing {
  0% { transform: scale(0.95); opacity: 0.7; }
  70%, 100% { transform: scale(1.3); opacity: 0; }
}

/* ==========================================================================
   Mobile & Tablet Responsive Polish (Guaranteed 100% Viewport Fit)
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-grid,
  .tour-panel.is-active,
  .ai-showcase,
  .demo-section-grid,
  .mobile-app-banner,
  .single-post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .portals-grid,
  .guarantees-grid,
  .stats-ribbon__grid,
  .blog-grid,
  .modules-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browser-mockup {
    transform: none !important;
  }

  .tour-panel__info {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }
}

@media (max-width: 820px) {
  .top-announcement__links {
    display: none;
  }

  .top-announcement__inner {
    justify-content: center;
    text-align: center;
  }

  .nav-bar {
    height: 68px;
  }

  .brand-logo img {
    height: 36px;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 20px 40px rgba(6, 24, 54, 0.14);
  }

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

  .nav-menu a,
  .nav-link {
    display: block;
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-mobile-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.65rem;
    padding-top: 0.85rem;
  }

  .hero {
    padding: 2.75rem 0 3.5rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .hero-trust-badges {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .float-card {
    position: static;
    margin-top: 0.75rem;
    animation: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  /* 2-Column Wrapping Grid for Tour Tabs on Mobile (Zero Horizontal Overflow) */
  .tour-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .tour-tab {
    padding: 0.6rem 0.65rem;
    font-size: 0.78rem;
    white-space: normal;
    text-align: center;
  }

  .tour-panel__info {
    padding: 1.5rem 1.2rem;
  }

  .tour-panel__media {
    padding: 1rem;
  }

  .report-cards-dual {
    grid-template-columns: minmax(0, 1fr);
  }

  .timetable-preview-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modules-grid,
  .portals-grid,
  .guarantees-grid,
  .steps-grid,
  .form-grid-2,
  .phone-preview-stack,
  .blog-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-app-banner,
  .demo-form-card,
  .modal-dialog {
    padding: 1.35rem 1.1rem;
    border-radius: 18px;
  }

  .intent-switch {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn-lg {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  /* Responsive Stacked Comparison Table on Mobile */
  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    border-bottom: 2px solid var(--slate-200);
    padding: 0.75rem 0;
  }

  .comparison-table td {
    padding: 0.55rem 1rem;
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .stats-ribbon__grid,
  .tour-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-mobile-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-sandbox__input {
    flex-direction: column;
  }

  .ai-sandbox__input .btn {
    width: 100%;
  }

  .wa-Launcher span {
    display: none;
  }

  .wa-Launcher {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}


/* ==========================================================================
   Module Cards "Read More" Links, Portal Links & Dedicated Module Landing Pages
   ========================================================================== */
.module-card__title-link {
  color: inherit;
  transition: color 0.2s ease;
}

.module-card:hover .module-card__title-link {
  color: var(--teal-600);
}

.module-card--featured:hover .module-card__title-link {
  color: var(--teal-300);
}

.module-card__footer {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-card--featured .module-card__footer {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.module-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--teal-600);
  transition: all 0.22s ease;
}

.module-read-more svg {
  transition: transform 0.22s ease;
}

.module-read-more:hover {
  color: var(--navy-900);
}

.module-read-more:hover svg,
.module-card:hover .module-read-more svg {
  transform: translateX(4px);
}

.module-card--featured .module-read-more {
  color: var(--teal-300);
}

.module-card--featured .module-read-more:hover {
  color: #ffffff;
}

.portal-card {
  display: flex;
  flex-direction: column;
}

.portal-card__read-more {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--teal-600);
  transition: all 0.22s ease;
}

.portal-card__read-more:hover {
  color: var(--navy-900);
}

.portal-card__read-more:hover svg {
  transform: translateX(4px);
}

.tour-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* Dedicated Module Page Hero */
.module-hero {
  padding: 2.5rem 0 4.5rem;
}

.module-hero .seo-breadcrumbs {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: var(--slate-300);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.module-hero .seo-breadcrumbs a {
  color: var(--slate-200);
  transition: color 0.2s ease;
}

.module-hero .seo-breadcrumbs a:hover {
  color: var(--teal-300);
}

.module-hero__grid {
  align-items: center;
}

.module-hero__title {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

.module-hero__microtrust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-200);
}

.module-hero__microtrust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.module-hero__microtrust svg {
  color: var(--teal-300);
  flex-shrink: 0;
}

/* Dedicated Module Screenshots Gallery */
.module-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.module-gallery-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-shot-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.module-shot-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 191, 176, 0.45);
}

.module-shot-card__bar {
  background: var(--navy-900);
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.module-shot-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-300);
  letter-spacing: 0.03em;
}

.module-shot-card__media {
  position: relative;
  background: var(--slate-100);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
  border-bottom: 1px solid var(--slate-200);
}

.module-shot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.module-shot-card:hover .module-shot-card__media img {
  transform: scale(1.03);
}

.module-shot-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
  flex-grow: 1;
}

.module-shot-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.module-shot-card__body p {
  font-size: 0.87rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Deep-Dive Module Feature Cards */
.module-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.module-feature-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem;
  position: relative;
  transition: all 0.28s ease;
}

.module-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 191, 176, 0.45);
}

.module-feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 229, 209, 0.16) 0%, rgba(14, 165, 233, 0.12) 100%);
  border: 1px solid rgba(0, 191, 176, 0.35);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

.module-feature-card__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.module-feature-card__desc {
  font-size: 0.91rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Institutional Benefits Callout Banner */
.module-benefits-banner {
  margin-top: 2.75rem;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(0, 229, 209, 0.28);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2.25rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.module-benefits-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.module-benefits-banner p {
  font-size: 0.93rem;
  color: var(--slate-300);
  line-height: 1.65;
}

.module-benefits-list {
  display: grid;
  gap: 0.85rem;
}

.module-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.05rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: var(--slate-100);
  font-weight: 500;
}

.module-benefits-list__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 229, 209, 0.18);
  color: var(--teal-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* All-12 Modules Internal Linking Pill Directory */
.all-modules-directory {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.all-modules-directory__label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.9rem;
}

.all-modules-directory__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.module-dir-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.85rem;
  border-radius: 99px;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.module-dir-pill:hover {
  background: rgba(0, 229, 209, 0.14);
  border-color: var(--teal-500);
  color: var(--navy-900);
}

.module-dir-pill.is-current {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--teal-300);
}

/* Module Landing Page Responsive Rules */
@media (max-width: 1120px) {
  .module-gallery-grid,
  .module-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-benefits-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 820px) {
  .module-gallery-grid,
  .module-gallery-grid--two,
  .module-features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .module-benefits-banner {
    padding: 1.5rem 1.2rem;
  }

  .all-modules-directory {
    padding: 1.25rem 1.1rem;
  }
}


/* ==========================================================================
   YouTube Demo Video Facade & Footer Social Icons
   ========================================================================== */
.video-demo-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 229, 209, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #030d1f;
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.yt-facade:hover img {
  transform: scale(1.025);
  filter: brightness(0.88);
}

.yt-facade__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 13, 31, 0.08) 0%, rgba(3, 13, 31, 0.42) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.yt-play-btn {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--navy-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(0, 229, 209, 0.2), 0 18px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding-left: 4px;
}

.yt-facade:hover .yt-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 0 18px rgba(0, 229, 209, 0.28), 0 22px 50px rgba(0, 0, 0, 0.55);
}

.yt-duration-badge {
  background: rgba(3, 13, 31, 0.88);
  border: 1px solid rgba(79, 255, 239, 0.45);
  color: var(--teal-300);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  letter-spacing: 0.03em;
}

.video-demo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.5rem 0.25rem;
}

.video-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.video-chapters span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate-200);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.28rem 0.65rem;
  border-radius: 99px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--slate-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.footer-social-links a:hover {
  background: rgba(0, 229, 209, 0.16);
  border-color: var(--teal-300);
  color: var(--teal-300);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .video-demo-wrap {
    padding: 0.65rem;
  }
  .yt-play-btn {
    width: 62px;
    height: 62px;
  }
}
