/* ==============================================================================
   ABACUS PORTAL - VIBRANT & SLEEK EDTECH DESIGN SYSTEM
   Rich Color Accents, Warm Luminous Gradients, Polished SaaS Alignment & Micro-Transitions
   Domain: www.abacusportal.top
   ============================================================================== */

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

:root {
  /* Brand Vibrant Palette */
  --indigo-900: #1e1b4b;
  --indigo-800: #312e81;
  --indigo-700: #4338ca;
  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-100: #e0e7ff;
  --indigo-50:  #eef2ff;

  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-100: #cffafe;
  --cyan-50:  #ecfeff;

  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;

  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --rose-100: #ffe4e6;
  --rose-50:  #fff1f2;

  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-100: #ede9fe;
  --purple-50:  #f5f3ff;

  /* Neutrals */
  --slate-950: #090d16;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 48px -8px rgba(15, 23, 42, 0.12), 0 8px 18px -4px rgba(15, 23, 42, 0.06);

  /* Colorful Glow Shadows */
  --shadow-glow-indigo:  0 8px 25px rgba(79, 70, 229, 0.35);
  --shadow-glow-blue:    0 8px 25px rgba(37, 99, 235, 0.35);
  --shadow-glow-cyan:    0 8px 25px rgba(8, 145, 178, 0.35);
  --shadow-glow-emerald: 0 8px 25px rgba(16, 185, 129, 0.35);
  --shadow-glow-amber:   0 8px 25px rgba(245, 158, 11, 0.35);
  --shadow-glow-purple:  0 8px 25px rgba(124, 58, 237, 0.35);
  --shadow-glow-rose:    0 8px 25px rgba(244, 63, 94, 0.35);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.25s var(--ease-spring);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: #fbfcfe;
  color: var(--slate-700);
  line-height: 1.68;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-950);
  line-height: 1.22;
  letter-spacing: -0.028em;
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* Fluid Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
}

.section-padding {
  padding-top: clamp(4.5rem, 7.5vw, 7rem);
  padding-bottom: clamp(4.5rem, 7.5vw, 7rem);
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Vibrant Gradient Text */
.gradient-rainbow,
.gradient-text {
  background: linear-gradient(135deg, #4338ca 0%, #2563eb 28%, #0891b2 55%, #059669 80%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

/* ==============================================================================
   TOP ANNOUNCEMENT BAR - Energetic & Vibrant Multi-Color Ribbon
   ============================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #4338ca 0%, #3b82f6 35%, #06b6d4 70%, #10b981 100%);
  color: #ffffff;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25);
  flex-wrap: wrap;
}

.top-notice-bar a {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.18rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.785rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-notice-bar a:hover {
  background: #ffffff;
  color: #1e1b4b;
  transform: translateY(-1px);
}

/* ==============================================================================
   HEADER & NAVIGATION - Frosted Glass Island with Vibrant Accents
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.65rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--slate-900);
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-logo:hover .brand-icon {
  transform: rotate(-6deg) scale(1.06);
}

.brand-logo .dot {
  color: #06b6d4;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--indigo-600);
  background: var(--indigo-50);
}

.nav-link.active {
  color: var(--indigo-700);
  background: var(--indigo-100);
  font-weight: 700;
}

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

/* ==============================================================================
   BUTTONS - Energetic, Tactile & Distinctive Gradients
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.45rem;
  border-radius: var(--radius-md);
  font-size: 0.935rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.35;
}

/* Primary Button: Vibrant Royal Indigo/Blue */
.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
  color: #ffffff;
}

/* Secondary Button */
.btn-secondary {
  background: #ffffff;
  border-color: var(--slate-300);
  color: var(--slate-800);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-600);
  color: var(--indigo-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Vibrant Color Variants */
.btn-coral {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}
.btn-coral:hover {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(244, 63, 94, 0.45);
  color: #ffffff;
}

.btn-teal {
  background: linear-gradient(135deg, #0891b2 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
}
.btn-teal:hover {
  background: linear-gradient(135deg, #0e7490 0%, #0f766e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 145, 178, 0.45);
  color: #ffffff;
}

.btn-amber {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}
.btn-amber:hover {
  background: linear-gradient(135deg, #b45309 0%, #c2410c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45);
  color: #ffffff;
}

.btn-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.btn-purple:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
  color: #ffffff;
}

.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.btn-emerald:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
  color: #ffffff;
}

.btn-login {
  background: #f1f5f9;
  border: 1px solid var(--slate-300);
  color: var(--slate-800);
  padding: 0.5rem 1rem;
  font-size: 0.885rem;
  border-radius: var(--radius-sm);
}
.btn-login:hover {
  background: #e2e8f0;
  color: var(--indigo-600);
  border-color: #cbd5e1;
}

.btn-sm {
  padding: 0.48rem 1.15rem;
  font-size: 0.865rem;
  border-radius: var(--radius-sm);
}

.btn-md {
  padding: 0.68rem 1.4rem;
  font-size: 0.925rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 0.88rem 1.95rem;
  font-size: 1.025rem;
  border-radius: var(--radius-lg);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-300);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--slate-900);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ==============================================================================
   HERO SECTION - Warm Luminous Mesh Gradient
   ============================================================================== */
.hero-section {
  position: relative;
  padding: clamp(4rem, 7.5vw, 6.5rem) 0 clamp(4rem, 7.5vw, 6.5rem);
  background: 
    radial-gradient(circle at 14% 18%, rgba(99, 102, 241, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 86% 14%, rgba(6, 182, 212, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.14);
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: #2563eb;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.15rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  color: var(--slate-600);
  line-height: 1.68;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* ==============================================================================
   COLORFUL PRODUCT MOCKUP FRAME
   ============================================================================== */
.app-mockup-frame {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 20px rgba(79, 70, 229, 0.1);
  overflow: hidden;
  margin: 0 auto 3.5rem;
}

.mockup-header {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid #cbd5e1;
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mockup-controls {
  display: flex;
  gap: 0.45rem;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mockup-dot.red    { background: #f43f5e; box-shadow: 0 0 6px rgba(244, 63, 94, 0.4); }
.mockup-dot.yellow { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); }
.mockup-dot.green  { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }

.mockup-address-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.85rem;
  font-size: 0.775rem;
  color: var(--slate-600);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
  max-width: 520px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-address-bar i {
  color: #10b981;
}

.mockup-body {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: #ffffff;
}

/* ==============================================================================
   COLORFUL TRUST RIBBON
   ============================================================================== */
.hero-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  max-width: 1080px;
  margin: 0 auto;
}

.ribbon-item {
  text-align: center;
  position: relative;
}

.ribbon-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background: var(--slate-200);
}

.ribbon-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.ribbon-desc {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* ==============================================================================
   VIEWPORT-FITTED HERO BANNER CAROUSEL (3D BOOK PAGE TURN)
   ============================================================================== */
.modules-flow-section {
  position: relative;
  background: #f8fafc;
  transition: background 0.75s ease-in-out;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .modules-flow-section {
    height: calc(100vh - 72px);
    min-height: 560px;
    max-height: calc(100vh - 72px);
    overflow: hidden;
    padding: 0;
  }
  .modules-flow-section .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.modules-flow-section.theme-admin {
  background: radial-gradient(circle at 50% 25%, rgba(99, 102, 241, 0.18) 0%, rgba(79, 70, 229, 0.05) 55%, #f8fafc 100%);
}
.modules-flow-section.theme-staff {
  background: radial-gradient(circle at 50% 25%, rgba(6, 182, 212, 0.20) 0%, rgba(13, 148, 136, 0.05) 55%, #f8fafc 100%);
}
.modules-flow-section.theme-student {
  background: radial-gradient(circle at 50% 25%, rgba(245, 158, 11, 0.18) 0%, rgba(234, 88, 12, 0.05) 55%, #f8fafc 100%);
}
.modules-flow-section.theme-platform {
  background: radial-gradient(circle at 50% 25%, rgba(168, 85, 247, 0.20) 0%, rgba(124, 58, 237, 0.05) 55%, #f8fafc 100%);
}
.modules-flow-section.theme-pricing {
  background: radial-gradient(circle at 50% 25%, rgba(16, 185, 129, 0.20) 0%, rgba(5, 150, 105, 0.05) 55%, #f8fafc 100%);
}

.module-deck-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deck-viewport {
  width: 100%;
  position: relative;
  perspective: 2200px;
  -webkit-perspective: 2200px;
  border-radius: var(--radius-2xl);
}

@media (min-width: 992px) {
  .deck-viewport {
    height: 480px;
    max-height: 480px;
  }
}

.deck-slider-track {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "deckSlide";
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.deck-slide {
  grid-area: deckSlide;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  -webkit-transform-origin: left center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, filter 0.55s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: rotateY(50deg) scale(0.96) translateZ(-40px);
  filter: brightness(0.92);
  z-index: 1;
  padding: 0;
}

.deck-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: rotateY(0deg) scale(1) translateZ(0);
  filter: brightness(1);
  z-index: 5;
}

.deck-slide.page-turned {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: rotateY(-70deg) scale(0.94) translateZ(-40px);
  filter: brightness(0.85);
  z-index: 1;
}

/* Modern Borderless Module Card - UNIFIED 480PX SIZE */
.module-showcase-card {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  border-radius: var(--radius-2xl);
  padding: clamp(1.25rem, 2vw, 1.85rem) clamp(1.5rem, 2.5vw, 2.5rem);
  margin-bottom: 0;
  border: none !important;
  outline: none !important;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.10), inset 22px 0 28px -15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .module-showcase-card {
    height: 480px;
    max-height: 480px;
  }
}

/* Distinct Vibrant Gradient Themes */
.module-showcase-card.card-accent-indigo {
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 40%, #e0e7ff 100%) !important;
  border-top: 3px solid #4f46e5 !important;
}

.module-showcase-card.card-accent-teal {
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 40%, #ccfbf1 100%) !important;
  border-top: 3px solid #06b6d4 !important;
}

.module-showcase-card.card-accent-amber {
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 40%, #fef3c7 100%) !important;
  border-top: 3px solid #f59e0b !important;
}

.module-showcase-card.card-accent-purple {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 40%, #f3e8ff 100%) !important;
  border-top: 3px solid #8b5cf6 !important;
}

.module-showcase-card.card-accent-emerald {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 40%, #d1fae5 100%) !important;
  border-top: 3px solid #10b981 !important;
}

.module-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  z-index: 2;
  box-sizing: border-box;
}

.module-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.22;
  margin: 0.25rem 0 0.45rem;
  letter-spacing: -0.025em;
}

.module-desc {
  font-size: clamp(0.85rem, 1.05vw, 0.95rem);
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  max-width: 620px;
}

.module-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 0.75rem;
  width: 100%;
  margin-bottom: 0.85rem;
}

.feature-pill-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-800);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(203, 213, 225, 0.85);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  line-height: 1.25;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.feature-pill-chip i {
  font-size: 0.825rem;
  flex-shrink: 0;
}

.module-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .module-visual .app-mockup-frame,
  .module-visual .soroban-wrapper {
    width: 100%;
    height: 400px;
    max-height: 400px;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .module-visual .app-mockup-frame .mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 0.95rem !important;
  }
}

/* ==============================================================================
   CAROUSEL DOTS - Vibrant Signature Color Glows
   ============================================================================== */
.deck-dots-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 14px;
  position: relative;
  z-index: 100;
  cursor: pointer;
  padding: 4px 12px;
}

.deck-dot {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px 8px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.deck-dot .dot-pill {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--slate-300);
  transition: all 0.35s var(--ease-spring);
}

.deck-dot:hover .dot-pill {
  background: var(--slate-400);
  transform: scale(1.15);
}

.deck-dot.active .dot-pill {
  width: 36px;
}

.deck-dot[data-slide="0"].active .dot-pill { background: #4f46e5; box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45); }
.deck-dot[data-slide="1"].active .dot-pill { background: #0891b2; box-shadow: 0 4px 14px rgba(8, 145, 178, 0.45); }
.deck-dot[data-slide="2"].active .dot-pill { background: #d97706; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45); }
.deck-dot[data-slide="3"].active .dot-pill { background: #7c3aed; box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45); }
.deck-dot[data-slide="4"].active .dot-pill { background: #059669; box-shadow: 0 4px 14px rgba(5, 150, 105, 0.45); }

/* ==============================================================================
   BADGES & CHIPS - Vibrant Color Identity
   ============================================================================== */
.module-badge,
.role-tag,
.paper-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.module-badge.badge-indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.module-badge.badge-teal   { background: #ecfeff; color: #0f766e; border: 1px solid #a5f3fc; }
.module-badge.badge-amber  { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.module-badge.badge-purple { background: #faf5ff; color: #6d28d9; border: 1px solid #e9d5ff; }
.module-badge.badge-emerald{ background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.role-tag.admin   { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.role-tag.staff   { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.role-tag.student { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.role-tag.platform{ background: #f3e8ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.role-tag.infra   { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.paper-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

/* ==============================================================================
   COLORFUL MODULE CARDS - Distinct Signature Tints
   ============================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.feature-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

/* Card 1: Indigo */
.feature-card.card-indigo {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  border-color: #ddd6fe;
}
.feature-card.card-indigo:hover {
  border-color: #7c3aed;
  box-shadow: 0 20px 35px -5px rgba(124, 58, 237, 0.18);
  transform: translateY(-5px);
}

/* Card 2: Cyan */
.feature-card.card-cyan {
  background: linear-gradient(180deg, #ffffff 0%, #ecfeff 100%);
  border-color: #a5f3fc;
}
.feature-card.card-cyan:hover {
  border-color: #0891b2;
  box-shadow: 0 20px 35px -5px rgba(8, 145, 178, 0.18);
  transform: translateY(-5px);
}

/* Card 3: Amber */
.feature-card.card-amber {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
  border-color: #fde68a;
}
.feature-card.card-amber:hover {
  border-color: #d97706;
  box-shadow: 0 20px 35px -5px rgba(217, 119, 6, 0.18);
  transform: translateY(-5px);
}

/* Card 4: Emerald */
.feature-card.card-emerald {
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  border-color: #a7f3d0;
}
.feature-card.card-emerald:hover {
  border-color: #059669;
  box-shadow: 0 20px 35px -5px rgba(5, 150, 105, 0.18);
  transform: translateY(-5px);
}

/* Card 5: Purple */
.feature-card.card-purple {
  background: linear-gradient(180deg, #ffffff 0%, #fdf4ff 100%);
  border-color: #f5d0fe;
}
.feature-card.card-purple:hover {
  border-color: #c026d3;
  box-shadow: 0 20px 35px -5px rgba(192, 38, 211, 0.18);
  transform: translateY(-5px);
}

/* Card 6: Rose */
.feature-card.card-rose {
  background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%);
  border-color: #fecdd3;
}
.feature-card.card-rose:hover {
  border-color: #e11d48;
  box-shadow: 0 20px 35px -5px rgba(225, 29, 72, 0.18);
  transform: translateY(-5px);
}

/* Colorful Icon Boxes */
.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.35rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1);
}

.icon-indigo { background: #4f46e5; color: #ffffff; box-shadow: 0 6px 14px rgba(79, 70, 229, 0.35); }
.icon-cyan   { background: #0891b2; color: #ffffff; box-shadow: 0 6px 14px rgba(8, 145, 178, 0.35); }
.icon-amber  { background: #d97706; color: #ffffff; box-shadow: 0 6px 14px rgba(217, 119, 6, 0.35); }
.icon-emerald{ background: #059669; color: #ffffff; box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35); }
.icon-purple { background: #9333ea; color: #ffffff; box-shadow: 0 6px 14px rgba(147, 51, 234, 0.35); }
.icon-rose   { background: #e11d48; color: #ffffff; box-shadow: 0 6px 14px rgba(225, 29, 72, 0.35); }

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.feature-list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.15rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.feature-list li i {
  color: #059669;
  font-size: 0.85rem;
}

/* ==============================================================================
   SPLIT MODULAR ROLE SECTIONS (DEEP-DIVE COMPONENTS)
   ============================================================================== */
.role-deepdive-section {
  padding: clamp(4.5rem, 7.5vw, 6.5rem) 0;
  border-bottom: 1px solid var(--slate-200);
  position: relative;
}

.role-deepdive-section:nth-of-type(even) {
  background: #f8fafc;
}

.role-deepdive-section:nth-of-type(odd) {
  background: #ffffff;
}

.role-detail-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.role-feature-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.04);
}

.role-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -6px rgba(79, 70, 229, 0.15);
  border-color: #6366f1;
}

.role-feature-card .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.role-feature-card h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.role-feature-card p {
  font-size: 0.885rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin: 0;
}

/* ==============================================================================
   VIBRANT SHOWCASE SPLIT SECTIONS (Rich Colorful Full-Width Bands)
   ============================================================================== */
.section-vivid {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}

/* 1. Platform Modules: Vivid Royal Indigo */
.section-vivid-indigo {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
  color: #ffffff;
}

/* 2. Exam Engine: Vivid Ocean Teal & Cyan */
.section-vivid-teal {
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 40%, #0d9488 80%, #0891b2 100%);
  color: #ffffff;
}

/* 3. Virtual Soroban: Vivid Warm Amber & Terracotta Gold */
.section-vivid-amber {
  background: linear-gradient(135deg, #451a03 0%, #78350f 30%, #b45309 70%, #d97706 100%);
  color: #ffffff;
}

/* 4. Enterprise & Cloud: Vivid Royal Violet & Purple */
.section-vivid-purple {
  background: linear-gradient(135deg, #2e1065 0%, #4c1d95 35%, #6d28d9 75%, #7c3aed 100%);
  color: #ffffff;
}

/* 5. Licensing: Vivid Emerald & Mint Green */
.section-vivid-emerald {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 35%, #047857 75%, #059669 100%);
  color: #ffffff;
}

.vivid-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vivid-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.15rem;
  letter-spacing: -0.025em;
}

.vivid-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 3.25rem;
}

.vivid-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  text-align: left;
}

.vivid-card {
  background: #ffffff;
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 2.5vw, 2.25rem);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.85);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vivid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px -5px rgba(0, 0, 0, 0.45);
}

.vivid-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.65rem;
}

.vivid-card-desc {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.6;
  flex-grow: 1;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.95rem 2.4rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  transition: all 0.25s var(--ease-spring);
}
.btn-view-more:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.btn-view-more.btn-indigo { color: #3730a3; }
.btn-view-more.btn-indigo:hover { background: #eef2ff; color: #312e81; }

.btn-view-more.btn-teal { color: #0f766e; }
.btn-view-more.btn-teal:hover { background: #f0fdfa; color: #042f2e; }

.btn-view-more.btn-amber { color: #b45309; }
.btn-view-more.btn-amber:hover { background: #fffbeb; color: #78350f; }

.btn-view-more.btn-purple { color: #6d28d9; }
.btn-view-more.btn-purple:hover { background: #faf5ff; color: #4c1d95; }

.btn-view-more.btn-emerald { color: #047857; }
.btn-view-more.btn-emerald:hover { background: #ecfdf5; color: #064e3b; }

/* ==============================================================================
   SECTION HEADERS & BADGES
   ============================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--indigo-600);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.25rem;
}

.section-badge i {
  font-size: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.22;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: var(--slate-600);
  line-height: 1.68;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* ==============================================================================
   VIBRANT SHOWCASE SPLIT SECTIONS (Used in enterprise.html & exam-engine.html)
   ============================================================================== */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: 0;
}

.showcase-row.reversed {
  direction: rtl;
}

.showcase-row.reversed > * {
  direction: ltr;
}

.showcase-row .app-mockup-frame {
  margin: 0;
  width: 100%;
}

.showcase-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw + 0.4rem, 2.4rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.showcase-content p {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.showcase-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.showcase-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.showcase-checklist li i {
  color: var(--indigo-600);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.showcase-preview-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* ==============================================================================
   SYLLABUS & FEATURE MATRIX TABLE (Used in pricing.html & features.html)
   ============================================================================== */
.syllabus-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.syllabus-table th {
  background: #f8fafc;
  padding: 1.15rem 1.4rem;
  font-weight: 800;
  color: var(--slate-900);
  border-bottom: 2px solid var(--slate-200);
}

.syllabus-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.syllabus-table tr:hover td {
  background: #fbfcfe;
}

/* ==============================================================================
   COLOR UTILITIES
   ============================================================================== */
.text-primary { color: #4f46e5 !important; }
.text-success { color: #059669 !important; }
.text-danger  { color: #e11d48 !important; }
.text-amber   { color: #d97706 !important; }
.text-purple  { color: #7c3aed !important; }
.text-teal    { color: #0891b2 !important; }

/* ==============================================================================
   COLORFUL DEPLOYMENT CARDS
   ============================================================================== */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin: 0 auto;
  gap: 2rem;
}

.deploy-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.deploy-card.deploy-cloud {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border-color: #bfdbfe;
}
.deploy-card.deploy-cloud:hover {
  border-color: #2563eb;
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.22);
}

.deploy-card.deploy-onprem {
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
  border-color: #a7f3d0;
}
.deploy-card.deploy-onprem:hover {
  border-color: #059669;
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -5px rgba(5, 150, 105, 0.22);
}

.deploy-card.deploy-hybrid {
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  border-color: #e9d5ff;
}
.deploy-card.deploy-hybrid:hover {
  border-color: #7c3aed;
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -5px rgba(124, 58, 237, 0.22);
}

.deploy-card.deploy-cloud .feature-list li i { color: #2563eb; }
.deploy-card.deploy-onprem .feature-list li i { color: #059669; }
.deploy-card.deploy-hybrid .feature-list li i { color: #7c3aed; }

.deploy-badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.deploy-badge.cloud  { background: #2563eb; color: #ffffff; }
.deploy-badge.onprem { background: #059669; color: #ffffff; }
.deploy-badge.hybrid { background: #7c3aed; color: #ffffff; }

/* ==============================================================================
   VIRTUAL SOROBAN SIMULATOR - Studio Quality Warm Wood & Amber Frame
   ============================================================================== */
.soroban-wrapper {
  background: #fffbf5;
  border: 5px solid #854d0e;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 25px 45px -10px rgba(133, 77, 14, 0.22), 0 10px 20px rgba(0, 0, 0, 0.05);
  max-width: 740px;
  margin: 0 auto;
  user-select: none;
}

.soroban-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 3px solid #b45309;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.soroban-display {
  font-family: var(--font-heading), monospace;
  font-size: 2.25rem;
  font-weight: 800;
  color: #78350f;
  background: #fef3c7;
  padding: 0.4rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid #fde68a;
  letter-spacing: 0.08em;
  min-width: 180px;
  text-align: right;
  box-shadow: inset 0 2px 4px rgba(120, 53, 15, 0.1);
}

.soroban-frame {
  display: flex;
  justify-content: space-around;
  background: #fefce8;
  border: 3px solid #a16207;
  border-radius: var(--radius-lg);
  padding: 0.75rem 0;
  position: relative;
}

.soroban-beam {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: 12px;
  background: #78350f;
  border-top: 2px solid #a16207;
  border-bottom: 2px solid #451a03;
  z-index: 10;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.soroban-rod {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(38px, 6vw, 54px);
  position: relative;
  height: 250px;
}

.soroban-rod::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #b45309;
  border-radius: 2px;
  z-index: 1;
}

.upper-deck {
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  width: 100%;
  align-items: center;
}

.lower-deck {
  margin-top: 12px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  width: 100%;
  align-items: center;
}

.soroban-bead {
  width: clamp(34px, 5vw, 44px);
  height: 24px;
  background: radial-gradient(circle at 40% 40%, #fde047 0%, #f59e0b 60%, #b45309 100%);
  border-radius: 50% / 40%;
  border: 1px solid #78350f;
  box-shadow: 0 3px 6px rgba(120, 53, 15, 0.35);
  cursor: pointer;
  transition: transform 0.16s ease-out;
  margin: 1px 0;
  z-index: 5;
}

.soroban-bead:hover {
  filter: brightness(1.12);
}

.upper-bead.active {
  transform: translateY(44px);
}

.lower-bead.active {
  transform: translateY(-38px);
}

.soroban-col-val {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #78350f;
  font-weight: 800;
}

/* ==============================================================================
   FAQ ACCORDION
   ============================================================================== */
.faq-grid {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--indigo-600);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--slate-900);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question i {
  color: var(--indigo-600);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.35rem;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.65;
  border-top: 1px solid var(--slate-200);
  padding-top: 1.15rem;
}

/* ==============================================================================
   VIBRANT CTA BANNER
   ============================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 40%, #2563eb 80%, #0891b2 100%);
  border-radius: var(--radius-xl);
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 0 25px 50px -10px rgba(37, 99, 235, 0.35);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.1rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: clamp(1rem, 1.2vw + 0.3rem, 1.2rem);
  color: #c7d2fe;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.cta-banner .btn-primary {
  background: #ffffff;
  color: #312e81;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cta-banner .btn-primary:hover {
  background: #fef08a;
  color: #1e1b4b;
  transform: translateY(-2px);
}

.cta-banner .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ==============================================================================
   CONTACT & FORM
   ============================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: flex-start;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.05rem;
  color: var(--slate-900);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ==============================================================================
   FOOTER - Deep Slate Navy Foundation with Vibrant Glow
   ============================================================================== */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  border-top: 1px solid var(--slate-800);
  padding: clamp(4rem, 6vw, 5.5rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  color: #ffffff;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 1.25rem 0 1.5rem;
  max-width: 340px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--indigo-600);
  color: #ffffff;
  border-color: var(--indigo-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-address-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: #64748b;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  border: 1px solid var(--slate-300);
  border-left: 5px solid var(--indigo-600);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: var(--slate-900);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s var(--ease-spring);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==============================================================================
   RESPONSIVE DESIGN
   ============================================================================== */
@media (max-width: 960px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-size: 1.15rem;
    color: var(--slate-800);
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-nav-toggle:hover {
    background: #e2e8f0;
    color: var(--indigo-600);
  }

  .nav-menu {
    position: fixed;
    top: 4.65rem;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--indigo-600);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 0.35rem;
    box-shadow: 0 25px 40px rgba(15, 23, 42, 0.18);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-spring), opacity 0.25s ease;
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 1024px) {
  .features-grid, .features-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .deploy-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .module-showcase-card {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 1.75rem;
  }
  .module-showcase-card.reversed .module-content { order: 1; }
  .module-showcase-card.reversed .module-visual  { order: 2; }
}

@media (max-width: 768px) {
  .hero-ribbon { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .ribbon-item:nth-child(2)::after { display: none; }
  .features-grid, .features-grid-4 { grid-template-columns: 1fr; }
  .deploy-grid   { grid-template-columns: 1fr; }
  .showcase-row, .showcase-row.reversed { grid-template-columns: 1fr; direction: ltr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .role-detail-grid, .role-detail-grid.reversed { grid-template-columns: 1fr; }
  .role-detail-grid.reversed .role-detail-info    { order: 1; }
  .role-detail-grid.reversed .role-detail-preview { order: 2; }
}
