/* ==========================================================================
   PAYOUTFLOW — PREMIUM FINTECH STYLESHEET
   Reference-Matched Design System & Layout
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Color Palette */
  --bg-dark: #07142E;
  --bg-dark-secondary: #0B1D42;
  --bg-dark-card: rgba(11, 29, 66, 0.75);
  --bg-dark-glass: rgba(14, 32, 70, 0.65);
  
  --bg-light: #F4F8FD;
  --bg-light-pure: #FFFFFF;
  --bg-light-card: #FFFFFF;

  --blue-primary: #168BFF;
  --cyan-electric: #00D4FF;
  --purple-accent: #873BFF;
  --violet-glow: #6B21A8;
  --teal-accent: #00E5B9;
  --green-success: #10B981;

  --text-white: #FFFFFF;
  --text-dark: #10234B;
  --text-muted-dark: #7890B8;
  --text-muted-light: #5A6E8C;

  --border-dark: rgba(22, 139, 255, 0.18);
  --border-dark-highlight: rgba(0, 212, 255, 0.35);
  --border-light: #E2ECF8;
  --border-light-soft: rgba(226, 236, 248, 0.8);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #168BFF 0%, #873BFF 100%);
  --grad-primary-hover: linear-gradient(135deg, #00D4FF 0%, #168BFF 50%, #873BFF 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00D4FF 0%, #168BFF 100%);
  --grad-text: linear-gradient(90deg, #00D4FF 0%, #168BFF 40%, #873BFF 100%);
  --grad-card-border: linear-gradient(135deg, rgba(0,212,255,0.4), rgba(135,59,255,0.1), rgba(22,139,255,0.2));
  --grad-banner: linear-gradient(135deg, #0B1D42 0%, #122858 50%, #1E1B4B 100%);
  --grad-cta: linear-gradient(135deg, #0E2A66 0%, #17387F 50%, #311A69 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(7, 20, 46, 0.08);
  --shadow-lg: 0 16px 36px rgba(7, 20, 46, 0.12);
  --glow-cyan: 0 0 35px rgba(0, 212, 255, 0.3);
  --glow-purple: 0 0 45px rgba(135, 59, 255, 0.35);
  --glow-button: 0 8px 25px rgba(22, 139, 255, 0.45);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Ambient Background Lights --- */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.glow-hero-top {
  top: -150px;
  left: 30%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.22) 0%, rgba(135, 59, 255, 0.15) 60%, transparent 80%);
}

.glow-hero-right {
  top: 100px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(22, 139, 255, 0.12) 50%, transparent 80%);
}

.glow-usecases {
  top: 45%;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(135, 59, 255, 0.15) 0%, rgba(0, 212, 255, 0.08) 60%, transparent 80%);
}

/* --- Typography & Badges --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(22, 139, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 9999px;
  color: var(--cyan-electric);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.pill-badge-light {
  background: rgba(22, 139, 255, 0.08);
  border: 1px solid rgba(22, 139, 255, 0.2);
  color: var(--blue-primary);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--cyan-electric);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-electric);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--text-white);
  box-shadow: var(--glow-button);
}

.btn-primary:hover {
  background: var(--grad-primary-hover);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5), 0 0 20px rgba(135, 59, 255, 0.4);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(22, 139, 255, 0.3);
  color: var(--text-white);
}

.btn-outline:hover {
  background: rgba(22, 139, 255, 0.1);
  border-color: var(--blue-primary);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.btn-md {
  padding: 12px 26px;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.shadow-glow {
  box-shadow: 0 8px 25px rgba(22, 139, 255, 0.4), 0 0 15px rgba(0, 212, 255, 0.25);
}

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background-color var(--transition-fast), padding var(--transition-fast), box-shadow var(--transition-fast);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(7, 20, 46, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(22, 139, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--text-white);
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--text-muted-dark);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.desktop-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted-dark);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan-electric);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--cyan-electric);
}

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

.btn-login {
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  padding: 8px 12px;
}

.btn-login:hover {
  color: var(--cyan-electric);
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #07142E;
  border-left: 1px solid rgba(22, 139, 255, 0.2);
  z-index: 2000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(22, 139, 255, 0.15);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.drawer-close-btn:hover {
  color: var(--text-white);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  font-weight: 500;
  display: block;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--cyan-electric);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   1. HERO SECTION (Dark Navy & Interactive Visual)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 150px 0 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.12;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #A3B8D8;
  font-weight: 500;
}

.trust-icon {
  width: 16px;
  height: 16px;
  color: var(--cyan-electric);
}

/* --- Hero Right Column Visual (3D Globe + Dashboard Card) --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Globe Backdrop */
.globe-backdrop {
  position: absolute;
  top: 0;
  right: -20px;
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 1;
}

.globe-sphere {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(22, 139, 255, 0.2) 0%, rgba(7, 20, 46, 0.8) 70%);
  box-shadow: inset 0 0 60px rgba(0, 212, 255, 0.25), 0 0 80px rgba(22, 139, 255, 0.2);
  overflow: hidden;
}

/* Globe Rings & Wireframe */
.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 212, 255, 0.35);
}

.ring-1 {
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  transform: rotateX(65deg) rotateY(15deg);
  animation: rotate-ring 25s linear infinite;
}

.ring-2 {
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  border-color: rgba(135, 59, 255, 0.4);
  transform: rotateX(45deg) rotateY(45deg);
  animation: rotate-ring-rev 18s linear infinite;
}

.ring-3 {
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-style: solid;
  border-color: rgba(22, 139, 255, 0.15);
}

.globe-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(0, 212, 255, 0.3) 1px, transparent 1px),
    radial-gradient(rgba(22, 139, 255, 0.2) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px;
  opacity: 0.6;
}

.globe-core-glow {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.5) 0%, transparent 70%);
  filter: blur(25px);
}

@keyframes rotate-ring {
  from { transform: rotateX(65deg) rotateY(15deg) rotateZ(0deg); }
  to { transform: rotateX(65deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes rotate-ring-rev {
  from { transform: rotateX(45deg) rotateY(45deg) rotateZ(360deg); }
  to { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
}

/* Floating Currency Tokens */
.currency-token {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.token-usd {
  top: 35px;
  left: 45%;
  background: linear-gradient(135deg, #168BFF, #00D4FF);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.token-inr {
  top: 70px;
  right: 15px;
  background: linear-gradient(135deg, #873BFF, #C084FC);
  box-shadow: 0 0 20px rgba(135, 59, 255, 0.6);
}

.token-eur {
  top: 240px;
  left: -15px;
  background: linear-gradient(135deg, #00D4FF, #0284C7);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

.token-gbp {
  bottom: 120px;
  right: 0px;
  background: linear-gradient(135deg, #2563EB, #873BFF);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.5);
}

/* Float Animations */
.float-slow { animation: float-anim 5s ease-in-out infinite; }
.float-medium { animation: float-anim 4s ease-in-out 1s infinite; }
.float-fast { animation: float-anim 3.2s ease-in-out 0.5s infinite; }
.float-slow-reverse { animation: float-anim-rev 5.5s ease-in-out infinite; }

@keyframes float-anim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-anim-rev {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Glass Panels */
.glass-panel {
  background: rgba(11, 29, 66, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(22, 139, 255, 0.28);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Main Hero Payout Form Card */
.payout-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 24px;
  z-index: 5;
  margin-right: 50px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.payout-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(22, 139, 255, 0.25);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.card-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
}

.secure-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-electric);
}

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

.payout-form .form-group {
  margin-bottom: 14px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.flex-2 { flex: 2; }
.flex-1 { flex: 1.2; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #A0B3D3;
  margin-bottom: 6px;
}

.input-wrapper,
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input,
.form-select {
  width: 100%;
  background: rgba(7, 20, 46, 0.6);
  border: 1px solid rgba(22, 139, 255, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--cyan-electric);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
  background: rgba(7, 20, 46, 0.85);
}

.amount-wrapper .currency-symbol {
  position: absolute;
  left: 12px;
  color: var(--cyan-electric);
  font-weight: 700;
  font-size: 0.95rem;
}

.amount-wrapper .form-input {
  padding-left: 28px;
  font-weight: 600;
}

.form-select {
  appearance: none;
  cursor: pointer;
  padding-right: 28px;
}

.form-select.with-icon {
  padding-left: 34px;
}

.method-icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  color: var(--cyan-electric);
  pointer-events: none;
}

.select-chevron {
  position: absolute;
  right: 10px;
  width: 14px;
  height: 14px;
  color: var(--text-muted-dark);
  pointer-events: none;
}

.btn-payout {
  margin-top: 8px;
  padding: 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden { display: none !important; }

/* Floating Success Toast matching reference */
.floating-toast {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(11, 29, 66, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.25);
  z-index: 6;
  animation: float-toast 6s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-icon-wrapper {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 12px #10B981;
}

.toast-icon {
  width: 18px;
  height: 18px;
}

.toast-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.toast-desc {
  font-size: 0.72rem;
  color: #A3B8D8;
}

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

/* Floating Statistics Card matching reference */
.floating-stats-card {
  position: absolute;
  bottom: 25px;
  right: -5px;
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 215px;
  z-index: 6;
  animation: float-stats 7s ease-in-out 0.8s infinite;
}

.stat-mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-mini-icon svg {
  width: 16px;
  height: 16px;
}

.stat-mini-icon.cyan {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan-electric);
}

.stat-mini-icon.purple {
  background: rgba(135, 59, 255, 0.15);
  color: var(--purple-accent);
}

.stat-mini-icon.violet {
  background: rgba(99, 102, 241, 0.15);
  color: #818CF8;
}

.stat-mini-info {
  display: flex;
  flex-direction: column;
}

.stat-mini-label {
  font-size: 0.68rem;
  color: #7890B8;
  font-weight: 500;
}

.stat-mini-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-heading);
}

@keyframes float-stats {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   2. WHY CHOOSE PAYOUTFLOW SECTION (Light Clean Aesthetic)
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-title.text-dark { color: var(--text-dark); }
.section-title.text-white { color: var(--text-white); }

.section-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 620px;
}

.text-muted { color: var(--text-muted-light); }
.section-dark .text-muted { color: var(--text-muted-dark); }

.centered {
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Top Grid */
.why-choose-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

/* Recipients Visual Graphic matching reference */
.recipients-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 220px;
}

/* Payout Summary Mini Card */
.payout-summary-card {
  position: absolute;
  left: 0;
  top: 15px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(16, 35, 75, 0.08);
  border: 1px solid var(--border-light);
  width: 190px;
  z-index: 3;
}

.psc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.psc-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted-light);
}

.psc-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan-electric);
  background: rgba(0, 212, 255, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.psc-zap {
  width: 10px;
  height: 10px;
}

.psc-amount {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.psc-growth {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
  margin-bottom: 8px;
}

.psc-growth svg {
  width: 12px;
  height: 12px;
}

.psc-chart {
  width: 100%;
  height: 32px;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Dispatch Node (Paper Plane) */
.dispatch-node {
  position: absolute;
  left: 175px;
  top: 85px;
  z-index: 4;
}

.paper-plane-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #168BFF, #873BFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(22, 139, 255, 0.4);
  animation: pulse-plane 3s ease-in-out infinite;
}

.paper-plane-icon svg {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}

@keyframes pulse-plane {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Connecting Curves SVG */
.connecting-curves {
  position: absolute;
  left: 195px;
  width: 130px;
  height: 160px;
  pointer-events: none;
  z-index: 2;
}

.animated-path-1, .animated-path-2, .animated-path-3, .animated-path-4 {
  animation: dash 2s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -16; }
}

/* Recipient Pills Column */
.recipient-pills-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
  margin-left: auto;
}

.recipient-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 6px 14px 6px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(16, 35, 75, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.recipient-pill:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(16, 35, 75, 0.1);
}

.rp-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.rp-icon svg { width: 14px; height: 14px; }
.rp-icon.blue { background: #168BFF; }
.rp-icon.purple { background: #873BFF; }
.rp-icon.cyan { background: #00D4FF; }
.rp-icon.violet { background: #6366F1; }

.rp-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* 5 Feature Cards Row */
.features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-light-pure);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 35, 75, 0.08);
  border-color: rgba(22, 139, 255, 0.35);
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(22, 139, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 18px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.feature-card:hover .feature-icon-circle {
  background: var(--blue-primary);
  color: #FFFFFF;
}

.feature-icon-circle svg {
  width: 22px;
  height: 22px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.84rem;
  color: var(--text-muted-light);
  line-height: 1.5;
}

/* ==========================================================================
   3. STATISTICS BANNER (Gradient Navy-Purple Ribbon)
   ========================================================================== */
.stats-banner-section {
  padding: 20px 0 60px 0;
  background-color: var(--bg-light);
}

.stats-banner-card {
  background: var(--grad-banner);
  border-radius: 20px;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(7, 20, 46, 0.25);
  border: 1px solid rgba(22, 139, 255, 0.2);
}

.stat-block {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number.stat-highlight {
  color: var(--cyan-electric);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.stat-label {
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   4. FLEXIBLE PAYOUT SOLUTIONS / USE CASES (Dark Navy Section)
   ========================================================================== */
.usecases-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.usecases-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.usecases-info .section-title {
  margin-bottom: 18px;
}

.usecases-info .section-desc {
  margin-bottom: 32px;
}

.usecases-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.usecase-card {
  background: rgba(11, 29, 66, 0.65);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(22, 139, 255, 0.2);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.15);
}

.usecase-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usecase-icon-box svg {
  width: 22px;
  height: 22px;
}

.usecase-icon-box.teal {
  background: rgba(0, 229, 185, 0.15);
  color: var(--teal-accent);
}

.usecase-icon-box.cyan {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan-electric);
}

.usecase-icon-box.blue {
  background: rgba(22, 139, 255, 0.15);
  color: var(--blue-primary);
}

.usecase-icon-box.purple {
  background: rgba(135, 59, 255, 0.15);
  color: var(--purple-accent);
}

.usecase-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.usecase-desc {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
}

/* ==========================================================================
   5. HOW IT WORKS SECTION (Light Background)
   ========================================================================== */
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.steps-flow {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.step-item {
  flex: 1;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-number-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #168BFF;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(22, 139, 255, 0.4);
}

.step-connector {
  color: #94A3B8;
  display: flex;
  align-items: center;
}

.step-connector svg {
  width: 18px;
  height: 18px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-muted-light);
  line-height: 1.5;
}

/* Laptop Mockup Wrapper */
.laptop-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-processing-pill {
  position: absolute;
  top: -15px;
  right: 15px;
  background: #FFFFFF;
  border-radius: 30px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(16, 35, 75, 0.12);
  border: 1px solid var(--border-light);
  z-index: 5;
  animation: float-pill 5s ease-in-out infinite;
}

.processing-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(0, 212, 255, 0.2);
  border-top-color: var(--cyan-electric);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.processing-info {
  display: flex;
  flex-direction: column;
}

.ppi-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.ppi-status {
  font-size: 0.65rem;
  color: var(--text-muted-light);
}

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

/* Laptop Shell */
.laptop-device {
  width: 100%;
  max-width: 480px;
}

.laptop-screen {
  background: #07142E;
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 0 10px;
  border: 2px solid #1E293B;
  box-shadow: 0 20px 50px rgba(7, 20, 46, 0.25);
  overflow: hidden;
}

.portal-app {
  display: grid;
  grid-template-columns: 100px 1fr;
  height: 220px;
  background: #0B1D42;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.portal-sidebar {
  background: #07142E;
  padding: 12px 10px;
  border-right: 1px solid rgba(22, 139, 255, 0.15);
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.portal-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #7890B8;
  padding: 4px 6px;
  border-radius: 4px;
}

.portal-menu-item.active {
  color: #00D4FF;
  background: rgba(0, 212, 255, 0.12);
}

.portal-menu-item svg { width: 12px; height: 12px; }

.portal-main {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-greeting {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}

.portal-sub {
  font-size: 0.65rem;
  color: #7890B8;
}

.user-avatar-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #168BFF;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-metrics-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.portal-metric-card {
  background: rgba(7, 20, 46, 0.6);
  border: 1px solid rgba(22, 139, 255, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  flex: 1;
}

.pm-label {
  font-size: 0.62rem;
  color: #7890B8;
  display: block;
}

.pm-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-heading);
}

.pm-value.green {
  color: #10B981;
}

.portal-chart-area {
  margin-top: 8px;
  height: 50px;
}

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

.laptop-base {
  height: 14px;
  background: #94A3B8;
  border-radius: 0 0 12px 12px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #64748B;
  border-radius: 0 0 4px 4px;
}

/* ==========================================================================
   6. DEVELOPER API SECTION (Dark Interactive Code Tabs)
   ========================================================================== */
.api-showcase-section {
  padding-top: 60px;
}

.api-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.api-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.api-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  color: #CBD5E1;
}

.api-perk-item svg {
  width: 20px;
  height: 20px;
  color: var(--cyan-electric);
  flex-shrink: 0;
}

.api-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.api-version-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 6px;
}

.api-version-tag svg { width: 14px; height: 14px; }

/* Interactive Code Panel */
.code-panel {
  border-radius: 18px;
  overflow: hidden;
  background: #061126;
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(7, 20, 46, 0.95);
  border-bottom: 1px solid rgba(22, 139, 255, 0.2);
}

.code-tabs {
  display: flex;
  gap: 8px;
}

.code-tab {
  background: transparent;
  border: none;
  color: #7890B8;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.code-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.code-tab.active {
  color: var(--cyan-electric);
  background: rgba(0, 212, 255, 0.12);
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.btn-copy-code svg { width: 14px; height: 14px; }

.code-content-wrapper {
  padding: 20px;
  overflow-x: auto;
  min-height: 280px;
}

.code-block {
  display: none;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #E2E8F0;
  white-space: pre;
}

.code-block.active {
  display: block;
}

/* Syntax Highlighting */
.code-block .k { color: #F43F5E; font-weight: 600; } /* keywords */
.code-block .s { color: #34D399; } /* strings */
.code-block .fn { color: #60A5FA; } /* function */
.code-block .n { color: #FBBF24; } /* numbers */
.code-block .cm { color: #64748B; font-style: italic; } /* comments */
.code-block .v { color: #A78BFA; } /* variables */

.code-footer {
  padding: 10px 18px;
  background: rgba(7, 20, 46, 0.8);
  border-top: 1px solid rgba(22, 139, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.code-status-text {
  font-size: 0.75rem;
  color: #7890B8;
}

/* ==========================================================================
   7. TRUSTED INTEGRATION PARTNERS (Logo Strip)
   ========================================================================== */
.partners-section {
  padding: 50px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partners-heading {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted-light);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 30px;
}

.partners-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.partner-logo {
  color: #64748B;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
}

.partner-logo:hover {
  color: #10234B;
  transform: translateY(-2px);
}

/* ==========================================================================
   8. TESTIMONIALS SECTION (Dark Navy & Stars)
   ========================================================================== */
.testimonials-section {
  padding: 100px 0 80px 0;
}

.text-center { text-align: center; }
.testimonials-section .pill-badge { margin-bottom: 16px; }
.testimonials-section .section-title { margin-bottom: 12px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.testimonial-card {
  padding: 32px 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.4);
}

.highlight-card {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(14, 35, 78, 0.85);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(22, 139, 255, 0.2);
}

.stars-row {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.star-icon {
  width: 18px;
  height: 18px;
  color: #FBBF24;
}

.star-icon.fill {
  fill: #FBBF24;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #D1D5DB;
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.avatar-1 { background: linear-gradient(135deg, #168BFF, #00D4FF); }
.avatar-2 { background: linear-gradient(135deg, #873BFF, #EC4899); }
.avatar-3 { background: linear-gradient(135deg, #059669, #10B981); }

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   9. FINAL CALL-TO-ACTION BANNER
   ========================================================================== */
.final-cta-section {
  padding: 40px 0 90px 0;
  background-color: var(--bg-dark);
}

.final-cta-banner {
  position: relative;
  background: var(--grad-cta);
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(22, 139, 255, 0.25);
  overflow: hidden;
}

.cta-glow-bg {
  position: absolute;
  top: -50%;
  left: 30%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.cta-desc {
  font-size: 1.1rem;
  color: #A3B8D8;
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   10. FOOTER (Deep Navy & Links)
   ========================================================================== */
.footer {
  background-color: #040D1F;
  border-top: 1px solid rgba(22, 139, 255, 0.15);
  padding: 70px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.6;
  max-width: 300px;
}

.footer-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #7890B8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan-electric);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

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

.copyright-text {
  font-size: 0.82rem;
  color: #64748B;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  color: #7890B8;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
}

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

.social-icon:hover {
  color: var(--cyan-electric);
  transform: translateY(-2px);
}

/* ==========================================================================
   11. ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(24px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

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

/* ==========================================================================
   12. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-title { font-size: 2.8rem; }
  .features-row { grid-template-columns: repeat(3, 1fr); }
  .stats-banner-card { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat-block { flex: 1 1 30%; }
  .how-it-works-grid { grid-template-columns: 1fr; }
  .steps-flow { margin-bottom: 30px; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hamburger-btn { display: flex; }
  .btn-login { display: none; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

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

  .hero-cta-group { justify-content: center; }
  .hero-trust-row { justify-content: center; }

  .why-choose-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-choose-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .recipients-visual {
    justify-content: center;
    margin: 0 auto;
  }

  .usecases-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .usecases-info { align-items: center; }
  
  .api-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .api-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .api-actions { justify-content: center; }

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

@media (max-width: 640px) {
  .hero-section { padding: 120px 0 60px 0; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.85rem; }
  
  .features-row { grid-template-columns: 1fr; }
  .usecases-cards-grid { grid-template-columns: 1fr; }
  
  .stats-banner-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
  }

  .steps-flow {
    flex-direction: column;
    gap: 24px;
  }

  .floating-stats-card {
    position: static;
    margin-top: 20px;
    width: 100%;
  }

  .floating-toast {
    position: static;
    margin-bottom: 20px;
    width: 100%;
  }

  .payout-card {
    margin-right: 0;
    max-width: 100%;
  }

  .partners-logo-row {
    justify-content: center;
    gap: 24px;
  }

  .cta-title { font-size: 1.9rem; }
  .final-cta-banner { padding: 40px 20px; }

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