/* ... append to styles.css ... actually let's just rewrite the whole thing for simplicity since it's short so far, or I can use multi_replace. Let me rewrite the whole file */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  /* Colors */
  --bg-color: #040F0E; /* Secondary dark */
  --surface-color: #16191e;
  --surface-light: #1c2026;
  --primary-green: #02BD56; /* Brand CTA green */
  --teal-accent: #6CEAD1;
  --mid-green: #00715B;
  --primary-green-glow: rgba(2, 189, 86, 0.2);
  --primary-green-glow-strong: rgba(2, 189, 86, 0.4);
  --text-main: #ffffff;
  --text-muted: #8b929c;
  --border-color: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-family: 'Mulish', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Layout */
  --container-width: 1440px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 25px;
  --border-radius-pill: 300px;

  /* Shadows */
  --shadow-card: 0 8px 24px rgba(0,0,0,0.45);
  --shadow-hero-glow: 0 0 32px rgba(2,189,86,0.35);
  
  /* Transitions */
  --transition-fast: 0.14s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-normal: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  /* large radial glow starts far from hero boundary → levels out smoothly */
  background-image:
    radial-gradient(ellipse 85% 55% at 50% 38%, rgba(0, 70, 35, 0.22) 0%, transparent 100%),
    linear-gradient(to bottom, #000000 0%, var(--bg-color) 1000px);
  background-repeat: no-repeat;
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 55px;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 800px;
}

h3 {
  font-size: 36px;
  max-width: 700px;
}

.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, var(--primary-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary-green);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-green-glow);
}

.btn-primary:hover {
  background: #36d366;
  box-shadow: 0 6px 24px var(--primary-green-glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-text {
  background: transparent;
  color: var(--text-main);
  padding: 8px 16px;
}

.btn-text:hover {
  color: var(--primary-green);
}

/* Risk Warning */
.risk-warning {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding: 12px 48px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  z-index: 99999;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.risk-warning.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.risk-warning:hover {
  background: rgba(0, 0, 0, 0.8);
}

.risk-warning-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.risk-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.risk-icon svg,
.risk-icon svg path,
.risk-icon svg line {
  fill: none !important;
  background: transparent !important;
}

.risk-text-container {
  flex-grow: 1;
  text-align: left;
  min-width: 0;
}

.risk-text-container p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.risk-warning a {
  color: #6CEAD1;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.risk-warning a:hover {
  color: #fff;
}

.risk-chevron {
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
}

.risk-warning.is-expanded .risk-chevron {
  transform: rotate(180deg);
}

/* Железобетонная обрезка в 1 строку */
.risk-text-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Разрешаем перенос строк при клике */
.risk-warning.is-expanded .risk-text-content {
  white-space: normal;
}

/* Hero Wrapper */
.hero-wrapper {
  margin-top: 2px;
  background-color: var(--bg-color); /* matches canvas dark base - no flash before canvas renders */
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px; /* Space for bottom bar */
  min-height: 720px;
  transition: border-radius var(--transition-normal);
}

@media (max-width: 1488px) {
  .hero-wrapper {
    margin-left: 24px;
    margin-right: 24px;
  }
}

@media (max-width: 1200px) {
  .hero-wrapper {
    margin-left: 8px;
    margin-right: 8px;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 24px;
  }
}

/* Generative Gradient Canvas */
.hero-gradient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}

/* Custom Cursor Dot */
.custom-cursor-dot {
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 6px;
  background: #00ff66; /* Bright green */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 10px #00ff66, 0 0 20px #00ff66;
}

/* Custom Cursor Ring */
.custom-cursor-ring {
  position: absolute;
  top: 0; left: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #00ff66; /* Bright green */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.4), inset 0 0 8px rgba(0, 255, 102, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-icon {
  width: 14px;
  height: 14px;
  color: #00ff66;
  opacity: 0;
  transition: opacity 0.2s ease;
}

@keyframes cursorRipple {
  0% { width: 24px; height: 24px; border-color: rgba(0, 255, 102, 0.9); background-color: rgba(0, 255, 102, 0.2); }
  100% { width: 64px; height: 64px; border-color: rgba(0, 255, 102, 0); background-color: rgba(0, 255, 102, 0); }
}

@keyframes cursorPulse {
  0% { width: 32px; height: 32px; border-color: rgba(0, 255, 102, 0.8); }
  50% { width: 40px; height: 40px; border-color: rgba(0, 255, 102, 0.3); }
  100% { width: 32px; height: 32px; border-color: rgba(0, 255, 102, 0.8); }
}

@keyframes arrowFly {
  0% { transform: translate(-6px, 6px); opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(6px, -6px); opacity: 0; }
}

/* 1. Standard Cursor Hover (all interactives) -> Slight pulse */
.hero-wrapper:has(a:hover, button:hover) .custom-cursor-dot {
  width: 0px;
  height: 0px;
  opacity: 0;
}

.hero-wrapper:has(a:hover, button:hover) .custom-cursor-ring {
  animation: cursorPulse 1.5s infinite ease-in-out;
  background: rgba(0, 255, 102, 0.05);
}

/* 2. CTA specific Cursor Hover (elements that navigate) -> Sonar Ripple + Flying Arrow */
.hero-wrapper:has(.btn-new:hover, .hero-tab.active:hover, .btn-store:hover) .custom-cursor-ring {
  animation: cursorRipple 1s infinite ease-out;
  background: transparent;
}

.hero-wrapper:has(.btn-new:hover, .btn-store:hover) .custom-cursor-ring {
  animation: cursorRipple 1s infinite ease-out;
  background: transparent;
}

.header-new {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
}

.nav-links-new {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 10px 0; /* Add padding to increase hover area */
}

.nav-item > a,
.nav-links-new > a {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.nav-item > a:hover,
.nav-links-new > a:hover,
.nav-item.has-dropdown:hover > a {
  color: var(--primary-green);
}

.nav-item > a svg {
  margin-top: 2px;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-item.has-dropdown:hover > a svg {
  transform: rotate(180deg);
  opacity: 1;
}

/* Desktop Dropdown Styles */
.desktop-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  
  /* Непрозрачная подложка внутри */
  background-color: #0f1115; /* Темный солидный цвет */
  background-clip: padding-box; /* Ограничиваем фон, чтобы он не залезал под рамку */
  
  /* Толстая "стеклянная" рамка */
  border: 6px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  /* Скругление */
  border-radius: 24px;
  padding: 26px 34px; /* Чуть скорректировал паддинги с учетом толщины рамки */
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Двойной контур (тонкая обводка снаружи + тень) */
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.08), /* Самый внешний тонкий светлый контур */
    inset 0 1px 0 rgba(255, 255, 255, 0.05), /* Едва заметный блик внутри непрозрачной зоны */
    0 30px 60px rgba(0, 0, 0, 0.5); /* Внешняя тень */
    
  z-index: 100;
  pointer-events: none;
  will-change: transform, opacity;
}

.nav-item.has-dropdown:hover .desktop-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.desktop-dropdown .nav-group-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 0;
}

.desktop-dropdown .nav-group {
  flex: 1;
}

.desktop-dropdown .nav-group h4 {
  font-size: 11px;
  color: #00715B; /* Dark muted green */
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-dropdown .nav-group a {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8); /* 80% opacity white */
  text-decoration: none;
  margin-bottom: 12px;
  padding: 4px 0; /* better click area */
  text-transform: uppercase;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.desktop-dropdown .nav-group a:last-child {
  margin-bottom: 0;
}

.desktop-dropdown .nav-group a:hover {
  color: #02BD56; /* CTA Green */
  transform: translateX(4px);
}

/* Mega Menu Specifics */
.desktop-dropdown.mega-menu {
  width: max-content; /* Auto width based on columns to prevent wrapping */
  min-width: 720px; 
}

.desktop-dropdown .overview-group {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 48px;
  margin-left: 16px;
  max-width: 300px;
}

.desktop-dropdown .overview-heading {
  color: #00715B;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.desktop-dropdown .overview-group p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5); /* muted text */
  line-height: 1.5;
  margin-bottom: 24px;
  text-transform: none; /* not caps */
}

.desktop-dropdown .overview-link {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.desktop-dropdown .overview-link:hover {
  color: #02BD56;
  transform: translateX(4px);
}

.desktop-dropdown .overview-link svg {
  color: #02BD56; /* explicit green arrow */
}


.header-actions-new {
  display: flex;
  align-items: center;
  gap: 24px;
}

.login-link {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.login-link:hover {
  color: var(--primary-green);
}

.btn-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-width: 136px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.btn-new .btn-text {
  padding: 0;
  color: inherit;
  transition: color 0.3s ease;
}

.btn-new .btn-chevron {
  margin-right: 8px;
  transition: all 0.3s ease;
}

/* Green Button */
.btn-green {
  background: #02BD56;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35); /* Premium light stroke */
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 16px rgba(2, 189, 86, 0.3); /* Expensive glow */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn-green::before {
  content: '';
  position: absolute;
  width: 250%;
  padding-bottom: 250%; /* Сохраняем пропорции круга (aspect-ratio) */
  background: #fff;
  border-radius: 50%;
  left: 27px; /* Centered with chevron */
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-green:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-green:hover {
  color: #043A2E;
  border-color: #fff;
}

.btn-green .btn-text, .btn-green .btn-arrow {
  position: relative;
  z-index: 1;
}

.btn-green .btn-chevron {
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.btn-green:hover .btn-chevron {
  opacity: 0;
}

.btn-green .btn-arrow,
.btn-outline-dark .btn-arrow {
  margin-left: 0;
  width: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-green:hover .btn-arrow,
.btn-outline-dark:hover .btn-arrow {
  margin-left: 8px;
  width: 16px;
  opacity: 1;
  transform: translateX(0);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-dark::before {
  content: '';
  position: absolute;
  width: 250%;
  padding-bottom: 250%;
  background: #fff;
  border-radius: 50%;
  left: 27px; /* Centered with chevron */
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-outline-dark:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-outline-dark:hover {
  color: #040F0E; /* Dark text on white hover background */
  border-color: #fff;
}

.btn-outline-dark .btn-chevron,
.btn-outline-dark .btn-text {
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.btn-outline-dark:hover .btn-chevron {
  opacity: 0;
}

/* Nav Outline Button */
.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-nav-outline:hover {
  background: #fff;
  border-color: #fff;
  color: #0F0E0E;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  z-index: 5;
  height: 400px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 40px 40px 0 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.hero-slide-left {
  max-width: 580px;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease 0.1s, opacity 0.6s ease 0.1s;
}

.hero-slide.active .hero-slide-left {
  transform: translateY(0);
  opacity: 1;
}

.badge-new {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: #aaa;
}

.hero-title-new {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-subtitle-new {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.6;
}

.hero-buttons {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.hero-slide-right {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  transform: translateX(40px);
  opacity: 0;
  transition: transform 0.6s ease 0.2s, opacity 0.6s ease 0.2s;
}

.hero-slide.active .hero-slide-right {
  transform: translateX(0);
  opacity: 1;
}

.hero-slide-image {
  width: 100%;
  max-width: 680px;
  object-fit: contain;
  margin-top: -40px;
  z-index: 1;
}

/* Specific styling for the first slide (Awards) */
.hero-slide[data-index="0"] .hero-slide-right {
  position: static;
}

.hero-slide[data-index="0"] .hero-slide-image {
  position: absolute;
  bottom: -116px;
  right: 0;
  width: 560px;
  height: 560px;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

/* Specific styling for the fifth slide (Partners) */
.hero-slide[data-index="4"] .hero-slide-right {
  position: static;
}

.hero-slide[data-index="4"] .hero-slide-image {
  position: absolute;
  bottom: -160px;
  right: -80px;
  width: 560px;
  height: 560px;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

/* Slider Nav inside Hero */
.hero-slider-nav {
  position: absolute;
  right: 40px;
  bottom: 100px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.slider-count {
  font-size: 14px;
  color: #888;
  letter-spacing: 1px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Bottom: full-width tab strip. The active tab is "carved out" of the
   slide — the canvas gradient (drawn behind) shows through it, so it reads as a
   green peninsula of the slide. Inactive tabs are dark cards drawn on top. */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  display: flex;
  z-index: 10;
  background: transparent;
}

/* Container for tabs */
.hero-tabs-container {
  flex: 1;
  display: flex;
  gap: 8px;
  background: transparent;
  position: relative;
}

/* Tab buttons area */
.hero-tab {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color var(--transition-normal), background var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
}

/* Inactive tab: bottom stroke pill, always visible */
.hero-tab::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  border-radius: 0 0 18px 18px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  pointer-events: none;
  z-index: 1;
  transition: border-color var(--transition-normal);
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12px);
}

/* Vertical separator — right edge of every tab except last */
.hero-tab::after {
  display: none;
}

/* Hide separator: last tab, active tab's right edge, tab immediately before active */
.hero-tab:last-child::after,
.hero-tab.active::after,
.hero-tab.before-active::after {
  opacity: 0;
}

/* ====== HOVER STATE: radial glow from bottom + green bottom stroke ====== */
.hero-tab:not(.active):hover {
  color: rgba(255, 255, 255, 0.9);
  background: radial-gradient(ellipse at 50% 105%, rgba(0, 200, 83, 0.12) 0%, transparent 70%);
}

.hero-tab:not(.active):hover::before {
  border-color: #00C853;
  background: transparent;
}

/* ====== ACTIVE STATE: part of the slide (gradient shows through) ====== */
.hero-tab.active {
  color: #FFFFFF;             /* light text on dark generative background */
  font-weight: 800;
  z-index: 5;
}

/* Hide bottom stroke on active tab — it's part of the slide */
.hero-tab.active::before {
  display: none;
}

.tab-label {
  position: relative;
  white-space: nowrap;
}

/* Arrow CTA: hidden on inactive tabs, revealed on the active tab.
   Acts as the slide's CTA repeated on the tab. */
.tab-cta {
  width: 0;
  height: 24px;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
  transition: width var(--transition-normal), opacity var(--transition-normal), transform var(--transition-fast);
}

.hero-tab.active .tab-cta {
  width: 24px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-tab.active:hover .tab-cta {
  transform: translate(2px, -2px);
}

.tab-cta svg circle {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1px;
  transition: fill var(--transition-fast), stroke var(--transition-fast);
}

.tab-cta svg path {
  stroke: #FFFFFF;
}

.hero-tab.active:hover .tab-label {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.hero-tab.active:hover .tab-cta svg circle {
  fill: #00C853; /* bright green for active hover */
  stroke: #00C853;
}

/* ====== LIFETIME INDICATOR: thin strip along the bottom edge of the active tab ====== */
.tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12px);
  container-type: inline-size;
}

.tab-progress::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  border: 2px solid rgba(255, 255, 255, 0.15); /* Light track for dark background */
  border-top: none;
  border-radius: 0 0 18px 18px;
  box-sizing: border-box;
}

/* Lifetime bar only shows under the active (green) tab */
.hero-tab.active .tab-progress {
  opacity: 1;
}

.tab-progress-fill {
  position: absolute;
  bottom: 0; left: 0; top: 0;
  width: 0%;
  overflow: hidden;
  border-radius: 0 0 0 18px;
  background: transparent;
}

.tab-progress-fill::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; top: 0;
  width: 100cqw;
  border: 2px solid #00C853; /* Bright active green preloader */
  border-top: none;
  border-radius: 0 0 18px 18px;
  box-sizing: border-box;
}


/* Fix for the outermost tabs getting clipped by the wrapper's 24px border-radius */
.hero-tab:first-child::before,
.hero-tab:first-child .tab-progress::before,
.hero-tab:first-child .tab-progress-fill::after {
  border-bottom-left-radius: 24px;
}
.hero-tab:first-child .tab-progress-fill {
  border-bottom-left-radius: 24px;
}

.hero-tab:last-child::before,
.hero-tab:last-child .tab-progress::before,
.hero-tab:last-child .tab-progress-fill::after {
  border-bottom-right-radius: 24px;
}



/* CTAs inside the Flap */
.flap-ctas {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2;
  padding: 0 16px;
  width: 100%;
  justify-content: center;
}

.btn-flap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-flap .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}

.btn-flap-primary {
  background: #fff;
  color: #000;
}

.btn-flap-primary .dot {
  background: var(--primary-green);
}

.btn-flap-outline {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #fff;
}

.btn-flap-outline .dot {
  background: #fff;
}

.flap-cta-text {
  transition: opacity 0.2s;
}

/* Flap Progress Bar */
.flap-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
}

.flap-progress-fill {
  height: 100%;
  background: #fff;
  width: 0%;
}

/* Stats Section */
.stats {
  padding: 60px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: linear-gradient(145deg, var(--surface-light) 0%, var(--surface-color) 100%);
  border: 1px solid rgba(46, 189, 89, 0.1);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 189, 89, 0.3);
}

.stat-card h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #fff 0%, #a0a5aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease backwards;
}

/* Philosophy Section */
.philosophy {
  padding: 140px 0;
  position: relative;
  background-color: var(--bg-color);
}

.philosophy-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: url('images/GRID-BG.svg') center bottom / 100% auto no-repeat fixed;
  opacity: 0.6;
  border-radius: 0 0 100px 100px;
}

.philosophy-bg {
  width: 100%;
  height: 100%;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.philosophy-container {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.philosophy-sticky-left {
  flex: 1;
  position: sticky;
  top: 120px;
}

.philosophy-scroll-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.philosophy-text {
  max-width: 480px;
}

.philosophy-text .phil-logo {
  margin-bottom: 30px;
}

.philosophy-text h2 {
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.philosophy-text p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 400px;
}

.phil-card {
  height: 440px;
  background: linear-gradient(135deg, rgba(16, 20, 24, 0.95) 0%, rgba(6, 28, 15, 0.5) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 24px 48px rgba(0,0,0,0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phil-card:hover {
  background: linear-gradient(135deg, rgba(22, 28, 34, 0.95) 0%, rgba(6, 38, 20, 0.7) 100%);
  border-color: rgba(2, 189, 86, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.8), 0 0 40px rgba(2, 189, 86, 0.15);
}

.phil-card-content {
  position: relative;
  z-index: 2;
  max-width: 65%;
}

.phil-card h3 {
  margin-bottom: 16px;
  color: #fff;
}

.phil-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.5;
}

.phil-card-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: 70%;
  max-width: 80%;
  z-index: 1;
  object-fit: contain;
  transition: all 0.4s ease;
}

.phil-card-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 15%, rgba(2, 189, 86, 0.4) 0%, rgba(6, 28, 15, 0.95) 70%);
  padding: 56px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.phil-card-hover h3 {
  margin-bottom: 16px;
  color: #02BD56;
  max-width: 65%;
}

.phil-card-hover p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.5;
  max-width: 65%;
}

.phil-card-action {
  position: absolute;
  bottom: 56px;
  left: 56px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 12;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-decoration: none;
  box-sizing: border-box;
}

.phil-card-action::before {
  content: '';
  position: absolute;
  width: 250%;
  padding-bottom: 250%;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.phil-card:hover .phil-card-action::before {
  transform: translate(-50%, -50%) scale(1);
}

.phil-card:hover .phil-card-action {
  width: 144px;
  border-color: #fff;
}

.phil-card-action .icon-wrap {
  min-width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.phil-card-action .icon-wrap svg {
  width: 8px;
  height: 8px;
}

.phil-card:hover .phil-card-action .icon-wrap {
  color: #040F0E;
}

.phil-card-action .btn-text {
  opacity: 0;
  max-width: 0;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.phil-card:hover .phil-card-action .btn-text {
  opacity: 1;
  max-width: 120px;
  padding-left: 12px;
  padding-right: 4px;
  color: #040F0E;
}

.phil-card:hover .phil-card-hover {
  opacity: 1;
  visibility: visible;
}

.phil-card:hover .phil-card-content,
.phil-card:hover .phil-card-img {
  opacity: 0;
  visibility: hidden;
}

.phil-scroll-nav {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.phil-scroll-nav li {
  position: relative;
  color: #666;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  cursor: pointer;
  padding-left: 36px;
}

.phil-scroll-nav li .nav-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phil-scroll-nav li.active .nav-icon {
  opacity: 1;
}

.phil-scroll-nav li.active {
  color: #fff;
}

.phil-scroll-nav li:hover {
  color: #02BD56;
}

.phil-card::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at 50% 50%, rgba(2, 189, 86, 0.15), transparent 25%);
  mix-blend-mode: screen;
  animation: card-spot 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.phil-card:nth-child(1)::after { animation-delay: 0s; }
.phil-card:nth-child(2)::after { animation-delay: -3s; }
.phil-card:nth-child(3)::after { animation-delay: -7s; }

@keyframes card-spot {
  0% { transform: translate(0%, 0%) scale(0.8); }
  50% { transform: translate(10%, 15%) scale(1.2); }
  100% { transform: translate(-10%, -10%) scale(1); }
}

.newsletter-cta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 60px 0;
  margin-bottom: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
  flex: 1;
  max-width: 440px;
}

.newsletter-title h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.2;
}

.newsletter-desc p {
  font-size: 15px;
  color: #b0c4bf;
  margin: 0;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  justify-content: flex-end;
}

.newsletter-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 6px;
  padding-left: 20px;
  width: 100%;
  max-width: 440px;
  transition: all 0.3s ease;
}

.newsletter-input-group .mail-icon {
  color: #72d2be;
  margin-right: 12px;
  flex-shrink: 0;
}

.newsletter-input-group:focus-within {
  background: rgba(255, 255, 255, 0.05);
  border-color: #55c3ad;
  box-shadow: 0 0 0 4px rgba(85, 195, 173, 0.15);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.newsletter-input::placeholder {
  color: #6b807a;
}

.btn-subscribe {
  padding: 12px 32px;
  border-radius: 100px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .newsletter-cta {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .newsletter-title h3 {
    font-size: 28px;
  }
  .newsletter-form {
    justify-content: center;
  }
  .philosophy-container {
    flex-direction: column;
    gap: 80px;
  }
  .philosophy-sticky-left {
    position: static;
  }
  .phil-card {
    height: auto;
    padding: 24px;
  }
  .phil-card-img {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 20px;
    align-self: flex-end;
    width: 60%;
    height: auto;
  }
  .phil-card-content {
    max-width: 100%;
  }
  .newsletter-cta {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 32px 0;
    margin-bottom: 32px;
    gap: 24px;
  }
  .newsletter-form {
    width: 100%;
    justify-content: center;
  }
} /* Close media query */

/* Static Grid Layout (Main Page) */
.fintech-stats-grid.static-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* Base Card Styling (Rich & Luxurious) */
.fintech-stat-card {
  background: linear-gradient(145deg, rgba(20, 30, 25, 0.8) 0%, rgba(10, 15, 12, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(2, 189, 86, 0.3);
  border-radius: 24px;
  padding: 48px 40px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  z-index: 2;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), inset 0 2px 10px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  will-change: transform;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fintech-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 2px 15px rgba(2, 189, 86, 0.1);
  border-top-color: rgba(2, 189, 86, 0.8);
}

.fintech-stat-card .counter {
  font-size: 56px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px 0 10px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.fintech-stat-card p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}



/* Fintech Stats Section */
.fintech-stats {
  padding: 160px 0 100px;
  position: relative;
  background: var(--bg-color);
  /* overflow: hidden; removed to fix position: sticky */
}

.fintech-stats-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* Top Grid Layout */
.fintech-stats-grid {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: center;
  position: relative;
}

.fintech-stat-center {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.fintech-stat-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(2, 189, 86, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* Let's simulate the faint grid behind the logo */
.fintech-stat-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  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: 20px 20px;
  z-index: 0;
  mask-image: radial-gradient(circle, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
}

.fintech-stat-logo {
  position: relative;
  z-index: 1;
  width: 300px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(2, 189, 86, 0.4));
}

/* ─── Radius-mask Transition: Philosophy bottom edge ─── */
.philosophy {
  border-radius: 0 0 100px 100px;
  z-index: 2;
  padding-bottom: 180px;
}

/* Glowing bottom edge */
.philosophy::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 0 100px 100px;
  border-bottom: 1px solid rgba(2, 189, 86, 0.25);
  border-left: 1px solid rgba(2, 189, 86, 0.12);
  border-right: 1px solid rgba(2, 189, 86, 0.12);
  box-shadow:
    0 4px 30px rgba(2, 189, 86, 0.06),
    inset 0 -2px 20px rgba(2, 189, 86, 0.03);
  pointer-events: none;
  z-index: 3;
}

/* Utility to pull the next section's background under the rounded corners */
.overlap-top-radius {
  margin-top: -100px;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

/* Responsive: smaller radius on mobile */
@media (max-width: 768px) {
  .philosophy {
    border-radius: 0 0 48px 48px;
    padding-bottom: 120px;
  }
  .philosophy::after,
  .philosophy-bg-wrap {
    border-radius: 0 0 48px 48px;
  }
  .overlap-top-radius {
    margin-top: -48px;
    padding-top: 48px;
  }
}



.fintech-scroll-container {
  height: 150vh;
  position: relative;
}

.fintech-sticky-content {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fintech-stat-card {
  background: rgba(16, 24, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 48px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  min-width: 320px;
  overflow: hidden;
  /* Will-change for smoother animation */
  will-change: transform;
}

/* Continuous sweeping shimmer effect across the glass */
.fintech-stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: skewX(-20deg);
  animation: shimmerSweep 6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.fintech-stat-card h3 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(270deg, #ffffff, #02bd56, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientPan 4s infinite linear;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@keyframes textGradientPan {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.fintech-stat-card p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Entrance Animations */
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFade 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

/* Positioning */
.card-1 { grid-column: 1; grid-row: 1; justify-self: center; }
.card-2 { grid-column: 3; grid-row: 1; justify-self: center; }
.card-3 { grid-column: 1; grid-row: 2; justify-self: center; }
.card-4 { grid-column: 3; grid-row: 2; justify-self: center; }

/* Growth Layout */
.fintech-growth-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  position: relative;
  margin-top: 40px;
}

.growth-left {
  flex: 1.2;
  position: relative;
}

.growth-right {
  flex: 0.8;
  position: relative;
  transform: translateY(-40px);
}

.growth-img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.main-img {
  height: 400px;
  border: 1px solid rgba(255,255,255,0.03);
}

.sub-img {
  height: 320px;
  border: 1px solid rgba(255,255,255,0.03);
}

.growth-text {
  margin-top: 40px;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .growth-text br {
    display: none;
  }
}

.growth-text h3 {
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.growth-text p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .fintech-cards-wrapper {
    flex-wrap: wrap;
    padding: 0 40px;
  }
  .logo-spacer {
    display: none;
  }
  .fintech-stats-grid.static-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .fintech-growth-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .growth-text h3 {
    font-size: 2rem;
  }
  .fintech-cards-wrapper {
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }
  .fintech-scroll-container {
    height: 350vh; /* more scroll space for mobile since items stack taller */
  }
  .fintech-stats-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
  }
  .fintech-stat-center {
    grid-column: 1 / 3;
    grid-row: 1;
    justify-self: center;
    margin-bottom: 16px;
  }
  .card-1 { grid-column: 1; grid-row: 2; justify-self: center; }
  .card-2 { grid-column: 2; grid-row: 2; justify-self: center; }
  .card-3 { grid-column: 1; grid-row: 3; justify-self: center; }
  .card-4 { grid-column: 2; grid-row: 3; justify-self: center; }
  .fintech-stat-card {
    padding: 48px 32px;
  }
  .fintech-stat-card .counter {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .fintech-scroll-container {
    height: auto !important;
  }
  .fintech-sticky-content {
    position: relative;
    height: auto;
    overflow: visible;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .fintech-stats-grid,
  .fintech-stats-grid.static-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .fintech-stat-center,
  .card-1, .card-2, .card-3, .card-4 {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }
  .fintech-stat-card {
    padding: 32px 24px;
    max-width: 100%;
  }
  .fintech-growth-layout {
    flex-direction: column;
  }
  .growth-right {
    transform: none;
    margin-top: 20px;
  }
  .main-img, .sub-img {
    height: auto;
  }
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: #010101;
}

.pricing .section-title {
  margin-bottom: 48px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}

.intelligence-header .section-title {
  margin-left: 0;
  text-align: left;
}

.pricing-module-container {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-header-new {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-banner-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  margin-top: 48px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pricing-banner-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pricing-banner-secondary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.pricing-banner-secondary:hover svg {
  transform: translateX(4px);
}

.pricing-container-new {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.pricing-card-new {
  flex: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.pricing-card-new:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.pricing-card-new.highlight {
  background: linear-gradient(145deg, rgba(16, 49, 39, 0.8) 0%, rgba(11, 34, 28, 0.9) 100%);
  border: 1px solid #4eb8a1;
  box-shadow: 0 16px 48px rgba(78, 184, 161, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-container-new > .pricing-card-new:first-child {
  background: radial-gradient(circle at bottom right, rgba(85, 195, 173, 0.20) 0%, transparent 70%), linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.pricing-container-new > .pricing-card-new:last-child {
  background: radial-gradient(circle at bottom left, rgba(85, 195, 173, 0.20) 0%, transparent 70%), linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.pricing-badge-new {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #72d2be;
  color: #0b221c;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title-new {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  color: #fff;
}

.card-desc-new {
  font-size: 15px;
  line-height: 1.5;
  color: #b0c4bf;
  margin-bottom: 32px;
  min-height: 48px;
}

.btn-new-style {
  display: block;
  width: 100%;
  padding: 14px 0;
  text-align: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  margin-bottom: 40px;
}

.btn-light {
  background-color: #ffffff;
  color: #0d2720;
}

.btn-light:hover {
  background-color: #f0f0f0;
}

.btn-teal {
  background-color: #55c3ad;
  color: #0d2720;
}

.btn-teal:hover {
  background-color: #63d3bc;
}

.features-list-new {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.feature-item-new {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: #e0e9e7;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-item-new:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-item-new svg {
  width: 18px;
  height: 18px;
  color: #55c3ad;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item-new span {
  color: #b0c4bf;
  margin-right: auto;
}

.feature-item-new strong {
  color: #fff;
  font-weight: 600;
}

/* Toolkit Section */
.toolkit {
  padding: 100px 0;
  text-align: center;
}

.toolkit-header p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 60px;
}

/* Toolkit Tabs & Layout */
.app-frame {
  width: 300px;
  height: 600px;
  border-radius: 40px;
  border: 8px solid #2a2e35;
  background: #000;
  padding: 16px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px var(--primary-green-glow);
  margin: 0 auto;
}

.app-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: var(--surface-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-header {
  padding: 20px;
  font-weight: 700;
  color: var(--primary-green);
  border-bottom: 1px solid var(--border-color);
}

.app-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-card {
  height: 80px;
  border-radius: 12px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
}

.app-card:nth-child(1) { background: linear-gradient(90deg, rgba(46,189,89,0.2), var(--surface-color)); }

.toolkit-tabs-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.toolkit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.toolkit-tab {
  background: var(--surface-light);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 12px 24px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.toolkit-tab:hover {
  background: var(--surface-color);
  color: #fff;
}

.toolkit-tab.active {
  background: rgba(46,189,89,0.1);
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.toolkit-panel {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  text-align: left;
  padding: 20px 0;
}

.toolkit-panel.active {
  display: grid;
  animation: fadeIn 0.4s ease forwards;
}

.toolkit-panel-content h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #fff;
}

.toolkit-panel-content p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .toolkit-panel {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}


/* Intelligence Section */
.intelligence {
  padding: 100px 0;
  background: linear-gradient(135deg, #021a12 0%, #010a07 100%);
}

.news-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  padding-bottom: 24px;
  padding-top: 24px;
  margin-top: -24px;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.news-grid::-webkit-scrollbar {
  display: none;
}

.news-card {
  min-width: 320px;
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: var(--bg-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-green);
  box-shadow: 0 8px 32px rgba(2, 189, 86, 0.15);
}

.news-card:hover h4 {
  text-decoration: underline;
}

.news-card:hover .read-more {
  color: var(--primary-green);
}

.news-image {
  height: 200px;
  background: #2a2e35;
}

.news-image-tag {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-image.bg-1 { background: linear-gradient(45deg, #1a2a6c, #b21f1f, #fdbb2d); }
.news-image.bg-2 { background: linear-gradient(45deg, #2ebd59, #0d0f12); }
.news-image.bg-3 { background: linear-gradient(45deg, #434343, #000000); }

.news-content {
  padding: 32px;
}

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

.news-date {
  font-size: 12px;
  color: var(--text-muted);
}

.tag {
  font-size: 12px;
  color: var(--primary-green);

  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.news-content h4 {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.read-more {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-green);
}

/* MVSocial Banner */
.mvsocial-banner {
  background: #022b13; /* Dark green */
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mvsocial-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mvsocial-text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
}

.mvsocial-buttons {
  display: flex;
  gap: 16px;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 8px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.1);
}

.store-icon {
  width: 16px;
  height: 16px;
}

.qr-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.btn-store:hover .qr-icon {
  opacity: 1;
}

/* Footer */
.footer-new {
  background: transparent;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Figma gradient glow at the bottom of the footer */
.footer-new::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 500px;
  background: radial-gradient(ellipse at bottom, rgba(2, 189, 86, 0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.footer-new .container {
  position: relative;
  z-index: 1;
}

.footer-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  height: 90px;
  width: auto;
}

.footer-social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  min-width: 480px;
  max-width: 520px;
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
  box-shadow: 0 0 12px rgba(2, 189, 86, 0.2);
  transform: translateY(-2px);
}

.social-icon img,
.social-icon svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-support {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.footer-support:hover {
  color: #fff;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.footer-column {
  max-width: 240px;
}

.footer-column h5 {
  font-size: 12px;
  color: #00715B;
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
  text-decoration: none;
  opacity: 0.7;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--primary-green);
  opacity: 1;
}

.footer-bottom-section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  text-align: left;
  margin-bottom: 32px;
}

.footer-disclaimer p {
  margin-bottom: 16px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: var(--primary-green);
}

.separator {
  color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design & Mobile Menu */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 10001;
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.burger-line:nth-child(1) { top: 0; }
.burger-line:nth-child(2) { top: 11px; }
.burger-line:nth-child(3) { top: 22px; }

.burger-menu.is-active .burger-line:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
.burger-menu.is-active .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-menu.is-active .burger-line:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 400px;
  height: 100%;
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 120px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 5px 0 25px rgba(0,0,0,0.5);
}

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

.mobile-close {
  position: absolute;
  top: 72px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.3s;
}

.mobile-close:hover {
  color: var(--primary-green);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  text-align: left;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 0;
  cursor: pointer;
  transition: color 0.3s;
}

.accordion-header:hover, .accordion-item.is-active .accordion-header {
  color: var(--primary-green);
}

.accordion-icon {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.nav-group-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 8px 0 24px 0;
}

.nav-group h4 {
  font-size: 12px;
  color: var(--primary-green);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.nav-group a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-group a:last-child {
  margin-bottom: 0;
}

.nav-group a:hover {
  color: #fff;
}

.single-link {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 0;
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.single-link:hover {
  color: var(--primary-green);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
}

body.menu-open {
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
  .nav-links-new, .header-actions-new {
    display: none;
  }
  
  .burger-menu {
    display: block;
  }
  
  .hero-slider-nav {
    right: 50%;
    transform: translateX(50%);
    bottom: 24px;
    z-index: 20;
    color: #fff;
  }
  
  .hero-subtitle-new {
    max-width: 600px;
    margin: 0 auto;
  }

  .philosophy-text .phil-scroll-nav {
    grid-column: 2;
    grid-row: 1 / span 6;
    margin-top: 0;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    height: 100%;
    gap: 24px;
  }
  .phil-scroll-nav li {
    padding-left: 36px;
    justify-content: flex-start;
  }
  .phil-scroll-nav li .nav-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
  }
  
  .hero-slide {
    flex-direction: column;
    padding-top: 40px;
    text-align: center;
  }
  
  .hero-wrapper {
    overflow: hidden;
    padding-bottom: 80px;
    margin-bottom: 30px;
  }

  .hero-slide-left {
    max-width: 100%;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-slide-right {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.1 !important;
  }

  .hero-slide-image,
  .hero-slide[data-index="0"] .hero-slide-image,
  .hero-slide[data-index="4"] .hero-slide-image {
    position: static !important;
    max-width: 150% !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    bottom: auto !important;
    right: auto !important;
  }
  
  .hero-bottom {
    display: none;
  }
  
  .hero-tabs-container {
    padding-bottom: 20px;
  }
  
  .hero-tabs-container {
    min-width: 800px; /* Ensure scrolling */
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .philosophy-container {
    flex-direction: column;
  }
  
  .philosophy-sticky-left {
    position: static;
    width: 100%;
    height: auto;
    padding: 40px 0;
    text-align: left;
  }
  
  .philosophy-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    max-width: 100%;
  }
  
  .philosophy-text > * {
    grid-column: 1;
  }
  
  .philosophy-scroll-right {
    width: 100%;
    margin-top: 0;
  }
  
  .pricing {
    padding: 60px 0;
  }
  
  .pricing .section-title {
    margin-bottom: 40px;
  }
  
  .pricing-card-new {
    padding: 40px 24px;
  }
  
  .pricing-container-new {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .toolkit-features.grid-3 {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    display: grid;
    overflow-x: hidden;
    scroll-snap-type: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .news-card {
    min-width: 0;
    width: auto;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing {
    padding: 40px 0;
  }
  
  .pricing .section-title {
    margin-bottom: 32px;
  }
  
  .pricing-container-new {
    gap: 16px;
  }
  
  .pricing-card-new {
    padding: 32px 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mvsocial-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-header-row {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  
  .footer-social-wrapper {
    align-items: center;
    min-width: 100%;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .pricing {
    padding: 30px 0;
  }
  
  .pricing .section-title {
    margin-bottom: 24px;
  }
  
  .pricing-card-new {
    padding: 24px 16px;
  }
  
  .header-new {
    padding: 20px;
  }
  
  .hero-title-new {
    font-size: 40px !important;
  }
  
  .hero-slide-right {
    max-width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-copyright {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .newsletter-cta {
    padding: 32px 0;
    margin-bottom: 32px;
  }
  .newsletter-title h3 {
    font-size: 24px;
  }
  .newsletter-input-group {
    padding: 4px;
    padding-left: 12px;
  }
  .newsletter-input-group .mail-icon {
    display: none;
  }
  .newsletter-input {
    font-size: 14px;
  }
  .btn-subscribe {
    padding: 10px 20px;
  }
}

/* Pre-Footer CTA */
.pre-footer-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background-color: transparent;
}

.cta-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .cta-particles-canvas {
    display: none;
  }
}

/* Bottom Gradient Wrapper */
.bottom-gradient-wrapper {
  position: relative;
  background-color: #040506; /* Matches previous footer background */
  overflow: hidden; /* Prevent orbs from extending page width/height */
}

/* Live Generative Gradient */
.live-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: floatOrb 15s infinite alternate ease-in-out;
}

.gradient-orb.orb-1 {
  width: 800px;
  height: 800px;
  background: var(--primary-green);
  top: -100px;
  right: -200px;
  animation-delay: 0s;
}

.gradient-orb.orb-2 {
  width: 600px;
  height: 600px;
  background: #00715B;
  top: 30%;
  right: 15%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.gradient-orb.orb-3 {
  width: 700px;
  height: 700px;
  background: rgba(2, 189, 86, 0.4);
  bottom: 0;
  right: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 80px) scale(1.1); }
  100% { transform: translate(40px, -60px) scale(0.9); }
}
.pre-footer-cta-container {
  position: relative;
  z-index: 1;
}

.pre-footer-cta-content {
  max-width: 600px;
}

.pre-footer-cta-content h2 {
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #fff;
}

.pre-footer-cta-content p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 500px;
}

@media (max-width: 768px) {
  .pre-footer-cta {
    padding: 80px 0;
  }
  .pre-footer-cta-content h2 {
    font-size: 2.5rem;
  }
  .gradient-orb {
    filter: blur(80px);
  }
  .gradient-orb.orb-1 {
    width: 500px;
    height: 500px;
    top: -50px;
    right: -100px;
  }
  .gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
  }
  .gradient-orb.orb-3 {
    width: 450px;
    height: 450px;
  }
}

.btn-full { width: 100%; }

@media (max-width: 768px) {
  /* The philosophy section inherits the 2-column grid from the 1024px media query */
}

@media (max-width: 730px) {
  .phil-scroll-nav {
    display: none !important;
  }
  .philosophy-text {
    grid-template-columns: 1fr;
  }
}

/* Language Dropdown Custom Styles */
.lang-dropdown-wrapper:hover .lang-icon {
  opacity: 1 !important;
}

.lang-dropdown-wrapper .desktop-dropdown {
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(10px);
  width: 160px;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 0;
  border-radius: 12px;
}

.lang-dropdown-wrapper:hover .desktop-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Custom scrollbar for lang menu */
.lang-menu::-webkit-scrollbar {
  width: 4px;
}
.lang-menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}
.lang-menu .nav-group a {
  padding: 8px 20px;
  margin-bottom: 0;
  display: block;
  text-align: center;
}
.lang-menu .nav-group {
  margin: 0;
  width: 100%;
}
.lang-dropdown-wrapper {
  margin-right: 12px;
}
