/* ============================================
   Nexus Banking — Master Stylesheet
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #F8F9F5;
  overflow-x: hidden;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Custom Cursor --- */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #0C3E30;
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  opacity: 1;
  mix-blend-mode: difference;
}

.custom-cursor-grow {
  width: 48px;
  height: 48px;
  background-color: rgba(180, 237, 60, 0.15);
  border-color: #B4ED3C;
}

@media (max-width: 1024px) {
  .custom-cursor { display: none; }
}

/* --- Fixed Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background: rgba(248, 249, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 1.5rem;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Desktop Nav --- */
.nav-desktop { display: none; }

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
  .nav-desktop a {
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  .nav-desktop a:not(.active) { color: #64748b; }
  .nav-desktop a:hover,
  .nav-desktop a.active { color: #0C3E30; }
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

/* --- Mobile Sidebar --- */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #FFFFFF;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}
.sidebar.open { transform: translateX(0); }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1.25rem;
  color: #0C3E30;
}
.sidebar-close:hover { background: #e2e8f0; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.sidebar-nav a {
  padding: 0.875rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  transition: all 0.2s ease;
}
.sidebar-nav a:hover,
.sidebar-nav a.active { background: #f1f5f9; color: #0C3E30; }

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

/* --- Menu Button --- */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #0C3E30;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 12px;
}
.menu-btn:hover { background: rgba(12, 62, 48, 0.05); }
.menu-btn i { font-size: 1.75rem; }

@media (min-width: 768px) { .menu-btn { display: none; } }

/* --- Main Content Offset --- */
.main-content { padding-top: 68px; }

/* ============================================
   HERO SECTION — REDESIGNED
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
}

/* Stronger gradient layers */
.hero-gradient-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 140% 80% at 80% 90%, rgba(180, 237, 60, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 20% 10%, rgba(12, 62, 48, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-gradient-to-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(180, 237, 60, 0.18) 0%, rgba(180, 237, 60, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Decorative shapes */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-deco-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(180, 237, 60, 0.2);
  border-radius: 50%;
}

.hero-deco-2 {
  bottom: 5%;
  left: -8%;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(12, 62, 48, 0.06);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-deco-3 {
  top: 30%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(180, 237, 60, 0.12), transparent 70%);
  border-radius: 50%;
}

.hero-deco-4 {
  bottom: 20%;
  right: 15%;
  width: 150px;
  height: 150px;
  border: 1.5px dashed rgba(180, 237, 60, 0.15);
  border-radius: 50%;
}

/* Dots pattern */
.dots-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  background-image:
    radial-gradient(circle, rgba(12, 62, 48, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(180, 237, 60, 0.1) 1px, transparent 1px);
  background-size: 50px 50px, 25px 25px;
  background-position: 0 0, 25px 25px;
}

/* --- Transparent hero portrait --- */
.hero-image-wrap {
  position: relative;
  width: min(540px, 85vw);
  height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.hero-image-wrap img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 30px rgba(8, 45, 35, 0.16));
}

/* Glow behind person */
.hero-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(180, 237, 60, 0.25) 0%, rgba(180, 237, 60, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
}

@keyframes pulse-glow {
  0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* --- Compact dashboard cards around the portrait --- */
.hero-mini-card {
  position: absolute;
  z-index: 5;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 16px 36px rgba(8, 45, 35, 0.13);
}

.hero-mini-security {
  top: 15%;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 148px;
}

.hero-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #B4ED3C;
  color: #0C3E30;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-mini-label {
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-mini-value {
  color: #0C3E30;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
}

.hero-mini-balance {
  right: 0;
  bottom: 10%;
  width: 185px;
}

.hero-mini-balance-value {
  color: #0C3E30;
  font-size: 18px;
  font-weight: 800;
}

.hero-mini-trend {
  color: #047857;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 800;
}

.hero-mini-chart {
  height: 30px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-top: 9px;
}

.hero-mini-chart span {
  flex: 1;
  min-width: 0;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(to top, #0C3E30, #B4ED3C);
}

/* --- Hero Credit Card floating element --- */
.hero-credit-card {
  position: absolute;
  bottom: 25%;
  left: 2%;
  width: 150px;
  padding: 12px 14px;
  background: #082D23;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  z-index: 4;
  transform: rotate(-4deg);
}

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}

/* --- Small floating badge --- */
.hero-badge {
  position: absolute;
  top: 15%;
  left: 8%;
  width: 36px;
  height: 36px;
  background: #0C3E30;
  color: #B4ED3C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 4;
  cursor: pointer;
  transition: transform 0.3s;
}
.hero-badge:hover { transform: scale(1.2) rotate(90deg); }

/* The hero remains fully static after the page loads. */
.hero-section,
.hero-section *,
.hero-section *::before,
.hero-section *::after {
  animation: none !important;
  transition: none !important;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes morph-float {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translateY(0) rotate(10deg); }
}

/* ============================================
   COMPONENT STYLES
   ============================================ */

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Floating decorative elements for sections */
.section-geo {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
}

/* Corner Accent */
.corner-accent {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid;
  opacity: 0.12;
  pointer-events: none;
}
.corner-accent-br {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
  border-color: #B4ED3C;
}

/* Feature Icon Ring */
.feature-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Feature Card */
.feature-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #B4ED3C, #0C3E30);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(12, 62, 48, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

/* Bento Card */
.bento-card {
  transition: all 0.3s ease;
  position: relative;
}
.bento-card:hover { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); }

/* Testimonial Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.testimonial-card::after {
  content: '"';
  position: absolute;
  bottom: -10px;
  right: 20px;
  font-size: 80px;
  line-height: 1;
  color: #B4ED3C;
  opacity: 0.15;
  font-family: serif;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

/* Stat Card */
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(180, 237, 60, 0.08), transparent 70%);
  pointer-events: none;
}

/* Stats Section decorative background */
.stats-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(12, 62, 48, 0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(12, 62, 48, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(12, 62, 48, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(12, 62, 48, 0.02) 75%);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Newsletter Input */
.newsletter-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  outline: none;
  transition: all 0.2s;
}
.newsletter-input:focus { box-shadow: 0 0 0 2px #B4ED3C; }
.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.4); }

/* CTA Section decorative */
.cta-ring-pulse {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(180, 237, 60, 0.08);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: cta-ring 4s ease-in-out infinite;
}
.cta-ring-pulse:nth-child(2) {
  width: 400px;
  height: 400px;
  animation-delay: 1s;
}
.cta-ring-pulse:nth-child(3) {
  width: 500px;
  height: 500px;
  animation-delay: 2s;
}

@keyframes cta-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

/* --- Editorial gallery --- */
.gallery-section {
  position: relative;
  overflow: hidden;
  padding: 72px 24px;
  background: #082D23;
  color: #fff;
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.gallery-title {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.02;
  font-weight: 800;
}

.gallery-intro {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.9fr;
  grid-template-rows: 260px 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #135342;
}

.gallery-item-main { grid-row: 1 / 3; }
.gallery-item-tall { grid-row: 1 / 3; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-item:hover img { transform: scale(1.035); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to top, rgba(8, 45, 35, 0.9), transparent);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  gap: 6px;
}

.gallery-item figcaption span {
  color: #B4ED3C;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-item figcaption strong { font-size: 15px; line-height: 1.35; }

.gallery-metric {
  border-radius: 8px;
  padding: 22px;
  background: #B4ED3C;
  color: #0C3E30;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-metric-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  background: #0C3E30;
  color: #B4ED3C;
}

.gallery-metric p { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.gallery-metric strong { margin-top: 4px; font-size: 34px; line-height: 1; }
.gallery-metric > span { margin-top: 8px; font-size: 10px; font-weight: 600; opacity: 0.65; }

.gallery-orbit {
  position: absolute;
  border: 1px solid rgba(180, 237, 60, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.gallery-orbit-one { width: 440px; height: 440px; top: -220px; right: -80px; }
.gallery-orbit-two { width: 240px; height: 240px; bottom: -120px; left: 10%; border-style: dashed; }

/* --- Expandable advantage rows --- */
.advantages-section {
  position: relative;
  padding: 80px 24px;
  background: #F8F9F5;
}

.advantages-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.advantages-heading h2 {
  margin-top: 12px;
  color: #0C3E30;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.04;
  font-weight: 800;
}

.advantages-heading p {
  max-width: 620px;
  margin-top: 18px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
}

.advantages-list { border-top: 1px solid #cbd5e1; }

.advantage-row {
  border-bottom: 1px solid #cbd5e1;
  transition: background-color 250ms ease;
}

.advantage-row.is-open { background: #fff; }

.advantage-trigger {
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 64px minmax(180px, 0.8fr) minmax(260px, 1.2fr) 48px;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: #0C3E30;
  text-align: left;
  cursor: pointer;
}

.advantage-trigger:focus-visible {
  outline: 3px solid #9AD225;
  outline-offset: -3px;
}

.advantage-index { color: #94a3b8; font-size: 12px; font-weight: 800; }
.advantage-name { font-size: clamp(1.15rem, 2.3vw, 1.8rem); font-weight: 800; }
.advantage-summary { color: #64748b; font-size: 13px; line-height: 1.6; }

.advantage-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background: #edf0e9;
  transition: transform 250ms ease, background-color 250ms ease;
}

.advantage-row.is-open .advantage-toggle {
  transform: rotate(45deg);
  background: #B4ED3C;
}

.advantage-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.advantage-row.is-open .advantage-panel { grid-template-rows: 1fr; }

.advantage-detail {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px minmax(180px, 0.8fr) minmax(260px, 1.2fr) 48px;
  gap: 20px;
  padding: 0 24px;
}

.advantage-row.is-open .advantage-detail { padding-bottom: 28px; }

.advantage-detail p {
  grid-column: 3;
  max-width: 680px;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.advantage-tags {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.advantage-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf0e9;
  color: #0C3E30;
  font-size: 10px;
  font-weight: 800;
}

/* ============================================
   TOOLS SECTION
   ============================================ */
.tools-section {
  position: relative;
}

/* ============================================
   WHY NEXUS SECTION
   ============================================ */
.why-section {
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  background: #F8F9F5;
}

.why-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.why-heading-note {
  display: flex;
  gap: 16px;
}

.why-heading-line {
  width: 40px;
  min-width: 40px;
  height: 2px;
  background: #B4ED3C;
  margin-top: 10px;
}

.why-heading-note p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
}

.why-dashboard {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 32px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.why-dashboard-top > div span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.why-dashboard-top > div strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 800;
  color: #0C3E30;
}

.why-dashboard-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #B4ED3C;
  color: #0C3E30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.why-chart {
  margin-top: 4px;
}

.why-chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.why-chart-meta span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.why-chart-meta strong {
  font-size: 13px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 999px;
}

.why-chart svg {
  width: 100%;
  height: 160px;
}

.why-transactions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.why-transactions > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #F8F9F5;
}

.why-transaction-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #0C3E30;
}

.why-transactions > div p {
  flex: 1;
  min-width: 0;
}

.why-transactions > div p strong {
  display: block;
  font-size: 13px;
  color: #0C3E30;
}

.why-transactions > div p small {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 1px;
}

.why-transactions > div > b {
  font-size: 14px;
  font-weight: 800;
  color: #0C3E30;
  white-space: nowrap;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

.why-feature-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.why-feature-top {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}

.why-feature-number {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 10px;
  font-weight: 800;
  color: #cbd5e1;
  z-index: 0;
  line-height: 1;
}

.why-feature-top .feature-icon-ring {
  position: relative;
  z-index: 1;
}

.why-feature-top h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0C3E30;
  line-height: 1.3;
}

.why-feature-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin-top: auto;
  padding-top: 12px;
}

.why-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid #dce2d7;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.why-proof-strip > div {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid #dce2d7;
}

.why-proof-strip > div:last-child {
  border-right: 0;
}

.why-proof-strip > div strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #0C3E30;
  margin-bottom: 2px;
}

.why-proof-strip > div span {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
  position: relative;
  z-index: 1;
}

.stat-number {
  display: inline-block;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  background: #F8F9F5;
}

.testimonials-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.testimonial-score {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 260px;
}

.testimonial-score > strong {
  font-size: 56px;
  font-weight: 800;
  color: #0C3E30;
  line-height: 1;
}

.testimonial-score > div span {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 14px;
}

.testimonial-score > div p {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.testimonial-featured {
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.testimonial-featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.testimonial-quote-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #B4ED3C;
  color: #0C3E30;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.testimonial-verified {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 5px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-featured blockquote {
  flex: 1;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #0C3E30;
  line-height: 1.45;
  max-width: 600px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person div strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0C3E30;
}

.testimonial-person div span {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.testimonial-result {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.testimonial-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-compact {
  display: flex;
  flex-direction: column;
}

.testimonial-compact-dark {
  background: #0C3E30;
  color: #FFFFFF;
}

.testimonial-compact-dark p {
  color: #cbd5e1;
}

.testimonial-compact-dark .testimonial-meta span {
  color: #94a3b8;
}

.testimonial-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.testimonial-compact-head > i {
  font-size: 24px;
  color: #B4ED3C;
  opacity: 0.3;
}

.testimonial-compact-head img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-compact-head div strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: inherit;
}

.testimonial-compact-head div span {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}

.testimonial-compact-dark .testimonial-compact-head div span {
  color: #94a3b8;
}

.testimonial-compact p {
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  flex: 1;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.testimonial-compact-dark .testimonial-meta {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.testimonial-meta span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.testimonial-meta b {
  font-size: 12px;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 2px;
}

.testimonial-impact {
  background: #0C3E30;
  border-radius: 28px;
  padding: 28px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.testimonial-impact > span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B4ED3C;
}

.impact-ring {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.impact-ring strong {
  font-size: 64px;
  font-weight: 800;
  color: #B4ED3C;
  line-height: 1;
}

.impact-ring small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
  max-width: 200px;
}

.testimonial-impact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-impact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.testimonial-impact ul li i {
  color: #B4ED3C;
  font-size: 16px;
}

/* --- Gallery sub-item base --- */
.gallery-item-small {
  grid-row: auto;
}

/* --- Responsive --- */
@media (max-width: 1023px) {
  .hero-image-wrap { width: 440px; height: 540px; }
  .hero-mini-security { right: 1%; }
  .hero-mini-balance { right: 0; }
  .hero-credit-card { display: none; }
  .gallery-grid { grid-template-columns: 1.2fr 0.8fr; grid-template-rows: 300px 220px; }
  .gallery-item-main { grid-row: 1 / 3; }
  .gallery-item-tall { grid-row: auto; }
  .advantage-trigger,
  .advantage-detail { grid-template-columns: 48px minmax(0, 1fr) 44px; }
  .advantage-summary { grid-column: 2; }
  .advantage-toggle { grid-column: 3; grid-row: 1 / 3; }
  .advantage-detail p,
  .advantage-tags { grid-column: 2 / 4; }
  .why-heading { grid-template-columns: 1fr; gap: 24px; }
  .why-layout { grid-template-columns: 1fr; }
  .why-dashboard { min-height: 520px; }
  .testimonials-heading { align-items: flex-start; flex-direction: column; }
  .testimonials-layout { grid-template-columns: 1fr 1fr; }
  .testimonial-featured { grid-column: 1 / 3; min-height: 420px; }
  .testimonial-impact { min-height: 460px; }
}

@media (max-width: 767px) {
  .hero-section .grid { gap: 1rem; }
  .hero-visual { min-height: 520px !important; }
  .hero-section { padding-bottom: 0; padding-top: 0; }
  .hero-image-wrap { width: 420px; height: 520px; }
  .hero-mini-security { top: 10%; right: -4%; transform: scale(0.85); }
  .hero-mini-balance { right: -4%; bottom: 4%; transform: scale(0.82); transform-origin: right bottom; }
  .hero-deco-1 { width: 300px; height: 300px; }
  .hero-deco-2 { display: none; }
  .gallery-section,
  .advantages-section { padding: 72px 20px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item-main,
  .gallery-item-tall,
  .gallery-item-small { grid-row: auto; min-height: 280px; }
  .gallery-item-small { min-height: 220px; }
  .gallery-metric { min-height: 210px; }
  .advantage-trigger { grid-template-columns: 38px minmax(0, 1fr) 44px; padding: 18px 8px; gap: 12px; }
  .advantage-name { font-size: 18px; }
  .advantage-summary { grid-column: 2; font-size: 12px; }
  .advantage-detail { grid-template-columns: 38px minmax(0, 1fr); padding: 0 8px; gap: 12px; }
  .advantage-detail p,
  .advantage-tags { grid-column: 2; }
  .why-section,
  .testimonials-section { padding: 72px 20px; }
  .why-heading-note { grid-template-columns: 40px 1fr; }
  .why-dashboard { min-height: 0; padding: 22px; border-radius: 26px; }
  .why-chart svg { height: 135px; }
  .why-feature-list { grid-template-columns: 1fr; }
  .why-feature-top { grid-template-columns: 44px 1fr; }
  .why-proof-strip { grid-template-columns: 1fr 1fr; }
  .why-proof-strip > div:nth-child(2) { border-right: 0; }
  .why-proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid #dce2d7; }
  .testimonials-layout { grid-template-columns: 1fr; }
  .testimonial-featured { grid-column: auto; min-height: 460px; padding: 24px; }
  .testimonial-person { flex-wrap: wrap; }
  .testimonial-result { width: 100%; margin-left: 64px; }
  .testimonial-stack { grid-template-rows: none; }
  .testimonial-impact { min-height: 430px; }
  .testimonial-score { min-width: 0; width: 100%; }
}

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
