/* ============================================
   MIRACLES FINTECH - MAIN STYLESHEET
   ============================================ */

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

/* ---- CSS VARIABLES ---- */
:root {
  --brand-primary: #2563eb;
  --brand-accent: #0ea5e9;
  --brand-contrast: #16a1dc;
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: #475569;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: 2px solid #0f172a;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) #0f172a;
}

/* ---- GLOBAL CONTAINERS ---- */
.container,
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ---- SMOOTH SCROLL (LENIS) ---- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.section-title {
  margin-bottom: 1rem !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

h1 {
  font-size: 70px !important;
  line-height: 1.1;
}

h2 {
  font-size: 60px !important;
  line-height: 1.15 !important;
  margin-bottom: 1rem !important;
  font-weight: 700 !important;
}

body {
  font-size: 16px;
  line-height: 1.5;
}

p,
a,
li,
div,
label,
input,
button,
td,
th {
  font-size: 16px;
  line-height: 1.5;
}

/* ---- UTILITIES ---- */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), var(--brand-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-x 3s ease infinite;
}

@keyframes gradient-x {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 400;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.5s ease;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--brand-contrast);
  color: #fff;
  box-shadow: 0 10px 20px rgba(22, 161, 220, 0.2);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-primary i,
.btn-primary svg {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover i,
.btn-primary:hover svg,
.btn-submit:hover svg {
  transform: translateX(5px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.4);
  color: #0f172a;
  padding: 8px 30px;
  border-radius: 9999px;
  font-weight: 500;
  border: 1px solid rgba(226, 232, 240, 0.6);
  cursor: pointer;
  transition: all 0.5s ease;
  font-size: 16px;
  font-family: var(--font-sans);
}

section#platform-assets {
  background: #0b1a52;
  padding: 80px 0px;
}

.btn-secondary:hover {
  background: var(--brand-contrast);
  color: #fff;
  border-color: var(--brand-contrast);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(22, 161, 220, 0.2);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 20px 40px rgba(226, 232, 240, 0.2);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* ---- BACKGROUND PATTERNS ---- */
.bg-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 100%);
}

.bg-dark-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0b1a52;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ============================================
   NAVIGATION
   ============================================ */
#mf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: #ffffff;
  transition: all 0.3s ease;
}

#mf-nav.scrolled {
  padding: 0.5rem 0;
}

#mf-nav.scrolled .nav-inner {}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  cursor: pointer;
}

.nav-logo-img {
  transition: all 0.3s;
  object-fit: contain;
}

.nav-logo-img.large {
  width: 160px;
  height: 100px;
}

.nav-logo-img.small {
  width: 160px;
  height: 100px;
  filter: none;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  padding: 1rem 0;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.nav-link.light {
  color: #0f172a;
}

.nav-link.dark {
  color: #0f172a !important;
}

.nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff !important;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9375rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  margin-left: 0.5rem;
  text-decoration: none;
}

.nav-btn-login:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.nav-btn-login:active {
  transform: scale(0.95);
}







/* Header Sticky & Transparent Logic */
#mf-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: #0f172a;
}

.nav-link.dark {
  color: #0f172a !important;
}


.nav-logo-img.small {
  filter: none !important;
}



.nav-link.light:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-link.dark:hover {
  color: var(--brand-primary);
}


.nav-link.light:hover,
.nav-link.light.active {
  color: var(--brand-primary)
}

.nav-link.dark:hover,
.nav-link.dark.active {
  color: var(--brand-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

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


.nav-cta {
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem;
}

.chevron-icon {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.mega-menu-wrapper {
  position: relative;
}

.mega-menu-wrapper:hover .chevron-icon {
  transform: rotate(180deg);
}

/* Mega Menu Redesign */
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-35%);
  width: 720px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1000;
  padding: 40px;
}

/* Bridge to prevent accidental closing */
.mega-menu-dropdown::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
  pointer-events: all;
}

/* Minimal safety buffer */
.mega-menu-dropdown::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: transparent;
  z-index: -1;
  pointer-events: all;
}



.mega-menu-wrapper:hover .mega-menu-dropdown,
.mega-menu-dropdown.js-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-35%) translateY(0);
  pointer-events: all;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
}

.mega-menu-heading {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.mega-menu-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: calc(100% + 24px);
}

.mega-menu-item:hover {
  background: #f8fafc;
  transform: translateX(5px);
}

.mega-menu-icon,
.mega-menu-sub-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f7ff;
  color: #2563eb;
  transition: all 0.3s ease;
  flex: 0 0 44px !important;
}

.mega-menu-icon i,
.mega-menu-icon svg,
.mega-menu-sub-icon i,
.mega-menu-sub-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.mega-menu-item:hover .mega-menu-icon,
.mega-menu-sub-item:hover .mega-menu-sub-icon {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.mega-menu-item span:not(.mega-menu-icon) {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.item-chevron {
  font-size: 11px;
  opacity: 0.3;
  margin-left: 10px;
}

.mega-menu-item:hover span {
  color: #2563eb;
}

/* Sub-category List (3rd Level) */
.mega-menu-item-group {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.mega-menu-sub-list {
  padding-left: 51px;
  /* (36px icon + 15px gap) */
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Drill-down state (Active via JS) */
.mega-menu-column.sub-menu-active .mega-menu-heading,
.mega-menu-column.sub-menu-active .mega-menu-item-group:not(.is-active) {
  display: none !important;
}

.mega-menu-column.sub-menu-active .mega-menu-item-group.is-active .mega-menu-item {
  display: none !important;
}

.mega-menu-column.sub-menu-active .mega-menu-item-group.is-active .mega-menu-sub-list {
  display: flex !important;
  flex-direction: column !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mega-menu-back-btn {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 0 15px 0 !important;
  color: #2563eb !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  text-decoration: none !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  width: 100% !important;
}

.mega-menu-back-btn:hover {
  color: #1e40af !important;
  opacity: 0.8 !important;
}

.mega-menu-back-btn i {
  width: 18px;
  height: 18px;
  pointer-events: none !important;
}

.mega-menu-item:hover .mega-menu-icon i,
.mega-menu-item:hover .mega-menu-icon svg,
.mega-menu-sub-item:hover .mega-menu-sub-icon i,
.mega-menu-sub-item:hover .mega-menu-sub-icon svg {
  color: #fff !important;
  stroke: #fff !important;
}

.mega-menu-item:hover .mega-menu-icon img {
  filter: brightness(0) invert(1);
}

.mega-menu-sub-item {
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 6px 0;
}

.mega-menu-sub-item:hover {
  color: #2563eb;
  transform: translateX(3px);
}

/* ── Mobile Menu Button (hidden on desktop) ── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ── Mobile Menu Backdrop ── */
.mm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mm-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Mobile Menu Panel ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1002;
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ── MM Header ── */
.mm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: #fff;
}

.mm-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mm-logo {
  height: 38px;
  width: auto;
  display: block;
}

.mm-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.mm-close-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  transform: rotate(90deg);
}

/* ── Panel Container (clips sliding panels) ── */
.mm-panel-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* ── Individual Panels ── */
.mm-panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: 0.5rem;
}

.mm-panel--active {
  transform: translateX(0);
}

.mm-panel--behind {
  transform: translateX(-28%);
}

/* ── Sub-panel header (back button + title) ── */
.mm-sub-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  border-bottom: 1.5px solid #e2e8f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.mm-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #2563eb;
  padding: 0;
  flex-shrink: 0;
}

.mm-sub-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2563eb;
  cursor: pointer;
  text-transform: capitalize;
}

/* ── Sub-panel body ── */
.mm-sub-body {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ── Simple top-level links ── */
.mm-simple-link {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.25rem;
  color: #1e293b;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.18s, background 0.18s;
}

.mm-simple-link:hover {
  color: #2563eb;
  background: #eff6ff;
}

/* ── Accordion Sections ── */
.mm-section {
  border-bottom: 1px solid #f1f5f9;
}

.mm-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #1e293b;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.18s, background 0.18s;
}

.mm-section-toggle:hover {
  color: #2563eb;
  background: #eff6ff;
}

/* Active / expanded state */
.mm-section-toggle[aria-expanded="true"] {
  color: #2563eb;
  background: #eff6ff;
  font-weight: 700;
}

.mm-chevron {
  transition: transform 0.25s ease, color 0.18s;
  flex-shrink: 0;
  color: #94a3b8;
}

.mm-section-toggle:hover .mm-chevron {
  color: #2563eb;
}

.mm-section-toggle[aria-expanded="true"] .mm-chevron {
  transform: rotate(180deg);
  color: #2563eb;
}

/* ── Accordion Body ── */
.mm-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fafbfc;
}

.mm-section-body.open {
  max-height: 2000px;
}

/* ── Subsections inside accordion ── */
.mm-subsection {
  padding: 0.875rem 1.25rem 0.875rem 1.375rem;
}

.mm-subsection + .mm-subsection {
  border-top: none;
}

.mm-subsection-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  padding: 0 0.25rem;
}

.mm-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

/* ── Individual Menu Items ── */
.mm-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}

.mm-item:hover {
  color: #2563eb;
  background: #eff6ff;
}

.mm-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f1f5f9;
  border-radius: 7px;
  color: #2563eb;
  flex-shrink: 0;
  transition: background 0.15s;
}

.mm-item:hover .mm-item-icon {
  background: #dbeafe;
}

/* ── Drilldown button (looks like mm-item, acts as a button) ── */
.mm-drilldown-btn {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.mm-item-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: #cbd5e1;
  transition: color 0.15s, transform 0.15s;
}

.mm-item.mm-drilldown-btn:hover .mm-item-arrow,
.mm-drilldown-btn:hover .mm-item-arrow {
  color: #2563eb;
  transform: translateX(2px);
}

/* ── MM Footer with Login ── */
.mm-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: #fff;
}

.mm-login-btn {
  width: 100% !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 100px !important;
}

/* ── Hide back-to-top when menu is open ── */
body.mm-open .back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}

/* Legacy class kept for any stale references */
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  color: #334155;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 0.5rem 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10rem 0 6rem;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
}

.hero-grid {
  display: none !important;
}

.clarity-panel-bottom h3 {
  font-size: 24px !important;
  margin-bottom: 0px !important;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-content .section-container {
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 82px !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0rem;
}

.hero-dynamic {
  min-height: 100px;
  height: auto;
  margin-bottom: 0.75rem;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 56px !important;
  }

  .hero-dynamic {
    min-height: 80px !important;
  }

  .hero-dynamic-word {
    font-size: 48px !important;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 5rem 0 2.5rem;
    min-height: auto;
  }

  .hero-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 38px !important;
    text-align: center;
    width: 100%;
    line-height: 1.15;
  }

  .hero-dynamic {
    height: auto !important;
    min-height: 115px !important;
    margin-bottom: 1.25rem;
    width: 100%;
    position: relative;
  }

  .hero-dynamic-word {
    font-size: 42px !important;
    font-weight: 800 !important;
    white-space: normal !important;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    position: absolute;
    top: 0;
    left: 0;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  .hero-btn {
    width: auto;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
  }

.hero-cta a:last-child .hero-btn {
  background: #ffffff !important;
  color: #000000 !important;
}

  .hero-store-badges {
    justify-content: center;
    width: 100%;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
  }
}

.hero-dynamic-word {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 68px;
  line-height: 1.2;
  /* ── Gold shimmer sweep ── */
  background: linear-gradient(
    90deg,
    #c47f00 0%,
    #FFCD00 25%,
    #fff8c0 45%,
    #ffe033 50%,
    #fff8c0 55%,
    #FFCD00 75%,
    #c47f00 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-gold-shimmer 2.2s linear infinite;
  opacity: 0;
  will-change: transform, opacity;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@keyframes hero-gold-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* Specific Animations from User Reference */
@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

.about-leadership-section h2.section-title {
  color: #000;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-dynamic-word.anim-out {
  animation: fadeOutUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards,
             hero-gold-shimmer 2.2s linear infinite;
}

.hero-dynamic-word.anim-in {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards,
             hero-gold-shimmer 2.2s linear infinite;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.hero-store-badges img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-store-badges a:hover img {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero-store-badges .app-store-badge-svg {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-store-badges a:hover .app-store-badge-svg {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ============================================
   STATS MARQUEE
   ============================================ */
#stats {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
  z-index: 10;
}

.stats-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 80s linear infinite;
  width: max-content;
  will-change: transform;
}

.stats-group {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 0 2rem;
}

.stats-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stats-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stats-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
  stroke: #fff;
}

.stats-text {
  display: flex;
  flex-direction: column;
}

.stats-number {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stats-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.stats-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   STICKY SCROLL SECTION (Investor/Trader)
   ============================================ */
#sticky-scroll {
  background: #fff;
}

/* Mobile version */
.sticky-scroll-mobile {
  padding: 5rem 0;
}

.sticky-scroll-item {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 8rem;
}

.sticky-scroll-item:last-child {
  margin-bottom: 0;
}

/* ============================================
   CLARITY-STYLE: STICKY LEFT + SCROLLING RIGHT
   ============================================ */

.clarity-scroll-desktop {
  background: #fff;
}

/* Two-column grid: left (sticky) | right (scrolls) */
.clarity-layout-inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 6rem;
  align-items: start;
}

/* ── LEFT COLUMN: sticks to top while right side scrolls past ── */
.clarity-left-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 8rem 0 6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.clarity-panels-inner {
  flex: 1;
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

/* Each panel — hidden by default */
.clarity-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Active panel: fades + slides in */
.clarity-panel--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  z-index: 10;
}

.clarity-panel-top {
  display: flex;
  align-items: flex-start;
}

.clarity-panel-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.clarity-panel-desc {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.6;
}

.clarity-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.85rem 2.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: fit-content;
  text-decoration: none;
}

.nav-link.light {
  color: #0f172a;
}

.nav-link.dark {
  color: #0f172a !important;
}

.nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff !important;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9375rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  margin-left: 0.5rem;
  text-decoration: none;
}

.nav-btn-login:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.nav-btn-login:active {
  transform: scale(0.95);
}

.clarity-panel-btn:hover {
  background: var(--brand-contrast);
  box-shadow: 0 10px 20px rgba(22, 161, 220, 0.2);
}

.clarity-panel-btn svg {
  transition: transform 0.3s ease;
}

.clarity-panel-btn:hover svg {
  transform: translateX(5px);
}

.clarity-big-heading {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #0f172a;
}

/* ── RIGHT COLUMN: scrolling images ── */
.clarity-right-scroll {
  display: flex;
  flex-direction: column;
}

.clarity-image-block {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clarity-image-wrapper {
  width: 100%;
  height: 80vh;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
}

.clarity-parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* ── RIGHT COLUMN: Scrolling ── */
.clarity-image-block {
  height: 80vh;
  margin-bottom: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clarity-image-block:last-child {
  margin-bottom: 0;
}

.clarity-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.clarity-parallax-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.clarity-big-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 3.8vw, 4.5rem);
  line-height: 1.12;
  color: #0f172a;
  letter-spacing: -0.025em;
  max-width: 500px;
}

.clarity-panel-desc {
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 0;
  max-width: 440px;
}

.clarity-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  margin-top: 1.75rem;
  width: fit-content;
  transition: background 0.3s;
}

.clarity-panel-btn:hover {
  background: var(--brand-contrast);
}

.clarity-panel-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.clarity-panel-btn:hover svg {
  transform: translateX(4px);
}

/* ── RIGHT COLUMN: stacked image blocks, each 100vh ── */
.clarity-right-scroll {
  display: flex;
  flex-direction: column;
}

.clarity-image-block {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  padding: 5rem 0;
}

/* Clip overflow for parallax */
.clarity-image-wrapper {
  width: 100%;
  height: 80vh;
  max-height: 700px;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.13), 0 8px 24px rgba(0, 0, 0, 0.07);
}

/* 140% tall so GSAP swing never shows blank space */
.clarity-parallax-img {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.content-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.content-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 2rem;
}

.content-desc {
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

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

.content-feature {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg,
.feature-icon i svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  stroke-width: 2;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.section-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
}

/* ============================================
   ASSET CLASSES SECTION
   ============================================ */
#asset-classes {
  position: relative;
  padding: 5rem 0 7rem;
  background: #020617;
  color: #fff;
  overflow: hidden;
}

/* Full-width centered heading above the orbit+cards grid */
.asset-section-heading {
  text-align: center;
  margin-bottom: 4rem;
}


.asset-section-heading p {
  font-size: 18px;
  color: #94a3b8;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}

.asset-heading {
  display: none;
}

/* .asset-right-heading removed — heading is now full-width above the grid */

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.section-title.light {
  color: #fff;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36rem;
}

.section-subtitle.light {
  color: #94a3b8;
}

.asset-section {
  padding: 120px 0;
  background: #020617;
  position: relative;
  overflow: hidden;
}

.asset-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: 1;
}

.asset-section-heading {
  position: relative;
  z-index: 5;
  text-align: center;
  margin: 0 auto 5.5rem;
}

.asset-section-heading h2 {
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.asset-section-heading h2 .text-gradient {
  background: linear-gradient(90deg, #16a1dc, #60a5fa, #16a1dc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.asset-section-heading p {
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 500;
  max-width: 38rem;
  margin: 0 auto;
}

/* .asset-grid removed as sections are now separate and centered */

/* Revolving Circle */
.asset-circle-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-circle {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-center {
  position: relative;
  z-index: 20;
  width: 10.5rem;
  height: 10.5rem;
  background: #fff;
  border-radius: 9999px;
  padding: 1.75rem;
  box-shadow: 0 0 0 5px #0f172a, 0 30px 60px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-glow {
  position: absolute;
  inset: -3rem;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5) 0%, transparent 70%);
  z-index: 15;
  pointer-events: none;
  animation: centerPulse 4s ease-in-out infinite;
}

@keyframes centerPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

.circle-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.revolving-ring {
  position: absolute;
  inset: 0;
  z-index: 10;
  animation: revolve 50s linear infinite;
  will-change: transform;
}

@keyframes revolve {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.ring-decoration {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}

.ring-decoration-2 {
  position: absolute;
  inset: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
  inset: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  animation: ringPulse 10s ease-in-out infinite reverse;
}

.ring-decoration-3 {
  position: absolute;
  inset: 7rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  animation: ringPulse 10s ease-in-out infinite 2s;
}

@keyframes ringPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.orbit-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.5rem;
  /* Smaller icons for more space */
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 50;
  /* Ensure it stays above rings and background */
  transform: translate(-50%, -50%);
  opacity: 1 !important;
  /* Force initial visibility */
}

.orbit-icon {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  color: #fff;
}

/* Base states for icons based on screenshot */
.orbit-icon.color-0 {
  background: linear-gradient(135deg, #1e293b, #334155);
  border-color: rgba(255, 255, 255, 0.1);
}

.orbit-icon.color-1 {
  background: #3b82f6;
  border-color: #60a5fa;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.orbit-icon.color-2 {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
}

.orbit-icon.color-3 {
  background: #1e3a8a;
  border-color: rgba(255, 255, 255, 0.1);
}

.orbit-icon.color-4 {
  background: #0ea5e9;
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}

.orbit-icon.color-5 {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #ffffff;
}

.orbit-icon.color-6 {
  background: #020617;
  border-color: #3b82f6;
}

.orbit-icon.color-7 {
  background: #60a5fa;
}

/* Active orbit icon highlight - High fidelity glow */
.orbit-icon-wrapper.orbit-active .orbit-icon {
  background: #3b82f6 !important;
  color: #fff !important;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.2);
  transform: scale(1.15);
  z-index: 100;
}

.orbit-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}


/* Removed iconWobble and automatic revolving animations as requested */
.orbit-icon-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-icon-content svg {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes counter-revolve {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* Asset Detail Card */
.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.asset-detail-wrap {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 3rem;
  background: linear-gradient(145deg, #0b1a52 0%, #060d29 100%);
  backdrop-filter: blur(20px);
  border: 1px solid #192965;
  min-height: 560px;
}

.mf-new-orbit-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.asset-cards-viewport {
  width: 100%;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.asset-cards-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}



.asset-detail-card {
  flex: 0 0 100%;
  width: 100%;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.5s ease;
  opacity: 0.5;
}

.asset-detail-card.active {
  opacity: 1;
}

.adc-inner-content {
  display: flex;
  flex-direction: column;
}

.ecosystem-orbit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.offerings-details-wrap {
  display: flex;
  justify-content: center;
}



.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.mf-new-orbit-column,
.asset-detail-wrap {
  display: flex;
}




/* Removed old individual animations in favor of container transform */

.asset-bottom-controls {
  margin-top: auto;
  padding-top: 3rem;
}

@media (max-width: 1024px) {
  .asset-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


.mf-new-orbit-scene {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}

/* Orbit scene size is set dynamically by JS on mobile */

.mf-new-orbit-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.mf-new-orbit-ring1 {
  width: 280px;
  height: 280px;
  border: 1px solid rgba(99, 135, 255, 0.12);
}

.mf-new-orbit-ring2 {
  width: 440px;
  height: 440px;
  border: 1px solid rgba(99, 135, 255, 0.10);
}

.mf-new-orbit-glow {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.mf-new-orbit-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #f1f5f9);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 30;
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.2), inset 0 0 20px rgba(255, 255, 255, 1);
}

.mf-new-orbit-logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 5px;
}

.mf-new-orbit-lb {
  width: 7px;
  border-radius: 2px;
}

.mf-new-orbit-logo-txt {
  font-size: 10.5px;
  font-weight: 700;
  color: #1a2a6c;
  text-align: center;
  line-height: 1.25;
  font-family: sans-serif;
}

.mf-new-orbit-icon-wrap {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 130px;
  /* Accommodate labels */
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  z-index: 10;
  will-change: left, top, opacity, transform;
  cursor: pointer;
}

.mf-new-orbit-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mf-new-orbit-icon-wrap:hover .mf-new-orbit-icon-box {
  transform: scale(1.15);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

.mf-new-orbit-label {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: all 0.3s ease;
  pointer-events: none;
  line-height: 1.4;
}

.mf-new-orbit-icon-wrap:hover .mf-new-orbit-label {
  opacity: 1;
  color: #60a5fa;
}

.mf-new-orbit-icon-box svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .mf-new-orbit-icon-wrap {
    width: 100px;
    gap: 6px;
  }

  .mf-new-orbit-icon-box {
    width: 48px;
    height: 48px;
  }

  .mf-new-orbit-icon-box svg {
    width: 24px;
    height: 24px;
  }

  .mf-new-orbit-label {
    font-size: 8px;
  }
}

.mf-new-orbit-icon-wrap.color-0 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-0 {
  background: linear-gradient(to bottom right, #60a5fa, #67e8f9) !important;
  color: #0f172a !important;
}

.mf-new-orbit-icon-wrap.color-1 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-1 {
  background: linear-gradient(to bottom right, #2563eb, #0ea5e9) !important;
  color: #0f172a !important;
}

.mf-new-orbit-icon-wrap.color-2 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-2 {
  background: linear-gradient(to bottom right, #cbd5e1, #f1f5f9) !important;
  color: #0f172a !important;
}

.mf-new-orbit-icon-wrap.color-3 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-3 {
  background: linear-gradient(to bottom right, #818cf8, #2563eb) !important;
  color: #0f172a !important;
}

.mf-new-orbit-icon-wrap.color-4 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-4 {
  background: linear-gradient(to bottom right, #22d3ee, #3b82f6) !important;
  color: #0f172a !important;
}

.mf-new-orbit-icon-wrap.color-5 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-5 {
  background: linear-gradient(to bottom right, #94a3b8, #cbd5e1) !important;
  color: #0f172a !important;
}

.mf-new-orbit-icon-wrap.color-6 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-6 {
  background: linear-gradient(to bottom right, #0ea5e9, #0284c7) !important;
  color: #0f172a !important;
}

.mf-new-orbit-icon-wrap.color-7 .mf-new-orbit-icon-box,
.adc-icon-wrap.color-7 {
  background: linear-gradient(to bottom right, #3b82f6, #818cf8) !important;
  color: #0f172a !important;
}

/* Orbit active state removed */

@keyframes assetCardIn {
  from {
    opacity: 0;
    transform: translateX(-60px) scale(0.98);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

.adc-number {
  display: none;
  /* Hide standard numbers, we use progress bar now */
}

.adc-icon-wrap {
  width: 5rem;
  height: 5rem;
  background: #3b82f6;
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.adc-icon-wrap svg {
  width: 2.4rem;
  height: 2.4rem;
}

.adc-title {
  font-family: var(--font-display);
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.adc-desc {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
  max-width: 520px;
}

.adc-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.adc-cta-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.adc-cta:hover .adc-cta-circle {
  background: var(--brand-contrast);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(22, 161, 220, 0.5);
}

.asset-bottom-controls {
  margin-top: 2rem;
  width: 100%;
}

.asset-bottom-controls {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Centered since progress bar is gone */
}

.asset-progress-wrap {
  flex: 1;
  display: block;
  position: relative;
  margin: 0;
}

.asset-manual-arrows {
  display: flex;
  box-shadow: 33px 47px 10px 10px #0c1b53;
  gap: 1rem;
  padding: 28px;
  background: #0c1b53;
  border-radius: 50px 0px;
}

.asset-manual-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.asset-manual-btn:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  transform: scale(1);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.asset-manual-btn:active {
  transform: scale(0.95);
}

.asset-manual-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}



/* ============================================
   TOOLS SECTION — Sidebar + Panel
   ============================================ */
#tools {
  padding: 5rem 0 2rem;
  background: #fff;
  overflow: hidden;
}

/* Two-column layout */
.tsp-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  align-items: start;
  margin-top: 3.5rem;
}

/* ── LEFT LIST ── */
.tsp-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tsp-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.25rem;
  border-radius: 1rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mobiile-app {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 1.75rem;
}
/* Background image — always visible */
.tsp-item-bg {
  position: absolute;
  inset: 0;
  background-image: var(--timg);
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Colored overlay — darker on inactive, lighter on active */
.tsp-item-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--tc, #2563eb) 20%);
  opacity: 0.92;
  transition: opacity 0.35s ease;
}

.tsp-item.active .tsp-item-bg::after {
  opacity: 1;
}

.tsp-item:hover:not(.active) .tsp-item-bg::after {
  opacity: 1;
}

.tsp-item.active {
  border-left-color: var(--tc, #2563eb);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateX(10px) scale(1.02);
}

.tsp-item:hover:not(.active) {
  border-left-color: var(--tc, #94a3b8);
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tsp-item:hover .tsp-item-bg {
  transform: scale(1.1);
}

/* All inner elements above the bg layers */
.tsp-item-icon,
.tsp-item-label,
.tsp-item-arrow {
  position: relative;
  z-index: 1;
}

.tsp-item-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgb(255 255 255);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(0 0 0 / 70%);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tsp-item:hover .tsp-item-icon,
.tsp-item.active .tsp-item-icon {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tsp-item.active .tsp-item-icon,
.tsp-item:hover .tsp-item-icon {
  background: #ffffff;
  color: #000000;
}

.tsp-item-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.tsp-item-label {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: rgb(255, 255, 255);
  transition: color 0.25s;
}

.tsp-item.active .tsp-item-label,
.tsp-item:hover .tsp-item-label {
  color: #fff;
  font-weight: 700;
}

.tsp-item-arrow {
  color: #fff;
  transition: color 0.25s, transform 0.25s;
}

.tsp-item.active .tsp-item-arrow,
.tsp-item:hover .tsp-item-arrow {
  color: #fff;
  transform: translateX(5px) scale(1.2);
}

/* ── RIGHT CARD ── */
.tsp-card-wrap {
  position: relative;
  min-height: 600px;
}

.tsp-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex !important;
  flex-direction: column;
  border-radius: 2.5rem;
  overflow: hidden;
  border: 1px solid #ebf0f7;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0px);
  transition:
    opacity 0.3s cubic-bezier(0.2, 1, 0.2, 1),
    transform 0.3s cubic-bezier(0.2, 1, 0.2, 1),
    visibility 0.3s;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0px 20px 0px rgba(0, 0, 0, 0.05);
}

.tsp-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
  pointer-events: all;
}

/* Image area */
.tsp-card-img {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.tsp-card-img img {
  width: 100%;
  height: 100%;
 object-fit:cover;
  transition: transform 1.2s cubic-bezier(0.2, 1, 0.2, 1);
  display: block;
  
}


.tsp-card-img-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Body */
.tsp-card-body {
  z-index: 10;
  padding: 2rem 2.5rem 2.5rem;
  margin-top: 0;
  transform: translateY(15px);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1) 0.15s;
  opacity: 0;
}

.tsp-card.active .tsp-card-body {
  transform: translateY(0);
  opacity: 1;
}

.tsp-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.tsp-card-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.tsp-card-desc {
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

.tsp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  
  width: fit-content;
  transition: background 0.3s;
}

.tsp-card-cta:hover {
  background: var(--brand-contrast) !important;
  box-shadow: 0 10px 20px rgba(22, 161, 220, 0.2);
  gap: 0.6rem;
}

.tsp-card-cta svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.tsp-card-cta:hover svg {
  transform: translateX(4px);
}


/* ============================================
   VALUES SECTION (Stacking Cards)
   ============================================ */
#values {
  padding: 50px 0;
  background: #fff;
  overflow: visible;
}

.values-heading {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.values-stack {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  padding-bottom: 00vh;
}

.value-card {
  position: sticky;
  width: 100%;
  min-height: 45vh;
  border-radius: 3rem;
  padding: 7rem 4rem;
  box-shadow: 0 0px 14px 0px rgb(15 23 42 / 4%) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mf-new-orbit-column {
  justify-content: center;
}

.value-card-stripes {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
}

.value-card-inner {
  position: relative;
  z-index: 10;
  color: #fff;
}

.value-icon {
  margin-bottom: 0.5rem;
}

.value-icon svg {
  width: 3rem;
  height: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.value-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.value-desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-weight: 300;
  max-width: 48rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
#testimonials {
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.testimonials-bg-glow-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 9999px;
  filter: blur(120px);
  transform: translate(50%, -50%);
  pointer-events: none;
}

.testimonials-bg-glow-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: rgba(14, 165, 233, 0.05);
  border-radius: 9999px;
  filter: blur(100px);
  transform: translate(-50%, 50%);
  pointer-events: none;
}

.testimonials-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 5rem;
}

.testimonials-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 5px 0px;
}

.testimonials-fade-left {
  position: absolute;
  inset-y: 0;
  left: 0;
  width: 8rem;
  background: linear-gradient(to right, #fff, transparent);
  z-index: 20;
  pointer-events: none;
}

.testimonials-fade-right {
  position: absolute;
  inset-y: 0;
  right: 0;
  width: 8rem;
  background: linear-gradient(to left, #fff, transparent);
  z-index: 20;
  pointer-events: none;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 1.5rem;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

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

.testimonial-card {
  width: 350px;
  background: #fff;
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.3s;
  flex-shrink: 0;
}

.testimonial-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #f1f5f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.testimonial-role {
  font-size: 10px;
  color: var(--brand-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.testimonial-stars svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: #f59e0b;
  color: #f59e0b;
}

.testimonial-text {
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
  font-style: italic;
}

/* ============================================
   ONBOARDING SECTION
   ============================================ */
.process-section {
  padding: 80px 0;
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.service-account-process .section-header {
  width: 70%;
  margin: 0px auto 100px;
}

.process-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, #f1f5f9 1px, transparent 1px),
    linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.process-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
  pointer-events: none;
}

.process-wave path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.process-wave.is-animating path {
  animation: waveConnect 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

/* Fallback for browsers that might struggle with the animation */
@media (prefers-reduced-motion: reduce) {
  .process-wave path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@keyframes waveConnect {
  to {
    stroke-dashoffset: 0;
  }
}

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 3;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.icon-box {
  width: 90px;
  height: 90px;
  backdrop-filter: blur(10px);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 35px;
  position: relative;
  color: #ffffff;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-box.color-1 {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.icon-box.color-2 {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.icon-box.color-3 {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.icon-box.color-4 {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.icon-box.color-5 {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.ms-step-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #2563eb;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  z-index: 5;
}

.step-item:hover .icon-box {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.step-item:hover .step-label {
  color: #2563eb;
  transform: translateY(-3px);
}


.step-label span {
  color: #64748b;
  margin-top: 10px;
}

.step-label {
  font-size: 17px;
  line-height: 1.4;
  color: #1e293b;
  font-weight: 400;
  width: 80%;
  margin: 0;
  transition: all 0.3s ease;
  margin: 0px auto;
}

.dark-theme .step-label {
  color: #fff;
}

.dark-theme .ms-step-badge {
  border-color: #0b1a52;
}

.dark-theme .step-item:hover .step-label {
  color: var(--brand-primary);
}

.step-item:hover .step-label span {
  color: #2563eb;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .process-wave {
    display: none;
  }
}

.onboarding-cta {
  margin-top: 5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.onboarding-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  margin-top: 1.75rem;
  width: fit-content;
  transition: background 0.3s;
}

.onboarding-cta-btn:hover {
  background: var(--brand-contrast) !important;
  box-shadow: 0 10px 20px rgba(22, 161, 220, 0.2);
}

.onboarding-cta-btn svg {
  transition: transform 0.3s ease;
}

.onboarding-cta-btn:hover svg {
  transform: translateX(4px);
}

/* ============================================
   BLOG SECTION
   ============================================ */
#blog {
  padding: 80px 0px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

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

.blog-card {
  cursor: pointer;
}

#blog h2 {
  width: 82%;
  margin: 0px auto 18px;
}

.blog-card-img-wrapper {
  position: relative;
  border-radius: 2rem;
  background: #0f172a;
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 4/3;
}

.blog-card-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Top-down and bottom-up shadow for better badge/text contrast */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.8;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.blog-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}

.blog-card:hover .blog-card-img-wrapper img {
  transform: scale(1.1);
}

.blog-card:hover .blog-card-img-wrapper::after {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}

.blog-category {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #2563eb;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.blog-card:hover .blog-category {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.2);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
}

.blog-meta-item svg {
  width: 1rem;
  height: 1rem;
  color: rgba(37, 99, 235, 0.6);
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.blog-card:hover h3 {
  color: var(--brand-primary);
}

.blog-card p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-cta {
  margin-top: 5rem;
  text-align: center;
}

/* ============================================
   CTA SECTION
   ============================================ */
#cta {
  padding: 5rem 0 8rem;
  background: #eef2ff;
  overflow: hidden;
}

#cta {
  background-color: #f8fafc;
  padding: 80px 0 80px;
}


.cta-box {
  padding: 50px 50px 0px;
  border: 2px solid rgb(219 234 254);
  background-color: rgb(239 246 255 / 0.5);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  overflow: hidden;
  border-radius: 50px;
}

.cta-box::before {
  display: none;
}

.cta-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
  background-image: linear-gradient(to right, #2563eb 1px, transparent 1px), linear-gradient(to bottom, #2563eb 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-glow {
  display: none;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-heading {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.cta-heading h2 {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.cta-flex {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .cta-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
  }
}


.cta-left {
  flex: 3;
}

.cta-right {
  flex: 2;
  display: flex;
  justify-content: center;
  align-self: flex-end;
  /* push phone to bottom of flex row */
}

.cta-desc {
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
  transition: all 0.3s;
}

.cta-feature:hover .cta-feature-icon {
  background: var(--brand-primary);
  color: #fff;
}

.cta-feature-icon svg {
  width: 18px;
  height: 18px;
}

.cta-feature span {
  color: #334155;
  font-weight: 500;
  font-size: 18px;
}

.cta-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-store-badges a {
  transition: transform 0.3s;
  display: inline-block;
}

.cta-store-badges a:hover {
  transform: scale(1.05);
}

.cta-store-badges img {
  height: 2.25rem;
  width: auto;
}

/* Phone Mockup */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow-bg {
  position: absolute;
  inset: -1rem;
  filter: blur(3rem);
  border-radius: 3rem;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}


.phone-mockup {
  position: relative;
  width: 300px;
  background: #0f172a;
  border-radius: 3rem 3rem 0 0;
  border: 8px solid #1e293b;
  border-bottom: none;
  box-shadow: 0 -16px 20px rgb(244 248 254);
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);

  transform-origin: bottom right;
}

.phone-mockup-wrapper:hover .phone-mockup {
  transform: rotate(-4deg);
}

.phone-mockup-wrapper:hover .phone-glow-bg {
  transform: scale(1.3);
  filter: blur(5rem);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6.5rem;
  height: 1.25rem;
  background: #0f172a;
  border-radius: 0 0 1rem 1rem;
  z-index: 20;
}


.phone-screen {
  background: #f8faff;
  background-image: linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 1.25rem;
  padding-top: 2.25rem;
  padding-bottom: 1rem;
  /* extra space at bottom */
  height: 100%;
  position: relative;
  transition: all 0.5s ease;
}

/* Active State for Phone Screen Toggle */
.phone-screen.is-active {
  background-color: #fff;
}

.phone-screen.is-active .phone-chart-section {
  display: none;
}

.phone-screen.is-active .phone-quick-actions {
  margin-top: 2.5rem;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.phone-screen.is-active .phone-quick-label {
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.phone-screen.is-active .phone-quick-grid {
  justify-content: space-between;
  gap: 12px;
}

.phone-screen.is-active .phone-quick-btn {
  flex: 1;
  height: 70px;
  background: #f1f5f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.phone-screen.is-active .phone-quick-btn:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.phone-screen.is-active .phone-quick-btn i,
.phone-screen.is-active .phone-quick-btn svg {
  width: 28px;
  height: 28px;
  color: #94a3b8;
}

.phone-screen.is-active .phone-portfolio-card {
  background: var(--brand-primary);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
  transform: scale(1.02);
}

.phone-screen.is-active .phone-portfolio-toggle-row {
  opacity: 0.7;
}


.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.875rem;
}

.phone-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #f1f5f9;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.phone-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  background: #ef4444;
  border-radius: 9999px;
  margin-left: 0.2rem;
  align-self: flex-start;
  margin-top: 0.1rem;
}

.phone-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.phone-logo-dot {
  width: 0.6rem;
  height: 0.6rem;
  background: #cbd5e1;
  border-radius: 9999px;
}

.phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

/* Portfolio Card */
.phone-portfolio-card {
  background: linear-gradient(135deg, #3d51a2, #16a1dc);
  border-radius: 1rem;
  padding: 1rem;
  color: #fff;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.phone-portfolio-label {
  font-size: 0.65rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.phone-portfolio-value {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
}

/* Portfolio card toggle row */
.phone-portfolio-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.phone-portfolio-brand {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
}

.phone-toggle {
  width: 2rem;
  height: 1rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  padding: 0 2px;
  justify-content: flex-end;
}

.phone-toggle-thumb {
  width: 0.7rem;
  height: 0.7rem;
  background: #fff;
  border-radius: 9999px;
}

/* Quick Actions */
.phone-quick-actions {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin-top: 0.625rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-quick-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.625rem;
}

.phone-quick-grid {
  display: flex;
  gap: 0.5rem;
}

.phone-quick-btn {
  flex: 1;
  height: 2.5rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s;
}

.phone-quick-btn svg {
  width: 1rem;
  height: 1rem;
}

.phone-quick-btn:hover {
  background: #e2e8f0;
  color: #2563eb;
}

/* Phone Chart Section */
.phone-chart-section {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin-top: 0.625rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.phone-chart-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0f172a;
}

.phone-chart-period {
  font-size: 0.55rem;
  font-weight: 600;
  color: #94a3b8;
  background: #f8fafc;
  padding: 2px 6px;
  border-radius: 4px;
}

.phone-chart-container {
  height: 50px;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.phone-chart-svg {
  width: 100%;
  height: 100%;
}

.phone-chart-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.4));
  animation: chartDraw 4s cubic-bezier(0.4, 0, 0.2, 1) forwards infinite;
}

.phone-chart-area {
  opacity: 0;
  animation: areaFade 4s ease infinite;
}

@keyframes chartDraw {
  0% {
    stroke-dashoffset: 200;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  40% {
    stroke-dashoffset: 0;
  }

  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes areaFade {

  0%,
  30% {
    opacity: 0;
  }

  50%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.phone-chart-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.5rem;
}

.phone-chart-stat {
  display: flex;
  flex-direction: column;
}

.p-stat-label {
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.p-stat-val {
  font-size: 0.7rem;
  font-weight: 700;
  color: #334155;
}

.phone-chart-point {
  animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
  0% {
    r: 1.5;
    opacity: 1;
  }

  50% {
    r: 3;
    opacity: 0.5;
  }

  100% {
    r: 1.5;
    opacity: 1;
  }
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #fff;
  padding-top: 5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem 3rem;
  margin-bottom: 5rem;
}

.footer-company-name {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.footer-reg-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-reg-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 14px;
  line-height: 1.5;
}

.footer-reg-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #cbd5e1;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.footer-reg-label {
  font-weight: 600;
  color: #94a3b8;
  width: 8rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.footer-reg-colon {
  color: #94a3b8;
}

.footer-reg-value {
  font-weight: 500;
  color: #334155;
}

.footer-col-title {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #06172e;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--brand-primary);
}

.footer-link-dot {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.footer-social-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-follow-label {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
}

.footer-social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  color: #fff;
}

.footer-social-icon svg {
  width: 0.8rem;
  height: 0.8rem;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.footer-logo-badge {
  background: #fff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  padding: 0.5rem;
  height: 3rem;
  width: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
}

.footer-logo-badge:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-logo-badge img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.footer-mid-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.5rem;
}

.footer-mid-link {
  color: #334155;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-mid-link:hover {
  color: var(--brand-primary);
}

.footer-mid-link.active-link {
  color: var(--brand-primary);
  position: relative;
}

.footer-mid-link.active-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 9999px;
}

.footer-investor-alerts {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
  max-width: 62.5rem;
}

.footer-alert-item {
  display: flex;
  gap: 1.5rem;
}

.footer-alert-bar {
  width: 6px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 9999px;
  flex-shrink: 0;
  transition: background 0.5s;
}

.footer-alert-item:hover .footer-alert-bar {
  background: var(--brand-primary);
}

.footer-alert-text {
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.7;
  font-style: italic;
}

/* ============================================
   FOOTER COMPLIANCE / INVESTOR DISCLOSURES
   ============================================ */
.footer-compliance {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 0;
}

.footer-useful-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.9;
}

.footer-useful-label {
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  margin-right: 0.4rem;
  flex-shrink: 0;
}

.footer-useful-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  line-height: 1.9;
}

.footer-useful-list a {
  color: #2563eb;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-useful-list a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.footer-useful-list a:not(:last-child)::after {
  content: ' | ';
  color: #94a3b8;
  padding: 0 0.25rem;
  font-weight: 400;
}

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

.footer-disclaimer-list li {
  font-size: 16px;
  color: #475569;
  line-height: 1.75;
  padding: 0.275rem 0 0.275rem 1.1rem;
  position: relative;
}

.footer-disclaimer-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0.275rem;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.75;
}

.footer-disclaimer-list li a {
  color: #2563eb;
  text-decoration: none;
}

.footer-disclaimer-list li a:hover {
  text-decoration: underline;
}

.footer-attention {
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 0.875rem;
}

.footer-attention-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 0.875rem;
}

.footer-attention-icon {
  width: 42px;
  height: 42px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-attention-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.01em;
}

.footer-attention-list {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-attention-list li {
    font-size: 16px;
    color: #64748b;
    line-height: 1.75;
    font-weight: 400;
    padding-left: 0.25rem;
}

.footer-issued {
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
  font-style: italic;
  margin: 0.5rem 0 0;
  letter-spacing: 0.01em;
}

/* ============================================ */

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-copyright {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

.footer-copyright strong {
  color: #475569;
  font-weight: 500;
}

.footer-credit {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-credit a {
  color: #94a3b8 !important;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: text-decoration 0.2s;
}


.footer-credit a:hover {
  text-decoration: underline;
}

/* ============================================
   SECTION COMMON HEADING
   ============================================ */
.section-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.section-heading.left {
  text-align: left;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-heading p {
  color: #475569;
  font-size: 1.125rem;
  line-height: 1.7;
}

.section-heading.light h2 {
  color: #fff;
}

.section-heading.light p {
  color: #94a3b8;
}

/* ============================================
   AOS ANIMATIONS  (direction handled via JS inline styles)
   ============================================ */
[data-aos] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base starting positions — these act as fallbacks until JS calculates direction */
[data-aos]:not([data-aos="fade-right"]):not([data-aos="fade-left"]) {
  transform: translateY(40px);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos].aos-animate {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ============================================
   PHONE MOCKUP LIVE ANIMATIONS
   ============================================ */

/* Chart bars — start collapsed, grow from bottom */
.phone-chart-bar {
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered grow per bar */
.phone-chart-animated .phone-chart-bar:nth-child(1) {
  transition-delay: 0.00s;
}

.phone-chart-animated .phone-chart-bar:nth-child(2) {
  transition-delay: 0.05s;
}

.phone-chart-animated .phone-chart-bar:nth-child(3) {
  transition-delay: 0.10s;
}

.phone-chart-animated .phone-chart-bar:nth-child(4) {
  transition-delay: 0.15s;
}

.phone-chart-animated .phone-chart-bar:nth-child(5) {
  transition-delay: 0.20s;
}

.phone-chart-animated .phone-chart-bar:nth-child(6) {
  transition-delay: 0.25s;
}

.phone-chart-animated .phone-chart-bar:nth-child(7) {
  transition-delay: 0.30s;
}

.phone-chart-animated .phone-chart-bar:nth-child(8) {
  transition-delay: 0.35s;
}

.phone-chart-animated .phone-chart-bar:nth-child(9) {
  transition-delay: 0.40s;
}

.phone-chart-animated .phone-chart-bar:nth-child(10) {
  transition-delay: 0.45s;
}

.phone-chart-animated .phone-chart-bar {
  transform: scaleY(1);
}

/* Portfolio value live flash (green tick on update) */
@keyframes value-flash {
  0% {
    color: #fff;
  }

  25% {
    color: #4ade80;
  }

  100% {
    color: #fff;
  }
}

.phone-portfolio-value.live-tick {
  animation: value-flash 0.7s ease forwards;
}

/* Stat change breathe (simulates live P&L) */
@keyframes stat-breathe {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

.phone-stat-change {
  animation: stat-breathe 2.2s ease-in-out infinite;
}

/* ── Phone section entrance animations ── */

/* Phone mockup slides up */
@keyframes phone-slide-up {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.phone-mockup-wrapper.phone-entered {
  animation: phone-slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Portfolio card pops in */
@keyframes card-pop {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
  }

  70% {
    transform: scale(1.03) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.phone-portfolio-card {
  opacity: 0;
  transform: scale(0.88) translateY(20px);
}

.phone-portfolio-card.card-entered {
  animation: card-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stat box pops in — whole box */
@keyframes stat-box-in {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.9);
  }

  70% {
    transform: translateY(-3px) scale(1.03);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.phone-stat-card.stat-entered {
  animation: stat-box-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.phone-stat-card.stat-entered:nth-child(2) {
  animation-delay: 0.12s;
}

/* ============================================
   RESPONSIVE — consolidated breakpoints
   ============================================ */

/* ── min-width: 1024px ── */
@media (min-width: 1024px) {
  .onboarding-path {
    display: block;
    position: absolute;
    top: 1.5rem;
    left: 10%;
    right: 10%;
    height: 2px;
    z-index: 0;
  }

  .cta-flex {
    flex-direction: row;
    align-items: center;
  }
}

/* ── min-width: 769px ── */
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

/* ── min-width: 768px ── */
@media (min-width: 768px) {
  #hero {
    padding: 6rem 0;
    min-height: 100vh;
  }

  .testimonial-card {
    width: 450px;
  }

  .footer-social-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-social-section {
    flex-direction: row;
    align-items: center;
  }

  .footer-logos {
    justify-content: flex-end;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ── max-width: 1024px ── */
@media (max-width: 1024px) {
  .section-container {
    padding: 0 1.75rem;
  }

  .asset-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .steps-connector-svg {
    display: none;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── max-width: 768px ── */
@media (max-width: 768px) {
  h1 {
    font-size: 36px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  .section-container {
    padding: 0 1.25rem;
  }

  .section-heading {
    margin-bottom: 3rem;
  }

  .desktop-only {
    display: none !important;
  }

  /* Navigation */
  #mf-nav {
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  #mf-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
  }

  .nav-inner {
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo {
    flex-shrink: 0;
  }

  .nav-logo-img.large {
    width: 120px;
    height: 70px;
  }

  .nav-logo-img.small {
    width: 120px;
    height: 70px;
  }

  .nav-links {
    display: none !important;
  }

  .nav-cta {
    display: none !important;
  }

  .mega-menu-wrapper {
    display: none !important;
  }

  .mega-menu-dropdown {
    display: none !important;
    visibility: hidden !important;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
  }

  .mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    color: #fff;
    stroke-width: 2;
  }

  #mf-nav.scrolled .mobile-menu-btn svg {
    color: #0f172a;
  }

  /* Asset circle */
  .asset-circle {
    width: 300px;
    height: 300px;
  }

  .circle-center {
    width: 6rem;
    height: 6rem;
    padding: 0.75rem;
  }

  .orbit-icon {
    width: 3rem;
    height: 3rem;
  }

  .orbit-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

}

/* ── Tools Section Mobile/Tablet (Show all) ── */
@media (max-width: 991px) {
  .tsp-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .tsp-list {
    display: none !important;
  }

  .tsp-card-wrap {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .tsp-card-wrap .tsp-card {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    margin-bottom: 0 !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    pointer-events: auto !important;
  }

  .tsp-card-body {
    opacity: 1 !important;
    transform: none !important;
    padding: 1.5rem !important;
    margin-top: 0 !important;
    display: block !important;
  }

  .tsp-card-img {
    height: 250px !important;
  }
}

@media (max-width: 768px) {

  /* Values */
  .value-card {
    padding: 2rem;
    min-height: auto;
    border-radius: 2rem;
  }

  /* Onboarding */
  .onboarding-heading {
    margin-bottom: 4rem;
  }

  .onboarding-cta {
    margin-top: 4rem;
  }

  /* CTA */
  .cta-box {
    padding: 2rem 1.5rem;
    border-radius: 2rem;
  }

  .cta-features {
    grid-template-columns: 1fr;
  }
}

/* ── max-width: 640px ── */
@media (max-width: 640px) {
  .onboarding-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-mid-links {
    gap: 0.75rem 1.5rem;
  }
}

/* ── max-width: 480px ── */
@media (max-width: 480px) {
  h1 {
    font-size: 30px !important;
  }

  h2 {
    font-size: 34px !important;
  }

  .section-container {
    padding: 0 1rem;
  }

  #hero {
    padding: 7rem 0 3rem;
  }

  .value-card {
    padding: 1.5rem;
    min-height: auto;
    border-radius: 1.5rem;
  }

  .cta-box {
    padding: 1.5rem 1rem;
    border-radius: 1.5rem;
  }
}

/* ── max-width: 380px ── */
@media (max-width: 380px) {
  .asset-circle {
    width: 260px;
    height: 260px;
  }

  .nav-logo-img.large {
    width: 100px;
    height: 60px;
  }

  .mm-header {
    padding: 0.75rem 1rem;
  }

  .mm-logo {
    height: 32px;
  }
}

/* ============================================
   PLATFORM CARDS SECTION
   ============================================ */
#platform-cards {
  padding: 8rem 0;
  background: #FFCD00;
}

.pc-heading {
  text-align: center;
  margin-bottom: 5rem;
}

.pc-center-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.pc-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #000;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.pc-heading p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.pc-section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Ecosystem Custom Circle */
.pc-ecosystem-wrap {
  width: 100%;
  max-height: 320px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.pc-ecosystem-wrap::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}


.pc-ecosystem-circle {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom "floor" swallows icons as they go behind — backs up the JS opacity fade */
.pc-card--brand .pc-ecosystem-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 45% at 50% 88%,
      #0d2060 0%,
      rgba(13, 32, 96, 0.85) 30%,
      transparent 65%);
}

.pc-card--light .pc-ecosystem-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 45% at 50% 88%,
      #131f3a 0%,
      rgba(19, 31, 58, 0.85) 30%,
      transparent 65%);
}

.pc-card--yellow .pc-ecosystem-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 45% at 50% 88%,
      #FFCD00 0%,
      rgba(255, 205, 0, 0.85) 30%,
      transparent 65%);
}

/* Clarity-style glow halo around center logo */
.pc-ecosystem-circle::before {
  content: '';
  position: absolute;
  width: 45%;
  height: 45%;
  border-radius: 50%;
  z-index: 9;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pc-card--yellow .pc-ecosystem-circle::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.pc-logo-square-black {
  width: 6.5rem;
  height: 6.5rem;
  background: #000;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 1rem;
}

.pc-logo-square-black img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  z-index: 2;
}

.pc-logo-shard {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 50%;
  height: 50%;
  background: #FFCD00;
  border-radius: 50%;
  z-index: 1;
}

.pc-ecosystem-center {
  width: 6rem;
  height: 6rem;
  background: #fff;
  border-radius: 1.25rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pc-ecosystem-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pc-ecosystem-ring {
  position: absolute;
  inset: 0;
  animation: revolve 20s linear infinite;
}

/* Decoration Rings */
.pc-eco-deco-1,
.pc-eco-deco-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.pc-eco-deco-1 {
  inset: 0;
}

.pc-card--yellow .pc-eco-deco-1,
.pc-card--yellow .pc-eco-deco-2 {
  opacity: 0.2;
  border-color: rgba(0, 0, 0, 0.15);
}

.pc-eco-deco-2 {
  inset: 3rem;
}

.pc-eco-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(var(--angle)) translate(118px) rotate(calc(-1 * var(--angle)));
  animation: orbit-depth 20s linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  will-change: opacity;
}

.pc-eco-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s, transform 0.3s;
  animation: counter-revolve 20s linear infinite, icon-pulse 4s ease-in-out infinite;
  animation-delay: 0s, var(--delay, 0s);
}

.pc-eco-icon--clarity {
  background: #fff;
  border-radius: 50%;
  color: #000;
  width: 3.5rem;
  height: 3.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pc-eco-icon--clarity i,
.pc-eco-icon--clarity svg {
  color: #000;
  stroke: #000;
}


.pc-eco-icon:hover {
  transform: scale(1.2);
  z-index: 50;
}

.pc-eco-icon svg,
.pc-eco-icon i {
  width: 1.75rem;
  height: 1.75rem;
  animation: icon-pulse 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  display: block;
}


@keyframes revolve {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Counter-rotates icons so they stay upright while the ring revolves */
@keyframes counter-revolve {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* Fades icons out as they pass behind the center, in sync with the 20s revolution */
@keyframes orbit-depth {
  0% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  44% {
    opacity: 0.1;
  }

  50% {
    opacity: 0;
  }

  56% {
    opacity: 0.1;
  }

  67% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

@keyframes icon-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}


/* Lottie animation container */
.pc-lottie-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.home_lottie {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.home_lottie svg,
.home_lottie canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Logo */
.pc-logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}


.pc-logo-main {
  font-style: italic;
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
}

.pc-logo-sub {
  font-weight: 300;
  font-style: italic;
  text-transform: uppercase;
  opacity: 0.8;
}


/* Card base */
.pc-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border-radius: 1.75rem;
  overflow: hidden;
  position: relative;
}

.pc-card--brand {
  background: linear-gradient(145deg, #1a3080 0%, #0d2060 60%, #0b1a52 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-card--light {
  background: linear-gradient(145deg, #1c2a4a 0%, #131f3a 60%, #0d1830 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pc-card--yellow {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.pc-card--brand .pc-logo {
  color: #fff;
}

.pc-card--light .pc-logo {
  color: #fff;
}

.pc-card--yellow .pc-logo {
  color: #000;
}

/* Description */
.pc-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 100%;
}

.pc-card--brand .pc-desc {
  color: rgba(255, 255, 255, 0.8);
}

.pc-card--light .pc-desc {
  color: rgba(255, 255, 255, 0.8);
}

.pc-card--yellow .pc-desc {
  color: rgba(0, 0, 0, 0.7);
}

/* Button */
.pc-btn-wrap {
  margin-top: auto;
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  transition: all 0.3s;
  cursor: pointer;
}

.pc-card--brand .pc-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.pc-card--brand .pc-btn:hover {
  background: #fff;
  color: #0b1a52;
  border-color: #fff;
  transform: translateY(-3px);
}

.pc-card--light .pc-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.pc-card--light .pc-btn:hover {
  background: #fff;
  color: #0b1a52;
  border-color: #fff;
  transform: translateY(-3px);
}

.pc-card--yellow .pc-btn {
  color: #000;
  border-color: rgba(0, 0, 0, 0.2);
}

.pc-card--yellow .pc-btn:hover {
  background: #000;
  color: #FFCD00;
  border-color: #000;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .pc-grid {
    grid-template-columns: 1fr;
  }

  .pc-card {
    padding: 1.75rem;
  }

  .pc-ecosystem-wrap {
    max-height: 260px;
  }
}

/* ============================================
   ABOUT PAGE STYLES (Light Modern Design)
   ============================================ */
.about-hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: #fff;
  overflow: hidden;
}

.about-hero-card {
  background: #fff;
  border-radius: 4rem;
  padding: 6rem 4rem;
  position: relative;
  border: 1px solid #f1f5f9;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  text-align: center;
}

/* Red-ish accent as per instructions previously, but switching to Blue/Cyan for branding consistency if desired. 
   Actually, the user said 'pahala hjese', which means like homepage. 
   Homepage has blue/cyan. I'll stick to brand colors. */
.about-section-heading {
  color: var(--brand-primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.about-section-heading::before,
.about-section-heading::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--brand-accent);
  opacity: 0.5;
}

.about-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem) !important;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2.5rem;
  line-height: 1.15;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero-p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 850px;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
}

.about-title-large {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3.5rem;
  letter-spacing: -0.01em;
}

.about-mission-vision {
  padding: 10rem 0;
  background: #fff;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 4rem;
}

.mv-card {
  padding: 4rem;
  border-radius: 3rem;
  background: #fff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.mv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 81, 162, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.mv-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
  border-color: rgba(61, 81, 162, 0.1);
}

.mv-card:hover::after {
  opacity: 1;
}

.mv-icon {
  width: 5rem;
  height: 5rem;
  background: #f8fafc;
  color: var(--brand-primary);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  transition: all 0.5s;
}

.mv-card:hover .mv-icon {
  background: var(--brand-primary);
  color: #fff;
  transform: rotate(10deg);
}

.mv-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.mv-card p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #475569;
}

.about-core-values {
  padding: 10rem 0;
  background: #fff;
  position: relative;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.cv-card {
  padding: 3.5rem 3rem;
  background: #fff;
  border-radius: 2.5rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cv-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  border-color: var(--brand-accent);
}

.cv-card h4 {
  font-size: 1.625rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cv-card p {
  color: #475569;
  line-height: 1.8;
}

.about-journey {
  padding: 10rem 0;
  background: #fff;
}

.journey-container {
  max-width: 1000px;
  margin: 0 auto;
}

.journey-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.journey-p {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #334155;
  position: relative;
  padding-left: 3rem;
}

.journey-p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
}

.about-promoters {
  padding: 10rem 0;
  background: #f8fafc;
}

.promoter-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.promoter-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5rem;
  align-items: start;
}

.promoter-visual {
  position: relative;
}

.promoter-img-wrap {
  width: 100%;
  aspect-ratio: 0.85;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.promoter-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e2e8f0;
}

.promoter-socials {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promoter-info h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.promoter-role {
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 2.5rem;
  display: block;
}

.promoter-bio {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #475569;
}

@media (max-width: 1200px) {
  .promoter-card {
    grid-template-columns: 350px 1fr;
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .promoter-card {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .promoter-img-wrap {
    max-width: 400px;
  }
}

/* ============================================
   INNER PAGE HERO
   ============================================ */
.inner-hero {
  position: relative;
  padding: 16rem 0 7rem;
  background-color: #0b1a52;
  overflow: hidden;
  text-align: center;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  z-index: -1;
}

.hero-mesh-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.inner-hero .bg-grid-overlay {
  background-size: 50px 50px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  opacity: 1 !important;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 90%);
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 90%);
}

.inner-hero-content {
  position: relative;
  z-index: 10;
}

.inner-hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem !important;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.inner-hero-title span {
  background: linear-gradient(to right, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.inner-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.inner-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.inner-hero-breadcrumb a:hover {
  color: var(--brand-accent);
}

.breadcrumb-separator {
  opacity: 0.4;
}

/* ============================================
   ABOUT MODERN STYLES
   ============================================ */
.about-modern .sub-heading {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.about-modern .section-title {
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.process-section .section-title {
  color: #0f172a;
}

.about-modern .center-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px !important;
  /* Absolute consistent gap */
}

/* Fix Animation Interference */
[data-aos^="fade"][data-aos^="fade"] {
  opacity: 1 !important;
  /* Ensure content is NEVER hidden if JS lags */
  transform: none !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease !important;
}

.aos-init[data-aos^="fade"] {
  transform: translateY(20px) !important;
  /* Subtler movement */
  opacity: 0 !important;
}

.aos-animate[data-aos^="fade"] {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* About Split Showcase Section */
.about-showcase-section {
  background: #ffffff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.showcase-content {
  position: relative;
}

.showcase-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin: 0 0 30px;
  letter-spacing: -0.02em;
}

.lead-text {
  font-size: 1.25rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.5;
}

.main-body {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
  margin-top: 0px;
  font-weight: 400;
  margin-bottom: 20px;
}

.showcase-cta-stats {
  display: flex;
  gap: 15px;
}

/* Visual Panel Styling */
.showcase-visual {
  position: relative;
}

.visual-stack {
  position: relative;

}


.main-visual-frame {
  width: 100%;
  aspect-ratio: 3/4;
  min-height: 580px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(15, 23, 42, 0.15);
  position: relative;
  z-index: 1;
}

.main-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.main-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-visual:hover .main-visual-frame img {
  transform: scale(1.05);
}

/* Floating Stats Satellites */
.float-stat {
  position: absolute;
  z-index: 5;
  animation: float-orb 6s infinite ease-in-out;
}

.stat-inner {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 20px 25px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: column;
  min-width: 160px;
}

.stat-inner .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-inner .txt {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stat-1 {
  top: 0;
  left: 0;
}

.stat-2 {
  top: 10%;
  right: -20px;
}

.stat-3 {
  bottom: 20%;
  left: -30px;
}

.stat-4 {
  bottom: 5%;
  right: 10%;
}

@keyframes float-orb {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@media (max-width: 1100px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .showcase-visual {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .showcase-title {
    font-size: 2.5rem;
  }

  .stat-inner {
    min-width: 140px;
    padding: 15px;
  }
}

/* Mission & Vision Section Redesign */
.about-mv-section {
  padding: 80px 0;
  background: #f8fafc;
}

/* Values Section */
.about-values-section {
  background: #0b1a52;
}

/* Journey Section */
.about-journey-section {
  background: #ffffff;
}

/* Leadership Section */
.about-leadership-section {
  background: #f8fafc;
}

/* Overview Section */
.about-overview-section {
  background: #fff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 80px;
}

.about-stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mini-stat-card {
  padding: 2.5rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.mini-stat-card:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--brand-primary);
}

.mini-stat-card .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.mini-stat-card .stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mv-infographic-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}

.mv-side {
  position: relative;
  z-index: 1;
}

.mv-side-inner {
  padding: 3rem;
  color: #fff;
  transition: all 0.4s ease;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision-side .mv-side-inner {
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
  border-radius: 2rem 0 0 2rem;
  text-align: left;
  padding-right: 4rem;
}

.mission-side .mv-side-inner {
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);
  border-radius: 0 2rem 2rem 0;
  text-align: right;
  padding-left: 4rem;
}

.mv-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  /* Explicit width to keep it tight */
  height: 160px;
}

.mv-hub-circle {
  width: 140px;
  height: 140px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  border: 8px solid #ffffff;
}

.hub-favicon-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: all 0.5s ease;
  animation: logo-breath 4s infinite ease-in-out;
}

@keyframes logo-breath {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(22, 161, 220, 0));
  }

  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(22, 161, 220, 0.5));
  }
}

.hub-pulse-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  pointer-events: none;
}

.pulse-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 1);
  animation: hub-pulse 5s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pulse-wave:nth-child(2) {
  animation-delay: 1.66s;
}

.pulse-wave:nth-child(3) {
  animation-delay: 3.33s;
}

@keyframes hub-pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

.mv-hub-circle i {
  width: 50px;
  height: 50px;
  color: #1e3a8a;
}

.mv-icon-top {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission-side .mv-icon-top {
  margin-left: auto;
}

.mv-side-inner h3 {
  font-size: 28px;
  margin-bottom: 1rem;
  color: #fff;
}

.mv-side-inner p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 320px;
}

.mission-side .mv-side-inner p {
  margin-left: auto;
}

.mv-side:hover .mv-side-inner {
  transform: scale(1.02);
  z-index: 5;
}

@media (max-width: 991px) {
  .mv-infographic-container {
    flex-direction: column;
    gap: 40px;
  }

  .mv-side {
    width: 100%;
  }

  .mv-side-inner {
    clip-path: none !important;
    border-radius: 2rem !important;
    padding: 3rem !important;
    text-align: center !important;
  }

  .mv-hub {
    display: none;
  }

  .mv-icon-top {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mv-side-inner p {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
  }
}

.about-showcase-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0px;
}

/* Values Section */
.about-values-section,
.about-values-section-light {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.about-values-section {
  background: #0b1a52;
  /* Deepest dark navy */
}

.center-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 0px;
}

/* Stock Animation Background - Darker and more subtle */
.values-bg-animation {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.stock-float-container {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  /* Extremely subtle now */
}

.stock-bar {
  position: absolute;
  width: 8px;
  background: var(--brand-accent);
  border-radius: 4px;
  animation: float-bar 12s infinite ease-in-out;
}

/* Different sizes and positions for stock bars */
.bar-1 {
  height: 180px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.bar-2 {
  height: 120px;
  left: 25%;
  top: 60%;
  animation-delay: 2s;
  background: #ef4444;
}

.bar-3 {
  height: 240px;
  left: 45%;
  top: 10%;
  animation-delay: 4s;
}

.bar-4 {
  height: 150px;
  left: 65%;
  top: 50%;
  animation-delay: 1s;
}

.bar-5 {
  height: 200px;
  left: 80%;
  top: 15%;
  animation-delay: 5s;
  background: #ef4444;
}

.bar-6 {
  height: 100px;
  left: 90%;
  top: 70%;
  animation-delay: 3s;
}

@keyframes float-bar {}

/* Core Values Symmetrical Bento Layout */
.values-symmetrical-bento {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1280px;
  margin: 50px auto 0;
  position: relative;
  z-index: 10;
}

.bento-card-item {
  width: calc(33.333% - 25px);
  min-width: 320px;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --mouse-x: 50%;
  --mouse-y: 50%;
  /* Default variables */
  --bento-accent: 22, 161, 220;
  /* Blue */
  --bento-icon-grad: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
}

/* Color Versions */
.bento-v1 {
  --bento-accent: 34, 211, 238;
  /* Cyan */
  --bento-icon-grad: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
}

.bento-v2 {
  --bento-accent: 16, 185, 129;
  /* Emerald */
  --bento-icon-grad: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bento-v3 {
  --bento-accent: 99, 102, 241;
  /* Indigo */
  --bento-icon-grad: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.bento-v4 {
  --bento-accent: 244, 63, 94;
  /* Rose */
  --bento-icon-grad: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

.bento-v5 {
  --bento-accent: 245, 158, 11;
  /* Amber */
  --bento-icon-grad: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.bento-card-item:nth-child(4),
.bento-card-item:nth-child(5) {
  width: calc(50% - 25px);
}

.bento-card-inner {
  position: relative;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;

  padding: 40px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.bento-mesh-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
      rgba(var(--bento-accent), 0.15),
      transparent 40%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-card-item:hover .bento-mesh-gradient {
  opacity: 1;
}

.bento-card-item:hover .bento-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  border-color: #2563eb33;
}

.bento-card-item:hover .order-icon-box {
  transform: scale(1.1) rotate(8deg);
}

/* Glowing Icon Shadows on Hover (Dark Theme) */
.bento-card-item:hover .order-icon-box.grad-1 {
  box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.8), 0 0 30px rgba(37, 99, 235, 0.4);
}

.bento-card-item:hover .order-icon-box.grad-2 {
  box-shadow: 0 20px 50px -10px rgba(16, 185, 129, 0.8), 0 0 30px rgba(16, 185, 129, 0.4);
}

.bento-card-item:hover .order-icon-box.grad-3 {
  box-shadow: 0 20px 50px -10px rgba(245, 158, 11, 0.8), 0 0 30px rgba(245, 158, 11, 0.4);
}

.bento-card-item:hover .order-icon-box.grad-4 {
  box-shadow: 0 20px 50px -10px rgba(139, 92, 246, 0.8), 0 0 30px rgba(139, 92, 246, 0.4);
}

.bento-card-item:hover .order-icon-box.grad-5 {
  box-shadow: 0 20px 50px -10px rgba(236, 72, 153, 0.8), 0 0 30px rgba(236, 72, 153, 0.4);
}

.bento-icon {
  width: 60px;
  height: 60px;
  background: var(--bento-icon-grad) !important;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 5;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(var(--bento-accent), 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Multi-color Icon Gradients (Keep for compatibility but we now use variables) */
.icon-grad-1,
.icon-grad-2,
.icon-grad-3,
.icon-grad-4,
.icon-grad-5 {
  background: var(--bento-icon-grad) !important;
  box-shadow: 0 10px 20px rgba(var(--bento-accent), 0.2);
}

.bento-icon svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff !important;
  stroke-width: 2.5px;
  transition: all 0.4s ease;
}

.bento-card-item:hover .bento-icon {
  transform: rotate(10deg) scale(1.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.bento-card-item:hover .bento-icon svg {
  transform: scale(1.1);
}

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-number {
  position: absolute;
  top: -25px;
  right: -15px;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  transition: all 0.6s ease;
}

.bento-card-item:hover .bento-number {
  color: rgba(var(--bento-accent), 0.08);
  transform: scale(1.05) translateX(-10px);
}

.bento-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.bento-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.bento-glow {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(var(--bento-accent), 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bento-card-item:hover .bento-glow {
  opacity: 1;
}

/* Responsive adjustments */
.bento-8-grid .bento-card-item {
  width: calc(25% - 20px);
  min-width: 280px;
}

@media (max-width: 1200px) {
  .bento-8-grid .bento-card-item {
    width: calc(33.333% - 20px);
  }
}

@media (max-width: 1100px) {

  .bento-card-item,
  .bento-card-item:nth-child(4),
  .bento-card-item:nth-child(5) {
    width: calc(50% - 25px);
  }

  .bento-8-grid .bento-card-item {
    width: calc(50% - 20px);
  }
}

/* Light Theme Bento Variant - Properly Scoped */
.bento-light-theme .bento-card-inner {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bento-light-theme .bento-card-item:hover .bento-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  border-color: #2563eb33;
  background: white;
}

.bento-light-theme .bento-card-item:hover .order-icon-box {
  transform: scale(1.1) rotate(8deg);
}

/* Glowing Icon Shadows on Hover */
.bento-light-theme .bento-card-item:hover .order-icon-box.grad-1 {
  box-shadow: 0 15px 30px rgba(37, 92, 235, 0.4);
}

.bento-light-theme .bento-card-item:hover .order-icon-box.grad-2 {
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.bento-light-theme .bento-card-item:hover .order-icon-box.grad-3 {
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

.bento-light-theme .bento-card-item:hover .order-icon-box.grad-4 {
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4);
}

.bento-light-theme .bento-card-item:hover .order-icon-box.grad-5 {
  box-shadow: 0 15px 30px rgba(236, 72, 153, 0.4);
}

.bento-light-theme .bento-card-item:hover .order-icon-box.grad-6 {
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.4);
}

.bento-light-theme .bento-card-item:hover .order-icon-box.grad-7 {
  box-shadow: 0 15px 30px rgba(244, 63, 94, 0.4);
}

.bento-light-theme .bento-card-item:hover .order-icon-box.grad-8 {
  box-shadow: 0 15px 30px rgba(100, 116, 139, 0.4);
}



.bento-light-theme .bento-content h4 {
  color: #0f172a;
}

.bento-light-theme .bento-content p {
  color: #475569;
}

.bento-light-theme .bento-number {
  color: rgba(var(--bento-accent), 0.05);
}

.bento-light-theme .bento-mesh-gradient {
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
      rgba(var(--bento-accent), 0.08),
      transparent 50%);
}

.bento-light-theme .bento-glow {
  background: radial-gradient(circle, rgba(var(--bento-accent), 0.1) 0%, transparent 70%);
}

@media (max-width: 768px) {

  .bento-card-item,
  .bento-card-item:nth-child(4),
  .bento-card-item:nth-child(5) {
    width: 100%;
    min-width: auto;
  }

  .bento-card-inner {
    padding: 30px;
  }

  .bento-number {
    font-size: 5rem;
  }
}

/* Mountain Journey Refined */
.about-journey-section {
  padding: 80px 0 0px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.journey-section-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.journey-story-text {
  max-width: 850px;
  margin: 0 auto;
}

.journey-story-text p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

.about-journey-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mountain-journey-wrapper {
  width: 100%;
  margin: 100px auto 0;
  position: relative;
}

.mountain-container {
  position: relative;
  width: 100%;
  height: 550px;
  display: flex;
  align-items: flex-end;
}

.mtn-visual-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mtn-interactive-points {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.mtn-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  width: 280px;
  /* Standard card width */
}

.mtn-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
  border: 1px solid #f1f5f9;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.4s ease;
}

.mtn-node:hover .mtn-card {
  transform: translateY(-10px);
  box-shadow: 0 50px 100px rgba(15, 23, 42, 0.12);
}

.mtn-card .badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.badge.blue {
  background: #eff6ff;
  color: #1e3a8a;
}

.badge.purple {
  background: #f5f3ff;
  color: #5b21b6;
}

.badge.cyan {
  background: #ecfeff;
  color: #0891b2;
}

.mtn-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

p.section-desc {
  font-size: 18px;
}

.mtn-card p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.mtn-dot-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mtn-vertical-line {
  width: 2px;
  height: 40px;
  background: rgba(61, 81, 162, 0.1);
  margin-bottom: -1px;
}

.mtn-dot {
  width: 14px;
  height: 14px;
  background: #22d3ee;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
  z-index: 5;
}

/* Growth line animation */
.mtn-growth-line {
  stroke-dashoffset: 1000;
  animation: mtn-dash 30s linear infinite;
}

@keyframes mtn-dash {
  from {
    stroke-dashoffset: 1000;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1024px) {
  .mountain-container {
    height: auto;
    display: block;
  }

  .mtn-visual-svg {
    display: none;
  }

  .mtn-interactive-points {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 2rem;
  }

  .mtn-node {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }

  .mtn-dot-box {
    display: none;
  }

  .mtn-card {
    text-align: left;
    width: 100%;
    margin-bottom: 0;
    padding: 1.5rem;
  }
}


/* Leadership Modern */
.about-leadership-section {
  padding: 80px 0;
  background: #f8fafc;
}

.leadership-grid-modern {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.leader-card-modern {
  background: #fff;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
  transition: all 0.4s ease;
  display: flex;
  align-items: stretch;
  position: relative;
}

.land_team {
  display: block;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leader-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
}

.leader-image-box {
  position: relative;
  overflow: hidden;
  flex: 0 0 25%;
  min-height: 350px;
}

.leader-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 1;
}

.leader-card-modern:hover .leader-image-box img {
  transform: scale(1.05);
}

.leader-socials {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 20;
  /* Ensure it's above the image */
}

.leader-socials a.social-link {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.nav-link.light {
  color: #0f172a;
}

.nav-link.dark {
  color: #0f172a !important;
}

.nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff !important;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9375rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  margin-left: 0.5rem;
  text-decoration: none;
}

.nav-btn-login:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.nav-btn-login:active {
  transform: scale(0.95);
}

.leader-socials a.social-link.linkedin {
  background: #0077b5;
  /* LinkedIn Blue */
  color: #ffffff !important;
}

.leader-socials a.social-link.facebook {
  background: #ffffff;
  color: #1877f2 !important;
  /* Facebook Blue */
}

.leader-socials a.social-link:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.leader-socials a.social-link svg,
.leader-socials a.social-link span {
  width: 1.5rem !important;
  height: 1.5rem !important;
  display: block !important;
  stroke-width: 2.5;
}

.leader-info-box {
  padding: 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-info-box h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0rem;
}

.leader-designation {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2.75rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(61, 81, 162, 0.4);
  backdrop-filter: blur(8px);
}

.leader-info-box p {
  color: #64748b;
  line-height: 1.6;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {

  .about-intro-grid,
  .journey-layout,
  .modern-mv-grid,
  .leadership-grid-modern {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .leader-card-modern {
    flex-direction: column;
  }

  .leader-image-box {
    flex: 0 0 auto;
    min-height: 400px;
  }

  .values-grid-modern {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .inner-hero-title {
    font-size: 40px !important;
  }

  .values-grid-modern {
    grid-template-columns: 1fr;
  }


  .mv-card-modern {
    padding: 2rem;
  }
}

/* ============================================
   BLOG ARCHIVE & SINGLE PAGE
   ============================================ */
.blog-archive {
  background: #f8fafc;
  padding-bottom: 120px;
}

.blog-grid-section {
  padding: 100px 0 0;
}

.mf-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.mf-blog-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mf-blog-card:hover {
  transform: translateY(-10px);
}

.mf-blog-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

.mf-blog-card:hover .mf-blog-img {
  transform: scale(1.08);
}

.mf-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--brand-primary);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mf-blog-info {
  padding: 25px 5px;
}

.mf-blog-meta {
  margin-bottom: 15px;
}

.mf-blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

.mf-blog-date svg {
  width: 16px;
  height: 16px;
  color: var(--brand-accent);
}

.mf-blog-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.mf-blog-card:hover .mf-blog-title {
  color: var(--brand-primary);
}

.mf-blog-excerpt {
  color: #64748b;
  line-height: 1.6;
  font-size: 15px;
}

/* Pagination */
.pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.pagination .page-numbers {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* Single Blog Page */
.single-post {
  background: #fff;
  padding-bottom: 100px;
}

.container-narrow {
  max-width: 900px;
}

/* ============================================
   INNER PAGE CONTENT SECTION
   ============================================ */
.page-content-section {
  padding: 4rem 0 6rem;
  background: #fff;
}

/* ============================================
   MF PROSE — Global Typography for Pages
   (Privacy Policy, Terms, About, etc.)
   ============================================ */
.mf-prose {
  max-width: 100%;
  margin: 0 auto;
  color: #334155;
  font-size: 1rem;
  line-height: 1.85;
  font-family: var(--font-body, 'Inter', sans-serif);
}

/* Last Updated / Meta line */
.mf-prose > p:first-child {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Headings */
.mf-prose h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
  font-family: var(--font-display, 'Inter', sans-serif);
}

.mf-prose h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 2.75rem 0 0.875rem;
  letter-spacing: -0.015em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eff6ff;
  font-family: var(--font-display, 'Inter', sans-serif);
}

.mf-prose h3 {
  font-size:24px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin: 2rem 0 0.625rem;
  letter-spacing: -0.01em;
}

.mf-prose h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5rem 0 0.5rem;
}


.mf-prose h5,
.mf-prose h6 {
  font-size: 20px;
  font-weight: 600;
  color: #334155;
  margin: 1.25rem 0 0.4rem;
}

/* Paragraphs */
.mf-prose p {
    margin-bottom: 1.25rem;
    color: #475569;
    font-size: 18px;
    line-height: 1.85;
}
/* Strong / Bold */
.mf-prose strong,
.mf-prose b {
  font-weight: 700;
  color: #1e293b;
}

/* Italic */
.mf-prose em,
.mf-prose i {
  color: #64748b;
}

/* Links */
.mf-prose a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.mf-prose a:hover {
  color: #1d4ed8;
}

/* Unordered Lists */
.mf-prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mf-prose ul li {
    position: relative;
    padding-left: 1.375rem;
    color: #475569;
    font-size: 18px;
    line-height: 1.8;
}

.mf-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}

/* Ordered Lists */
.mf-prose ol {
  list-style: none;
  counter-reset: mf-counter;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mf-prose ol li {
  counter-increment: mf-counter;
  position: relative;
  padding-left: 2rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.mf-prose ol li::before {
  content: counter(mf-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #2563eb;
  font-size: 0.875rem;
  min-width: 1.5rem;
}

/* Nested lists */
.mf-prose ul ul,
.mf-prose ol ol,
.mf-prose ul ol,
.mf-prose ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1rem;
}

.mf-prose ul ul li::before {
  background: #94a3b8;
  width: 4px;
  height: 4px;
}

/* Horizontal Rule */
.mf-prose hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.5rem 0;
}

/* Blockquote */
.mf-prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: #eff6ff;
  border-left: 4px solid #2563eb;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #1e40af;
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.8;
}

/* Tables */
.mf-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.mf-prose th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.mf-prose td {
  padding: 0.625rem 1rem;
  border: 1px solid #e2e8f0;
  color: #475569;
  vertical-align: top;
}

.mf-prose tr:nth-child(even) td {
  background: #f8fafc;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .page-content-section {
    padding: 2.5rem 0 4rem;
  }

  .mf-prose {
    font-size: 0.9375rem;
  }

  .mf-prose h2 {
    margin-top: 2rem;
  }

  .mf-prose table {
    display: block;
    overflow-x: auto;
  }
}

.post-content-section {
  padding: 80px 0;
}

.post-meta-top {
  display: flex;
  gap: 20px;
  color: #64748b;
  margin-bottom: 30px;
  font-size: 14px;
}

.post-cat a {
  color: var(--brand-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.post-featured-image {
  margin-bottom: 50px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
  width: 100%;
}

.post-body-content {
  color: #334155;
  line-height: 1.8;
  font-size: 18px;
}

.post-body-content p {
  margin-bottom: 25px;
}

.post-body-content h2,
.post-body-content h3 {
  margin: 40px 0 20px;
  color: #0f172a;
}

.post-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 15px;
}

.post-share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.post-share a:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* ============================================
   CAREER PAGE STYLES
   ============================================ */
.careers-modern {
  background: #fff;
}

.careers-intro-section {
  padding: 80px 0;
}

.careers-intro-section .intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}



.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.career-visual-frame {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* New Careers Features Grid (5 + 4 Layout) */
.careers-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 60px;
  justify-content: center;
}


.feature-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 30px;
  border: 1px solid #f1f5f9;
  transition: all 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  flex: 0 0 calc(25% - 15px);
  /* 4 per row (4x2 grid) */
}


.feature-card:hover {
  background: #fff;
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  border-color: #2563eb33;
}

.feature-card:hover h3 {
  color: #0f172a;
}

.feature-card:hover p {
  color: #64748b;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: #f8fafc;
  color: #fff;
  /* White icon on gradient bg */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.5s ease-in-out;
  background-image: var(--icon-grad, linear-gradient(135deg, #2563eb, #0ea5e9));
}

.feature-icon svg,
.feature-icon i {
  width: 24px !important;
  height: 24px !important;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 18px;
  /* Reduced */
  margin-bottom: 12px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  /* Reduced */
  color: #64748b;
  line-height: 1.5;
}

.grid-cta-link {
  margin-top: auto;
  padding-top: 15px;
  font-weight: 700;
  color: #2563eb;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.feature-card:hover .grid-cta-link {
  color: #fff;
}

/* Career CTA Section */
.career-cta-section {
  padding: 120px 0;
  background: #fff;
}

.cta-card {
  background: #f8fafc;
  padding: 100px 40px;
  border-radius: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.cta-card h2 {
  color: #0f172a;
  margin-bottom: 24px;
  font-size: 48px !important;
}

.cta-card p {
  color: #64748b;
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 20px;
  line-height: 1.6;
}

.cta-card .btn-primary {
  padding: 18px 45px;
  font-size: 18px;
}

.perks-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.perk-item {
  display: flex;
  gap: 20px;
}

.perk-item svg {
  width: 32px;
  height: 32px;
  color: var(--brand-accent);
  background: rgba(22, 161, 220, 0.1);
  padding: 8px;
  border-radius: 8px;
}

.openings-section {
  padding: 80px 0;
  background: #0b1a52;
  position: relative;
  overflow: hidden;
}

.openings-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, black 10%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.openings-section .container {
  position: relative;
  z-index: 1;
}

.openings-section .section-title {
  color: #fff;
}

.openings-section .section-desc {
  margin-top: 0px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.openings-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 40px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--brand-accent);
  transform: translateX(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.job-info h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-meta i,
.job-meta svg {
  width: 16px !important;
  height: 16px !important;
  color: var(--brand-accent);
  stroke-width: 2.5px;
}

.career-form-section {
  padding: 50px 0 120px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}



.form-wrapper {
  background: #fff;

  padding: 40px;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}



.job-title-h2 {
  color: #fff;
  font-size: 24px !important;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.full-width {
  grid-column: 1 / -1;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1e293b;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  transition: all 0.3s;
}

.input-group input:focus {
  border-color: var(--brand-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(61, 81, 162, 0.1);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.5s ease;
  font-size: 1rem;
}

.btn-submit:hover {
  background: var(--brand-contrast);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(22, 161, 220, 0.25);
}

.btn-submit svg {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-info-section {
  padding: 100px 0 60px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background: #fff;

  padding: 40px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border: 1px solid #f1f5f9;
}

.info-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-accent);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: rgba(61, 81, 162, 0.05);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 0 auto 24px;
}

.info-icon svg {
  width: 32px;
  height: 32px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-card p {
  color: #64748b;
  margin-bottom: 15px;
}

.info-card a {
  font-weight: 700;
  color: var(--brand-primary);
}

.contact-form-section {
  padding: 80px 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper {
  padding: 60px;
}

.contact-main-form {
  margin-top: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-main-form .input-group {
  margin-bottom: 20px;
}

.btn-submit-large {
  background: var(--brand-primary);
  color: #fff;
  padding: 18px 40px;
  border-radius: 99px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.btn-submit-large:hover {
  background: var(--brand-contrast);
  padding-right: 50px;
}

.contact-map-wrapper {
  padding: 20px;
}

.map-container {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
}

.map-placeholder {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 81, 162, 0.2);
}

.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: marker-pulse 2s infinite;
}

@keyframes marker-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.map-marker svg {
  position: relative;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--brand-primary);
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-2-col {
    grid-template-columns: 1fr;
  }

  .careers-features-grid {
    gap: 15px;
  }

  .feature-card,
  .feature-card:nth-child(n) {
    flex: 0 0 calc(50% - 15px);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {

  .feature-card,
  .feature-card:nth-child(n) {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {

  .feature-card,
  .feature-card:nth-child(n) {
    flex: 0 0 100%;
  }

  .cta-card {
    padding: 60px 20px;
  }

  .cta-card p {
    font-size: 16px;
  }
}

/* ============================================
   SERVICES & PRODUCTS LISTING
   ============================================ */
.services-grid-section,
.products-grid-section {
  padding: 100px 0;
  background: #f8fafc;
}

/* Services Grid */
.mf-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.mf-service-card {
  background: #fff;
  border-radius: 30px;

  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
}

.mf-service-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-primary);
  box-shadow: 0 30px 60px rgba(61, 81, 162, 0.1);
}

.mf-service-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(61, 81, 162, 0.05);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 24px;
}

.mf-service-icon-box svg {
  width: 28px;
  height: 28px;
}

.mf-service-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 12px;
  color: #0f172a;
}

.mf-service-excerpt {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.mf-service-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 14px;
  transition: all 0.3s;
}

.mf-service-card:hover .mf-service-cta {
  gap: 12px;
}

/* Products Grid */
.mf-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
}

.mf-product-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  border: 1px solid #f1f5f9;
}

.mf-product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.mf-product-image-box {
  height: 250px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.mf-product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mf-product-card:hover .mf-product-image-box img {
  transform: scale(1.1);
}

.mf-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #cbd5e1;
}

.mf-product-placeholder svg {
  width: 60px;
  height: 60px;
}

.mf-product-content {
  padding: 30px;
}

.mf-product-title {
  font-size: 22px !important;
  margin-bottom: 12px;
  color: #0f172a;
}

.mf-product-excerpt {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 24px;
}

.mf-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.mf-product-cta {
  font-weight: 700;
  color: #0f172a;
}

.mf-product-arrow {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.mf-product-card:hover .mf-product-arrow {
  transform: rotate(-45deg);
}

/* ============================================
   SINGLE SERVICE & PRODUCT PAGES
   ============================================ */
.service-detail-section,
.product-detail-section {
  padding: 80px 0 120px;
}

/* Service Detail Layout */
.service-layout-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
}

.service-body {
  font-size: 18px;
  line-height: 1.8;
  color: #334155;
}

.service-cta-box {
  margin-top: 60px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  padding: 50px;
  border-radius: 40px;
  color: #fff;
  text-align: center;
}

.service-cta-box h3 {
  font-size: 28px !important;
  margin-bottom: 15px;
}

.service-cta-box p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.sidebar-widget h4 {
  margin-bottom: 20px;
  font-size: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #f8fafc;
  border-radius: 12px;
  font-weight: 600;
  color: #475569;
  transition: all 0.3s;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: var(--brand-primary);
  color: #fff;
}

.promo-widget {
  background: #0f172a;
  color: #fff;
}

.promo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-accent);
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 20px;
  justify-content: center;
}

/* Product Detail Layout */
.product-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-img-frame {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.product-title-large {
  font-size: 48px !important;
  margin-bottom: 24px;
}

.product-description {
  font-size: 18px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 40px;
}

.product-features-brief {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.pf-item svg {
  color: var(--brand-accent);
}

.product-actions {
  display: flex;
  gap: 20px;
}

@media (max-width: 992px) {

  .service-layout-grid,
  .product-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BLOG GRID & SPACING FIX
   ============================================ */
.mf-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 0px;
}

.mf-blog-card {
  height: 100%;
}

.mf-blog-card-link {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: all 0.3s ease;
  width: 100%;
  border: none;
}

.mf-blog-image-wrapper {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.mf-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mf-blog-card:hover .mf-blog-img {
  transform: scale(1.1);
}

.mf-category-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(255, 255, 255, 0.95);
  color: #3d51a2;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
}

.mf-blog-info {
  padding: 0 5px;
}

.mf-blog-meta {
  margin-bottom: 12px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 15px;
}

.mf-blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mf-blog-date svg {
  width: 16px;
  height: 16px;
  color: #60a5fa;
}

.mf-blog-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.mf-blog-card:hover .mf-blog-title {
  color: #16a1dc;
}

.mf-blog-excerpt {
  color: #64748b;
  line-height: 1.6;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .mf-blog-grid {
    grid-template-columns: 1fr;
  }

  .premium-form-card {
    padding: 30px;
  }
}

.nexus-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nexus-tag-premium {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(61, 81, 162, 0.05);
  color: var(--brand-primary);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.nexus-main-title {
  font-size: 44px !important;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 20px;
}

.nexus-main-desc {
  font-size: 18px;
  color: #64748b;
  margin-top: 15px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Info Vertical List */
.info-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.iv-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.iv-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  color: var(--brand-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  border: 1px solid #f1f5f9;
}

.iv-content h3 {
  font-size: 18px !important;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 800;
}

.iv-content p,
.iv-content span {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.iv-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.iv-links a {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary);
  transition: color 0.3s;
}

.iv-links a:hover {
  color: var(--brand-accent);
}

/* Premium Form Card */
.premium-form-card {
  background: #fff;
  padding: 50px;
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
}

.form-card-header {
  margin-bottom: 30px;
}

.form-card-header p {
  color: #10b981;
  font-weight: 700;
  font-size: 13px;
  margin-top: 5px;
}

.cf7-nexus-wrap label {
  width: 100%;
  display: block;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 14px;
}

.cf7-nexus-wrap input:not([type="submit"]),
.cf7-nexus-wrap textarea {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 15px !important;
  margin-top: 6px;
}


.cf7-nexus-wrap input[type="submit"]:hover {
  background: var(--brand-accent) !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(22, 161, 220, 0.3);
}

.form-card-footer {
  margin-top: 25px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

/* ============================================
   ARROW-FLOW ESCALATION MATRIX (V3)
   ============================================ */
.arrow-matrix-section {
  padding: 100px 0;
  background: #0f172a;
}

.arrow-flow-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-top: 60px;
}

.arrow-card {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.a-card-inner {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s;
  width: 100%;
}

.arrow-card:hover .a-card-inner {
  transform: translateY(-10px);
}

.a-photo-zone {
  height: 200px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a-placeholder-icon i {
  width: 64px;
  height: 64px;
  opacity: 0.8;
}

.a-details-zone {
  padding: 30px 20px;
  position: relative;
  color: #fff;
  min-height: 160px;
}

.a-slant {
  position: absolute;
  top: -20px;
  left: 0;
  width: 101%;
  height: 21px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.a-role {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  opacity: 0.9;
}

.a-name {
  font-size: 18px !important;
  font-weight: 800;
  margin-bottom: 15px !important;
  color: #fff;
}

.a-email {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  display: block;
  word-break: break-all;
}

/* Flow Arrows */
.a-flow-arrow {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #fff;
  z-index: 10;
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .arrow-flow-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .arrow-card {
    width: 320px;
  }

  .a-flow-arrow {
    right: 50%;
    bottom: -45px;
    top: auto;
    transform: translateX(50%) rotate(90deg);
  }
}

@media (max-width: 1200px) {
  .matrix-detailed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .matrix-detailed-grid {
    grid-template-columns: 1fr;
  }

  .m-detail-card {
    padding: 25px;
  }
}

/* Full Map */
.nexus-map-full {
  display: block;
  line-height: 0;
}

@media (max-width: 1200px) {
  .nexus-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .matrix-steps {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .info-quad-grid {
    grid-template-columns: 1fr;
  }

  .matrix-steps {
    grid-template-columns: 1fr;
  }

  .premium-form-card {
    padding: 30px;
  }
}

@media (max-width: 1200px) {
  .m-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .m-form-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .m-matrix-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
}

@media (max-width: 768px) {
  .m-grid {
    grid-template-columns: 1fr;
  }

  .m-matrix-bar {
    grid-template-columns: 1fr;
  }

  .m-premium-form-card {
    padding: 30px;
  }
}

.nexus-mesh-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(61, 81, 162, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(22, 161, 220, 0.15) 0%, transparent 40%);
  opacity: 0.8;
}

.nexus-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.nexus-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--brand-accent);
}

.nexus-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1.1;
  margin-bottom: 30px;
  font-weight: 900 !important;
}

.text-gradient-vivid {
  background: linear-gradient(90deg, #fff, var(--brand-accent), #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.nexus-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 50px;
}

/* Info Strip */
.nexus-info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.nexus-info-item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.ni-icon {
  width: 50px;
  height: 50px;
  background: rgba(22, 161, 220, 0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.ni-text span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.ni-text a {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

/* Loc Card */
.nexus-loc-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 15px;
  max-width: 450px;
}

.loc-marker {
  width: 45px;
  height: 45px;
  background: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-details h5 {
  margin-bottom: 5px;
  font-weight: 700;
}

.loc-details p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Glass Form */
.nexus-form-wrap {
  position: relative;
}

.glass-form-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(25px);
  padding: 50px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 24px !important;
  margin-bottom: 5px;
}

.form-header p {
  font-size: 14px;
  color: var(--brand-accent);
}

/* CF7 Nexus Override */
.nexus-cf7-integration .wpcf7-form p {
  margin-bottom: 15px;
}

.nexus-cf7-integration label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
}

.nexus-cf7-integration input:not([type="submit"]),
.nexus-cf7-integration textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 15px !important;
  padding: 15px 20px !important;
}

.nexus-cf7-integration input:focus,
.nexus-cf7-integration textarea:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--brand-accent) !important;
}

.nexus-cf7-integration input[type="submit"] {
  width: 100% !important;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent)) !important;
  border-radius: 15px !important;
  padding: 20px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
  margin-top: 20px !important;
}

.form-footer-note {
  margin-top: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* Escalation Nexus */
.escalation-nexus-section {
  padding: 120px 0;
  background: #f8fafc;
}

.nexus-section-header {
  text-align: center;
  margin-bottom: 80px;
}

.nexus-sec-title {
  font-size: 48px !important;
  color: #0b0e14;
}

.text-outline {
  -webkit-text-stroke: 1px #0b0e14;
  color: transparent;
}

.nexus-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.timeline-line {
  position: absolute;
  top: 45px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.timeline-node {
  position: relative;
  z-index: 5;
  text-align: center;
  flex: 1;
}

.node-circle {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 4px solid #fff;
  position: relative;
  transition: all 0.5s;
}

.node-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-circle i {
  color: #0b0e14;
  width: 32px;
  height: 32px;
}

.timeline-node:hover .node-circle {
  background: var(--brand-primary);
  transform: translateY(-5px);
}

.timeline-node:hover .node-circle i {
  color: #fff;
}

.node-content h4 {
  font-size: 18px !important;
  margin-bottom: 5px;
}

.node-content p {
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 14px;
}

/* Map Section */
.nexus-map-section {
  padding: 0;
  position: relative;
}

.map-overlay-card {
  position: absolute;
  bottom: 50px;
  left: 50px;
  background: #fff;

  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  z-index: 20;
}

.map-btn {
  display: inline-block;
  background: #0b0e14;
  color: #fff;
  padding: 14px 30px;
  border-radius: 99px;
  font-weight: 700;
  margin-top: 20px;
}

@media (max-width: 1200px) {
  .nexus-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .nexus-timeline {
    flex-direction: column;
    gap: 50px;
  }

  .timeline-line {
    display: none;
  }

  .nexus-info-strip {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    gap: 30px;
  }

  .mv-infographic-container {
    flex-direction: column;
    gap: 30px;
    grid-template-columns: none;
  }
}

/* Fix Info card links */
.info-card a {
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 600px) {
  .about-mv-section {
    padding: 50px 0;
    background: #f8fafc;
  }

  .about-values-section {
    padding: 50px 0;
  }


  /* Asset Section Pagination Dots */
  .adc-indicators {
    display: flex;
    gap: 0.75rem;
    margin-top: 3.5rem;
    padding-left: 0.5rem;
  }

  .adc-dot {
    width: 1.5rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .adc-dot.active {
    background: #16a1dc;
    width: 3rem;
    box-shadow: 0 0 15px rgba(22, 161, 220, 0.4);
  }

  /* Orbit Mobile Fix — size is set via JS, no scale() tricks */
  section#platform-assets .section-container {
    padding: 0 8px; /* give orbit maximum room to breathe */
  }

  .mf-new-orbit-column {
    padding: 0;
    margin: 0;
    overflow: visible;
    align-items: center;
  }

  .mf-new-orbit-scene {
    /* width/height injected by JS — no transform scale */
    transform: none !important;
    margin: 0 auto;
    flex-shrink: 0;
  }

  /* Scale rings proportionally to match ~390px scene */
  .mf-new-orbit-ring1 {
    width: 210px;
    height: 210px;
  }

  .mf-new-orbit-ring2 {
    width: 330px;
    height: 330px;
  }

  .mf-new-orbit-glow {
    width: 60px;
    height: 60px;
  }

  .mf-new-orbit-logo {
    width: 78px !important;
    height: 78px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mf-new-orbit-logo img {
    width: 70% !important;
    height: 70% !important;
  }


}

/* ============================================
   SINGLE SERVICE PAGE (PREMIUM LANDING)
   ============================================ */

.service-landing-hero {
  position: relative;
  padding: 180px 0 120px;
  background: #0f172a;
  overflow: hidden;
  color: #fff;
}

.service-hero-visual {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 60%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
}

.service-hero-tagline {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}

.service-hero-h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-hero-subheadline {
  font-size: 20px;
  color: #94a3b8;
  margin-bottom: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.service-hero-subheadline span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-hero-subheadline span:not(:last-child)::after {
  content: '|';
  margin-left: 15px;
  opacity: 0.3;
}

.service-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 45px;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 16px;
}

.hero-highlight-item i,
.hero-highlight-item svg {
  color: var(--brand-accent);
  background: rgba(22, 161, 220, 0.1);
  padding: 10px;
  border-radius: 12px;
}

.service-cta-group {
  display: flex;
  align-items: center;
  gap: 25px;
}

.service-cta-login {
  color: #94a3b8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.service-cta-login:hover {
  color: #fff;
}

/* Facts Section */
.service-facts-section {
  padding: 100px 0;
  background: #fff;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.fact-card {

  padding: 40px;
  border-radius: 30px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.4s ease;
}

.fact-card:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  border-color: var(--brand-accent);
}

.fact-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 15px;
  display: block;
}

.fact-content {
  color: #64748b;
  line-height: 1.6;
}

/* Benefits Section */
.service-benefits-section {
  padding: 100px 0;
  background: #0b1a52;
  color: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 40px;
  border-radius: 32px;
  transition: all 0.4s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--brand-accent);
  transform: scale(1.02);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(22, 161, 220, 0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 25px;
}

.benefit-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.benefit-card p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Feature & Investor Sections */
.service-feature-section,
.service-investor-section {
  padding: 120px 0;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-dot {
  width: 12px;
  height: 12px;
  background: var(--brand-accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(22, 161, 220, 0.5);
}

.feature-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-item p {
  color: #64748b;
}

/* Account Opening Section */
.account-steps-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
  color: #fff;
  border-radius: 60px;
  margin: 0 20px;
  position: relative;
  overflow: hidden;
}

.account-steps-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 95%);
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}

.account-steps-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.account-steps-section .section-container {
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-accent);
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.step-card:hover .step-number {
  background: var(--brand-accent);
  color: #0f172a;
  transform: translateY(-10px);
}

.step-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step-card p {
  color: #94a3b8;
  font-size: 15px;
}



/* FAQ Section */
.service-faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 900px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 25px 35px;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  color: black;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 35px 25px;
  color: #64748b;
  display: none;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--brand-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

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

/* Footer Slogan */
.service-footer-slogan {

  text-align: center;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  color: white !important;
  padding: 50px 0px;
}

.service-faq-section h2.section-title {
  text-align: center;
}

.slogan-text {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-hero-h1 {
    font-size: 42px;
  }

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-hero-h1 {
    font-size: 36px;
  }

  .service-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .slogan-text {
    font-size: 28px;
  }
}

.btn-clarity-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: #ffcc00;
  /* Vibrant yellow from the screenshot */
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.2);
  border: none;
  cursor: pointer;
}

.btn-clarity-yellow:hover {
  background: #f5c200;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 204, 0, 0.3);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--brand-contrast);
  box-shadow: 0 15px 30px rgba(22, 161, 220, 0.4);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ============================================
   SERVICES ARCHIVE PAGE
   ============================================ */

.services-archive {
  background: #f8fafc;
}

.services-intro-section {
  padding: 100px 0 60px;
  text-align: center;
}

.services-intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.services-intro-content .section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.6;
}

.services-grid-section {
  padding: 0 0 120px;
}

.mf-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mf-service-card {
  height: 100%;
}

.mf-service-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 32px;

  padding: 40px;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mf-service-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.mf-service-card:hover .mf-service-card-inner {
  transform: translateY(-12px);
  border-color: var(--brand-primary);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
}

.mf-service-card:hover .mf-service-card-inner::before {
  opacity: 1;
}

.mf-service-icon-wrapper {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 30px;
  color: var(--brand-primary);
}

.mf-service-icon-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-primary);
  opacity: 0.1;
  border-radius: 20px;
  transition: all 0.5s ease;
}

.mf-service-card:hover .mf-service-icon-bg {
  transform: rotate(10deg) scale(1.1);
  opacity: 1;
  background: var(--brand-primary);
}

.mf-service-card:hover .mf-service-icon-wrapper {
  color: #fff;
}

.mf-service-icon-wrapper i,
.mf-service-icon-wrapper svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.mf-service-card:hover .mf-service-icon-wrapper i {
  transform: scale(1.1);
}

.mf-service-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.mf-service-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.mf-service-card:hover .mf-service-card-title {
  color: var(--brand-primary);
}

.mf-service-card-excerpt {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 30px;
}

.mf-service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.mf-service-btn {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  transition: color 0.3s ease;
}

.mf-service-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: all 0.3s ease;
}

.mf-service-card:hover .mf-service-arrow {
  background: var(--brand-primary);
  color: #fff;
  transform: translateX(5px);
}

/* Responsive Services Grid */
@media (max-width: 1024px) {
  .mf-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mf-services-grid {
    grid-template-columns: 1fr;
  }

  .services-intro-section {
    padding: 60px 0 40px;
  }

  .mf-service-card-inner {
    padding: 30px;
  }
}

/* ============================================
   NEW DEMAT SERVICES PAGE DESIGN - REFINED
   ============================================ */

/* CUSTOM SERVICE HERO - SIDE-BY-SIDE SPLIT */
.custom-service-hero {
  padding: 160px 0 100px;
  background: #ffffff;
  position: relative;
  overflow: visible;
  /* Allow pops to overflow slightly if needed */
  color: #0f172a;
}

.custom-service-hero .section-container {
  max-width: 1320px;
}

.custom-service-hero .highlights-grid {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 80px;
  align-items: center;
}

.highlights-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 650px;
}

.content-top {
  margin-bottom: 60px;
}

.content-bottom {
  margin-top: auto;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 30px;
}

.hero-status-badge.badge-primary {
  background: var(--brand-primary);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.hero-status-badge.badge-primary .status-dot {
  background: #ffffff;
}

.hero-status-badge.badge-primary .status-dot::after {
  background: rgba(255, 255, 255, 0.4);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.highlights-heading-alt {
  font-size: 60px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}

.text-accent-blue {
  color: #3b82f6;
  display: inline-block;
}

.hero-italic-tagline {
  font-size: 22px;
  font-style: italic;
  color: var(--brand-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-feature-row {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  padding-top: 10px;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 150px;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-feature-item:hover .feature-icon-box {
  background: #2563eb;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.hero-feature-item i,
.hero-feature-item svg {
  width: 28px;
  height: 28px;
}

.hero-feature-item span {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.asset-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.asset-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 12px 28px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.asset-pill:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: #f0f7ff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.asset-pill:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #fff;
  transform: translateY(-2px);
}

.highlights-cta-alt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.cta-login-alt {
  font-size: 14px;
  color: #64748b;
}

.cta-login-alt a {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: none;
}

.nav-link.light {
  color: #0f172a;
}

.nav-link.dark {
  color: #0f172a !important;
}

.nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff !important;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9375rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  margin-left: 0.5rem;
  text-decoration: none;
}

.nav-btn-login:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.nav-btn-login:active {
  transform: scale(0.95);
}

/* RIGHT SIDE VISUAL & POPS */
.highlights-visual {
  position: relative;
  padding: 0;
}

.visual-wrapper {
  position: relative;
  z-index: 1;
}

.main-visual-img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: 0 50px 100px rgba(15, 23, 42, 0.1);
}

.pop-feature {
  position: absolute;
  background: #ffffff;
  padding: 12px 28px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  z-index: 10;
  border: 1px solid #e2e8f0;
  white-space: normal;
  max-width: 220px;
  text-align: center;
}

.pop-feature span {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  line-height: 1.3;
}

.pop-1 {
  top: 40px;
  right: -40px;
}

.pop-2 {
  bottom: 100px;
  left: -60px;
}

.pop-3 {
  top: 45%;
  right: -70px;
}

.pop-4 {
  top: 15%;
  left: -50px;
}

.pop-5 {
  bottom: 40px;
  right: -30px;
}

/* TOP ASSET BAR */
.visual-top-asset-bar {
  position: absolute;
  top: -30px;
  left: 0;
  z-index: 20;
}

.subhead-small {
  font-size: 16px;
  font-weight: 800;
  color: #000;
  margin-bottom: 4px;
}

.asset-list-row {
  background: #bfdbfe;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  width: max-content;
  white-space: nowrap;
}

/* BOTTOM HIGHLIGHTS BAR */
.visual-bottom-highlights {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  z-index: 25;
}

.highlights-title-small {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.highlights-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.h-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.h-item i,
.h-item svg {
  width: 18px;
  height: 18px;
}

.h-item span {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

/* SECTION 3: BLUE FACTS */
.demat-facts-blue {
  position: relative;
  padding: 140px 0;
  background: #0b1a52;
  color: #fff;
  overflow: hidden;
}

.facts-blue-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 40%);
  z-index: 1;
}

.demat-facts-blue .section-container {
  position: relative;
  z-index: 2;
}

.facts-blue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.fact-blue-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px;
  border-radius: 40px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.fact-blue-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fact-blue-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-12px);
  border-color: rgba(255, 255, 255, 0.15);
}

.fact-blue-card:hover::before {
  opacity: 1;
}

.fact-blue-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.fact-blue-card:hover .fact-blue-icon {
  background: var(--brand-primary);
  transform: rotate(5deg) scale(1.1);
}

.fact-blue-info h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
}

.fact-blue-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

/* SECTION 4: DARK BENEFITS */
/* --- DEMAT DARK SECTION (Account Highlights) --- */
.demat-dark-section {
  background: #0b1a52 !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

.demat-dark-section .glow-bg-top {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.demat-dark-section .glow-bg-bottom {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
  z-index: 0;
}

.demat-dark-section .dark-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.demat-dark-section .benefits-col h2 {
  font-size: 3.5rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin-bottom: 40px !important;
}

.demat-dark-section .dark-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}

.demat-dark-section .dark-item {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.demat-dark-section .dark-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: #2563eb;
}

.demat-dark-section .dark-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

.demat-dark-section .dark-item h4 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.demat-dark-section .dark-item p {
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
}

/* Feature Card Glassmorphism */
.demat-dark-section .feature-card-glass {
  background: #091543 !important;
  border: 1px solid #091543 !important;
  border-radius: 40px !important;
  padding: 50px !important;

}

.demat-dark-section .features-box-header h2 {

  color: #ffffff !important;

  line-height: 1.2 !important;
  margin-bottom: 15px !important;
}

.demat-dark-section .features-box-header p {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 1.1rem !important;
}

.demat-dark-section .feature-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 30px;

  margin-bottom: 50px;
}

.feature-box-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.demat-dark-section .feature-box-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 28px !important;
  color: #fff !important;
  padding: 35px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.demat-dark-section .feature-box-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: #2563eb !important;
}

.demat-dark-section .feature-box-icon {
  width: 48px;
  height: 48px;
  background: rgb(37 99 235);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  margin-bottom: 24px !important;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

.demat-dark-section .feature-box-icon i,
.demat-dark-section .feature-box-icon svg {
  width: 22px;
  height: 22px;
}

/* --- DEMAT INVESTOR SECTION (Hybrid) --- */
.demat-investor-section {
  background: #0b1a52 !important;
  padding: 120px 0 !important;
  position: relative;
  overflow: hidden;
}

.demat-investor-section h2 {
  font-size: 3.5rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.demat-investor-section .section-header {
  text-align: center;
  margin-bottom: 70px;
}

.demat-investor-section .investor-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.demat-investor-section .investor-grid-item {
  background: #0b1a52 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: 35px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(11, 26, 82, 0.3);
  position: relative;
  overflow: hidden;
  flex: 1 1 calc(33.333% - 30px);
  min-width: 320px;
  cursor: pointer;
}

.demat-investor-section .investor-grid-item:hover {
  box-shadow: 0 30px 60px rgba(11, 26, 82, 0.4) !important;
  border-color: #2563eb !important;
  background: #0d1e5e !important;
}

.demat-investor-section .investor-grid-item:active {
  transform: scale(0.97) !important;
  transition: all 0.1s ease;
}

.demat-investor-section .investor-grid-item:nth-child(4),
.demat-investor-section .investor-grid-item:nth-child(5) {
  flex: 1 1 calc(50% - 30px);
}

.demat-investor-section .investor-grid-item h4 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 15px !important;
}

.demat-investor-section .investor-grid-item p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.demat-investor-section .investor-grid-item:hover .i-grid-icon {
  background: #2563eb !important;
  color: #ffffff !important;
  transform: rotate(10deg) scale(1.1);
}

.demat-investor-section .i-grid-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 28px;
  transition: all 0.3s ease;
}

.investor-stat-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 20px 32px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-badge i {
  color: var(--brand-primary);
}

.investor-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 60px;
}

.investor-feature-item {
  display: flex;
  gap: 24px;
  padding: 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.investor-feature-item:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.i-feature-icon {
  width: 52px;
  height: 52px;
  background: #f8fafc;
  color: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.investor-feature-item:hover .i-feature-icon {
  background: #eff6ff;
  border-color: #3b82f6;
}

.i-feature-text h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

/* RESPONSIVE */
@media (max-width: 1024px) {

  .highlights-grid,
  .dark-grid,
  .investor-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .facts-blue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-heading,
  .dark-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .facts-blue-grid {
    grid-template-columns: 1fr;
  }

  .features-box-grid {
    grid-template-columns: 1fr;
  }

  .investor-features-list {
    grid-template-columns: 1fr;
  }

  .pop-feature {
    padding: 10px 15px;
    font-size: 13px;
  }

  .pop-feature .pop-icon {
    width: 30px;
    height: 30px;
  }

  .pop-1 {
    right: 0;
  }

  .pop-2 {
    left: 0;
  }

  .pop-3 {
    display: none;
  }
}

/* ============================================
   PREMIUM HERO V2 - REDESIGNED
   ============================================ */
.premium-hero-v2 {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 60px;
  align-items: center;
}

.hero-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.v2-badge-dot {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.hero-v2-badge span {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-v2-title {
  font-size: 64px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.v2-text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-v2-lead {
  font-size: 20px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 48px;
  max-width: 600px;
}

.hero-v2-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}

.v2-feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.v2-feature-item:hover {
  background: #f8fafc;
  transform: translateX(10px);
}

.v2-feature-icon {
  width: 52px;
  height: 52px;
  background: #ffffff;
  color: #2563eb;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.v2-feature-icon svg {
  width: 24px;
  height: 24px;
}

.v2-feature-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.v2-feature-info p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.hero-v2-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.v2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s ease;
}

.v2-btn-primary i,
.v2-btn-primary svg {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v2-btn-primary:hover {
  background: var(--brand-contrast);
  box-shadow: 0 10px 20px rgba(22, 161, 220, 0.2);
}

.v2-btn-primary:hover i,
.v2-btn-primary:hover svg {
  transform: translateX(5px);
}

.v2-cta-login {
  font-size: 15px;
  color: #64748b;
}

.v2-cta-login a {
  color: #2563eb;
  font-weight: 700;
}

.hero-v2-visual {
  position: relative;
  padding-left: 20px;
}

.v2-visual-wrapper {
  position: relative;
  z-index: 5;
}

.v2-image-container {
  background: #f8fafc;
  border-radius: 40px;

  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.v2-main-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.v2-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.v2-card-top {
  top: 40px;
  right: -40px;
}

.v2-card-bottom {
  bottom: 40px;
  left: -40px;
}

.v2-card-icon {
  width: 40px;
  height: 40px;
  background: #dcfce7;
  color: #166534;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-card-text {
  display: flex;
  flex-direction: column;
}

.v2-card-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.v2-card-value {
  font-size: 16px;
  font-weight: 800;
  color: #166534;
}

.v2-card-avatars {
  display: flex;
  margin-right: -10px;
}

.v2-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #e2e8f0;
  margin-left: -12px;
  background-size: cover;
}

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

.v2-card-info {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.v2-blob-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  filter: blur(40px);
}

@media (max-width: 991px) {
  .hero-v2-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-v2-title {
    font-size: 48px;
  }

  .hero-v2-visual {
    padding-left: 0;
    margin-top: 40px;
  }

  .v2-card-top {
    right: 0;
  }

  .v2-card-bottom {
    left: 0;
  }
}


.v2-cta-heading {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.v2-asset-bar-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  background: rgba(191, 219, 254, 0.85);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  z-index: 20;
  text-align: center;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}


/* --- FEATURE ROW REDESIGN --- */
.hero-v2-features-row {
  display: flex;
  gap: 20px;
  margin-bottom: 56px;
  max-width: 750px;
}

.v2-feature-card {
  flex: 1;
  background: #f8fafc;
  padding: 24px 16px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v2-feature-card:hover {
  background: #ffffff;
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1);
  border-color: #3b82f6;
}

.v2-card-icon-box {
  width: 52px;
  height: 52px;
  background: #ffffff;
  color: #2563eb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.v2-feature-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
}


@keyframes v2-float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.v2-visual-wrapper {
  animation: v2-float-slow 8s ease-in-out infinite;
}

.v2-glass-card.v2-card-top {
  animation: v2-float-slow 6s ease-in-out infinite reverse;
}

.v2-glass-card.v2-card-bottom {
  animation: v2-float-slow 7s ease-in-out infinite 1s;
}


.premium-hero-v2 .v2-asset-bar-overlay {
  top: -25px !important;
  left: 20px !important;
  right: 20px !important;
  background: #bfdbfe !important;
  border-radius: 999px !important;
  padding: 16px 30px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #1e3a8a !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: none !important;
  /* Solid as per screenshot */
}



.v2-asset-bar-left {
  display: inline-block;
  background: #bfdbfe;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}


.v2-premium-overlay {
  width: 80%;
  margin: 0px auto;
  top: auto !important;
  bottom: 62px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  padding: 16px 30px !important;
  position: absolute;
  left: 20px;
  right: 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  z-index: 15;
  letter-spacing: 0.02em;
}

.v2-main-image {
  width: 100%;
  height: 700px !important;
  object-fit: cover !important;
  border-radius: 2rem;
}


.v2-features-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-features-title::after {
  content: "";
  height: 1px;
  width: 40px;
  background: #2563eb;
  display: inline-block;
}


/* --- INVESTOR FACTS MARQUEE --- */
.investor-facts-marquee {
  padding: 80px 0;
  background: #2563eb;
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  overflow: hidden;
  margin-top: 100px;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.1);
}

.investor-facts-marquee .stats-track {
  display: flex;
  white-space: nowrap;
}

.investor-facts-marquee .stats-item {
  padding: 0 40px;
  min-width: 350px;
}

.investor-facts-marquee .stats-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.investor-facts-marquee .stats-icon i,
.investor-facts-marquee .stats-icon svg {
  color: #ffffff;
  width: 28px;
  height: 28px;
}

.investor-facts-marquee .stats-number {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 7px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.investor-facts-marquee .stats-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  font-weight: 500;
}

.investor-facts-marquee .stats-divider {
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
}

/* Ensure long facts are not cut off */
.investor-facts-marquee .stats-group {
  gap: 2rem !important;
  /* More space between groups */
}

.investor-facts-marquee .stats-item {
  min-width: 600px !important;
  /* Plenty of space for full sentences */
}

.investor-facts-marquee .stats-label {
  white-space: normal !important;
  max-width: 450px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.service-blog-section h2.section-title {
  text-align: center;
}

/* --- HOMEPAGE STYLE LIGHT SECTIONS --- */
.demat-benefits-dark,
.demat-investor-section {
  background-color: #ffffff !important;
  position: relative !important;
  padding: 100px 0 !important;
  color: #0f172a !important;
  overflow: hidden !important;
}

.demat-benefits-dark::before,
.demat-investor-section::before {
  display: none !important;
}

.demat-benefits-dark h2,
.demat-investor-section h2 {
  color: #0f172a !important;
}

.demat-benefits-dark p,
.demat-investor-section p {
  color: #475569 !important;
}

.demat-benefits-dark .dark-icon,
.demat-benefits-dark .feature-box-icon {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}

.demat-benefits-dark .dark-icon i,
.demat-benefits-dark .feature-box-icon i {
  color: #60a5fa !important;
}

/* --- ACCOUNT OPENING SECTION (DARK) --- */
.service-account-process.dark-process {
  padding: 80px 0;
  background: #0b1a52;
  position: relative;
  overflow: hidden;
}

.dark-process .process-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.01;
  background-size: 30px 30px;
}

.dark-process .section-header {
  margin-bottom: 80px;
  display: block;
}

.dark-process .section-title {
  color: #ffffff !important;
  text-align: center;
}

.investor-facts-marquee {
  margin: 0px;
}

.dark-process .process-wave-wrapper {
  position: relative;
  margin-bottom: 5rem;
}

.dark-process .process-steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.dark-process .step-item {
  text-align: center;
  position: relative;
  z-index: 2;
}

.dark-process .icon-box {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 28px;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

/* Unique Gradients for each step */
.dark-process .step-item:nth-child(1) .icon-box {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.dark-process .step-item:nth-child(2) .icon-box {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

.dark-process .step-item:nth-child(3) .icon-box {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.dark-process .step-item:nth-child(4) .icon-box {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

.dark-process .step-item:hover .icon-box {
  transform: translateY(-10px) scale(1.05);
  filter: brightness(1.1);
}

.dark-process .step-label {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.dark-process .step-desc {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.dark-process .bottom-text {
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* BLOG HEADER STYLES */
.blog-header-row {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.blog-header-row .section-title {
  margin: 0;
  text-align: left;
}

.blog-nav-buttons {
  position: static;
  transform: none;
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .dark-process .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .dark-process .process-steps-grid::before {
    top: 40px;
    bottom: 40px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.4) 10%, rgba(37, 99, 235, 0.4) 90%, rgba(37, 99, 235, 0));
  }
}

.blog-nav-btn {
  position: static;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 50px;
  height: 50px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-nav-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  transform: translateY(-3px);
}

/* ============================================
   PREMIUM FACTS SECTION (DARK MODE)
   ============================================ */
.premium-facts-section {
  padding: 80px 0;
  background-color: #0a194e;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.facts-mesh-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.4;
}

.premium-facts-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.facts-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.facts-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.facts-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
  justify-content: center;
}

@media (min-width: 992px) {
  .facts-modern-grid.grid-cols-1 {
    grid-template-columns: 1fr !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .facts-modern-grid.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .facts-modern-grid.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .facts-modern-grid.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .facts-modern-grid.grid-cols-5 {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

.fact-modern-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  height: 100%;
  backdrop-filter: blur(10px);
}

.fact-modern-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.1);
}

.fact-card-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fact-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.fact-icon-wrapper i {
  width: 24px;
  height: 24px;
  color: #ffffff;
  stroke-width: 2.5px;
}

.fact-modern-card:hover .fact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.fact-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fact-number {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 1.2;
}

.fact-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3b82f6;
}

.fact-description {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 400;
}

/* Gradients for icon boxes */
.fact-icon-wrapper.grad-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.fact-icon-wrapper.grad-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.fact-icon-wrapper.grad-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
}

.fact-icon-wrapper.grad-indigo {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.fact-icon-wrapper.grad-cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.3);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .facts-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .premium-facts-section {
    padding: 80px 0;
  }

  .facts-modern-grid {
    grid-template-columns: 1fr;
  }

  .fact-modern-card {
    padding: 32px;
  }

  .fact-number {
    font-size: 32px;
  }
}

/* Service Hero Phone Layout Styles */
@keyframes donutPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawBlue {
  0% {
    stroke-dasharray: 0 314.16;
  }

  100% {
    stroke-dasharray: 141.3 314.16;
  }
}

@keyframes drawGreen {
  0% {
    stroke-dasharray: 0 314.16;
  }

  100% {
    stroke-dasharray: 94.2 314.16;
  }
}

@keyframes drawOrange {
  0% {
    stroke-dasharray: 0 314.16;
  }

  100% {
    stroke-dasharray: 78.5 314.16;
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.hero-tab-btn:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}

.hero-tab-btn.active:hover {
  background: #fff !important;
}

.hero-dynamic-view {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hero-dynamic-view.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- CAREER MODAL ---- */
.career-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 20px;
}

.career-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.career-modal-content {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;

  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 768px) {
  .career-modal-content {
    width: 70%;
  }

  /* Custom grid for Career form: 3-col, 2-col, 1-col */
  .career-modal-content .form-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .career-modal-content .input-group {
    grid-column: span 2;
    /* 3 columns for Name, Email, Phone */
  }

  .career-modal-content .input-group:nth-child(4),
  .career-modal-content .input-group:nth-child(5) {
    grid-column: span 3 !important;
    /* 2 columns for Position and Resume */
  }

  .career-modal-content .input-group:nth-child(6),
  .career-modal-content .form-btn-area {
    grid-column: 1 / -1 !important;
    /* 100% for Message and Submit */
  }
}

.career-modal-overlay.active .career-modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.career-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
  z-index: 10;
}

.career-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.career-modal-content .form-wrapper {
  padding: 0;
  box-shadow: none;
  border: none;
  background: transparent;
}

.career-modal-content .section-title {
  font-size: 32px !important;
  margin-bottom: 20px;
}

/* ============================================
   LIFE @ MIRACLES GALLERY
   ============================================ */
.life-at-miracles {
  padding: 100px 0;
  background: #f8fafc;
}

.life-at-miracles .section-title {
  color: #0f172a;
}

.life-at-miracles .section-desc {
  color: #64748b;
  margin-top: 0px;
  font-size: 18px;
  font-weight: 400;
}

.gallery-grid {
  column-count: 1;
  column-gap: 20px;
  margin-top: 50px;
}

@media (min-width: 640px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    column-count: 3;
  }
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  width: 40px;
  height: 40px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* Small Mega Menu (e.g. Account) */
.mega-menu-small {
  width: 350px !important;
  padding: 30px !important;
  transform: translateX(-50%) !important;
}

.mega-menu-small .mega-menu-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

.mega-menu-small .mega-menu-column {
  width: 100% !important;
}

.mega-menu-small .mega-menu-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.mega-menu-small .mega-menu-item {
  width: 100% !important;
  padding: 8px 12px !important;
}

/* Ensure navigation items are always clickable above mega-menu buffers */
.nav-link,
.nav-btn-login,
.nav-logo,
.mobile-menu-btn {
  position: relative;
  z-index: 1100 !important;
}



/* Bridge to prevent accidental closing between link and dropdown */
.mega-menu-dropdown::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
  pointer-events: all;
}

/* Minimal safety buffer around the menu */
.mega-menu-dropdown::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: transparent;
  z-index: -1;
  pointer-events: all;
}

/* Fix for the bridge overlapping links */
.mega-menu-dropdown::before {
  top: -15px !important;
  height: 15px !important;
}

/* ---- FORCE HIDE HERO GRIDS ---- */
#hero .bg-grid-overlay,
#hero .bg-dark-grid,
#hero .hero-grid,
#hero::before,
#hero::after,
.hero-video-bg::after,
.hero-video-bg::before,
.hero-overlay::after,
.hero-overlay::before {
  display: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

/* ============================================================
   HOMEPAGE — ANIMATIONS & MOBILE POLISH
   ============================================================ */

/* ── Hero Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3); }
  50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}

/* ── Hero inner layout ── */
.hero-inner {
  max-width: 800px;
}

/* ── Hero trust strip ── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
}

.hero-trust strong {
  color: #fff;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(2, 6, 23, 0.8);
  margin-left: -6px;
}

.hero-trust-dot:first-child {
  margin-left: 0;
}

/* ── Hero scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  animation: fadeInUp 1s ease 1.5s both;
}

.hero-scroll-text {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line {
  width: 1.5px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
}

.hero-scroll-ball {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  animation: scroll-ball 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scroll-ball {
  0%   { top: -10px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 42px; opacity: 0; }
}

/* Hide scroll hint on very small screens */
@media (max-width: 480px) {
  .hero-scroll-hint { display: none; }
}

/* ── Hero overlay: nicer gradient on mobile ── */
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(2, 6, 23, 0.75) 0%,
      rgba(2, 6, 23, 0.88) 60%,
      rgba(2, 6, 23, 0.95) 100%
    );
  }
}

/* ── 480px hero tweaks ── */
@media (max-width: 480px) {
  #hero {
    padding: 5.5rem 0 2rem;
  }

  .hero-title {
    font-size: 32px !important;
    line-height: 1.2;
  }

  .hero-dynamic-word {
    font-size: 50px !important;
    line-height: 1.3!important;
  }

  .hero-dynamic {
    min-height: 150px!important;
  }

  .hero-badge {
    font-size: 0.6875rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-trust {
    font-size: 0.75rem;
  }
}

/* ── 380px hero tweaks ── */
@media (max-width: 380px) {
  .hero-title {
    font-size: 28px !important;
  }

  .hero-dynamic-word {
    font-size: 50px !important;
  }

  .hero-dynamic {
    min-height: 90px;
  }
}

/* ============================================================
   SECTIONS — MOBILE LAYOUT IMPROVEMENTS
   ============================================================ */

/* ── Platform section ── */
@media (max-width: 768px) {
  .sticky-scroll-mobile h2 {
    font-size: 1.75rem !important;
    margin-bottom: 2rem !important;
  }

  .mobile-logic-item {
    margin-bottom: 3.5rem !important;
  }

  .mobile-logic-item h3 {
    font-size: 1.4rem !important;
  }

  .mobile-logic-item p {
    font-size: 1rem !important;
  }
}

/* ── Asset section ── */
@media (max-width: 768px) {
  .asset-section-heading h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .asset-section-heading p {
    font-size: 0.9375rem;
  }

  .asset-bottom-controls {
    margin-top: 1.25rem;
  }

  .asset-manual-btn {
    width: 44px;
    height: 44px;
  }
}

/* ── Tools section ── */
@media (max-width: 768px) {
  #tools .section-heading h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .tsp-card-title {
    font-size: 1.25rem;
  }

  .tsp-card-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
  }
}

/* ── Values section ── */
@media (max-width: 768px) {
  #values {
    padding: 4rem 0;
  }

  #values .values-heading h2 {
    font-size: clamp(1.75rem, 7vw, 2.75rem) !important;
  }

  /* Value cards — sticky stacking on mobile */
  .values-stack {
    padding-bottom: 8vh !important;
    display: block;
    gap: 0;
  }

  .value-card {
    position: sticky !important;
    top: 88px !important;      /* safe gap below fixed header (~70px) */
    padding: 2rem 1.75rem;
    min-height: 380px !important;
    border-radius: 1.75rem;
    margin-bottom: 0 !important;
  }
      .value-title {
        font-family: var(--font-display);
        font-size: 22px!important;
        font-weight: 700;
        margin-bottom: 1.3rem;
        letter-spacing: -0.02em;
        margin-bottom: 5px;
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }

  /* Tiny offset so edge of previous card peeks out */
  .value-card:nth-child(1) { top: 88px !important; }
  .value-card:nth-child(2) { top: 90px !important; }
  .value-card:nth-child(3) { top: 92px !important; }
  .value-card:nth-child(4) { top: 94px !important; }

 
}

/* ── Testimonials ── */
@media (max-width: 768px) {
  #testimonials .section-title {
    font-size: clamp(1.75rem, 7vw, 2.75rem) !important;
  }

  .testimonial-card {
    width: 280px !important;
    padding: 1.25rem !important;
  }

  .testimonial-text {
    font-size: 0.875rem !important;
  }
}

/* ── Onboarding / Process — Vertical centre-line timeline ── */
@media (max-width: 768px) {
  #onboarding .onboarding-heading h2,
  #onboarding h2 {
    font-size: clamp(1.75rem, 7vw, 3rem) !important;
  }

  /* Hide decorative wave — timeline replaces it */
  .process-wave {
    display: none !important;
  }

  /* Outer wrapper: 3-column grid — left zone | icon lane | right zone */
  .process-steps {
    display: grid !important;
    grid-template-columns: 1fr 76px 1fr !important;
    row-gap: 2.5rem !important;
    column-gap: 0 !important;
    align-items: unset;
    position: relative;
    padding: 0 0.25rem;
  }

  /* Vertical dashed centre line */
  .process-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 38px;
    bottom: 38px;
    transform: translateX(-50%);
    width: 0;
    border-left: 2px dashed rgba(59, 130, 246, 0.3);
    z-index: 0;
    pointer-events: none;
  }

  /* Every step-item spans all 3 columns, then lays out its own 3-col inner grid */
  .step-item {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr 76px 1fr !important;
    align-items: center !important;
    flex: none !important;
    /* reset margins from any previous rule */
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
  }

  /* Icon always sits in the centre lane (column 2) */
  .step-item .icon-box {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 70px !important;
    height: 70px !important;
    border-radius: 20px !important;
    margin-bottom: 0 !important;
    justify-self: center;
    position: relative;
    z-index: 2;
  }

  .step-item .icon-box svg {
    width: 28px !important;
    height: 28px !important;
  }

  /* Label row stays on row 1 for all steps */
  .step-item .step-label {
    grid-row: 1 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 600;
    color: #1e293b;
    transform: none !important;
    transition: none;
  }

  /* ODD steps  → text LEFT, right-aligned */
  .step-item:nth-child(odd) .step-label {
    grid-column: 1 !important;
    text-align: right;
    padding-right: 0.875rem;
  }

  /* EVEN steps → text RIGHT, left-aligned */
  .step-item:nth-child(even) .step-label {
    grid-column: 3 !important;
    text-align: left;
    padding-left: 0.875rem;
  }

  .ms-step-badge {
    font-size: 0.625rem !important;
    top: -6px !important;
    right: -6px !important;
  }
}

/* ── Stats bar ── */
@media (max-width: 768px) {
  .stats-group {
    gap: 2rem;
    padding: 0 1rem;
  }

  .stats-number {
    font-size: 1.25rem !important;
  }

  .stats-label {
    font-size: 0.6875rem !important;
  }
}

/* ── Section headings global mobile ── */
@media (max-width: 480px) {
  .section-heading h2,
  .section-title {
    font-size: clamp(1.625rem, 8vw, 2.25rem) !important;
  }

  .section-heading p,
  .section-heading > p {
    font-size: 0.9375rem !important;
  }
}

/* ── CTA section ── */
@media (max-width: 480px) {
  .cta-box h2 {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }
}

/* ============================================================
   HOMEPAGE POPUPS (Risk Disclosure + Investor Apps)
   ============================================================ */

/* Shared overlay */
.hp-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hp-popup-overlay--hidden {
  display: none !important;
}

.hp-popup-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}
.hp-popup-box {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2.25rem 2rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hp-popup-overlay--visible .hp-popup-box {
  transform: translateY(0);
}
.hp-popup-title {
    font-family: var(--font-display);
    font-size: 2.625rem !important;    font-weight: 700;
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 2.5rem !important;
}
.hp-popup-body p {
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.875rem;
}

.hp-popup-body .hp-risk-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.hp-risk-icon {
  flex-shrink: 0;
  display: block;
}

.hp-risk-point span {
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.hp-popup-study {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}

.hp-popup-study a {
  color: #2563eb;
  font-size: 0.8125rem;
  word-break: break-all;
  text-decoration: underline;
}

.hp-popup-close-btn {
  display: block;
  margin: 1.25rem auto 0;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.hp-popup-close-btn:hover {
  background: var(--brand-accent);
  transform: scale(1.03);
}

/* Inside invest popup — sits in flex row, no extra margin */
.hp-invest-actions .hp-popup-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  background: #1e293b;
}

.hp-invest-actions .hp-popup-close-btn:hover {
  background: var(--brand-accent);
}

/* Popup 2 — Invest App */
.hp-popup-box--invest {
  max-width: 760px;
  padding: 2rem 2.5rem 1.75rem;
}

.hp-popup-x {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.hp-popup-x:hover { color: #0f172a; }


.hp-popup-subtitle {
  text-align: center;
  color: #475569;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Apps row */
.hp-apps-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.hp-app-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hp-app-divider {
  width: 1px;
  background: #e2e8f0;
  align-self: stretch;
}

.hp-app-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  width: 100%;
  justify-content: center;
}

.hp-app-logo-wrap strong {
  font-size: 1.125rem;
  font-weight: 800;
  display: block;
}

.hp-app-logo-wrap small {
  font-size: 0.6rem;
  color: #64748b;
  display: block;
  line-height: 1.3;
}

.hp-app-logo-cdsl .hp-app-logo-diamond {
  font-size: 1.5rem;
  color: #003087;
}

.hp-app-logo-cdsl strong { color: #003087; }

.hp-app-logo-nsdl .hp-app-logo-circle {
  font-size: 1.25rem;
  color: #e07b00;
}

.hp-app-logo-nsdl strong { color: #1a1a1a; }

/* ACF logo image in investor card */
.hp-inv-logo-img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  display: block;
}

.hp-app-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1e293b;
  margin: 0;
  text-align: center;
}

/* App store buttons */
.hp-store-btns {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
}

.hp-store-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.3;
  transition: background 0.2s;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}

.hp-store-btn:hover { background: #1e293b; }
.hp-store-btn strong { font-size: 0.8125rem; }

/* Features list — 2-column grid */
.hp-popup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
}

.hp-popup-features li {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hp-feat-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Download button */
.hp-invest-actions {
  display: flex;
  gap: 0.75rem;
  margin: 0 auto 0.75rem;
  max-width: 480px;
}

.hp-download-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.hp-download-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hp-popup-tagline {
  text-align: center;
  color: #64748b;
  font-size: 0.9375rem;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 520px) {

  /* Overlay — center on mobile */
  .hp-popup-overlay {
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
  }

  /* Popup box */
  .hp-popup-box {
    padding: 1.5rem 1.125rem 1.25rem;
    border-radius: 1.25rem;
    max-height: 90vh;
    overflow-x: hidden;
  }

  /* Invest popup override */
  .hp-popup-box--invest {
    padding: 1.375rem 1rem 1.25rem;
  }

  /* Title smaller */
  .hp-popup-title {
    font-size: 1.625rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
  }

  /* Subtitle */
  .hp-popup-subtitle {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }
  .hp-popup-features li {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

    .hp-apps-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

  /* Hide vertical divider when stacked */
  .hp-app-divider {
    display: none;
  }

  /* Store buttons stay side-by-side */
  .hp-store-btns {
    flex-direction: row;
    gap: 0.375rem;
  }

  .hp-store-btn {
    padding: 0.45rem 0.5rem;
    font-size: 0.625rem;
  }

  .hp-store-btn strong {
    font-size: 0.75rem;
  }

  /* Features single column */
  .hp-popup-features {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .hp-popup-features li {
    font-size: 0.8125rem;
  }

  /* Download button */
  .hp-download-btn {
    font-size: 0.9375rem;
    padding: 0.8rem 1.5rem;
  }

  /* Tagline */
  .hp-popup-tagline {
    font-size: 0.8125rem;
  }

  /* X close button */
  .hp-popup-x {
    top: 0.75rem;
    right: 0.75rem;
  }
  .footer-bottom {

        flex-direction: column-reverse!important;

    }
    .footer-attention-list li {
    font-size: 14px;
    color: #64748b;
    line-height: 1.75;
    font-weight: 400;
    padding-left: 0.25rem;
}
.footer-disclaimer-list li {
    font-size: 14px;
    color: #475569;
    line-height: 1.75;
    padding: 0.275rem 0 0.275rem 1.1rem;
    position: relative;
}
}

/* ============================================================
   ANIMATIONS — GSAP AOS SPEED BOOST
   ============================================================ */
/* Make data-aos elements not flash before JS loads */
[data-aos] {
  opacity: 0;
}
[data-aos].aos-animate {
  opacity: 1;
}

.faq-question {
  padding: 25px 35px;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  color: black;
  text-transform: capitalize;
  justify-content: space-between;
  align-items: center;
}

.service-faq-section br {
  display: none;
}

/* ===== Homepage Infrastructure Section ===== */
.hp-infra-section {
  padding: 80px 0;
  background: #fff;
}
.hp-infra-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hp-infra-text {
  flex: 1;
}
.hp-infra-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #0a0a0a;
  margin-bottom: 20px;
}
.hp-infra-color {
  color: #1a6bff;
}
.hp-infra-sub {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.hp-infra-body {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hp-infra-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hp-infra-img {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
}
.hp-infra-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hp-infra-inner {
    flex-direction: column;
    gap: 32px;
  }
  .hp-infra-title {
    font-size: 28px;
  }
}

#nav-logo-img, .nav-logo-img.large, .nav-logo-img.small {
  width: 160px !important;
  height: 60px !important;
}
/* Infrastructure hero middle-left */
.infra-page-hero {
  align-items: center !important;
  justify-content: flex-start !important;
}
.infra-page-hero .hero-inner {
  text-align: left !important;
  margin: 0 !important;
}
.infra-page-hero .infra-hero-desc {
  margin: 30px 0 0 !important;
}