/* ==========================================================================
   PROSPECT FINANCE SAAS - STYLESHEET (STANDALONE PURE CSS)
   ========================================================================== */

:root {
  --bg-cream: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F1F5F9;
  --bg-dark: #0F172A;
  --bg-dark-card: #1E293B;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #F8FAFC;
  --text-light-muted: #94A3B8;
  --accent-coral: #3666AE;
  --accent-secondary: #4A7BC7;
  --accent-secondary-red: rgb(252, 61, 61);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-dark: rgba(248, 250, 252, 0.12);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 20px 40px rgba(54, 102, 174, 0.14);
}

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

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

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Global Overflow Fixes for Bootstrap & Full-Width Elements */
section, main, footer,
.logos-section, .logo-marquee-wrapper, .bento-section,
.solution-section, .problem-section, .benefits-section,
.video-section, .final-cta-section {
  overflow-x: clip;
  max-width: 100% !important;
}

.faq-section {
  overflow: visible !important;
  max-width: 100% !important;
}

#demo-form, #contact-form, #support-form {
  scroll-margin-top: 100px;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* Typography Helpers */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.text-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(47, 44, 37, 0.06);
  border: 1px solid var(--border-color);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.text-badge.text-light {
  background: rgba(254, 250, 243, 0.08);
  border-color: var(--border-color-dark);
  color: var(--text-light);
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

.centered {
  text-align: center;
}

.w-full {
  width: 100%;
}

/* Container */
.main-container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--accent-coral);
  color: #FFFFFF;
  border: 1px solid var(--accent-coral);
}

.btn-primary:hover {
  background-color: #2B528C;
  border-color: #2B528C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 102, 174, 0.35);
}

.btn-secondary {
  background-color: rgba(54, 102, 174, 0.08);
  color: var(--accent-coral);
  border: 1px solid rgba(54, 102, 174, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(54, 102, 174, 0.15);
  transform: translateY(-2px);
}

/* Header & Navbar */
.navbar,
.navbar-container,
.navbar-row,
.navbar-menu,
.nav-links,
.nav-dropdown {
  overflow: visible !important;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding-block: 0.85rem;
  transition: all var(--transition-fast);
}

.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.85;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--accent-coral);
}

.nav-link.active {
  font-weight: 700;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav Dropdowns */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.85;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-toggle:hover, 
.dropdown-toggle.active,
.nav-dropdown.active .dropdown-toggle {
  opacity: 1;
  color: var(--accent-coral);
}

.dropdown-toggle.active {
  font-weight: 700;
}

.dropdown-toggle:hover::after, 
.dropdown-toggle.active::after,
.nav-dropdown.active .dropdown-toggle::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown-toggle .chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.dropdown-toggle .chevron svg {
  display: block;
}

.nav-dropdown.active .dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.dropdown-wrap {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 175px;
  width: max-content;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(8px);
  z-index: 105;
}

.dropdown-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown.active .dropdown-wrap,
.nav-dropdown:hover .dropdown-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-wrap.wide {
  width: 920px;
}

.dropdown-wrap.narrow {
  width: 220px;
  left: 0;
  transform: translateY(8px);
}

.nav-dropdown.active .dropdown-wrap.narrow,
.nav-dropdown:hover .dropdown-wrap.narrow {
  transform: translateY(0);
}

.dropdown-content-wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 260px;
  gap: 1.5rem;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dropdown-title {
  margin-bottom: 0.25rem;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-card);
}

.dropdown-item .item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dropdown-item .item-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.dropdown-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.dropdown-cta-card .cta-heading {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: auto;
}

.arrow-link:hover .arrow-icon {
  transform: translate(2px, -2px);
}

.dropdown-menus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.column-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-link svg {
  color: var(--accent-coral);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.dropdown-link:hover {
  background-color: var(--bg-card-alt);
  color: var(--accent-coral);
}

.dropdown-link:hover svg {
  transform: translateX(3px);
}

/* Navbar Right */
.navbar-right-contents {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trigger-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(47, 44, 37, 0.05);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.trigger-search:hover {
  background-color: rgba(47, 44, 37, 0.1);
  color: var(--text-dark);
}

.nav-buttons-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-button-mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.menu-button-mobile:hover {
  background: rgba(54, 102, 174, 0.1);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-button-mobile.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button-mobile.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.menu-button-mobile.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background-color: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  padding: 1.5rem 1.75rem 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.mobile-menu-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-link:hover, .mobile-link.active {
  background-color: rgba(54, 102, 174, 0.08);
  color: var(--accent-coral);
}

/* Mobile Solutions Dropdown Accordion */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle.active {
  background-color: rgba(54, 102, 174, 0.08);
  color: var(--accent-coral);
}

.mobile-dropdown-toggle .chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none !important;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 1.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: flex !important;
}

.mobile-sublink {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-sublink:hover,
.mobile-sublink.active {
  color: var(--accent-coral);
  background-color: rgba(54, 102, 174, 0.06);
}

.mobile-drawer-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Hero Section & Pinned Zoom Track */
.section {
  padding-block: 5rem;
  position: relative;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

/* Pinned Zoom Animation applies exclusively to Large Devices / Laptops (> 1024px) */
@media (min-width: 1025px) {
  .hero-pinned-track {
    position: relative;
    height: 100vh; /* Eliminates scroll lag and gap after hero section */
  }

  .hero-section.hero-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    overflow: visible;
  }
}

@media (max-width: 1024px) {
  .hero-pinned-track {
    height: auto;
  }

  .hero-section.hero-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: url('../images/herobanner.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.00);
  opacity: 0.95;
  will-change: transform;
  transition: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(15, 23, 42, 0.50) 0%, 
    rgba(15, 23, 42, 0.40) 50%, 
    rgba(15, 23, 42, 0.55) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.hero-section .text-badge {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(248, 250, 252, 0.35);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
}

.hero-heading {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtext {
  font-size: 1.25rem;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.7);
  font-weight: 500;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-section .review-text {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 600;
}

.hero-section .btn-secondary {
  background-color: rgba(248, 250, 252, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(248, 250, 252, 0.3);
  backdrop-filter: blur(8px);
}

.hero-section .btn-secondary:hover {
  background-color: rgba(248, 250, 252, 0.25);
  color: #FFFFFF;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

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

.avatar-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-cream);
  margin-left: -10px;
  object-fit: cover;
}

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

.review-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.star-rating {
  color: #F5A623;
  font-size: 1.1rem;
}

/* Marquee Section */
.hero-marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding-block: 1.5rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marquee-scroll 40s linear infinite;
}

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

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.marquee-card {
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  flex-shrink: 0;
}

.image-card {
  width: 240px;
}

.image-card.wide {
  width: 380px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Widgets */
.widget-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.graph-widget {
  width: 260px;
  background-color: #2F2C25;
  color: var(--bg-cream);
}

.widget-header {
  font-size: 0.8rem;
  opacity: 0.7;
}

.widget-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.widget-divider {
  height: 1px;
  background-color: rgba(254, 250, 243, 0.15);
  margin-bottom: 1rem;
}

.widget-graph-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 110px;
}

.graph-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 32px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--accent-coral), #D65A31);
}

.bar-1 { height: 40%; }
.bar-2 { height: 65%; }
.bar-3 { height: 50%; }
.bar-4 { height: 90%; }

.col-label {
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Emblem Ticker Widget */
.emblem-widget {
  width: 300px;
  background: var(--bg-dark);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem;
  overflow: hidden;
}

.emblem-center-badge {
  width: 60px;
  height: 60px;
  background: var(--bg-card-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.emblem-tickers {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  opacity: 0.25;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.ticker-row {
  white-space: nowrap;
  animation: ticker-slide 15s linear infinite alternate;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-30%); }
}

/* Message Widget */
.message-widget {
  width: 310px;
  background-color: var(--bg-card);
  gap: 12px;
}

.msg-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.msg-name {
  font-weight: 700;
  font-size: 0.875rem;
}

.msg-time {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.msg-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.download-attachment {
  margin-top: auto;
  background: rgba(47, 44, 37, 0.05);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Client Logos Section */
.logos-section {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.logo-section-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.logo-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.text-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  opacity: 0.65;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.text-logo:hover {
  opacity: 1;
}

/* Infinite Marquee Styles for Institution Logos Section */
.logo-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-block: 0.75rem;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: logo-marquee-scroll 25s linear infinite;
  will-change: transform;
}

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

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-shrink: 0;
}

@keyframes logo-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.5rem));
  }
}

/* Bento Grid */
.bento-section {
  padding-block: 6rem;
}

.bento-header {
  margin-bottom: 3.5rem;
}

.bento-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(280px, auto) minmax(280px, auto);
  gap: 1.75rem;
}

/* Card (1 & 3 combined) - Spans 2 rows on left */
.bento-combined-msg {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.bento-combined-msg:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.bento-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bento-card-desc {
  font-size: 1.025rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.bento-msg-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.bento-msg-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.bento-msg-item:hover {
  background-color: var(--bg-card-alt);
}

.msg-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.msg-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.msg-item-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.bento-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Card 2: Note from CEO */
.bento-ceo-card {
  grid-column: 2;
  grid-row: 1;
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.bento-ceo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(54, 102, 174, 0.08);
}

.bento-ceo-badge {
  background: rgba(54, 102, 174, 0.1);
  color: var(--accent-coral);
  border: 1px solid rgba(54, 102, 174, 0.2);
  display: inline-block;
}

.bento-ceo-quote {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-dark);
  font-style: italic;
  margin: 0 0 1.5rem 0;
}

.bento-ceo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.bento-ceo-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bento-ceo-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-coral);
}

.bento-ceo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.bento-ceo-title {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Bento Impact Card */
.bento-impact-card,
.solution-metrics-card.bento-impact-card {
  background-color: #0F172A !important;
  background: #0F172A !important;
  color: #F8FAFC !important;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(248, 250, 252, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.bento-impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.bento-impact-card .metrics-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  margin-bottom: 1.25rem;
}

.bento-impact-card .metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}

.bento-impact-card .metric-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bento-impact-card .metric-number {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.bento-impact-card .metric-label {
  font-size: 0.825rem;
  color: var(--text-light-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}

.bento-impact-card .metrics-divider {
  height: 1px;
  background: var(--border-color-dark);
  margin-block: 1.25rem;
}

.bento-impact-card .solution-visual-footer {
  margin-top: 1.25rem;
}

/* Card 4: Automatic Image Slide */
.bento-slider-card {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  min-height: 300px;
  box-shadow: var(--shadow-subtle);
}

.bento-slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.bento-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.04);
  z-index: 1;
}

.bento-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.bento-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-slide-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 3;
}

.bento-slide-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(248, 250, 252, 0.2);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bento-dots {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 4;
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.5);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.bento-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.bento-dot.active {
  background: var(--accent-secondary);
  width: 22px;
  border-radius: 4px;
}

/* Bento Grid Responsive Enhancements */
@media (max-width: 1024px) {
  .bento-section {
    padding-block: 4.5rem;
  }
  .bento-header {
    margin-bottom: 2.5rem;
  }
  .bento-combined-msg,
  .bento-ceo-card {
    padding: 2rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .bento-section {
    padding-block: 3.5rem;
  }
  .bento-header {
    margin-bottom: 1.75rem;
  }
  .bento-header .section-heading {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .bento-header .section-lead {
    font-size: 0.95rem;
  }
  .bento-grid-bs {
    --bs-gutter-y: 1.5rem;
  }
  .bento-grid-bs > [class*="col-"] {
    width: 100%;
  }

  /* Combined Left Card Mobile */
  .bento-combined-msg {
    padding: 1.5rem 1.25rem !important;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .bento-card-title {
    font-size: 1.35rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
  }
  .bento-card-desc {
    font-size: 0.925rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }
  .bento-msg-highlights {
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .bento-msg-item {
    padding: 1rem 0.85rem;
    gap: 0.75rem;
    border-radius: 12px;
    box-sizing: border-box;
    width: 100%;
  }
  .bento-msg-item .msg-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .bento-msg-item .msg-icon svg {
    width: 20px;
    height: 20px;
  }
  .msg-item-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
  }
  .msg-item-text {
    font-size: 0.825rem;
    line-height: 1.45;
  }
  .bento-card-footer {
    padding-top: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .bento-card-footer .btn,
  .bento-card-footer .btn-secondary {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    white-space: normal !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    box-sizing: border-box !important;
  }

  /* CEO Note Card Mobile */
  .bento-ceo-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .bento-ceo-quote {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  .bento-ceo-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-top: 1rem;
    width: 100%;
  }
  .bento-ceo-profile {
    width: 100%;
    gap: 0.75rem;
  }
  .bento-ceo-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .bento-ceo-name {
    font-size: 0.95rem;
  }
  .bento-ceo-title {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  .bento-ceo-footer .btn {
    width: 100% !important;
    margin-left: 0 !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
  }

  /* Bento Impact Card Mobile */
  .bento-impact-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .bento-impact-card .metrics-badge {
    margin-bottom: 1rem !important;
  }
  .bento-impact-card .metrics-divider {
    margin-block: 1rem !important;
  }

  /* Slider Card Mobile */
  .bento-slider-card {
    min-height: 240px;
    height: 250px;
    border-radius: 18px;
    width: 100%;
  }
  .bento-slideshow-container {
    min-height: 240px;
    height: 250px;
  }
  .bento-slide-tag {
    font-size: 0.75rem;
    padding: 6px 14px;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .bento-dots {
    top: 0.85rem;
    right: 0.85rem;
    padding: 4px 8px;
    gap: 6px;
  }
  .bento-dot {
    width: 6px;
    height: 6px;
  }
  .bento-dot.active {
    width: 16px;
  }
}

@media (max-width: 480px) {
  .bento-combined-msg,
  .bento-ceo-card {
    padding: 1.25rem 1rem !important;
    border-radius: 16px;
  }
  .bento-card-title {
    font-size: 1.25rem;
  }
  .bento-card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .bento-msg-item {
    padding: 0.85rem 0.75rem;
    gap: 0.65rem;
  }
  .bento-msg-item .msg-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .msg-item-title {
    font-size: 0.9rem;
  }
  .msg-item-text {
    font-size: 0.8rem;
  }
  .bento-slider-card,
  .bento-slideshow-container {
    min-height: 220px;
    height: 220px;
  }
  .bento-slide-overlay {
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
  }
}

/* Intuitive Performance */
.performance-section {
  padding-block: 5rem;
  background-color: var(--bg-card);
  border-block: 1px solid var(--border-color);
}

.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.mini-testimonial {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.mini-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.star-row {
  color: #F5A623;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.mini-quote {
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.mini-author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Performance Visual */
.performance-visual {
  background: linear-gradient(135deg, #2D2721 0%, #1A1815 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--text-light);
  box-shadow: var(--shadow-elevated);
}

.balance-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.card-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

.balance-amount {
  font-size: 2.25rem;
  font-weight: 800;
}

.badge-status {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.progress-bar-stack {
  height: 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(254, 250, 243, 0.1);
  display: flex;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.segment.spent { background: var(--accent-coral); }
.segment.available { background: #4CAF50; }
.segment.unallocated { background: #FFC107; }

.balance-breakdown {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.825rem;
  opacity: 0.85;
}

.breakdown-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.spent { background: var(--accent-coral); }
.dot.available { background: #4CAF50; }
.dot.unallocated { background: #FFC107; }

/* AI Features Grid */
.ai-features-section {
  padding-block: 6rem;
}

.ai-header {
  margin-bottom: 4rem;
}

.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.ai-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--transition-fast);
}

.ai-card:hover {
  transform: translateY(-4px);
}

.ai-card-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.ai-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ai-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.support-banner {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.support-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.support-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Video Section */
.video-section {
  padding-block: 4rem;
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevated);
}

.video-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  padding: 2rem;
  background: rgba(25, 24, 21, 0.45);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(254, 250, 243, 0.15);
}

.video-quote {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.play-video-btn {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

/* Pricing Section */
.pricing-section {
  padding-block: 6rem;
  background-color: var(--bg-card);
  border-block: 1px solid var(--border-color);
}

.pricing-header {
  margin-bottom: 3.5rem;
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-top: 1.75rem;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.badge-save {
  background: rgba(226, 125, 96, 0.15);
  color: var(--accent-coral);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.725rem;
  font-weight: 700;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #CCC;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--text-dark);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Pricing Cards */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 960px;
  margin-inline: auto;
}

.pricing-card {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
  box-shadow: var(--shadow-elevated);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--accent-coral);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.pricing-card.featured .plan-desc {
  color: var(--text-light-muted);
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1.75rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-value {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card.featured .price-period {
  color: var(--text-light-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2.25rem;
  font-size: 0.9rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check {
  color: #4CAF50;
  font-weight: 800;
}

/* Testimonials Carousel */
.testimonials-section {
  padding-block: 6rem;
}

.testimonials-header {
  margin-bottom: 3.5rem;
}

.testimonial-carousel {
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  text-align: center;
}

.testimonial-slides-wrapper {
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-quote {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--text-dark);
  color: var(--bg-cream);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(47, 44, 37, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--text-dark);
}

/* Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-block: 5rem 3rem;
  border-top: 1px solid var(--border-color-dark);
}

.footer-newsletter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-color-dark);
  margin-bottom: 4rem;
}

.newsletter-left {
  max-width: 500px;
}

.newsletter-heading {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 440px;
}

.input-group {
  display: flex;
  gap: 8px;
}

.form-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color-dark);
  background: rgba(254, 250, 243, 0.08);
  color: var(--text-light);
  font-size: 0.9rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--text-light);
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-color-dark);
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  max-width: 280px;
  margin-top: 1rem;
}

.col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-light-muted);
  margin-bottom: 1.25rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent-coral);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  font-size: 0.825rem;
  color: var(--text-light-muted);
}

.sub-links {
  display: flex;
  gap: 1.5rem;
}

.sub-link:hover {
  color: var(--text-light);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(25, 24, 21, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-elevated);
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 2.5rem;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.search-form {
  display: flex;
  gap: 12px;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
}

.modal-search-input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 1rem;
  color: var(--text-dark);
}

.video-modal-box {
  max-width: 860px;
  padding: 1rem;
  background-color: #000;
}

.video-player-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .navbar-menu { display: none; }
  .menu-button-mobile { display: flex; }
  .bento-2x2-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-combined-msg { grid-column: 1; grid-row: auto; }
  .bento-ceo-card { grid-column: 1; grid-row: auto; }
  .bento-slider-card { grid-column: 1; grid-row: auto; min-height: 280px; }
  .performance-grid { grid-template-columns: 1fr; }
  .ai-cards-grid { grid-template-columns: 1fr; }
  .footer-newsletter-wrap { flex-direction: column; align-items: flex-start; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .support-banner { flex-direction: column; align-items: flex-start; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .dropdown-wrap.wide { width: 90vw; }
}

/* ==========================================================================
   SMARTSCHOOL LANDING PAGE SECTIONS (DESIGN SYSTEM STYLES)
   ========================================================================== */

/* Section 1: The Problem (Interactive Expandable Deck) */
.problem-section {
  background-color: var(--bg-cream);
  padding-block: 5.5rem;
  overflow: hidden;
}

.problem-deck-container {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  margin-block: 2.5rem 1.5rem;
  height: 470px; /* Fixed height prevents vertical section layout jumps */
}

.problem-deck-card {
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease, 
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
  will-change: flex;
}

.problem-deck-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.problem-deck-card.expanded {
  flex: 3 1 0%;
  align-items: flex-start;
  text-align: left;
  padding: 2rem 1.75rem;
  border: 2px solid var(--accent-coral);
  box-shadow: 0 12px 36px rgba(54, 102, 174, 0.15);
  background: #FFFFFF;
}

/* Card Header */
.deck-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1.5rem;
}

.card-pill-num {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.num-purple { background: rgba(54, 102, 174, 0.1); color: var(--accent-coral); }
.num-blue { background: rgba(37, 99, 235, 0.1); color: #2563EB; }
.num-green { background: rgba(5, 150, 105, 0.1); color: #059669; }
.num-orange { background: rgba(217, 119, 6, 0.1); color: #D97706; }
.num-violet { background: rgba(124, 58, 237, 0.1); color: #7C3AED; }

.expand-icon-toggle {
  font-size: 0.85rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0;
  transform: rotate(-45deg);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-deck-card.expanded .expand-icon-toggle {
  opacity: 1;
  transform: rotate(0deg);
}

/* Media / Icon box */
.deck-card-media-box,
.deck-card-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
  background: #F8FAFC;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
  flex-shrink: 0;
}

.deck-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-deck-card:hover .deck-card-img {
  transform: scale(1.08);
}

.problem-deck-card:hover .deck-card-media-box {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.problem-deck-card.expanded .deck-card-media-box {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.bg-purple { background: rgba(54, 102, 174, 0.08); color: var(--accent-coral); border-color: rgba(54, 102, 174, 0.15); }
.bg-blue { background: rgba(37, 99, 235, 0.08); color: #2563EB; border-color: rgba(37, 99, 235, 0.15); }
.bg-green { background: rgba(5, 150, 105, 0.08); color: #059669; border-color: rgba(5, 150, 105, 0.15); }
.bg-orange { background: rgba(217, 119, 6, 0.08); color: #D97706; border-color: rgba(217, 119, 6, 0.15); }
.bg-violet { background: rgba(124, 58, 237, 0.08); color: #7C3AED; border-color: rgba(124, 58, 237, 0.15); }

/* Titles & Subtitles */
.deck-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
  transition: font-size 0.35s ease, margin 0.35s ease;
}

.problem-deck-card.expanded .deck-card-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.deck-card-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0;
  opacity: 0;
  max-height: 0;
  transform: translateY(6px);
  overflow: hidden;
  transition: opacity 0.35s ease 0.05s, max-height 0.4s ease, transform 0.35s ease 0.05s, margin 0.35s ease;
  white-space: nowrap;
}

.problem-deck-card.expanded .deck-card-subtitle {
  opacity: 1;
  max-height: 40px;
  transform: translateY(0);
  margin-bottom: 1rem;
}

.text-purple { color: var(--accent-coral); }
.text-blue { color: #2563EB; }
.text-green { color: #059669; }
.text-orange { color: #D97706; }
.text-violet { color: #7C3AED; }

/* Description */
.deck-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition: opacity 0.35s ease 0.08s, max-height 0.45s ease, transform 0.35s ease 0.08s, margin 0.35s ease;
}

.problem-deck-card.expanded .deck-card-desc {
  opacity: 1;
  max-height: 140px;
  transform: translateY(0);
  margin-bottom: 1.5rem;
}

/* Solution Box */
.deck-solution-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0 1.15rem;
  border-radius: 14px;
  width: 100%;
  margin-top: auto;
  opacity: 0;
  max-height: 0;
  transform: translateY(12px);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease 0.12s, max-height 0.45s ease, transform 0.35s ease 0.12s, padding 0.35s ease;
}

.problem-deck-card.expanded .deck-solution-box {
  opacity: 1;
  max-height: 160px;
  padding: 1rem 1.15rem;
  transform: translateY(0);
  pointer-events: auto;
}

.box-purple { background: rgba(54, 102, 174, 0.06); border: 1px solid rgba(54, 102, 174, 0.15); }
.box-blue { background: rgba(37, 99, 235, 0.06); border: 1px solid rgba(37, 99, 235, 0.15); }
.box-green { background: rgba(5, 150, 105, 0.06); border: 1px solid rgba(5, 150, 105, 0.15); }
.box-orange { background: rgba(217, 119, 6, 0.06); border: 1px solid rgba(217, 119, 6, 0.15); }
.box-violet { background: rgba(124, 58, 237, 0.06); border: 1px solid rgba(124, 58, 237, 0.15); }

.solution-check-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #FFFFFF;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-purple { background: var(--accent-coral); }
.check-blue { background: #2563EB; }
.check-green { background: #059669; }
.check-orange { background: #D97706; }
.check-violet { background: #7C3AED; }

.sol-title {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.sol-desc {
  font-size: 0.825rem;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Collapsed Footer */
.deck-card-collapsed-footer {
  margin-top: auto;
  padding-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border-color);
  opacity: 1;
  max-height: 40px;
  transition: opacity 0.25s ease, max-height 0.35s ease, padding 0.35s ease;
}

.problem-deck-card.expanded .deck-card-collapsed-footer {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  border-top-color: transparent;
  overflow: hidden;
}

.chevron-icon-svg {
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-deck-card:hover .chevron-icon-svg {
  transform: translateX(5px);
}

.deck-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.hint-icon {
  margin-right: 4px;
}

/* Desktop Flex Deck (Screens >= 992px) - 5-Card Expanding Flex Deck Style */
@media (min-width: 992px) {
  .problem-section .problem-deck-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    height: 510px !important;
    max-height: none !important;
    gap: 0.75rem !important;
    overflow: hidden !important;
    margin-block: 2.5rem 1.5rem !important;
    padding-bottom: 0 !important;
  }

  .problem-section .problem-deck-card {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    padding: 1.35rem 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease, 
                box-shadow 0.35s ease, 
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .problem-section .problem-deck-card.expanded {
    flex: 3.2 1 0% !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1.6rem 1.35rem !important;
    border: 2px solid var(--accent-coral) !important;
    box-shadow: 0 12px 36px rgba(54, 102, 174, 0.15) !important;
  }

  .problem-section .problem-deck-card:not(.expanded) .deck-card-subtitle,
  .problem-section .problem-deck-card:not(.expanded) .deck-card-desc,
  .problem-section .problem-deck-card:not(.expanded) .deck-solution-box {
    opacity: 0 !important;
    max-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  .problem-section .problem-deck-card.expanded .deck-card-subtitle {
    opacity: 1 !important;
    max-height: 40px !important;
    height: auto !important;
    margin-bottom: 0.85rem !important;
    white-space: normal !important;
    display: block !important;
    font-size: 0.875rem !important;
    transform: translateY(0) !important;
  }

  .problem-section .problem-deck-card.expanded .deck-card-desc {
    opacity: 1 !important;
    max-height: 140px !important;
    height: auto !important;
    margin-bottom: 1.25rem !important;
    display: block !important;
    font-size: 0.875rem !important;
    transform: translateY(0) !important;
  }

  .problem-section .problem-deck-card.expanded .deck-solution-box {
    opacity: 1 !important;
    max-height: 160px !important;
    height: auto !important;
    padding: 0.85rem 1rem !important;
    display: flex !important;
    margin-top: auto !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .problem-section .problem-deck-card:not(.expanded) .deck-card-collapsed-footer {
    display: flex !important;
    opacity: 1 !important;
    max-height: 40px !important;
    margin-top: auto !important;
  }

  .problem-section .problem-deck-card.expanded .deck-card-collapsed-footer {
    display: none !important;
  }
}

/* Mobile & Tablet Horizontal Swipe/Scroll Cards (< 992px) */
@media (max-width: 991px) {
  .problem-section .problem-deck-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.25rem !important;
    padding-bottom: 1.25rem !important;
    padding-inline: 0.5rem !important;
    height: auto !important;
    min-height: 440px !important;
    margin-block: 1.75rem 1rem !important;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-coral) transparent;
  }

  .problem-section .problem-deck-container::-webkit-scrollbar {
    height: 5px;
  }
  .problem-section .problem-deck-container::-webkit-scrollbar-thumb {
    background: var(--accent-coral);
    border-radius: 999px;
  }

  .problem-section .problem-deck-card,
  .problem-section .problem-deck-card.expanded,
  .problem-section .problem-deck-container .problem-deck-card {
    flex: 0 0 320px !important;
    max-width: 360px !important;
    min-width: 270px !important;
    scroll-snap-align: start !important;
    height: auto !important;
    min-height: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1.5rem 1.25rem !important;
    border-radius: 20px !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05) !important;
    background: #FFFFFF !important;
    overflow: visible !important;
    cursor: default !important;
  }

  @media (max-width: 575px) {
    .problem-section .problem-deck-card,
    .problem-section .problem-deck-card.expanded,
    .problem-section .problem-deck-container .problem-deck-card {
      flex: 0 0 85% !important;
      max-width: 320px !important;
      min-width: 260px !important;
    }
  }

  .problem-section .problem-deck-card .deck-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .problem-section .problem-deck-card .deck-card-media-box,
  .problem-section .problem-deck-card .deck-card-icon-box {
    display: flex !important;
    opacity: 1 !important;
    margin-bottom: 1rem !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px !important;
    visibility: visible !important;
  }

  .problem-section .problem-deck-card .deck-card-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.3 !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
  }

  .problem-section .problem-deck-card .deck-card-subtitle {
    opacity: 1 !important;
    max-height: none !important;
    height: auto !important;
    transform: none !important;
    margin-bottom: 0.75rem !important;
    white-space: normal !important;
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  .problem-section .problem-deck-card .deck-card-desc {
    opacity: 1 !important;
    max-height: none !important;
    height: auto !important;
    transform: none !important;
    margin-bottom: 1.15rem !important;
    display: block !important;
    font-size: 0.875rem !important;
    color: var(--text-muted) !important;
    line-height: 1.55 !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  .problem-section .problem-deck-card .deck-solution-box {
    opacity: 1 !important;
    max-height: none !important;
    height: auto !important;
    transform: none !important;
    padding: 0.85rem 1rem !important;
    pointer-events: auto !important;
    display: flex !important;
    margin-top: auto !important;
    width: 100% !important;
    border-radius: 12px !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  .deck-card-collapsed-footer, 
  .expand-icon-toggle { 
    display: none !important; 
  }

  .deck-hint { 
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.85rem !important;
    margin-top: 1rem !important;
  }
}

/* Section 2: The Solution */
.solution-section {
  padding-block: 5.5rem;
  background-color: var(--bg-card-alt);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.solution-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.solution-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.solution-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-coral);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.feature-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.feature-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.solution-metrics-card {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-color-dark);
  position: relative;
  overflow: hidden;
}

.metrics-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  margin-bottom: 2rem;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.metric-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.metric-number {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.metrics-divider {
  height: 1px;
  background: var(--border-color-dark);
  margin-block: 1.75rem;
}

/* Solution Metrics Mobile Responsive Alignment (< 768px) */
@media (max-width: 768px) {
  .solution-metrics-card {
    padding: 1.5rem 1rem !important;
  }

  .metrics-badge {
    margin-bottom: 1.25rem !important;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .metric-number {
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  .metric-label {
    font-size: 0.775rem !important;
    line-height: 1.35 !important;
    margin-top: 0.35rem !important;
  }

  .metrics-divider {
    margin-block: 1.15rem !important;
  }
}

.solution-visual-footer {
  margin-top: 2rem;
}

/* Section 3: Product Showcase */
.showcase-section {
  padding-block: 5.5rem;
  background-color: var(--bg-cream);
}

.showcase-header {
  margin-bottom: 2.5rem;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.showcase-tab:hover,
.showcase-tab.active {
  background: var(--accent-coral);
  color: #FFFFFF;
  border-color: var(--accent-coral);
  box-shadow: 0 4px 16px rgba(54, 102, 174, 0.3);
}

.showcase-content-wrapper {
  position: relative;
}

.showcase-panel {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.showcase-panel.active {
  display: block;
  opacity: 1;
}

.showcase-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-subtle);
}

.panel-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.panel-badge {
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-coral);
  margin-bottom: 0.75rem;
}

.panel-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.panel-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.panel-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.panel-bullets li {
  font-size: 0.925rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.panel-bullets li::before {
  content: '✦';
  color: var(--accent-coral);
  font-size: 0.8rem;
}

.panel-preview-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.preview-header-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border-color);
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-btn.red { background: #FF5F56; }
.dot-btn.yellow { background: #FFBD2E; }
.dot-btn.green { background: #27C93F; }

.preview-title-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: auto;
}

.preview-body {
  padding: 1.5rem;
}

.preview-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.preview-stat-card {
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.p-label { font-size: 0.75rem; color: var(--text-muted); }
.p-val { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-block: 2px; }
.p-change { font-size: 0.7rem; font-weight: 700; }
.p-change.positive { color: #059669; }

.preview-chart-box {
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.chart-header { font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.chart-bar-bg { height: 10px; background: var(--bg-card-alt); border-radius: 5px; overflow: hidden; margin-bottom: 6px; }
.chart-bar-fill { height: 100%; background: var(--accent-coral); border-radius: 5px; }
.chart-percent { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

.teacher-list-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.t-name { font-weight: 600; }
.t-score { font-weight: 700; color: var(--accent-coral); }

.badge-status.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.mobile-phone-mockup {
  max-width: 280px;
  margin-inline: auto;
  background: var(--bg-dark);
  padding: 12px;
  border-radius: 32px;
  box-shadow: var(--shadow-elevated);
}

.phone-screen {
  background: var(--bg-cream);
  border-radius: 24px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.phone-card {
  background: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.phone-card.accent {
  background: rgba(54, 102, 174, 0.08);
  border-color: rgba(54, 102, 174, 0.2);
}

.phone-card-title { font-size: 0.8rem; font-weight: 700; color: var(--text-dark); }
.phone-card-sub { font-size: 0.725rem; color: var(--text-muted); margin-top: 4px; }

/* Section 4: Benefits / Why Choose Us */
.benefits-section {
  padding-block: 5.5rem;
  background-color: var(--bg-card-alt);
}

.benefits-header {
  margin-bottom: 3.5rem;
}

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

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(54, 102, 174, 0.25);
}

.benefit-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(54, 102, 174, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Section 6: Final CTA (Horizontal Banner matching Reference Image) */
.final-cta-section {
  padding-block: 4rem;
  background-color: var(--bg-cream);
}

.final-cta-banner {
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.85) 0%, rgba(54, 102, 174, 0.65) 50%, rgba(15, 23, 42, 0.82) 100%),
              url('../images/cta_art_bg.jpg') center/cover no-repeat;
  border-radius: 28px;
  padding: 3.5rem 3.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35), 0 8px 25px rgba(54, 102, 174, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-banner-left {
  max-width: 580px;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}

.cta-banner-heading {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.cta-banner-sub {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  font-weight: 500;
}

.cta-banner-right {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.btn-black-pill {
  background-color: #000000;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.6rem 0.6rem 0.6rem 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-black-pill:hover {
  transform: translateY(-2px);
  background-color: #111111;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn-arrow-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.85rem;
  flex-shrink: 0;
}

.btn-arrow-circle svg {
  color: #000000;
  stroke: #000000;
}

.cta-link-secondary {
  color: #FFFFFF;
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.cta-link-secondary:hover {
  opacity: 0.85;
  color: #FFFFFF;
}

/* Mobile Media Query for CTA Banner (< 768px) */
@media (max-width: 768px) {
  .final-cta-banner {
    padding: 2.25rem 1.5rem !important;
    border-radius: 24px !important;
  }

  .cta-banner-heading {
    font-size: 1.6rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.75rem !important;
  }

  .cta-banner-sub {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .cta-banner-right {
    justify-content: flex-start !important;
    gap: 1.25rem !important;
    margin-top: 1rem !important;
  }
}

/* Section 5: Frequently Asked Questions (FAQ) */
.faq-section {
  padding-block: 4.5rem;
  background-color: var(--bg-card-alt);
}

/* Split FAQ Layout (Left Sticky Title, Right Scrollable Accordion) */
.faq-split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.faq-left-panel {
  position: sticky;
  position: -webkit-sticky;
  top: 100px;
  align-self: start;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-left-panel .section-heading {
  margin-block: 0.75rem 1rem;
}

.faq-left-panel .section-lead {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-left-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  width: 100%;
  box-shadow: var(--shadow-subtle);
}

.faq-cta-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.faq-cta-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

/* Right Accordion Panel */
.faq-right-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.faq-right-panel::-webkit-scrollbar {
  width: 6px;
}

.faq-right-panel::-webkit-scrollbar-track {
  background: transparent;
}

.faq-right-panel::-webkit-scrollbar-thumb {
  background-color: rgba(54, 102, 174, 0.3);
  border-radius: 3px;
}

.faq-right-panel::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent-coral);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(54, 102, 174, 0.3);
  box-shadow: var(--shadow-subtle);
}

.faq-item.active {
  border-color: var(--accent-coral);
  box-shadow: 0 4px 20px rgba(54, 102, 174, 0.1);
}

.faq-question-btn {
  width: 100%;
  padding: 1.75rem 2rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question-btn * {
  pointer-events: none;
}

.faq-question-text {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question-text {
  color: var(--accent-coral);
}

.faq-icon-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(54, 102, 174, 0.08);
  color: var(--accent-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background var(--transition-fast), color var(--transition-fast);
}

.faq-item.active .faq-icon-toggle {
  background: var(--accent-coral);
  color: #FFFFFF;
  transform: rotate(180deg);
}

.faq-answer-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.faq-item.active .faq-answer-wrapper {
  max-height: 600px;
  opacity: 1;
}

.faq-answer-content {
  padding: 0 2rem 1.75rem 2rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Responsive Utility & Table Wrappers */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

/* Responsive updates for all sections & viewports */
@media (max-width: 1024px) {
  .navbar-menu { 
    display: none; 
  }
  .nav-buttons-wrapper {
    display: none;
  }
  .menu-button-mobile { 
    display: flex; 
  }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .showcase-panel-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem; }
  .showcase-tabs-nav { 
    overflow-x: auto; 
    flex-wrap: nowrap; 
    justify-content: flex-start; 
    padding-bottom: 0.5rem; 
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .showcase-tab { 
    white-space: nowrap; 
    flex-shrink: 0; 
  }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-2x2-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .faq-split-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-left-panel { position: static; }
  .faq-right-panel { max-height: none; overflow-y: visible; padding-right: 0; }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-columns-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-buttons { 
    flex-direction: column; 
    width: 100%; 
    gap: 0.75rem; 
  }
  .hero-buttons .btn { 
    width: 100%; 
    justify-content: center; 
  }
  .hero-subtext {
    font-size: 1.05rem;
    padding-inline: 0.5rem;
  }
  .hero-reviews {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }
  .image-card, .widget-card, .graph-widget, .emblem-widget, .message-widget {
    max-width: 85vw;
  }
  .bento-2x2-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .final-cta-buttons { flex-direction: column; width: 100%; }
  .final-cta-buttons .btn { width: 100%; }
  .final-cta-card { padding: 3rem 1.5rem; }
  .faq-question-btn { padding: 1.25rem 1.25rem; }
  .faq-answer-content { padding: 0 1.25rem 1.25rem 1.25rem; }
  
  /* Touch Form Input Optimizations */
  input[type="text"], 
  input[type="email"], 
  input[type="tel"], 
  input[type="date"], 
  select, 
  textarea {
    font-size: 16px !important;
  }

  .modal-content {
    width: 92% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding-inline: 1rem;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 640px) {
  .grid-2-col {
    grid-template-columns: 1fr;
  }
  .section {
    padding-block: 3.5rem;
  }
  .logo-row {
    gap: 1.5rem;
    justify-content: center;
  }
  .text-logo {
    font-size: 1.1rem;
  }
  .footer-columns-group {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Exact Reference Footer Styles */
.footer {
  background-color: #060B14;
  color: #94A3B8;
  padding-block: 4.5rem 2.5rem;
  font-family: var(--font-sans);
  border-top: 1px solid rgba(248, 250, 252, 0.08);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.footer-logo-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-blue { color: #38BDF8; }
.brand-coral { color: #F97316; }

.footer-byline {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.footer-motto {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-motto-line {
  width: 45px;
  height: 3px;
  background-color: #FFFFFF;
  margin-top: 0.4rem;
  border-radius: 2px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-social-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.social-circle-btn:hover {
  border-color: var(--accent-coral);
  background: var(--accent-coral);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-columns-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title .title-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 1px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-list a {
  color: #94A3B8;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.45;
}

.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #94A3B8;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.825rem;
  color: #94A3B8;
}

.footer-legal-ids {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal-ids .divider {
  opacity: 0.4;
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-columns-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-columns-group {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.footer-acc-toggle {
  display: none;
}

/* Footer Mobile Accordion Styles (< 768px) */
@media (max-width: 768px) {
  .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .footer-columns-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1.5rem !important;
    width: 100% !important;
  }

  .footer-col-item {
    border-bottom: 1px solid rgba(248, 250, 252, 0.12);
    padding-bottom: 0.85rem;
  }

  .footer-col-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem !important;
    font-size: 0.775rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    color: #FFFFFF !important;
    user-select: none;
  }

  .footer-col-title .title-underline {
    display: none !important;
  }

  .footer-acc-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #94A3B8 !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
  }

  .footer-col-item.active .footer-acc-toggle {
    transform: rotate(45deg);
    color: var(--accent-coral) !important;
  }

  .footer-links-list,
  .footer-contact-list {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease !important;
    pointer-events: none;
  }

  .footer-col-item.active .footer-links-list,
  .footer-col-item.active .footer-contact-list {
    max-height: 350px !important;
    opacity: 1 !important;
    margin-top: 0.85rem !important;
    pointer-events: auto !important;
  }
}

