
/* Desktop Only Elements */
.desktop-only {
  display: inline-flex !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  position: relative !important;
  z-index: 60 !important;
  cursor: pointer !important;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  color: #0F172A;
  padding: 0;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

/* Responsive Breakpoint for Mobile/Tablet (< 992px) */
@media (max-width: 992px) {
  .brand-tagline {
    display: none !important;
  }
  .nav-links {
    display: none !important;
  }
}

.finder-pill:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.finder-pill.active {
  background: #1E40AF !important;
  color: #FFFFFF !important;
  border-color: #1E40AF !important;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

/* ==========================================================================
   Luxury Mobile Navigation Drawer (Executive Malaysian FinTech Standard)
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 9998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.mobile-nav-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-menu-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-height: 92vh !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0 !important;
  border-radius: 0 0 24px 24px !important;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18) !important;
  z-index: 9999 !important;
  padding: 1.25rem 1.5rem 1.75rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateY(-100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, visibility 0.32s ease !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.mobile-menu-drawer.open {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Header inside Drawer */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 1.25rem;
}

.mobile-drawer-logo {
  height: 2.1rem;
  width: auto;
  object-fit: contain;
}

.btn-mobile-drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-mobile-drawer-close:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: rotate(90deg);
}

/* ==========================================================================
   TASTE & EDITORIAL — Category-First Mobile Navigation Drawer (Reference Match)
   ========================================================================== */
.mobile-drawer-nav-body {
  display: flex;
  flex-direction: column;
  padding: 0 0 1rem 0;
}

/* Category Section Block with Left Accent Bar */
.drawer-category-section {
  position: relative;
  padding: 0.85rem 1.5rem 1rem 1.5rem;
  transition: background 0.2s ease;
  border-bottom: 1px solid #F1F5F9;
}

.drawer-category-section.active-category {
  background: #EFF6FF !important;
}

/* Prominent Left Indicator Bar for Active Category */
.drawer-category-section.active-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4.5px;
  background: #0066FF !important;
}

/* Main Category Heading (Uppercase Tracked) */
.drawer-category-heading {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #1E293B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 0.65rem;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.drawer-category-section.active-category .drawer-category-heading {
  color: #0066FF !important;
}

.drawer-category-heading.static-heading {
  font-size: 0.8125rem;
  color: #64748B;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

/* Sub-items List under each Category */
.drawer-subitems-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 0.15rem;
}

.drawer-subitem {
  display: block;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.drawer-subitem:active {
  transform: translateX(3px);
}

/* Subitem Title in Vibrant Blue */
.drawer-subitem-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0066FF !important;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  transition: color 0.15s ease;
}

.drawer-subitem:hover .drawer-subitem-title {
  color: #0052CC !important;
}

/* Subitem Description in Clear Dark Gray */
.drawer-subitem-desc {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #475569 !important;
  line-height: 1.45;
}

/* Drawer Bottom Action Buttons */
.mobile-drawer-bottom-actions {
  margin-top: auto;
  padding: 1.25rem 1.5rem 0 1.5rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-mobile-drawer-apply {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.btn-mobile-drawer-apply:active {
  transform: scale(0.98);
}

.btn-mobile-drawer-wa {
  width: 100%;
  height: 44px;
  background: #ECFDF5;
  color: #047857;
  border: 1.5px solid #A7F3D0;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-mobile-drawer-wa:active {
  transform: scale(0.98);
  background: #D1FAE5;
}

.mobile-menu-btn {
  display: none;
  position: relative !important;
  z-index: 60 !important;
  cursor: pointer !important;
  background: transparent;
  border: none;
  color: #0F172A;
  padding: 0.5rem;
  -webkit-tap-highlight-color: transparent !important;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   EDITORIAL PRODUCT HERO & TRUST STRIP TOKENS (Credit Cards / Personal / SME)
   ========================================================================== */
.editorial-hero-section {
  padding-top: 7.5rem;
  padding-bottom: 3.5rem;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .editorial-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.editorial-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.eyebrow-sep {
  color: #CBD5E1;
}

.editorial-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .editorial-hero-title {
    font-size: 2rem;
  }
}

.text-royal-blue {
  color: #1E40AF;
}

.editorial-hero-subtitle {
  font-size: 1.0625rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

.editorial-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.btn-apply-emerald {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-apply-emerald:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-advisor-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  background: #FFFFFF;
  color: #334155;
  border: 1px solid #CBD5E1;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-advisor-outline:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
}

/* Trust Pill Badges Strip (Clean Horizontal Chips with Emerald Checkmarks) */
.editorial-trust-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.trust-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.trust-pill-item:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

/* ==========================================================================
   EXECUTIVE QUICK FINDER / CALCULATOR / SME MATCHER CARD
   ========================================================================== */
.quick-finder-card {
  background: #FFFFFF;
  border-radius: 1.25rem;
  padding: 1.75rem 1.85rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-finder-card:hover {
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
}

.finder-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
}

.finder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #DBEAFE;
  margin-bottom: 0.5rem;
}

.finder-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.015em;
}

.finder-subtitle {
  font-size: 0.8125rem;
  color: #64748B;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.finder-form-row {
  margin-bottom: 1rem;
}

.finder-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.finder-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: #0F172A;
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.finder-select:focus {
  border-color: #2563EB;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-finder-submit {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  background: #10B981;
  color: #FFFFFF;
  border: none;
  font-size: 0.9375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
  margin-top: 1.25rem;
}

.btn-finder-submit:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.btn-finder-submit:active {
  transform: scale(0.98);
}

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

:root {
  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Palette */
  --primary-blue: #1D4ED8;
  --primary-blue-hover: #1E40AF;
  --primary-blue-dark: #0F172A;
  --primary-blue-deep: #0A1128;
  --primary-blue-glow: rgba(29, 78, 216, 0.25);
  
  --primary-emerald: #10B981;
  --primary-emerald-hover: #059669;
  --primary-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-emerald-light: #34D399;

  --accent-amber: #F59E0B;
  --accent-purple: #8B5CF6;

  /* Surfaces & Hairline Borders */
  --bg-app: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  --border-hairline: rgba(226, 232, 240, 0.85);
  --border-glass-dark: rgba(255, 255, 255, 0.12);
  --border-glass-highlight: rgba(52, 211, 153, 0.4);

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-tertiary: #64748B;
  --text-muted: #94A3B8;

  /* Impeccable Physics Easing */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative !important;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

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

button, input, select {
  font-family: inherit;
}

/* Container Tokens */
.max-w-7xl { max-width: 80rem; margin-inline: auto; }
.max-w-5xl { max-width: 64rem; margin-inline: auto; }
.max-w-4xl { max-width: 56rem; margin-inline: auto; }
.max-w-3xl { max-width: 48rem; margin-inline: auto; }
.max-w-lg  { max-width: 32rem; margin-inline: auto; }

.px-4 { padding-inline: 1rem; }
.px-6 { padding-inline: 1.5rem; }
.px-8 { padding-inline: 2rem; }

@media (min-width: 640px) {
  .sm\\:px-6 { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
  .lg\\:px-8 { padding-inline: 2rem; }
}

/* ==========================================================================
   1. NAVBAR — Glassmorphic Surface with Inset Highlight (Unified Master Standard)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  height: 5rem;
  transition: all 0.2s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-logo-container:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 3.4rem;
  width: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  display: block;
}

.brand-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748B;
  border-left: 1.5px solid #E2E8F0;
  padding-left: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .brand-tagline {
    display: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2.25rem;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, #1E40AF, #10B981);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #1E40AF;
}

.nav-link.active {
  color: #1E40AF;
  font-weight: 700;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-nav-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: #10B981;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-nav-apply:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   2. HERO SECTION — Hallmark Architectural Canvas & Tactile Materiality
   ========================================================================== */
.hero-gradient {
  position: relative;
  background: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #090E1A 0%, #0F172A 100%);
  background-size: 24px 24px, 100% 100%;
  padding-top: 7.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
}

.hero-ambient-glow-1,
.hero-ambient-glow-2 {
  display: none !important; /* Hallmark slop-test #91: Purged muddy glowing blobs */
}

@media (min-width: 640px) {
  .hero-gradient {
    padding-top: 8.5rem;
    padding-bottom: 6.5rem;
  }
}

/* Hallmark Precision Centered Hero Column */
.hero-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 68rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* Hallmark Institutional Proof Strip (Strict Absolute Center) */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  padding: 0.5rem 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #94A3B8;
  text-transform: uppercase;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  transition: color 0.2s ease;
}

.hero-trust-badge:hover {
  color: #F8FAFC;
  transform: none;
}

.hero-trust-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.025em;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-title { font-size: 2.65rem; }
}
@media (min-width: 1024px) {
  .hero-title { 
    font-size: 2.85rem;
    white-space: nowrap; /* Hallmark 1-Line Crisp Slogan on Desktop */
  }
}

.hero-highlight-green {
  color: #10B981;
  display: inline-block;
  font-weight: 800;
  filter: none;
  -webkit-text-fill-color: initial;
}

.hero-subtitle {
  margin-top: 1.15rem;
  color: #94A3B8;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hero-subtitle { 
    font-size: 1.125rem;
    white-space: nowrap; /* Hallmark 1-Line Balanced Subtitle on Desktop */
  }
}

/* Hero Feature Cards Grid with Tactile Dark Material */
.hero-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.25rem;
  max-width: 68rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-feature-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 inset rgba(255, 255, 255, 0.12), 0 12px 32px -4px rgba(0, 0, 0, 0.4);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}

.hero-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 0 inset rgba(255, 255, 255, 0.2), 0 20px 40px -4px rgba(0, 0, 0, 0.55);
}

.hero-feature-card.highlighted {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 1px 0 inset rgba(52, 211, 153, 0.3), 0 12px 32px -4px rgba(0, 0, 0, 0.45);
}

.hero-feature-card.highlighted:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 1px 0 inset rgba(52, 211, 153, 0.45), 0 20px 44px -4px rgba(0, 0, 0, 0.6);
}

.badge-pulse {
  position: absolute;
  top: -0.65rem;
  left: 1.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #10B981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: none; /* Hallmark anti-pattern #45: remove distracting continuous pulsation */
}

/* 3D Hero Feature Illustration Styles */
.hero-feature-top-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 135px;
  margin-bottom: 0.5rem;
  position: relative;
  pointer-events: none;
}

.hero-feature-3d-img {
  max-height: 125px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.hero-feature-card:hover .hero-feature-3d-img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.55));
}

.hero-feature-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.hero-feature-title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.hero-feature-desc {
  font-size: 0.875rem;
  margin-top: 0.2rem;
  color: #94A3B8;
  font-weight: 500;
}

.hero-feature-detail-box {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(8, 13, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-feature-detail-label {
  font-size: 0.6875rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-feature-detail-val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.hero-feature-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-feature-btn:hover {
  background: #0066FF;
  border-color: #0066FF;
  color: #ffffff;
}

.hero-feature-btn:active {
  transform: scale(0.98);
}

/* Stats Counter Bar with Hallmark Structured Ledger Grid */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding: 1.75rem 2rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-stat-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.hero-stat-item {
  text-align: center;
  padding: 0 0.5rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* ==========================================================================
   3. PRODUCTS SECTION — Crossfade Tabs, Multi-Layer Air Shadows
   ========================================================================== */
.products-section {
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
  background: var(--bg-app);
}

.tab-switcher-container {
  display: flex;
  gap: 0.375rem;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: 0.875rem;
  padding: 0.375rem;
  margin-bottom: 2.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  position: relative;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(241, 245, 249, 0.7);
}

.tab-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .tab-switcher-container {
    padding: 0.25rem;
    gap: 0.25rem;
    margin-bottom: 2rem;
  }
  .tab-btn {
    padding: 0.55rem 0.25rem;
    font-size: 0.75rem;
    gap: 0.2rem;
    white-space: nowrap !important;
    letter-spacing: -0.01em;
  }
}

.tab-content-pane {
  animation: tabFadeIn 0.35s var(--ease-smooth);
}

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

/* Section Headings */
.section-header {
  margin-bottom: 2.25rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  background: #DBEAFE;
  color: var(--primary-blue);
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.1);
}

.section-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .section-title { font-size: 2rem; }
}

.section-subtitle {
  margin-top: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Product Cards List with Impeccable Inset Highlights */
.product-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: 1.125rem;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.02), 0 8px 24px -6px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s var(--ease-spring);
}

@media (min-width: 640px) {
  .product-card {
    flex-direction: row;
    align-items: center;
  }
}

.product-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-3px) scale(1.005);
  box-shadow: 0 4px 6px 0 rgba(15, 23, 42, 0.02), 0 20px 40px -10px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.product-logo-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s var(--ease-spring);
}

.product-card:hover .product-logo-box {
  transform: scale(1.1);
}

/* Realistic Credit Card Visual Mockup */
.product-card-visual-wrapper {
  width: 5.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
  transition: transform 0.25s var(--ease-spring);
}

.product-card:hover .product-card-visual-wrapper {
  transform: scale(1.1) translateY(-2px) rotate(1.5deg);
}

/* Bank Logo Visual Badge */
.product-bank-logo-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s var(--ease-spring);
}

.product-bank-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.625rem;
}

.product-card:hover .product-bank-logo-wrapper {
  transform: scale(1.12);
}

.product-card-body {
  flex: 1;
  min-width: 0;
}

.product-tag-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.bank-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-pill-tag {
  font-size: 0.6875rem;
  padding: 0.15rem 0.625rem;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

.product-specs-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  margin-top: 0.5rem;
}

.spec-item {
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-tertiary);
}

.spec-item.highlight-text {
  font-weight: 700;
  color: var(--primary-blue);
}

.spec-item.green-text {
  font-weight: 700;
  color: var(--primary-emerald-hover);
}

.spec-item.bold-slate {
  font-weight: 600;
  color: var(--text-secondary);
}

.btn-product-apply {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary-blue);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s var(--ease-smooth);
  width: 100%;
}

@media (min-width: 640px) {
  .btn-product-apply { width: auto; }
}

.btn-product-apply:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-product-apply:active {
  transform: scale(0.97);
}

.btn-product-check-outline {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid var(--primary-blue);
  color: var(--primary-blue);
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.08);
  transition: all 0.25s var(--ease-smooth);
  width: 100%;
  text-align: center;
}

.btn-product-check-outline:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
}

.btn-product-check-outline:active {
  transform: scale(0.97);
}

.btn-product-green {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #10B981, #059669);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s var(--ease-smooth);
  width: 100%;
}

@media (min-width: 640px) {
  .btn-product-green { width: auto; }
}

.btn-product-green:hover {
  background: linear-gradient(135deg, #34D399, #059669);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}

.btn-product-green:active {
  transform: scale(0.97);
}

.tab-footer-action {
  margin-top: 2rem;
  text-align: center;
}

.btn-view-all-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid var(--primary-blue);
  color: var(--primary-blue);
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s var(--ease-smooth);
}

.btn-view-all-outline:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
}

.btn-view-all-green-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.875rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid var(--primary-emerald);
  color: var(--primary-emerald-hover);
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s var(--ease-smooth);
}

.btn-view-all-green-outline:hover {
  background: var(--primary-emerald);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   4. INTERACTIVE REPAYMENT CALCULATOR WIDGET (Aura Glow Slider)
   ========================================================================== */
.calc-card-container {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid var(--border-hairline);
  border-radius: 1.25rem;
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.3s var(--ease-smooth);
}

.calc-card-container:hover {
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .calc-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.slider-group {
  margin-bottom: 1.25rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slider-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.slider-val-badge {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--primary-blue);
  background: #DBEAFE;
  padding: 0.2rem 0.625rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.1);
  transition: all 0.2s var(--ease-spring);
}

.custom-range-slider {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.05s ease;
}

.custom-range-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: transparent !important;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1E40AF;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.45);
  cursor: pointer;
  margin-top: -7px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.6);
}

.custom-range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1E40AF;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.45);
  cursor: pointer;
}

.custom-range-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: transparent !important;
}

.calc-result-box {
  background: radial-gradient(circle at 10% 10%, #1E40AF 0%, #0B1224 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 12px 28px -5px rgba(29, 78, 216, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent);
}

.calc-result-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #93C5FD;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-result-amount {
  font-size: 2.35rem;
  font-weight: 900;
  color: #34D399;
  margin: 0.25rem 0;
  text-shadow: 0 2px 10px rgba(52, 211, 153, 0.4);
  transition: transform 0.2s var(--ease-spring);
}

.calc-result-sub {
  font-size: 0.75rem;
  color: #DBEAFE;
}

/* ==========================================================================
   5. 3-STEP PROCESS — How ezLoan Works (Executive Skyline Dark Aesthetic)
   ========================================================================== */
.steps-section {
  padding-top: 5.5rem;
  padding-bottom: 6rem;
  position: relative;
  background: 
    linear-gradient(180deg, rgba(8, 13, 26, 0.85) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(8, 13, 26, 0.95) 100%),
    radial-gradient(circle at 50% 25%, rgba(30, 64, 175, 0.35) 0%, rgba(8, 13, 26, 0.6) 80%),
    url('../images/hero-kl-skyline.jpg') center center / cover no-repeat;
  background-attachment: scroll;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.steps-section .section-title {
  color: #FFFFFF !important;
}

.steps-section .section-subtitle {
  color: #94A3B8 !important;
}

.steps-section .section-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #93C5FD;
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps-connecting-line {
  display: none;
  position: absolute;
  top: 3.5rem;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(to right, #3B82F6 0%, #8B5CF6 50%, #10B981 100%);
  opacity: 0.8;
  z-index: 0;
}

@media (min-width: 768px) {
  .steps-connecting-line { display: block; }
}

.step-card {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  border-radius: 1.25rem;
  padding: 2.25rem 1.75rem 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-align: center;
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.35), 0 20px 40px -10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s var(--ease-spring);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 25px 50px -8px rgba(37, 99, 235, 0.35);
  border-color: #93C5FD;
}

.step-badge-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease-spring);
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.step-card:hover .step-badge-circle {
  transform: scale(1.12);
}

.step-badge-circle.blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #DBEAFE;
}

.step-badge-circle.purple {
  background: #F5F3FF;
  color: #6D28D9;
  border-color: #EDE9FE;
}

.step-badge-circle.emerald {
  background: #ECFDF5;
  color: #059669;
  border-color: #D1FAE5;
}

.step-tag-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.step-tag-pill.blue { background: #DBEAFE; color: #1E40AF; }
.step-tag-pill.purple { background: #EDE9FE; color: #6D28D9; }
.step-tag-pill.emerald { background: #D1FAE5; color: #047857; }

.step-title {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.625rem;
  letter-spacing: -0.015em;
}

.step-desc {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.6;
  max-width: 280px;
  margin-inline: auto;
}

/* Trust Metric Strip */
.steps-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #CBD5E1;
  flex-wrap: wrap;
}

.trust-item {
  color: #F8FAFC;
}

.trust-dot {
  color: #64748B;
  font-size: 0.75rem;
}

.btn-start-process {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: #10B981;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px -2px rgba(16, 185, 129, 0.45);
  transition: all 0.25s var(--ease-smooth);
}

.btn-start-process:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(16, 185, 129, 0.55);
  background: #059669;
}

.btn-start-process:active {
  transform: scale(0.97);
}

.process-sub-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ==========================================================================
   6. TRUSTED PARTNER BANKS & CUSTOMER REVIEWS (Editorial Financial Standard)
   ========================================================================== */
.social-proof-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

/* 1. Partner Banks Section Container & Spacing */
.banks-section-wrap {
  text-align: center;
  margin-bottom: 5.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid #F1F5F9;
}

@media (max-width: 768px) {
  .banks-section-wrap {
    margin-bottom: 4.25rem;
    padding-bottom: 3.5rem;
  }
}

.banks-main-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.banks-sub-heading {
  font-size: 0.9375rem;
  color: #64748B;
  margin-top: 0.35rem;
  margin-bottom: 2.25rem;
}

/* 1. Partner Banks Auto-Scrolling Infinite Marquee */
.banks-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.banks-marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: bankMarqueeScroll 26s linear infinite;
  will-change: transform;
}

.banks-marquee-wrapper:hover .banks-marquee-track,
.banks-marquee-wrapper:active .banks-marquee-track {
  animation-play-state: paused;
}

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

.bank-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
  opacity: 0.85;
  filter: grayscale(12%);
  cursor: pointer;
  flex-shrink: 0;
}

.bank-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px) scale(1.04);
}

.bank-logo-img {
  max-width: 155px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .banks-marquee-track {
    gap: 2.25rem;
    animation-duration: 20s;
  }
  .banks-marquee-wrapper {
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  }
}

/* 2. Customer Reviews Header & Trust Summary */
.reviews-section-wrap {
  width: 100%;
}

.reviews-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .reviews-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.reviews-main-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.reviews-sub-title {
  font-size: 0.9375rem;
  color: #64748B;
  margin-top: 0.35rem;
}

.reviews-trust-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.125rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  align-self: flex-start;
}

@media (min-width: 768px) {
  .reviews-trust-summary {
    align-self: auto;
  }
}

.stars-gold-row {
  display: inline-flex;
  gap: 0.15rem;
}

.star-gold {
  color: #F59E0B;
  font-size: 0.9375rem;
}

.trust-rating-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.trust-rating-text strong {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0F172A;
}

.trust-rating-text span {
  font-size: 0.6875rem;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Editorial Review Grid: Left 58% + Right 42% */
.reviews-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .reviews-editorial-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
  }
}

/* Left: Large Featured Review Card */
.review-card-featured {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem 1.65rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease;
}

.review-card-featured:hover {
  border-color: #CBD5E1;
}

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

.review-meta-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.02em;
}

.review-quote-lg {
  font-size: 1.0625rem;
  color: #0F172A;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
  margin-bottom: 2rem;
}

/* Right Stacked Column */
.reviews-stacked-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-card-compact {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease;
  width: 100%;
}

.review-card-compact:hover {
  border-color: #CBD5E1;
}

.review-quote-sm {
  font-size: 0.9375rem;
  color: #0F172A;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
  margin-bottom: 1.25rem;
}

/* Author Row */
.review-author-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #1E40AF;
  font-size: 0.8125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-info {
  line-height: 1.2;
}

.review-author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0F172A;
}

.review-author-loc {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 0.15rem;
}

/* ==========================================================================
   7. FOOTER — Deep Obsidian Palette with Strict Alignment
   ========================================================================== */
.footer {
  border-top: 1px solid #1E293B;
  background: #0B0F19;
  color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand-col {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand-col {
    grid-column: span 1;
  }
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 1.25rem;
  box-shadow: none !important;
  text-decoration: none;
}

.footer-logo-link:hover {
  opacity: 0.9;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.65;
  max-width: 18rem;
  margin-bottom: 1.25rem;
}

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

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

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

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

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

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8125rem;
  color: #64748B;
}

/* ==========================================================================
   9. QUICK APPLICATION MODAL — 100% Exact Replica of User Design
   ========================================================================== */
.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease !important;
}

.modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   Hallmark Architectural Application Modal (Anti-AI-Slop Executive FinTech)
   ========================================================================== */
.exact-modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100% !important;
  max-width: 480px !important;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.75rem 2rem 1.5rem 2rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
  border: 1px solid #E2E8F0;
  transform: scale(0.97) translateY(8px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
  margin: auto !important;
}

.modal-backdrop.open .exact-modal-card {
  transform: scale(1) translateY(0);
}

/* Header Row */
.exact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.exact-header-left {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

.exact-header-icon-circle {
  display: none !important; /* Hallmark slop-test: Purged generic AI blue document icon */
}

.exact-header-text {
  flex: 1;
}

.exact-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.exact-main-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}

.exact-product-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #0066FF;
  line-height: 1.3;
  margin-top: 0.2rem;
  letter-spacing: -0.01em;
}

.exact-desc {
  font-size: 0.8125rem;
  color: #64748B;
  margin-top: 0.35rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.exact-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.exact-close-btn:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
}

/* Institutional Compliance Strip (Replaces AI checklist) */
.exact-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 1.25rem 0;
  padding: 0.55rem 0.875rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
}

.exact-trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.71875rem;
  font-weight: 600;
  color: #475569;
}

.exact-trust-item svg {
  display: none !important; /* Remove cartoon checkmark icons */
}

.exact-trust-item::before {
  content: "•";
  color: #10B981;
  font-size: 0.875rem;
  font-weight: bold;
}

.exact-trust-divider {
  width: 1px;
  height: 12px;
  background: #E2E8F0;
}

/* Selected Product / Card Card (Clean Hairline Ledger) */
.exact-selected-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0; /* Hallmark slop-test #42: Hairline all around, no thick blue side-stripe */
  border-radius: 12px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.exact-selected-eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.exact-selected-content {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.exact-card-thumb-wrap {
  width: 68px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.exact-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exact-selected-details {
  flex: 1;
  min-width: 0;
}

.exact-selected-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 0.15rem;
  word-break: break-word;
}

.exact-selected-tags {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.15rem;
}

.exact-selected-bank-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.exact-change-btn {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.exact-change-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

/* Form Section */
.exact-section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.exact-form-group {
  margin-bottom: 0.95rem;
}

.exact-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 0.35rem;
}

.exact-input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.exact-field-icon {
  display: none !important; /* Hallmark slop-test: Purged redundant line icons inside inputs */
}

.exact-input-element {
  width: 100%;
  height: 44px;
  padding: 0 0.875rem;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.exact-input-element.with-left-icon {
  padding-left: 0.875rem !important; /* Clean flush left text alignment */
}

.exact-input-element:focus {
  border-color: #0066FF;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

/* Phone Field */
.exact-phone-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.exact-country-pill {
  height: 44px;
  padding: 0 0.75rem;
  border-radius: 8px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.exact-phone-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.exact-wa-field-icon {
  display: none !important; /* Purge loud green whatsapp outline icon inside input */
}

/* Submit Button */
.exact-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  background: #0066FF;
  color: #FFFFFF;
  border: none;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.25);
}

.exact-submit-btn:hover {
  background: #0052CC;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.exact-submit-btn:active {
  transform: scale(0.99);
}

/* Security Footer */
.exact-security-footer {
  margin-top: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.exact-sec-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.71875rem;
  color: #64748B;
  font-weight: 500;
}

.exact-privacy-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0066FF;
  text-decoration: none;
}

.exact-privacy-link:hover {
  text-decoration: underline;
}

/* Success View */
.exact-success-view {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.exact-success-icon-wrap {
  margin-bottom: 0.75rem;
}

.exact-success-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.exact-success-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.exact-done-btn {
  padding: 0.75rem 2rem;
  border-radius: 12px;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exact-done-btn:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}


.modal-backdrop.open,
.modal-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.card-details-dialog-content {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.08);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.open .card-details-dialog-content,
.modal-backdrop.active .card-details-dialog-content,
.modal-backdrop.open .compare-modal-content,
.modal-backdrop.active .compare-modal-content {
  transform: scale(1) translateY(0) !important;
}

.compare-modal-content {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.compare-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.compare-modal-close-btn {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ==========================================================================
   High-Performance Rendering Optimizations (60fps Scroll & Instant Paint)
   ========================================================================== */
.product-comparison-card {
  content-visibility: auto;
  contain-intrinsic-size: 0 220px;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.product-card {
  content-visibility: auto;
  contain-intrinsic-size: 0 340px;
  transform: translateZ(0);
  backface-visibility: hidden;
}

img {
  image-rendering: auto;
}

/* Reduce layout thrashing */
* {
  box-sizing: border-box;
}


/* ==========================================================================
   Comprehensive Product Comparison Card Grid & Image Constraints
   ========================================================================== */
.product-comparison-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  content-visibility: auto;
  contain-intrinsic-size: 0 220px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .product-comparison-card {
    grid-template-columns: 140px 1fr 180px;
    gap: 1.75rem;
  }
}

.product-comparison-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

/* Card Visual Left Column (Bounded Dimensions) */
.card-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 140px;
  margin: 0 auto;
  overflow: hidden;
}

.card-img-thumb {
  max-width: 130px !important;
  max-height: 82px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
  display: block;
}

.compare-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  user-select: none;
}

.compare-checkbox-label input {
  width: 15px;
  height: 15px;
  accent-color: #1E40AF;
  cursor: pointer;
}

/* Card Details Middle Column */
.card-details-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0; /* Prevents overflow */
}

.card-header-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.card-bank-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #1E40AF;
  letter-spacing: 0.02em;
}

.card-rec-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #15803D;
  background: #DCFCE7;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.card-title-text {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.3;
}

.card-specs-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 0.35rem 0;
}

@media (max-width: 640px) {
  .card-specs-matrix {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.spec-matrix-col {
  display: flex;
  flex-direction: column;
}

.spec-matrix-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.spec-matrix-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 0.15rem;
}

.value-emerald {
  color: #047857 !important;
}

.card-welcome-offer-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  flex-wrap: wrap;
}

.welcome-offer-label {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #1E40AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.welcome-offer-text {
  font-weight: 700;
  color: #1E3A8A;
}

.card-perks-bullets {
  font-size: 0.8125rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.perk-bullet-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bullet-check {
  color: #10B981;
  font-weight: 800;
}

/* Card Action Right Column */
.card-action-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  align-items: stretch;
}

.btn-card-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  background: #059669;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
  transition: all 0.2s;
}

.btn-card-apply:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
}

.btn-card-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  background: transparent;
  color: #1E40AF;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1.5px solid #BFDBFE;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-card-details:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
}

/* ==========================================================================
   Official Floating WhatsApp Button & Non-overlapping Back to Top
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 9999 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(15, 23, 42, 0.15) !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #FFFFFF !important;
  padding: 0 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(15, 23, 42, 0.2) !important;
}

.floating-whatsapp-btn svg {
  width: 32px !important;
  height: 32px !important;
  display: block !important;
  pointer-events: none !important;
}

/* Back to Top Floating Button (Clean Separation: sits 24px above WhatsApp button) */
.back-to-top-btn {
  position: fixed !important;
  bottom: 6.25rem !important; /* 100px from bottom, leaving clear 20px+ vertical gap above 56px WhatsApp button */
  right: 1.85rem !important;
  z-index: 9998 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #475569 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.back-to-top-btn.visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.back-to-top-btn:hover {
  background: #F8FAFC !important;
  color: #1E40AF !important;
  border-color: #CBD5E1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18) !important;
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 1rem !important;
    right: 1rem !important;
    width: 50px !important;
    height: 50px !important;
  }
  .floating-whatsapp-btn svg {
    width: 28px !important;
    height: 28px !important;
  }
  .back-to-top-btn {
    bottom: 5rem !important;
    right: 1.25rem !important;
    width: 38px !important;
    height: 38px !important;
  }
}

/* ==========================================================================
   Language Switcher Component (Globe Icon + Dropdown)
   ========================================================================== */
.lang-dropdown-container {
  position: relative;
  display: inline-block;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.lang-switcher-btn:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1E40AF;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
}

.lang-switcher-btn .globe-icon {
  color: #2563EB;
  flex-shrink: 0;
}

.lang-switcher-btn .chevron-icon {
  color: #64748B;
  transition: transform 0.2s ease;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
  padding: 0.4rem;
  min-width: 160px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.lang-option-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.lang-option-btn.active {
  background: #EFF6FF;
  color: #1E40AF;
  font-weight: 800;
}

.lang-option-btn .lang-code {
  font-weight: 800;
  color: #2563EB;
  margin-right: 0.5rem;
}

.lang-option-btn.active::after {
  content: "✓";
  color: #1E40AF;
  font-weight: 900;
  font-size: 0.875rem;
}

/* Mobile Language Switcher */
.mobile-lang-dropdown-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

.mobile-lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-lang-dropdown-container .lang-dropdown-menu {
  right: -10px;
  top: calc(100% + 6px);
}


/* Responsive Visibility Utilities */
@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

/* Navbar Anti-Crowding (Ensures long Malay text never collides) */
.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
}

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

.brand-tagline {
  margin-left: 0.75rem !important;
  padding-left: 0.75rem !important;
  border-left: 1px solid #E2E8F0 !important;
  font-size: 0.75rem !important;
  color: #64748B !important;
  white-space: nowrap !important;
}

@media (max-width: 1320px) {
  .brand-tagline {
    display: none !important;
  }
}

.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: clamp(0.75rem, 1.2vw, 1.5rem) !important;
  white-space: nowrap !important;
}

.nav-link {
  font-size: clamp(0.8125rem, 0.95vw, 0.9375rem) !important;
  font-weight: 700 !important;
  padding: 0.5rem 0.25rem !important;
}

/* Compact Clean Language Dropdown (Pure EN / BM / 中文 only) */
.lang-dropdown-menu {
  min-width: 86px !important;
  width: 86px !important;
  padding: 0.3rem !important;
  border-radius: 10px !important;
}

.lang-option-btn {
  justify-content: center !important;
  padding: 0.45rem 0.6rem !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  text-align: center !important;
}

.lang-option-btn .lang-code {
  margin-right: 0 !important;
}

.lang-option-btn.active::after {
  content: "" !important;
}

/* ==========================================================================
   Master Responsive Navbar & Mobile Drawer Rules (Desktop > 992px / Mobile <= 992px)
   ========================================================================== */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  height: 5rem !important;
  pointer-events: auto !important;
}

.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 5rem !important;
  width: 100% !important;
  pointer-events: auto !important;
}

@media (min-width: 993px) {
  .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: clamp(0.75rem, 1.2vw, 1.5rem) !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1001 !important;
  }
  .desktop-only {
    display: flex !important;
  }
  .mobile-only {
    display: none !important;
  }
  .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .brand-tagline {
    display: none !important;
  }
  .nav-links {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
}

.nav-link {
  font-size: clamp(0.8125rem, 0.95vw, 0.9375rem) !important;
  font-weight: 700 !important;
  padding: 0.5rem 0.35rem !important;
  color: #334155 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: inline-block !important;
  transition: color 0.15s ease !important;
}

.nav-link:hover {
  color: #1D4ED8 !important;
}

.hero-ambient-glow-1,
.hero-ambient-glow-2 {
  pointer-events: none !important;
}

/* ==========================================================================
   Bottom-Centered Floating Comparison Drawer (Avoids Right-Side WhatsApp Button)
   ========================================================================== */
.floating-whatsapp-btn {
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease, box-shadow 0.25s ease !important;
}

.back-to-top-btn {
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease !important;
}

body.has-comparison-drawer .floating-whatsapp-btn {
  bottom: 5.5rem !important;
}

body.has-comparison-drawer .back-to-top-btn {
  bottom: 9.25rem !important;
}

.comparison-floating-drawer {
  position: fixed !important;
  bottom: 1.5rem !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(150%) !important;
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  border-radius: 9999px !important;
  padding: 0.5rem 0.85rem 0.5rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  z-index: 9990 !important;
  color: #FFFFFF !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s ease !important;
  white-space: nowrap !important;
  max-width: calc(100vw - 2rem) !important;
  box-sizing: border-box !important;
}

.comparison-floating-drawer.visible {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.drawer-compare-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: #E2E8F0 !important;
}

.btn-drawer-compare-action {
  flex-shrink: 0 !important;
  background: #10B981 !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.45rem 1rem !important;
  border-radius: 9999px !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

.btn-drawer-compare-action:hover {
  background: #059669 !important;
  transform: translateY(-1px) !important;
}

.btn-drawer-clear {
  flex-shrink: 0 !important;
  background: transparent !important;
  color: #94A3B8 !important;
  border: none !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 0.35rem 0.5rem !important;
  border-radius: 6px !important;
  transition: color 0.15s ease !important;
}

.btn-drawer-clear:hover {
  color: #F87171 !important;
}

@media (max-width: 768px) {
  body.has-comparison-drawer .floating-whatsapp-btn {
    bottom: 4.75rem !important;
  }

  body.has-comparison-drawer .back-to-top-btn {
    bottom: 8.25rem !important;
  }

  .comparison-floating-drawer {
    bottom: 0.875rem !important;
    max-width: calc(100vw - 1.25rem) !important;
    padding: 0.4rem 0.65rem 0.4rem 0.85rem !important;
    gap: 0.45rem !important;
    border-radius: 12px !important;
  }

  .drawer-compare-text {
    font-size: 0.75rem !important;
    max-width: 140px !important;
  }

  .btn-drawer-compare-action {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 8px !important;
  }

  .btn-drawer-clear {
    font-size: 0.6875rem !important;
    padding: 0.3rem 0.45rem !important;
  }
}

/* Compare Matrix Modal */
.compare-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
}

.compare-modal-backdrop.open {
  display: flex !important;
}

.compare-modal-card {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  width: 100% !important;
  max-width: 900px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  padding: 1.75rem 2rem !important;
  position: relative !important;
}

.compare-modal-close-btn {
  position: absolute !important;
  top: 1.25rem !important;
  right: 1.25rem !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #F1F5F9 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #64748B !important;
  transition: all 0.15s ease !important;
}

.compare-modal-close-btn:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}



/* ==========================================================================
   REACT BITS & TASTE MOTION — Dynamic Count-Up & Spring-Reveal Physics
   ========================================================================== */

/* 1. Hero Title & Eyebrow Spring Reveal */
.hero-title {
  animation: heroSpringUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle {
  animation: heroSpringUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-trust-badges .hero-trust-badge {
  animation: badgeSpringPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-trust-badges .hero-trust-badge:nth-child(1) { animation-delay: 0.05s; }
.hero-trust-badges .hero-trust-badge:nth-child(2) { animation-delay: 0.12s; }
.hero-trust-badges .hero-trust-badge:nth-child(3) { animation-delay: 0.19s; }
.hero-trust-badges .hero-trust-badge:nth-child(4) { animation-delay: 0.26s; }

/* 2. 3 Hero Feature Cards Staggered Spring Bounce */
.hero-cards-grid .hero-feature-card {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  animation: cardStaggerBounce 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.hero-cards-grid .hero-feature-card:nth-child(1) { animation-delay: 0.18s; }
.hero-cards-grid .hero-feature-card:nth-child(2) { animation-delay: 0.28s; }
.hero-cards-grid .hero-feature-card:nth-child(3) { animation-delay: 0.38s; }

.hero-cards-grid .hero-feature-card:hover {
  transform: translateY(-6px) scale(1.015) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35), 0 0 25px rgba(37, 99, 235, 0.2) !important;
}

/* 3. Interactive Stats Counter Bar Spring & Glow */
.hero-stat-item {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease !important;
}

.hero-stat-item:hover {
  transform: translateY(-3px) scale(1.03) !important;
}

.hero-stat-num {
  transition: color 0.3s ease, transform 0.2s ease;
}

.hero-stat-num.count-pulsing {
  color: #34D399 !important;
  text-shadow: 0 0 16px rgba(52, 211, 153, 0.6);
}

/* 4. Process Steps Staggered Scroll Reveal */
.steps-grid .step-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease !important;
}

.steps-grid .step-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12) !important;
}

.step-badge-circle {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
}

.step-card:hover .step-badge-circle {
  transform: scale(1.15) rotate(6deg) !important;
}

/* 5. Keyframes Physics */
@keyframes heroSpringUp {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes badgeSpringPop {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.8);
  }
  70% {
    opacity: 1;
    transform: translateY(2px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardStaggerBounce {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  75% {
    opacity: 1;
    transform: translateY(-3px) scale(1.008);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ==========================================================================
   Mobile-Only 3-in-1 Compact Category Grid (All 3 Cards in 1 Screen)
   ========================================================================== */
@media (max-width: 767px) {
  .hero-cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
  }

  .hero-feature-card {
    padding: 0.75rem 0.4rem 0.65rem 0.4rem !important;
    border-radius: 0.875rem !important;
    gap: 0.3rem !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 155px !important;
  }

  .hero-feature-top-media {
    height: 55px !important;
    margin-bottom: 0.1rem !important;
  }

  .hero-feature-3d-img {
    max-height: 52px !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) !important;
  }

  .hero-feature-header {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }

  .hero-feature-title {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
  }

  .hero-feature-desc {
    display: none !important;
  }

  .hero-feature-detail-box {
    display: none !important;
  }

  .hero-feature-btn {
    width: 100% !important;
    padding: 0.35rem 0.2rem !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    border-radius: 0.5rem !important;
    margin-top: 0.2rem !important;
  }

  .badge-pulse {
    top: -0.55rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0.15rem 0.4rem !important;
    font-size: 0.5625rem !important;
    white-space: nowrap !important;
  }
}


/* ==========================================================================
   Responsive Product List Header (Fixes text wrapping on smaller resolutions)
   ========================================================================== */
.products-list-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.products-list-count {
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .products-list-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .products-list-header h2 {
    font-size: 1.1875rem !important;
    line-height: 1.35 !important;
    word-break: normal !important;
  }

  .products-list-header p {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
  }

  .products-list-count {
    font-size: 0.8125rem !important;
    color: #2563EB !important;
    font-weight: 700 !important;
    background: #EFF6FF !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 999px !important;
    border: 1px solid #DBEAFE !important;
    display: inline-block !important;
    align-self: flex-start !important;
  }
}
