/* ============================================================
   PAYFLY PREMIUM REDESIGN - style.css
   Dark Glassmorphic | Inter + Poppins | Indigo-Cyan Palette
   ============================================================ */

/* 01 VARIABLES */
:root {
  --c-bg: #f8fafc;
  --c-bg2: #f1f5f9;
  --c-surface: rgba(255, 255, 255, 0.85);
  --c-surface2: rgba(248, 250, 252, 0.95);
  --c-border: rgba(99, 102, 241, 0.1);
  --c-border2: rgba(99, 102, 241, 0.2);

  --c-primary: #6366f1;
  --c-primary-r: 99, 102, 241;
  --c-accent: #06b6d4;
  --c-accent-r: 6, 182, 212;
  --c-green: #22c55e;
  --c-green-r: 34, 197, 94;
  --c-pink: #ec4899;

  --c-text: #1e293b;
  --c-text2: #475569;
  --c-text3: #94a3b8;
  --c-white: #ffffff;
  --c-dark: #0f172a;

  --font-sans: "Inter", "Poppins", sans-serif;

  --fs-xs: clamp(0.9rem, 0.65rem + 0.2vw, 0.9rem);
  --fs-sm: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
  --fs-base: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-3xl: clamp(2rem, 1.7rem + 1.2vw, 2.8rem);
  --fs-4xl: clamp(2.5rem, 2rem + 2vw, 3.75rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-full: 9999px;

  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --sh-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --sh-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --sh-glow: 0 0 30px rgba(var(--c-primary-r), 0.15);
  --sh-glow2: 0 0 30px rgba(var(--c-accent-r), 0.2);

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-sec: clamp(4rem, 3rem + 4vw, 7.5rem);

  --tr-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--tr-fast)
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none
}

button {
  cursor: pointer
}

ul,
ol {
  list-style: none
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 03 TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--fs-4xl)
}

h2 {
  font-size: var(--fs-3xl)
}

h3 {
  font-size: var(--fs-2xl)
}

h4 {
  font-size: var(--fs-xl)
}

h5 {
  font-size: var(--fs-lg)
}

p {
  font-size: var(--fs-base);
  color: var(--c-text2);
  font-weight: 400;
  line-height: 1.7
}

.gradient-text {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-pink {
  background: linear-gradient(135deg, #f472b6 0%, var(--c-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 04 UTILITIES */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center
}

.text-white {
  color: var(--c-white) !important
}

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

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  background: rgba(var(--c-primary-r), 0.08);
  color: var(--c-primary);
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(var(--c-primary-r), 0.2);
  backdrop-filter: blur(6px);
}

.badge-accent {
  background: rgba(var(--c-accent-r), 0.1);
  color: var(--c-accent);
  border: 1px solid rgba(var(--c-accent-r), 0.2);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--c-green);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
  box-shadow: 0 0 6px var(--c-green);
}

/* Section header */
.section-header {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-xl);
}

.section-title {
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-sm);
  color: var(--c-dark)
}

.section-subtitle {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: #475569
}

/* Scroll reveal */
.reveal-element {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0)
}

.fade-up-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease
}

.fade-up-init.active {
  opacity: 1;
  transform: translateY(0)
}

/* Decorative noise/mesh helper */
.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-border);
}

/* 05 BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: var(--r-md);
  transition: var(--tr-normal);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  font-size: var(--fs-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: var(--fs-base);
  border-radius: var(--r-lg)
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--c-primary-r), 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--c-primary-r), 0.5);
  filter: brightness(1.1);
}

.btn-outline {
  border: 1.5px solid rgba(99, 102, 241, 0.25);
  color: #334155;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(var(--c-primary-r), 0.5);
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(var(--c-primary-r), 0.12);
}

.btn-white {
  background: var(--c-white);
  color: #1e1b4b;
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1)
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: #fff
}

.btn-service-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0.6rem 0;
  transition: var(--tr-fast);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
  padding-top: 1rem;
  width: 100%;
}

.btn-service-learn:hover {
  color: var(--c-accent);
  gap: 0.6rem
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* 06 NAVBAR */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border);
  transition: var(--tr-normal);
}

.navbar-header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid var(--c-border2);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: var(--tr-normal);
}

.navbar-header.scrolled .navbar-container {
  height: 60px
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001
}

.logo-icon {
  width: 32px;
  height: 32px
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-dark)
}

.logo-highlight {
  color: var(--c-primary)
}

.nav-menu {
  display: flex;
  align-items: center
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-lg)
}

.nav-link {
  font-weight: 500;
  color: #475569;
  position: relative;
  padding: 0.4rem 0;
  font-size: var(--fs-sm);
  transition: var(--tr-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  border-radius: 2px;
  transition: var(--tr-fast);
}

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

/* Dropdown */
.nav-dropdown {
  position: relative
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.02);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 220px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 24px;
}

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

.dropdown-item {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #334155;
  font-weight: 600;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #f8fafc;
  color: #6366f1;
}

.arrow-down {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 4px;
  vertical-align: middle;
  transition: var(--tr-fast);
}

.nav-dropdown:hover .arrow-down {
  transform: rotate(180deg)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm)
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background: #334155;
  border-radius: 2px;
  transition: var(--tr-normal);
}

.menu-toggle.active .bar-1 {
  transform: translateY(8px) rotate(45deg)
}

.menu-toggle.active .bar-2 {
  opacity: 0
}

.menu-toggle.active .bar-3 {
  transform: translateY(-8px) rotate(-45deg)
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  padding: 100px 2rem 2rem;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
  transition: var(--tr-slow);
  border-left: 1px solid var(--c-border);
}

.mobile-drawer.active {
  right: 0
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md)
}

.mobile-nav-link {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: #334155;
  display: block;
  padding: 0.4rem 0;
  transition: var(--tr-fast);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--c-primary)
}

.mob-dropdown {
  display: flex;
  flex-direction: column
}

.mob-dropdown-toggle {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.mobile-dropdown-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
  overflow: hidden;
  padding-left: var(--sp-sm);
}

.mobile-dropdown-inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--sp-xs) 0;
}

.mob-dropdown-item {
  font-size: var(--fs-base);
  color: #64748b;
  font-weight: 500;
  padding: 0.25rem 0;
  transition: var(--tr-fast);
}

.mob-dropdown-item:hover {
  color: var(--c-primary)
}

.mobile-actions {
  margin-top: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm)
}

/* 07 HERO SECTION */
.hero-section {
  position: relative;
  padding-top: calc(72px + var(--sp-xl));
  padding-bottom: var(--sp-xl);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(var(--c-primary-r), 0.08) 0%, transparent 60%), var(--c-bg);
}

.hero-background-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.hero-background-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: rgba(var(--c-primary-r), 0.12);
  top: -200px;
  right: -100px;
}

.hero-background-shapes .shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(var(--c-accent-r), 0.07);
  bottom: -100px;
  left: -150px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-title {
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
  line-height: 1.1;
  color: #0f172a;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-bottom: var(--sp-lg);
  max-width: 560px;
  font-size: var(--fs-lg);
  color: #475569;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  width: 100%
}

/* Dashboard Mockup */
.hero-illustration {
  position: relative;
  width: 100%;
  padding-bottom: 30px
}

.dashboard-mockup {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12), 0 0 0 1px var(--c-border2);
  border: 1px solid var(--c-border);
  overflow: visible;
  position: relative;
  aspect-ratio: 1.25;
}

.mockup-header {
  height: 42px;
  background: #f8fafc;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 1.5rem;
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}

.mockup-dots {
  display: flex;
  gap: 6px
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block
}

.mockup-dots span:nth-child(1) {
  background: #ef4444
}

.mockup-dots span:nth-child(2) {
  background: #f59e0b
}

.mockup-dots span:nth-child(3) {
  background: #22c55e
}

.mockup-search {
  background: #f1f5f9;
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 6px;
  height: 24px;
  flex-grow: 1;
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
}

.mockup-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: calc(100% - 42px);
  justify-content: center;
}

/* Balance Card */
.balance-card {
  background: linear-gradient(135deg, var(--c-primary) 0%, #4338ca 100%);
  border-radius: 14px;
  padding: 1.1rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(var(--c-primary-r), 0.35);
}

.balance-card::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -50px;
  right: -40px;
  pointer-events: none;
}

.balance-label {
  font-size: var(--fs-xs);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: 500
}

.balance-amount-container {
  display: flex;
  align-items: baseline;
  gap: 2px
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 2px
}

.odometer-value {
  display: inline-flex;
  height: 2rem;
  line-height: 2rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  overflow: hidden;
}

.odometer-fallback {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit
}

.od-digit-container {
  display: inline-block;
  position: relative;
  width: 1.25rem;
  height: 100%;
  overflow: hidden
}

.od-digit-strip {
  display: inline-flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1)
}

.od-digit-strip span {
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.od-static-char {
  display: inline-block
}

.percent-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.9);
  align-self: baseline
}

.balance-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: var(--fs-xs);
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.status-icon {
  width: 12px;
  height: 12px
}

/* Chart */
.mockup-chart {
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
}

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

.chart-title {
  font-weight: 600;
  font-size: var(--fs-xs);
  color: #1e293b
}

.chart-legend {
  font-size: var(--fs-xs);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500
}

.chart-legend::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
  display: inline-block
}

.chart-canvas-container {
  width: 100%;
  height: 75px;
  position: relative;
  overflow: visible
}

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

/* Floating cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-border2);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hero-float-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(var(--c-primary-r), 0.3);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.float-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.api-bg {
  background: rgba(var(--c-primary-r), 0.15);
  color: var(--c-primary)
}

.qr-bg {
  background: rgba(var(--c-accent-r), 0.15);
  color: var(--c-accent)
}

.tx-icon-container.upi-bg {
  background: rgba(var(--c-green-r), 0.15);
  color: var(--c-green)
}

.tx-icon-container.card-bg {
  background: rgba(var(--c-primary-r), 0.15);
  color: var(--c-primary)
}

.tx-icon-container.netbanking-bg {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa
}

.float-details {
  display: flex;
  flex-direction: column;
  gap: 1px
}

.float-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #0f172a
}

.float-desc {
  font-size: 0.7rem;
  color: #64748b
}

/* QR Widget */
.float-qr-widget {
  padding: 8px 12px
}

.qr-widget-container {
  display: flex;
  align-items: center;
  gap: 9px
}

.qr-scanner-box {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--c-border)
}

.qr-widget-svg {
  width: 100%;
  height: 100%;
  padding: 3px
}

.scanner-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
  opacity: 0.8;
  box-shadow: 0 0 5px var(--c-primary);
  animation: qr-scan-motion 2.5s infinite linear
}

@keyframes qr-scan-motion {
  0% {
    top: 0%
  }

  50% {
    top: 100%
  }

  100% {
    top: 0%
  }
}

.qr-widget-text {
  display: flex;
  flex-direction: column
}

.qr-widget-title {
  font-size: 11px;
  font-weight: 600;
  color: #0f172a
}

.qr-widget-desc {
  font-size: 9px;
  color: var(--c-text3)
}

/* TX notification */
.float-tx-notification {
  transition: opacity 0.5s ease, transform 0.5s ease
}

.float-tx-notification.fade-out-tx {
  opacity: 0 !important;
  transform: translate(-20px, 8px) scale(0.95) !important
}

.tx-status-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  text-transform: uppercase
}

.tx-status-badge.success {
  background: rgba(var(--c-green-r), 0.15);
  color: var(--c-green)
}

.tx-status-badge.info {
  background: rgba(var(--c-primary-r), 0.15);
  color: var(--c-primary)
}

/* Float positions */
.float-qr-widget {
  top: 52%;
  left: -48px;
  animation: float-mid 3.8s ease-in-out infinite alternate
}

.float-api {
  bottom: -18px;
  left: -38px;
  animation: float-slow 4.5s ease-in-out infinite alternate-reverse
}

.float-dynamic-qr {
  top: 120px;
  right: -42px;
  animation: float-mid 4.2s ease-in-out infinite alternate
}

.float-tx-notification {
  bottom: 36px;
  right: -32px;
  animation: float-slow 5s ease-in-out infinite alternate-reverse
}

/* 08 PAYMENT METHODS / TRUST BAR */
.trust-section {
  padding: var(--sp-xl) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, transparent 100%);
}

.trust-heading {
  font-size: var(--fs-base);
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--sp-lg);
}

.logo-marquee-container {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent)
}

.logo-marquee {
  overflow: hidden
}

.marquee-track {
  display: flex;
  gap: var(--sp-lg);
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

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

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

.marquee-track:hover {
  animation-play-state: paused
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  transition: var(--tr-fast);
  flex-shrink: 0;
}

.partner-logo:hover {
  border-color: var(--c-border2);
  color: var(--c-dark);
  background: #fff
}

.partner-logo svg {
  opacity: 0.7;
  flex-shrink: 0
}

/* 09 SERVICES */
.services-section {
  padding: var(--sp-sec) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(var(--c-primary-r), 0.03) 50%, transparent 100%);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--tr-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--c-primary-r), 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--tr-normal);
  border-radius: var(--r-lg);
}

.service-card:hover {
  border-color: rgba(var(--c-primary-r), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--sh-glow);
}

.service-card:hover::before {
  opacity: 1
}

.service-card-body {
  flex: 1
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: #fff;
}

.service-icon svg {
  width: 24px;
  height: 24px
}

.payments-color {
  background: rgba(var(--c-primary-r), 0.12);
  color: var(--c-primary)
}

.payouts-color {
  background: rgba(var(--c-green-r), 0.12);
  color: var(--c-green)
}

.wallets-color {
  background: rgba(var(--c-accent-r), 0.12);
  color: var(--c-accent)
}

.gateway-color {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa
}

.links-color {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6
}

.pages-color {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24
}

.subscriptions-color {
  background: rgba(var(--c-green-r), 0.12);
  color: #4ade80
}

.routing-color {
  background: rgba(var(--c-accent-r), 0.12);
  color: var(--c-accent)
}

.invoices-color {
  background: rgba(var(--c-primary-r), 0.12);
  color: #818cf8
}

.service-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.6rem
}

.service-desc {
  font-size: var(--fs-sm);
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1rem
}

/* 10 ABOUT */
.about-us-section {
  padding: var(--sp-sec) 0;
  background: rgba(99, 102, 241, 0.03);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start
}

.about-text {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: var(--fs-base)
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.2rem;
  transition: var(--tr-normal);
}

.about-card:hover {
  border-color: var(--c-border2);
  background: #fff
}

.about-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-primary-r), 0.12);
  color: var(--c-primary);
}

.about-card-icon svg {
  width: 22px;
  height: 22px
}

.about-card-content {}

.about-card-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.3rem
}

.about-card-desc {
  font-size: var(--fs-sm);
  color: #475569;
  margin: 0
}

/* 11 WHY PAYFLY */
.why-payfly-section {
  padding: var(--sp-sec) 0;
  background: linear-gradient(180deg, #f8fafc 0%, rgba(241, 245, 249, 0.8) 50%, #f8fafc 100%);
}

.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

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

.fintech-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--tr-normal);
  animation: float-gentle 5s ease-in-out infinite alternate;
}

.fintech-card:hover {
  border-color: var(--c-border2);
  transform: translateY(-3px);
  box-shadow: var(--sh-md)
}

.fintech-card-inner {
  padding: 1.25rem
}

.fintech-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-primary-r), 0.12);
  margin-bottom: 0.75rem;
}

.fintech-card-icon svg {
  width: 20px;
  height: 20px
}

.fintech-card-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.3rem
}

.fintech-card-desc {
  font-size: var(--fs-xs);
  color: #475569;
  margin: 0;
  line-height: 1.6
}

.why-content {}

.why-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2
}

.why-subtitle {
  color: #475569;
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-lg);
  line-height: 1.6
}

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

.why-item {
  display: flex;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem;
  transition: var(--tr-normal);
}

.why-item:hover {
  border-color: rgba(var(--c-primary-r), 0.25);
  background: #fff
}

.why-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-primary-r), 0.12);
  color: var(--c-primary);
}

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

.why-item-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.2rem
}

.why-item-desc {
  font-size: var(--fs-xs);
  color: #475569;
  margin: 0;
  line-height: 1.55
}

/* 12 STATISTICS */
.stats-section {
  padding: var(--sp-sec) 0;
  background: linear-gradient(135deg, rgba(var(--c-primary-r), 0.06) 0%, rgba(var(--c-accent-r), 0.04) 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(var(--c-primary-r), 0.06) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-border2);
  border-radius: var(--r-lg);
  padding: 2rem 1rem;
  transition: var(--tr-normal);
}

.stat-item:hover {
  border-color: rgba(var(--c-primary-r), 0.3);
  transform: translateY(-4px);
  box-shadow: var(--sh-glow);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--fs-sm);
  color: #475569;
  font-weight: 500
}

/* 13 HOW IT WORKS */
.how-it-works-section {
  padding: var(--sp-sec) 0;
  background: #f8fafc
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-top: var(--sp-xl);
}

.step-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--tr-normal);
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent);
  opacity: 1;
  top: -20px;
  right: -20px;
}

.step-card:hover {
  border-color: rgba(var(--c-primary-r), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.12)
}

.step-number-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border-radius: var(--r-full);
  margin: 0 auto 0.75rem;
}

.step-number {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-primary-r), 0.1);
  color: var(--c-primary);
  margin: 0 auto 1rem;
}

.step-icon-wrap svg {
  width: 26px;
  height: 26px
}

.step-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 0.4rem
}

.step-desc {
  font-size: var(--fs-xs);
  color: #475569;
  line-height: 1.6;
  margin: 0
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text3);
  opacity: 0.5;
}

.step-arrow svg {
  width: 22px;
  height: 22px
}

/* 14 FAQ */
.faq-section {
  padding: var(--sp-sec) 0;
  background: linear-gradient(180deg, transparent, rgba(var(--c-primary-r), 0.03) 50%, transparent);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto
}

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

.accordion-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--tr-fast);
}

.accordion-item.open {
  border-color: rgba(var(--c-primary-r), 0.25);
  box-shadow: 0 4px 20px rgba(var(--c-primary-r), 0.08);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: #1e293b;
  font-size: var(--fs-base);
  text-align: left;
  cursor: pointer;
  background: none;
  transition: var(--tr-fast);
  gap: 1rem;
}

.accordion-header:hover {
  color: var(--c-primary)
}

.accordion-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--c-border2);
  border-radius: 50%;
  position: relative;
  transition: var(--tr-fast);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-text2);
  border-radius: 2px;
  transition: var(--tr-fast);
}

.accordion-icon::before {
  width: 10px;
  height: 2px
}

.accordion-icon::after {
  width: 2px;
  height: 10px
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  background: rgba(var(--c-primary-r), 0.12);
  border-color: rgba(var(--c-primary-r), 0.3);
}

.accordion-header[aria-expanded="true"] .accordion-icon::before,
.accordion-header[aria-expanded="true"] .accordion-icon::after {
  background: var(--c-primary)
}

.accordion-header[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0
}

.accordion-collapse {
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body {
  padding: 0 1.5rem 1.25rem
}

.accordion-body p {
  font-size: var(--fs-sm);
  color: #475569;
  line-height: 1.7;
  margin: 0
}

/* 15 CTA + CONTACT */
.cta-contact-section {
  padding: var(--sp-sec) 0
}

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

.cta-banner-side {
  background: linear-gradient(135deg, var(--c-primary) 0%, #4338ca 50%, #1e1b4b 100%);
  border-radius: var(--r-xl);
  padding: 3rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--c-primary-r), 0.3);
}

.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px)
}

.cta-shape-1 {
  width: 250px;
  height: 250px;
  background: rgba(6, 182, 212, 0.25);
  top: -80px;
  right: -80px
}

.cta-shape-2 {
  width: 180px;
  height: 180px;
  background: rgba(139, 92, 246, 0.2);
  bottom: -60px;
  left: -40px
}

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

.cta-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.25
}

.cta-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-base);
  margin-bottom: 2rem;
  line-height: 1.6
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  height: 100%;
}

.form-header {
  margin-bottom: 1.75rem
}

.form-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-text);
  margin: 0.5rem 0 0.4rem
}

.form-subtitle {
  font-size: var(--fs-sm);
  color: #475569;
  margin: 0
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem
}

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase
}

.form-input {
  background: #f8fafc;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--c-dark);
  font-size: var(--fs-sm);
  transition: var(--tr-fast);
}

.form-input::placeholder {
  color: var(--c-text3)
}

.form-input:focus {
  border-color: rgba(var(--c-primary-r), 0.5);
  background: rgba(var(--c-primary-r), 0.05);
  box-shadow: 0 0 0 3px rgba(var(--c-primary-r), 0.1)
}

.textarea-input {
  resize: vertical;
  min-height: 110px
}

.margin-top-sm {
  margin-top: 0.75rem
}

.margin-top-md {
  margin-top: 1.25rem
}

.form-actions-btn {}

/* 16 FOOTER */
.footer-section {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--sp-sec) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-xl);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.5rem
}

.social-links {
  display: flex;
  gap: 0.75rem
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--tr-fast);
}

.social-links a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(var(--c-primary-r), 0.1)
}

.footer-heading {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem
}

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

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--c-text3);
  transition: var(--tr-fast)
}

.footer-links a:hover {
  color: #fff
}

.newsletter-text {
  font-size: var(--fs-sm);
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  padding: 0.7rem 1rem;
  color: #e2e8f0;
  font-size: var(--fs-sm);
  transition: var(--tr-fast);
}

.newsletter-input:focus {
  border-color: rgba(var(--c-primary-r), 0.4);
  outline: none
}

.newsletter-input::placeholder {
  color: #64748b
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright-text {
  font-size: var(--fs-xs);
  color: #64748b
}

.legal-links {
  display: flex;
  gap: var(--sp-md)
}

.legal-links a {
  font-size: var(--fs-xs);
  color: var(--c-text3);
  transition: var(--tr-fast)
}

.legal-links a:hover {
  color: #fff
}

/* 17 ANIMATIONS */
@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0)
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0px)
  }

  100% {
    transform: translateY(-10px)
  }
}

@keyframes float-mid {
  0% {
    transform: translateY(0px)
  }

  100% {
    transform: translateY(-14px)
  }
}

@keyframes float-gentle {
  0% {
    transform: translateY(0px)
  }

  100% {
    transform: translateY(-6px)
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1
  }

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

@keyframes shimmer {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(100%)
  }
}

/* Light theme scrollbar */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: #f1f5f9
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--c-primary-r), 0.3);
  border-radius: 99px
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--c-primary-r), 0.5)
}

/* Light - body bg explicit */
body {
  background-color: #f8fafc
}

/* Navbar border for light */
.navbar-header {
  border-bottom: 1px solid rgba(99, 102, 241, 0.1)
}

.navbar-header.scrolled {
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08)
}

/* Light hero bg override */
.hero-section {
  background: radial-gradient(ellipse 90% 60% at 50% -5%, rgba(99, 102, 241, 0.09) 0%, transparent 65%), #f8fafc
}

/* Mockup body bg override */
.mockup-body {
  background: transparent
}

.dashboard-mockup {
  background: #fff;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.08)
}

.mockup-header {
  background: #f8fafc;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1)
}

/* Float cards on light */
.hero-float-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1)
}

.hero-float-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.15)
}

/* Scanner on light */
.qr-scanner-box {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.15)
}

/* Services bg */
.services-section {
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%)
}

.service-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06)
}

.service-card:hover {
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.14), 0 0 0 1px rgba(99, 102, 241, 0.1)
}

/* About section */
.about-us-section {
  background: rgba(99, 102, 241, 0.02)
}

.about-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05)
}

.about-card:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1)
}

/* fintech-card */
.fintech-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05)
}

.fintech-card:hover {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1)
}

/* why-item */
.why-item {
  background: #fff;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.04)
}

.why-item:hover {
  background: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1)
}

/* Stats */
.stats-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(6, 182, 212, 0.04) 100%)
}

.stat-item {
  background: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.06)
}

.stat-item:hover {
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12)
}

/* Steps */
.step-card {
  background: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.06)
}

.step-card:hover {
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.12)
}

/* FAQ */
.faq-section {
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.02) 50%, transparent)
}

.accordion-item {
  background: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.04)
}

.accordion-item.open {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08)
}

.accordion-header:hover {
  color: var(--c-primary)
}

/* Contact form */
.contact-form-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08)
}

.form-input {
  background: #f8fafc;
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #0f172a
}

.form-input:focus {
  border-color: rgba(99, 102, 241, 0.4);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08)
}


/* Mobile drawer light */
.mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(99, 102, 241, 0.1)
}

/* partner-logo */
.partner-logo {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1)
}

.partner-logo:hover {
  background: #f8fafc;
  border-color: rgba(99, 102, 241, 0.25);
  color: #1e293b
}

/* ============================================================
   DESIGN POLISH - Section fixes & enhancements
   ============================================================ */

/* --- HERO --- */
.hero-title {
  color: #0f172a;
  background: none;
  -webkit-text-fill-color: #0f172a;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section {
  background: radial-gradient(ellipse 100% 70% at 60% -10%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 5% 80%, rgba(6, 182, 212, 0.07) 0%, transparent 50%),
    #f8fafc;
}

/* --- NAVBAR --- */
.navbar-header {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.logo-text {
  color: #0f172a;
}

/* --- TRUST / PAYMENT METHODS --- */
.trust-section {
  background: #fff;
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.trust-heading {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.75rem;
}

/* --- SERVICES --- */
.services-section {
  background: #f8fafc;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.05), 0 4px 16px rgba(99, 102, 241, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.12);
}

.service-card::before {
  opacity: 0 !important;
}

/* --- ABOUT US --- */
.about-us-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.06);
}

.about-story {
  padding-right: 1rem;
}

.about-card {
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
}

/* --- WHY PAYFLY --- */
.why-payfly-section {
  background: #f8fafc;
  border-top: 1px solid rgba(99, 102, 241, 0.06);
  border-bottom: 1px solid rgba(99, 102, 241, 0.06);
}

.fintech-card {
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.04);
  animation: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fintech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
}

.why-item {
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
}

.why-title {
  color: #0f172a;
}

.why-subtitle {
  color: #475569;
}

/* --- STATS --- */
.stats-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.07) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(99, 102, 241, 0.07) 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
}

.stat-item {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

/* --- HOW IT WORKS --- */
.how-it-works-section {
  background: #fff;
  border-top: 1px solid rgba(99, 102, 241, 0.06);
}

.step-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.22);
}

.step-arrow {
  color: #cbd5e1;
  opacity: 1;
}

/* --- FAQ --- */
.faq-section {
  background: #f8fafc;
  border-top: 1px solid rgba(99, 102, 241, 0.06);
}

.accordion-item {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.04);
}

.accordion-item.open {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

/* --- CTA + CONTACT --- */
.cta-contact-section {
  background: #fff;
  border-top: 1px solid rgba(99, 102, 241, 0.06);
}

.cta-banner-side {
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}

.contact-form-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}

.form-input {
  background: #f8fafc;
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #0f172a;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-input:focus {
  background: #fff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* --- FOOTER --- */
.footer-section {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-heading {
  color: #f1f5f9;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #e2e8f0;
  padding-left: 3px;
}

.footer-tagline {
  color: #64748b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.copyright-text {
  color: #475569;
}

.legal-links a {
  color: #475569;
}

.legal-links a:hover {
  color: #e2e8f0;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.newsletter-input::placeholder {
  color: #475569;
}

.newsletter-input:focus {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
}

.social-links a:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

/* --- DASHBOARD MOCKUP --- */
.dashboard-mockup {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 24px 64px rgba(99, 102, 241, 0.1), 0 4px 16px rgba(0, 0, 0, 0.05);
}

.mockup-header {
  background: #f8fafc;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.mockup-chart {
  background: #f8fafc;
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.chart-title {
  color: #1e293b;
}

/* --- FLOATING CARDS --- */
.hero-float-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(99, 102, 241, 0.14);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-float-card:hover {
  border-color: rgba(99, 102, 241, 0.28);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.15);
}

.float-title {
  color: #0f172a;
}

.float-desc {
  color: #64748b;
}

.qr-widget-title {
  color: #0f172a;
}

.qr-widget-desc {
  color: #94a3b8;
}


/* --- MOBILE DRAWER --- */
.mobile-drawer {
  background: #fff;
  border-left: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
}

/* --- PARTNER LOGOS --- */
.partner-logo {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.04);
  color: #475569;
}

.partner-logo:hover {
  border-color: rgba(99, 102, 241, 0.22);
  background: rgba(99, 102, 241, 0.03);
  color: #1e293b;
}

/* --- BTN PRIMARY always white text --- */
.btn-primary {
  color: #fff !important;
}

/* --- Section alternating pattern --- */
/* odd = white bg, even = #f8fafc -- enforced above per section */

/* --- Smooth footer link transition --- */
.footer-links a {
  transition: color 0.18s ease, padding-left 0.18s ease;
}

/* ============================================================
   PREMIUM SECTION REDESIGNS: About Us, Why PayFly, Contact
   ============================================================ */

/* ── ABOUT US ── */
.about-us-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  padding: var(--sp-sec) 0;
  border-top: 1px solid rgba(99, 102, 241, 0.07);
}

/* Stats row */
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.about-stat-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 60%);
  border-radius: 18px;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
}

.about-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.about-stat-icon svg {
  width: 22px;
  height: 22px;
}

.about-stat-number {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat-label {
  font-size: var(--fs-xs);
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Story split */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.about-story {
  padding-right: 0.5rem;
}

.about-story-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.about-text {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: var(--fs-base);
}

.about-trust-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.about-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #6366f1;
}

.about-trust-badge svg {
  flex-shrink: 0;
}

/* About cards (right) */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  padding: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.04);
}

.about-card:hover {
  transform: translateX(6px);
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.1);
}

.about-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.about-card-icon svg {
  width: 22px;
  height: 22px;
}

.about-card-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.about-card-desc {
  font-size: var(--fs-sm);
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* ── WHY PAYFLY NEW ── */
.why-new-section {
  background: #f8fafc;
  padding: var(--sp-sec) 0;
  border-top: 1px solid rgba(99, 102, 241, 0.07);
  border-bottom: 1px solid rgba(99, 102, 241, 0.07);
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.why-feature-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(99, 102, 241, 0.13);
  border-color: rgba(99, 102, 241, 0.22);
}

.why-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 26px;
  height: 26px;
}

.why-feature-body {
  flex: 1;
}

.why-feature-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.why-feature-desc {
  font-size: var(--fs-sm);
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.why-feature-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(99, 102, 241, 0.06);
  line-height: 1;
  letter-spacing: -2px;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

/* ── CONTACT FORM ── */
.cta-contact-section {
  background: #fff;
  padding: var(--sp-sec) 0;
  border-top: 1px solid rgba(99, 102, 241, 0.07);
}

.cta-contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* CTA banner left */
.cta-banner-side {
  background: linear-gradient(145deg, #4f46e5 0%, #6366f1 40%, #06b6d4 100%);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  border: none;
  box-shadow: 0 24px 64px rgba(99, 102, 241, 0.28);
}

.cta-shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  top: -100px;
  right: -80px;
  filter: blur(50px);
}

.cta-shape-2 {
  width: 200px;
  height: 200px;
  background: rgba(6, 182, 212, 0.25);
  bottom: -60px;
  left: -50px;
  filter: blur(60px);
}

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

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* CTA perks list */
.cta-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.cta-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-perks li .perk-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-perks li .perk-dot svg {
  width: 11px;
  height: 11px;
  stroke: #fff;
  stroke-width: 2.5;
}

/* Contact form right */
.contact-form-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.07);
  display: flex;
  flex-direction: column;
}

.form-header {
  margin-bottom: 2rem;
}

.form-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.form-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.form-subtitle {
  font-size: var(--fs-sm);
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-input {
  background: #f8fafc;
  border: 1.5px solid rgba(99, 102, 241, 0.13);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #0f172a;
  font-size: var(--fs-sm);
  font-family: var(--font-sans);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  background: #fff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

.textarea-input {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.margin-top-sm {
  margin-top: 0.75rem;
}

.margin-top-md {
  margin-top: 1.5rem;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.form-privacy-note {
  font-size: var(--fs-xs);
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-privacy-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #22c55e;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-banner-side {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .about-stat-card {
    padding: 1.25rem 1rem;
  }

  .about-stat-number {
    font-size: 1.5rem;
  }

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

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

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .cta-banner-side {
    padding: 2.5rem 2rem;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   FINAL GLOBAL POLISH
   ============================================================ */

/* Smooth section transitions */
section {
  transition: background 0.3s ease;
}

/* Hero section overrides */
.hero-section {
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    #f8fafc;
}

/* Improve hero badge visibility */
.hero-section .badge {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

/* Float card improvements */
.hero-float-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.09), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hero-float-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(99, 102, 241, 0.22);
}

/* Dashboard mockup polished */
.dashboard-mockup {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow:
    0 24px 64px rgba(99, 102, 241, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.mockup-body {
  background: #fff;
}

/* Trust / Payment marquee */
.trust-section {
  background: #fff;
  padding: 3rem 0;
  border-top: 1px solid rgba(99, 102, 241, 0.07);
  border-bottom: 1px solid rgba(99, 102, 241, 0.07);
}

.logo-marquee-container {
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

/* Services - clean card grid */
.services-section {
  background: #f8fafc;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.09);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(99, 102, 241, 0.04);
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

/* Stats */
.stats-section {
  background: linear-gradient(135deg, #eef2ff 0%, #ecfeff 50%, #eef2ff 100%);
}

.stat-item {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
}

/* How it works */
.how-it-works-section {
  background: #fff;
}

.step-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.09);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.11);
  border-color: rgba(99, 102, 241, 0.2);
}

.step-arrow {
  color: #cbd5e1;
  opacity: 1;
}

/* FAQ */
.faq-section {
  background: #f8fafc;
}

.accordion-item {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.09);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.accordion-item.open {
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.09);
}

/* CTA + Contact */
.cta-contact-section {
  background: #fff;
}

.cta-banner-side {
  background: linear-gradient(145deg, #4338ca 0%, #6366f1 50%, #06b6d4 100%);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.25), 0 8px 24px rgba(99, 102, 241, 0.15);
}

.contact-form-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.07);
}

/* Why PayFly new */
.why-new-section {
  background: #f8fafc;
}

.why-feature-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.09);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
}

.why-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
}

/* About Us */
.about-us-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.about-stat-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.09);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.11);
  border-color: rgba(99, 102, 241, 0.18);
}

.about-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.09);
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.04);
}

.about-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.09);
  border-color: rgba(99, 102, 241, 0.18);
}

/* Footer overrides */
.footer-section {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-heading {
  color: #e2e8f0;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #e2e8f0;
}

.footer-tagline {
  color: #64748b;
}

.copyright-text {
  color: #475569;
}

.legal-links a {
  color: #475569;
}

.legal-links a:hover {
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links a {
  border-color: rgba(255, 255, 255, 0.1);
  color: #64748b;
}

.social-links a:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.newsletter-input:focus {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-input::placeholder {
  color: #475569;
}

/* Global scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.25);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.45);
}

/* Selection color */
::selection {
  background: rgba(99, 102, 241, 0.15);
  color: #1e293b;
}

/* Smooth hover transitions everywhere */
.service-card,
.step-card,
.stat-item,
.accordion-item,
.about-card,
.about-stat-card,
.why-feature-card,
.fintech-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s ease;
}

/* Ensure .reveal-element transition is not delayed */
.why-features-grid .reveal-element:nth-child(1) {
  transition-delay: 0.05s;
}

.why-features-grid .reveal-element:nth-child(2) {
  transition-delay: 0.10s;
}

.why-features-grid .reveal-element:nth-child(3) {
  transition-delay: 0.15s;
}

.why-features-grid .reveal-element:nth-child(4) {
  transition-delay: 0.20s;
}

.why-features-grid .reveal-element:nth-child(5) {
  transition-delay: 0.25s;
}

.why-features-grid .reveal-element:nth-child(6) {
  transition-delay: 0.30s;
}

.about-stats-row .about-stat-card:nth-child(1) {
  transition-delay: 0.05s;
}

.about-stats-row .about-stat-card:nth-child(2) {
  transition-delay: 0.10s;
}

.about-stats-row .about-stat-card:nth-child(3) {
  transition-delay: 0.15s;
}

.about-stats-row .about-stat-card:nth-child(4) {
  transition-delay: 0.20s;
}

.services-grid .service-card:nth-child(1) {
  transition-delay: 0.05s;
}

.services-grid .service-card:nth-child(2) {
  transition-delay: 0.08s;
}

.services-grid .service-card:nth-child(3) {
  transition-delay: 0.11s;
}

.services-grid .service-card:nth-child(4) {
  transition-delay: 0.14s;
}

.services-grid .service-card:nth-child(5) {
  transition-delay: 0.17s;
}

.services-grid .service-card:nth-child(6) {
  transition-delay: 0.20s;
}

/* Mobile responsive final fixes */
@media (max-width: 768px) {
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .about-stat-card {
    padding: 1.25rem 1rem;
  }

  .about-stat-number {
    font-size: 1.5rem;
  }

  .why-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-feature-card {
    padding: 1.5rem;
  }

  .why-feature-num {
    font-size: 2rem;
    top: 1rem;
    right: 1rem;
  }

  .cta-banner-side {
    padding: 2.5rem 2rem;
    min-height: auto;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

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

  .cta-perks {
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

/* ============================================================
   MOBILE UX IMPROVEMENTS (appended)
   ============================================================ */

/* Touch targets minimum 44px */
.btn {
  min-height: 44px;
}

.nav-link {
  padding: 0.5rem 0;
}

.accordion-header {
  min-height: 52px;
}

.social-links a {
  width: 40px;
  height: 40px;
}

/* Steps - horizontal on desktop */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.step-card {
  height: 100%;
}

/* How it works cards - stack on mobile is in responsive.css */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* Why feature card - row layout on mobile (handled in responsive.css) */
.why-feature-body {
  min-width: 0;
}

/* Prevent image overflow in about */
.about-story img {
  max-width: 100%;
  height: auto;
}

/* Accordion body overflow */
.accordion-body {
  word-break: break-word;
}

/* Form inputs - prevent iOS zoom (font-size >= 16px) */
@supports (-webkit-touch-callout: none) {

  .form-input,
  .newsletter-input,
  select {
    font-size: 16px !important;
  }
}

/* Mobile nav drawer body lock */
body.drawer-open {
  overflow: hidden;
}

/* CTA buttons min width */
.cta-buttons .btn {
  min-width: 140px;
}

/* Section dividers for visual rhythm */
.trust-section,
.services-section,
.about-us-section,
.why-new-section,
.stats-section,
.how-it-works-section,
.faq-section,
.cta-contact-section {
  position: relative;
}

/* Improve tap highlight on mobile */
a,
button {
  -webkit-tap-highlight-color: rgba(99, 102, 241, 0.1);
}

/* About stat card centering on mobile */
.about-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Why feature card responsive direction fix */
@media (max-width: 768px) {
  .step-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1rem;
  }

  .step-number-wrap {
    flex-shrink: 0;
    margin: 0;
  }

  .step-icon-wrap {
    display: none;
  }
}

/* Footer columns on very small screens */
@media (max-width: 480px) {
  .footer-links {
    gap: 0.6rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-heading {
    margin-bottom: 0.75rem;
  }

  .newsletter-form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   HOW IT WORKS — Redesigned Step Cards
   ============================================================ */

/* Remove old step elements */
.step-number-wrap {
  display: none !important;
}

.step-icon-wrap {
  display: none !important;
}

/* Step card base */
.step-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
}

/* Single combined icon block */
.step-icon-main {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  flex-shrink: 0;
}

/* Step badge (number) — top-right corner of icon */
.step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
  letter-spacing: 0;
}

/* Color variants */
.step-icon-indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.06));
  color: #6366f1;
}

.step-icon-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0.06));
  color: #06b6d4;
}

.step-icon-violet {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.06));
  color: #8b5cf6;
}

.step-icon-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.06));
  color: #22c55e;
}

/* Icon hover lift color */
.step-card:hover .step-icon-indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.10));
}

.step-card:hover .step-icon-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(6, 182, 212, 0.10));
}

.step-card:hover .step-icon-violet {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0.10));
}

.step-card:hover .step-icon-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.10));
}

/* Typography */
.step-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: var(--fs-xs);
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* Arrow between steps */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.step-arrow svg {
  width: 22px;
  height: 22px;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-arrow {
    display: none;
  }

  .step-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
  }

  .step-icon-main {
    margin: 0;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 16px;
  }

  .step-icon-main svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .step-card {
    padding: 1rem;
    gap: 0.85rem;
  }

  .step-icon-main {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .step-icon-main svg {
    width: 22px;
    height: 22px;
  }

  .step-badge {
    width: 18px;
    height: 18px;
    font-size: 0.55rem;
  }

  .step-title {
    font-size: 0.92rem;
  }
}

/* ── Balance Card Redesign (no number) ── */
.balance-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.balance-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 1.5px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 1.4s ease-in-out infinite;
}

.balance-rate-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.balance-rate-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.balance-rate-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  align-self: flex-end;
  padding-bottom: 2px;
}

.balance-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.balance-progress-fill {
  height: 100%;
  width: 99.9%;
  background: linear-gradient(90deg, #4ade80, #06b6d4);
  border-radius: 99px;
  animation: shimmer 2.5s ease-in-out infinite;
}

/* ── Section titles — single line fix ── */
.section-title {
  font-size: clamp(1.35rem, 1.1rem + 1.6vw, 1.9rem);
  white-space: nowrap;
  overflow: visible;
}

/* Re-allow wrapping on small screens */
@media (max-width: 900px) {
  .section-title {
    white-space: normal;
    font-size: clamp(1.25rem, 1rem + 2vw, 1.6rem);
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(1.1rem, 0.9rem + 2.5vw, 1.35rem);
  }
}

/* Service Detail Page Styles */
.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.feature-detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.feature-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-detail-card:hover::before {
  opacity: 1;
}

.feature-detail-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.feature-detail-card:hover .feature-detail-icon-container {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.feature-detail-icon-container svg {
  width: 30px;
  height: 30px;
}

.feature-detail-title-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.feature-detail-desc-text {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* Force all footer text to white */
.footer-heading,
.footer-tagline,
.footer-links a,
.copyright-text,
.legal-links a,
.newsletter-text,
.social-links a {
  color: #ffffff !important;
}

.footer-links a:hover,
.legal-links a:hover,
.social-links a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}