/* ═══════════════════════════════════════════════════════════════
   WebGrowPrime — Advanced Homepage Effects (v2.0)
   Premium gradient meshes, floating orbs, growth engine dashboard
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────── ADVANCED CODE SHOWCASE (Premium 5-Line Terminal) ──────────────── */
.code-showcase-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #070A1A 0%, #0F1535 50%, #070A1A 100%);
  overflow: hidden;
  padding: 16px 0;
}
.code-showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,15,91,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(124,58,237,0.05) 0%, transparent 50%),
    radial-gradient(400px 200px at 50% 50%, rgba(255,15,91,0.03) 0%, transparent 80%);
  pointer-events: none;
}
.code-showcase-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,15,91,0.3), transparent);
}

/* Top Bar */
.cs-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.code-showcase-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-avatar-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #FF0F5B, #FF2D73);
  animation: csRingPulse 2s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(255,15,91,0.35), 0 0 40px rgba(255,15,91,0.1);
  flex-shrink: 0;
}
.cs-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #0B0E2A;
}
.cs-avatar-inner svg { display: block; width: 100%; height: 100%; }
.cs-avatar-info { display: flex; flex-direction: column; gap: 1px; }
.cs-avatar-name {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cs-avatar-badge {
  font-size: 8px;
  font-weight: 800;
  color: #FF0F5B;
  background: rgba(255,15,91,0.12);
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,15,91,0.2);
}
.cs-avatar-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
}
.cs-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: csBlink 1s step-end infinite;
}
.cs-stats {
  display: flex;
  gap: 12px;
}
.cs-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,15,91,0.1);
}
.cs-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #FF0F5B;
}
.cs-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Window - 5-Line Premium Terminal */
.code-showcase-inner {
  display: flex;
  justify-content: center;
}
.code-showcase-window {
  width: 480px;
  max-width: 92vw;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10,12,30,0.85);
  border: 1px solid rgba(255,15,91,0.15);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 80px rgba(255,15,91,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Tabs - VS Code style */
.code-window-tabs {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,15,91,0.08);
  overflow-x: auto;
  padding: 0 6px;
  gap: 0;
}
.cwt-tab {
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  user-select: none;
  position: relative;
}
.cwt-tab::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.04);
}
.cwt-tab:first-child::before { display: none; }
.cwt-tab.active {
  color: #FF0F5B;
  border-bottom-color: #FF0F5B;
  background: rgba(255,15,91,0.06);
}
.cwt-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, #FF0F5B, #FF2D73);
  border-radius: 999px;
  filter: blur(3px);
}
.cwt-tab:hover:not(.active) { color: rgba(255,255,255,0.55); }
.cwt-tab-terminal {
  margin-left: auto;
  opacity: 0.4;
  font-size: 10px;
  font-family: 'Cascadia Code', 'Fira Code', monospace;
  cursor: default;
}

/* Body - Compact 5-line terminal */
.code-window-body {
  display: flex;
  padding: 8px 0;
  font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  font-size: 11px;
  line-height: 1.9;
  min-height: 120px;
  max-height: 120px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
}

/* Line Numbers - Premium style */
.cs-line-numbers {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 12px 0 16px;
  border-right: 1px solid rgba(255,15,91,0.06);
  user-select: none;
  flex-shrink: 0;
}
.cs-line-numbers span {
  font-size: 10px;
  color: rgba(255,255,255,0.12);
  line-height: 1.9;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cs-line-numbers span:last-child {
  color: rgba(255,15,91,0.2);
}

/* Code Area */
.cs-code-area {
  padding: 0 14px;
  flex: 1;
  overflow-x: auto;
}
.code-line {
  white-space: nowrap;
  min-height: 1.4em;
}
.code-line-num {
  display: none;
}
.code-tag { color: #FF7B9F; }
.code-attr { color: #79C0FF; }
.code-string { color: #A5D6FF; }
.code-selector { color: #FF7B9F; }
.code-property { color: #79C0FF; }
.code-value { color: #A5D6FF; }
.code-comment { color: rgba(255,255,255,0.18); font-style: italic; }
.code-cursor {
  display: none;
  width: 5px;
  height: 12px;
  background: #FF0F5B;
  animation: codeBlink 1s step-end infinite;
  margin-left: 2px;
  vertical-align: text-bottom;
  box-shadow: 0 0 8px rgba(255,15,91,0.7), 0 0 16px rgba(255,15,91,0.3);
  border-radius: 1px;
}
@keyframes codeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.code-line-cursor { margin-top: 1px; }

/* Footer */
.code-window-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 14px;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,15,91,0.08);
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  color: rgba(255,255,255,0.25);
}
.cwf-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 5px;
  vertical-align: middle;
  animation: csBlink 1s step-end infinite;
}
.cwf-left, .cwf-right {
  font-weight: 500;
  color: rgba(255,255,255,0.3);
}
.cwf-center {
  color: rgba(255,255,255,0.15);
  font-size: 8px;
}

/* Badge */
.code-showcase-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255,15,91,0.06);
  border: 1px solid rgba(255,15,91,0.1);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(8px);
  transition: all .3s ease;
}
.code-showcase-badge:hover {
  background: rgba(255,15,91,0.1);
  border-color: rgba(255,15,91,0.2);
  color: rgba(255,255,255,0.6);
}
.code-badge-icon {
  font-weight: 800;
  color: #FF0F5B;
  font-size: 12px;
}

/* Animations */
@keyframes csRingPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255,15,91,0.3); }
  50% { box-shadow: 0 0 24px rgba(255,15,91,0.6); }
}
@keyframes csBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Responsive */
@media (max-width: 768px) {
  .code-showcase-section { padding: 10px 0; }
  .cs-top-bar { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .cs-stats { gap: 6px; }
  .code-showcase-window { width: 100%; }
  .code-window-body { font-size: 10px; padding: 6px 0; }
  .cs-line-numbers { padding: 0 8px 0 10px; }
  .cs-line-numbers span { font-size: 9px; }
  .cs-code-area { padding: 0 10px; }
  .code-window-footer { font-size: 8px; flex-wrap: wrap; gap: 3px; }
  .cwf-center { display: none; }
}
@media (max-width: 480px) {
  .code-showcase-section { padding: 6px 0; }
  .code-window-body { font-size: 9px; }
  .cs-line-numbers { padding: 0 6px 0 8px; }
  .cs-line-numbers span { font-size: 8px; }
  .cs-code-area { padding: 0 8px; }
  .cwt-tab { padding: 5px 8px; font-size: 9px; }
}

/* ──────────────── HOME BANNER IMAGE ──────────────── */
.home-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.home-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ──────────────── HERO MESH GRADIENT BACKGROUND ──────────────── */
.hero-mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  will-change: transform;
  animation: meshFloat 12s ease-in-out infinite alternate;
}

.mesh-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,15,91,0.25), transparent 70%);
  top: -10%;
  left: -8%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.mesh-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,45,115,0.2), transparent 70%);
  bottom: -5%;
  right: -5%;
  animation-duration: 16s;
  animation-delay: -3s;
}

.mesh-orb:nth-child(3) {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(9,17,51,0.15), transparent 70%);
  top: 40%;
  left: 50%;
  animation-duration: 18s;
  animation-delay: -6s;
}

.mesh-orb:nth-child(4) {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,15,91,0.15), transparent 70%);
  top: 60%;
  right: 20%;
  animation-duration: 12s;
  animation-delay: -2s;
}

@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(15px, -10px) scale(1.02); }
}

/* ──────────────── FLOATING TECH BADGES ──────────────── */
.hero-tech-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.tech-float-item {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  font-size: 12px;
  font-weight: 700;
  color: #0B1026;
  animation: techFloat 18s ease-in-out infinite;
  will-change: transform;
  z-index: 2;
}

.tech-float-item .tech-float-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: rgba(255,15,91,0.1);
}

.tech-float-item:nth-child(1) { top: 12%; left: 5%; animation-delay: 0s; }
.tech-float-item:nth-child(2) { top: 25%; right: 8%; animation-delay: -4s; }
.tech-float-item:nth-child(3) { bottom: 30%; left: 3%; animation-delay: -8s; }
.tech-float-item:nth-child(4) { bottom: 15%; right: 5%; animation-delay: -12s; }
.tech-float-item:nth-child(5) { top: 45%; left: 8%; animation-delay: -6s; }
.tech-float-item:nth-child(6) { top: 55%; right: 3%; animation-delay: -14s; }

@keyframes techFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(1deg); }
  50% { transform: translateY(4px) rotate(-1deg); }
  75% { transform: translateY(-8px) rotate(0.5deg); }
}

/* ──────────────── SCROLL INDICATOR ──────────────── */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.5s forwards;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(9,17,51,0.2);
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
}

.scroll-mouse-dot {
  width: 4px;
  height: 8px;
  background: linear-gradient(180deg, #FF0F5B, #FF2D73);
  border-radius: 999px;
  animation: scrollDot 2s ease-in-out infinite;
}

.scroll-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(-4px); opacity: 0.3; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* ──────────────── GROWTH ENGINE SECTION ──────────────── */
.growth-engine-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(255,15,91,0.05), transparent 55%),
    radial-gradient(800px 480px at 80% 100%, rgba(255,45,115,0.04), transparent 52%);
}

.growth-engine-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ge-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: enginePulse 8s ease-in-out infinite alternate;
}

.ge-bg-orb:nth-child(1) {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,15,91,0.3), transparent 70%);
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.ge-bg-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(9,17,51,0.25), transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-delay: -3s;
  animation-duration: 10s;
}

.ge-bg-orb:nth-child(3) {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,45,115,0.2), transparent 70%);
  top: 50%;
  left: 60%;
  animation-delay: -6s;
  animation-duration: 12s;
}

@keyframes enginePulse {
  0% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.1); }
  100% { opacity: 0.2; transform: scale(0.95); }
}

/* ──────────────── ENGINE CORE VISUAL (Concentric Rings + Hub) ──────────────── */
.engine-core-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 60px;
  max-width: 480px;
}

.engine-core-visual {
  position: relative;
  width: 320px;
  height: 320px;
}

@media (min-width: 640px) {
  .engine-core-visual { width: 380px; height: 380px; }
}

@media (min-width: 1024px) {
  .engine-core-visual { width: 420px; height: 420px; }
}

/* Shared ring styles */
.engine-ring {
  position: absolute;
  border-radius: 50%;
  border-width: 1.5px;
  border-style: solid;
}

/* Ring 1 - Outer */
.engine-ring-1 {
  inset: 0;
  border-color: rgba(255,15,91,0.12);
  animation: spinSlow 30s linear infinite;
}

.engine-ring-1::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 50%;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF0F5B, #FF2D73, transparent);
  border-radius: 999px;
  transform: translateX(-50%);
}

/* Ring 2 - Middle */
.engine-ring-2 {
  inset: 40px;
  border-color: rgba(255,45,115,0.1);
  animation: spinSlow 22s linear infinite reverse;
}

.engine-ring-2::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 40%;
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0B1026, transparent);
  border-radius: 999px;
  transform: translateX(-50%);
}

/* Ring 3 - Inner */
.engine-ring-3 {
  inset: 80px;
  border-color: rgba(255,15,91,0.15);
  border-width: 2px;
  animation: spinSlow 16s linear infinite;
}

.engine-ring-3::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 16px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #FF0F5B, transparent);
  border-radius: 999px;
  transform: translateX(-50%);
}

/* Orbiting dots on rings — dots sit at ring edge, ring spin carries them around */
.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF0F5B;
  box-shadow: 0 0 20px rgba(255,15,91,0.5);
  animation: orbitPulse 4s ease-in-out infinite;
  animation-delay: var(--od-delay, 0s);
}

/* Ring 1 dots (outer ring) */
.engine-ring-1 .orbit-dot:nth-child(1) { top: -5px; left: 50%; margin-left: -5px; }
.engine-ring-1 .orbit-dot:nth-child(2) { bottom: -5px; left: 50%; margin-left: -5px; }
.engine-ring-1 .orbit-dot:nth-child(3) { top: 50%; right: -5px; margin-top: -5px; }

/* Ring 2 dots (middle ring) */
.engine-ring-2 .orbit-dot:nth-child(1) { top: -5px; left: 50%; margin-left: -5px; }
.engine-ring-2 .orbit-dot:nth-child(2) { bottom: -5px; left: 50%; margin-left: -5px; }
.engine-ring-2 .orbit-dot:nth-child(3) { top: 50%; right: -5px; margin-top: -5px; }

/* Ring 3 dots (inner ring) */
.engine-ring-3 .orbit-dot:nth-child(1) { top: -5px; left: 50%; margin-left: -5px; }
.engine-ring-3 .orbit-dot:nth-child(2) { bottom: -5px; left: 50%; margin-left: -5px; }

@keyframes orbitPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Center Hub */
.engine-hub {
  position: absolute;
  inset: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,15,91,0.08), rgba(255,45,115,0.06));
  border: 1px solid rgba(255,15,91,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(8px);
  animation: hubPulse 4s ease-in-out infinite;
  z-index: 2;
  will-change: transform;
}

.engine-hub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.engine-hub-icon svg {
  width: 36px;
  height: 36px;
}

.engine-hub-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 12px;
  background: linear-gradient(135deg, #FF0F5B, #FF2D73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

@keyframes hubPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255,15,91,0.08); }
  50% { transform: scale(1.03); box-shadow: 0 0 40px rgba(255,15,91,0.15); }
}

/* ──────────────── FLOATING METRIC BADGES (Around Engine Core) ──────────────── */
.engine-float-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  text-align: center;
  animation: metricFloat 8s ease-in-out infinite;
  white-space: nowrap;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.efb-icon {
  font-size: 16px;
  line-height: 1;
}

.efb-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 18px;
  background: linear-gradient(135deg, #FF0F5B, #FF2D73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.efb-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted, #7b7f8c);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Positioning floating badges */
.efb-1 { top: -8px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.efb-2 { top: 50%; right: -28px; transform: translateY(-50%); animation-delay: -2s; }
.efb-3 { bottom: -8px; left: 50%; transform: translateX(-50%); animation-delay: -4s; }
.efb-4 { top: 50%; left: -28px; transform: translateY(-50%); animation-delay: -6s; }

@media (max-width: 639px) {
  .efb-1 { top: -4px; }
  .efb-2 { right: -12px; }
  .efb-3 { bottom: -4px; }
  .efb-4 { left: -12px; }
  .engine-float-badge {
    padding: 6px 10px;
  }
  .efb-val { font-size: 14px; }
  .efb-lbl { font-size: 8px; }
}

@keyframes metricFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* For badges that are positioned with translateX/Y already, adjust */
.efb-1 { animation-name: metricFloat1; }
.efb-3 { animation-name: metricFloat3; }

@keyframes metricFloat1 {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes metricFloat3 {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ──────────────── ENGINE STATS DASHBOARD ──────────────── */
.engine-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

@media (max-width: 639px) {
  .engine-dashboard {
    grid-template-columns: 1fr;
  }
}

.engine-stat-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engine-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.esc-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.esc-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,15,91,0.1);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.esc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #7b7f8c);
  display: block;
  margin-bottom: 2px;
}

.esc-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, #FF0F5B, #FF2D73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.esc-bar-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin: 8px 0 6px;
}

.esc-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF0F5B, #FF2D73);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.esc-sub {
  font-size: 11px;
  color: var(--muted, #7b7f8c);
  font-weight: 500;
  display: block;
}

/* ──────────────── GROWTH PROCESS FLOW (5-Step Horizontal) ──────────────── */
.growth-process-flow {
  position: relative;
  z-index: 1;
}

.gpf-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

@media (min-width: 768px) {
  .gpf-track {
    flex-direction: row;
    gap: 0;
  }
}

.gpf-step {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}

@media (min-width: 768px) {
  .gpf-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 20px;
    border-radius: 0;
    border: none;
    background: transparent;
  }

  .gpf-step + .gpf-step {
    border-left: 1px solid rgba(255,255,255,0.06);
  }
}

.gpf-step:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}

.gpf-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 1000;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255,15,91,0.15), rgba(255,45,115,0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .gpf-step-num {
    font-size: 40px;
    margin-bottom: 8px;
  }
}

.gpf-step-content h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--text, #fff);
}

.gpf-step-content p {
  font-size: 13px;
  color: var(--muted, #7b7f8c);
  line-height: 1.6;
  margin: 0;
  max-width: 200px;
}

@media (max-width: 767px) {
  .gpf-step-content p {
    max-width: none;
  }
}

.gpf-arrow {
  display: none;
  color: rgba(255,15,91,0.5);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 28px;
}

@media (min-width: 768px) {
  .gpf-arrow {
    display: block;
  }
}

/* ──────────────── REVEAL ANIMATIONS ──────────────── */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.in {
  opacity: 1;
  transform: scale(1);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-left.in {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-right.in {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.in > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.in > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.in > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.in > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.in > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.in > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-children.in > *:nth-child(8) { transition-delay: 0.54s; }
.stagger-children.in > *:nth-child(9) { transition-delay: 0.61s; }

/* ──────────────── KEYFRAMES ──────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ──────────────── GSE HEADER — PREMIUM SECTION HEADING ──────────────── */

/* ── GSE Header container ── */
.gse-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

/* ── Premium Pill Badge ── */
.gse-pill-wrapper {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.gse-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem 0.45rem 0.85rem;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,15,91,0.08), rgba(255,45,115,0.04));
  border: 1px solid rgba(255,15,91,0.18);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gse-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,15,91,0.35), rgba(255,45,115,0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gse-pill:hover {
  border-color: rgba(255,15,91,0.35);
  box-shadow: 0 0 20px rgba(255,15,91,0.08);
}

.gse-pill-icon {
  font-size: 1rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255,15,91,0.3));
  animation: gsePillSpin 8s linear infinite;
}

.gse-pill-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #FF0F5B, #FF2D73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Main Heading ── */
.gse-header .gse-heading {
  margin: 0 0 1.25rem;
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  /* Override .section-header h2 gradient text — we handle accent manually */
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.gse-header .gse-heading-line {
  display: block;
  /* Override inherited gradient from .section-header h2 */
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.gse-header .gse-heading-line-1 {
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  font-size: 0.65em;
  letter-spacing: 0.04em;
  margin-bottom: 0.15em;
}

.gse-header .gse-heading-line-2 {
  font-size: 1em;
  font-weight: 800;
  color: #fff;
}

.gse-heading-accent {
  background: linear-gradient(135deg, #FF0F5B 0%, #FF2D73 40%, #FF6B9D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(255,15,91,0.25));
}

/* ── Subtitle ── */
.gse-header .gse-subtitle {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ── GSE Animations ── */
@keyframes gsePillSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}