:root {
  /* Light Mode Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --surface: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-card-hover: #F8FAFC;
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-glow: rgba(76, 139, 245, 0.15);

  --text-primary: #0F172A;
  /* Slate 900 */
  --text-secondary: #475569;
  /* Slate 600 */
  --text-muted: #576574;
  /* Slate 500 optimized for accessibility contrast ratio (>4.5:1 on white) */
  --text-light: #94A3B8;
  /* Slate 400 */

  --accent: #4C8BF5;
  --accent-light: #EFF6FF;
  --accent-glow: rgba(76, 139, 245, 0.1);
  --accent-hover: #3B82F6;
  --accent-dark: #1D4ED8;
  --accent-dark-glow: rgba(29, 78, 216, 0.08);

  --green: #047857;
  /* Emerald 700 optimized for accessibility contrast ratio (>4.5:1 on white) */
  --green-glow: rgba(4, 120, 87, 0.08);
  --red: #C0392B;
  /* Crimson red optimized for accessibility contrast ratio (>4.5:1 on white) */
  --red-glow: rgba(192, 57, 43, 0.08);
  --amber: #B45309;
  /* Amber 700 optimized for accessibility contrast ratio (>4.5:1 on white) */
  --amber-glow: rgba(180, 83, 9, 0.08);
  --gold: #D4AF37;

  /* Layout & Spacing */
  --container-max-width: 1200px;
  --nav-height: 80px;

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);

  /* Drop Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 0 1px 0 rgba(15, 23, 42, 0.08);
}

/* Background Patterns */
.bg-dot-grid {
  background-image: radial-gradient(rgba(148, 163, 184, 0.1) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.bg-radial-hero {
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 75%, var(--bg-primary) 100%),
    url('Yx0Pz1GXYHNpQKHjvXJ1NjjNCaU.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* Add subtle dot grid as a layered pseudo-element in the hero to avoid style collisions */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography settings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem);
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--text-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

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

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 139, 245, 0.3);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

/* Accessibility focus indicator */
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Navigation - Floating Capsule (Lunera Style) */
header.site-nav {
  position: fixed;
  top: 16px;
  /* Slightly tighter top spacing */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 850px;
  /* Slighter capsule width for better layout balance */
  height: 58px;
  /* Sleeker height */
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  box-shadow:
    0 10px 30px -10px rgba(15, 23, 42, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.01),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  /* Premium internal highlight */
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 8px;
}

header.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    0 16px 40px -15px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  top: 12px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 8px 0 20px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  height: 100%;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.footer-info .logo img {
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo svg {
  width: 40px;
  height: 40px;
}

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

nav.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
}

nav.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.nav-menu a:hover {
  color: var(--text-primary);
}

nav.nav-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-cta .btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--text-primary);
  color: #fff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section (Centered layout) */
.hero {
  padding-top: calc(var(--nav-height) + 12px);
  /* Reduced padding to lift elements */
  padding-bottom: 30px;
  /* Tighter spacing */
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 20px;
  gap: 16px;
  /* Reduced gap from 24px to 16px */
}

.badge-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid rgba(76, 139, 245, 0.15);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 1.8rem + 2.8vw, 4rem);
  /* Sleeker title size */
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.12rem);
  /* Slightly more compact paragraph */
  line-height: 1.5;
  max-width: 600px;
  /* Slighter width for cleaner layout */
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 14px;
  background: #000;
  border: 1px solid #000;
  transition: all 0.2s ease;
  color: #fff;
  text-align: left;
}

.app-badge-btn:hover {
  transform: translateY(-2px);
  background: #1e293b;
  border-color: #1e293b;
  box-shadow: var(--shadow-md);
}

.app-badge-btn svg {
  width: 24px;
  height: 24px;
}

.app-badge-btn .badge-text-sub {
  font-size: 0.68rem;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.app-badge-btn .badge-text-main {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rating-stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
}

.rating-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Centered showcase layout with floating elements */
.hero-showcase {
  position: relative;
  max-width: 900px;
  margin: 0 auto 0;
  /* Reduced from 16px */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 160px 24px;
  /* Reduced to pull mockup up */
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  width: 278px;
  /* Sleeker, slimmer width */
  border-radius: 38px;
  /* Slightly tighter border radius */
  background: #090D16;
  /* Titanium bezel */
  padding: 6px;
  /* Slimmer black bezel width */
  border: 3px solid #334155;
  /* Sleek titanium frame */
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    var(--shadow-xl);
  z-index: 5;
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: scale(1.02);
}

.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 458 / 1024;
  /* Keep the exact aspect ratio of the screenshot */
  border-radius: 32px;
  overflow: hidden;
  background: #0A0C10;
  /* Dark Mode UI inside app */
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.phone-container-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 5;
}

.mockup-theme-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.theme-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.theme-switch-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(76, 139, 245, 0.25);
}

.theme-switch-btn svg {
  stroke-width: 2.5px;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  z-index: 50;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 42px 14px 16px;
  font-size: 11px;
  color: #F4F5F6;
  text-align: left;
}

/* Simulated App UI styles inside Phone */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.app-user {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.app-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.app-user-name {
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-user-subtitle {
  font-size: 0.65rem;
  color: #A4ACB8;
  margin: 0;
  line-height: 1;
}

.app-header-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.app-icon-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F4F5F6;
}

/* Balance Hero Card */
.app-balance-card {
  position: relative;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1A1F2B 0%, #10141E 100%);
  border: 1px solid rgba(76, 139, 245, 0.2);
  overflow: hidden;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.app-balance-label {
  font-size: 0.7rem;
  color: #A4ACB8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-balance-val {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2px 0;
  font-family: var(--font-heading);
}

.app-balance-val small {
  font-size: 1rem;
  color: #A4ACB8;
}

.app-budget-progress-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
}

.app-budget-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #4EDEA3;
  width: 62%;
}

.app-budget-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #A4ACB8;
  margin-top: 4px;
}

/* Quick Actions */
.app-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.app-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #F4F5F6;
  font-size: 0.6rem;
  font-weight: 500;
}

.app-action-btn svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* Alert Banner */
.app-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.app-alert-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.app-alert-left span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section inside App */
.app-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.app-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.app-section-title {
  font-weight: 600;
  font-size: 0.75rem;
}

.app-section-link {
  font-size: 0.65rem;
  color: #A4ACB8;
}

.app-txn-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  min-height: 0;
}

.app-txn-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-width: 0;
}

.app-txn-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.app-txn-left>div {
  min-width: 0;
  flex: 1;
}

.app-txn-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.app-txn-title {
  font-weight: 600;
  font-size: 0.75rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.app-txn-desc {
  font-size: 0.6rem;
  color: #A4ACB8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.app-txn-amount {
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-left: 8px;
  text-align: right;
}

.app-txn-amount.negative {
  color: #FF6575;
}

.app-txn-amount.positive {
  color: #4EDEA3;
}

/* Bottom Tab Bar */
.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-top: auto;
  flex-shrink: 0;
}

.app-nav-item {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A4ACB8;
  border: none;
  background: none;
}

.app-nav-item.active {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #fff;
}

/* Hero Glow behind mockup */
.hero-glow {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 139, 245, 0.22) 0%, rgba(76, 139, 245, 0) 70%);
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  filter: blur(16px);
}

/* Floating Cards flanking the phone mockup */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 16px;
  box-shadow:
    0 20px 40px -15px rgba(15, 23, 42, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  z-index: 10;
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  pointer-events: auto;
  /* Allowed mouse interaction so hover works */
}

.floating-card:hover {
  transform: translateY(-12px) scale(1.04) !important;
  /* smooth hover zoom and lift */
  box-shadow:
    0 25px 50px -10px rgba(15, 23, 42, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.02);
  border-color: rgba(76, 139, 245, 0.35);
  z-index: 20;
}

.fc-left {
  left: -155px;
  top: 4%;
  width: 175px;
  animation: floatCardLeft 8s ease-in-out infinite;
  animation-delay: -1.5s;
}

.fc-right {
  right: -155px;
  top: 8%;
  width: 175px;
  animation: floatCardRight 9s ease-in-out infinite;
  animation-delay: -4.5s;
}

.fc-top {
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 235px;
  animation: floatTop 7s ease-in-out infinite;
}

.fc-bottom-left {
  left: -145px;
  top: 42%;
  width: 175px;
  animation: floatCardLeft 10s ease-in-out infinite;
  animation-delay: -3s;
}

.fc-bottom-right {
  right: -145px;
  top: 46%;
  width: 165px;
  animation: floatCardRight 11s ease-in-out infinite;
  animation-delay: -6s;
}

/* Live dot pulse on top card */
.fc-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: livePulse 2s ease-in-out infinite;
}

/* Budget progress fill */
.fc-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  transition: width 1s ease;
}

@keyframes livePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
}

@keyframes floatTop {

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

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.fc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.fc-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.fc-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.fc-value.green {
  color: var(--green);
}

.fc-sparkline {
  height: 25px;
  width: 100%;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  margin-top: 8px;
}

/* Media/partner logo row */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  width: 100%;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo svg {
  width: 18px;
  height: 18px;
}

/* Section styling */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.section-alternate {
  background: var(--bg-secondary);
}

.section-title-wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Features Layout (3 + 2 Grid) */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 139, 245, 0.3);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  border: 1px solid rgba(76, 139, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-graphic {
  margin-top: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Feature Graphic Designs */
.sms-graphic {
  flex-direction: column;
  padding: 12px;
  gap: 8px;
}

.sms-bubble {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  max-width: 90%;
  box-shadow: var(--shadow-sm);
}

.biometric-graphic {
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.biometric-graphic svg {
  width: 48px;
  height: 48px;
  color: var(--accent-dark);
  animation: pulse 2s infinite ease-in-out;
}

.db-graphic {
  padding: 12px;
  flex-direction: column;
  gap: 6px;
}

.db-row {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 10px;
  width: 100%;
  font-size: 0.7rem;
  box-shadow: var(--shadow-sm);
}

.budget-wide-graphic {
  padding: 16px 18px;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.budget-row {
  width: 100%;
}

.budget-row>div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 5px;
  gap: 8px;
}

.budget-row>div:first-child span:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.budget-row>div:first-child span:last-child {
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.sync-wide-graphic {
  padding: 20px 16px;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Integrations Circular Diagram */
.integration-hub {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 4px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hub-center svg {
  width: 40px;
  height: 40px;
}

.hub-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 5;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hub-node:hover {
  border-color: var(--accent);
  transform: scale(1.1);
}

.hub-node svg {
  width: 22px;
  height: 22px;
}

.hub-node.node-1 {
  top: 30px;
  left: 184px;
}

/* Google Drive */
.hub-node.node-2 {
  top: 110px;
  right: 40px;
}

/* Chase */
.hub-node.node-3 {
  bottom: 110px;
  right: 40px;
}

/* HSBC */
.hub-node.node-4 {
  bottom: 30px;
  left: 184px;
}

/* Citi */
.hub-node.node-5 {
  bottom: 110px;
  left: 40px;
}

/* GPay */
.hub-node.node-6 {
  top: 110px;
  left: 40px;
}

/* PayPal */

.hub-circle-path {
  position: absolute;
  width: 308px;
  height: 308px;
  border-radius: 50%;
  border: 1.5px dashed var(--text-light);
  opacity: 0.4;
  pointer-events: none;
}

/* How It Works (Walkthrough Layout) */
.walkthrough-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.walkthrough-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.walkthrough-right {
  position: sticky;
  top: 110px;
  /* Offset for site-nav height + spacing */
  align-self: start;
}

.sticky-preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  gap: 20px;
}

.step-card:hover {
  border-color: rgba(76, 139, 245, 0.2);
  transform: translateX(4px);
}

.step-card.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.step-card.active .step-badge {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.9rem;
}

/* Steps Preview graphics */
.steps-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.preview-box {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-premium);
  transition: all 0.4s ease;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 16px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-light);
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-xl);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.pricing-cta {
  margin-top: auto;
  width: 100%;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.testimonial-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Stats Counter Row */
.stats-counter {
  display: flex;
  justify-content: space-around;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}

.stats-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* FAQ Layout (Left/Right Layout) */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.faq-intro {
  text-align: left;
}

.faq-intro p {
  margin-top: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.faq-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Blog / Resources Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--bg-tertiary);
}

.blog-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 139, 245, 0.1) 0%, rgba(83, 74, 183, 0.1) 100%);
}

.blog-meta {
  padding: 24px 24px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

.blog-meta span.date {
  color: var(--text-muted);
  font-weight: 400;
}

.blog-card h3 {
  padding: 12px 24px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-card p {
  padding: 0 24px 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.blog-link {
  margin-top: auto;
  padding: 16px 24px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-link svg {
  transform: translateX(4px);
}

/* Call to Action Section (Bottom) */
.bottom-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.bottom-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 3rem);
  margin-bottom: 16px;
}

.bottom-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Footer (Dark themed) */
footer.site-footer {
  background: #090B0F;
  /* Dark footer */
  color: #94A3B8;
  border-top: 1px solid #1E293B;
  padding: 80px 0 40px;
  font-size: 0.9rem;
}

footer.site-footer h4 {
  color: #F8FAFC;
}

footer.site-footer p {
  color: #94A3B8;
}

footer.site-footer a {
  color: #94A3B8;
}

footer.site-footer a:hover {
  color: #F8FAFC;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.footer-info p {
  font-size: 0.9rem;
}

.footer-info .logo {
  color: #fff;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.footer-links-group h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #64748B;
  font-size: 0.8rem;
}

/* Legal pages content styling */
.legal-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.legal-content h1 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.legal-body h2 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-body p {
  font-size: 0.98rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.legal-body ul {
  list-style-type: square;
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.legal-body li {
  margin-bottom: 8px;
}

/* Animations */
@keyframes pulse {

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

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

/* Responsive overrides */
@media (max-width: 992px) {
  .hero-showcase {
    margin: 40px auto 0;
    padding: 40px 0;
  }

  .floating-card {
    display: none;
    /* Hide absolute floating cards on smaller screens to avoid overlap */
  }

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

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

  .walkthrough-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .walkthrough-right {
    position: static;
    margin-top: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-counter {
    flex-wrap: wrap;
    gap: 24px;
  }

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

@media (max-width: 768px) {
  header.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 60px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    padding: 0 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  header.site-nav.scrolled {
    top: 0;
  }

  .nav-container {
    padding: 0;
  }

  .menu-toggle {
    display: block;
  }

  nav.nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    align-items: stretch;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    border-top: 1px solid var(--border);
  }

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

  nav.nav-menu a {
    font-size: 1.15rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-cta {
    display: none;
  }

  .partner-logos {
    gap: 24px;
  }

  .integration-hub {
    width: 320px;
    height: 320px;
  }

  .hub-node {
    width: 44px;
    height: 44px;
  }

  .hub-node svg {
    width: 18px;
    height: 18px;
  }

  .hub-circle-path {
    width: 228px;
    height: 228px;
  }

  .hub-node.node-1 {
    top: 20px;
    left: 138px;
  }

  .hub-node.node-2 {
    top: 80px;
    right: 20px;
  }

  .hub-node.node-3 {
    bottom: 80px;
    right: 20px;
  }

  .hub-node.node-4 {
    bottom: 20px;
    left: 138px;
  }

  .hub-node.node-5 {
    bottom: 80px;
    left: 20px;
  }

  .hub-node.node-6 {
    top: 80px;
    left: 20px;
  }

  .legal-content {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .app-badge-btn {
    width: 100%;
    justify-content: center;
  }

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

/* Floating Background Orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  animation: floatAnimation 20s infinite ease-in-out;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  top: 15%;
  left: -5%;
  animation-duration: 25s;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: var(--accent-dark);
  top: 35%;
  right: -10%;
  animation-duration: 35s;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--green);
  bottom: 10%;
  left: 5%;
  animation-duration: 30s;
  animation-delay: -10s;
}

@keyframes floatAnimation {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(40px, -60px) scale(1.15) rotate(120deg);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9) rotate(240deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}

/* Idle Floating Animations for Mockup & Flanking Cards */
@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 30px 40px rgba(76, 139, 245, 0.18));
  }

  50% {
    transform: translateY(-14px) scale(1.005);
    filter: drop-shadow(0 50px 60px rgba(76, 139, 245, 0.28));
  }
}

.phone-mockup {
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-mockup:hover {
  animation-play-state: paused;
  transform: scale(1.025) translateY(-4px);
}

@keyframes floatCardLeft {

  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.03);
  }
}

@keyframes floatCardRight {

  0%,
  100% {
    transform: translateY(0) rotate(1.5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  }

  50% {
    transform: translateY(-14px) rotate(-1deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.03);
  }
}

.fc-left {
  animation: floatCardLeft 8s ease-in-out infinite;
  animation-delay: -1s;
}

.fc-right {
  animation: floatCardRight 9s ease-in-out infinite;
  animation-delay: -4s;
}

/* Scroll Reveal Animation System */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for sequential item reveals */
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* Free Features Philosophy Section Grid */
.free-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.free-feature-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.free-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 139, 245, 0.3);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(76, 139, 245, 0.05);
}

.free-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.ff-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

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

.free-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.free-feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Adjust Section class for safety from background orbs overflowing */
.section {
  overflow: hidden;
}

/* Responsive Overrides for Free Features Grid */
@media (max-width: 768px) {
  .free-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .free-feature-card {
    padding: 24px;
  }
}

/* HIGH TECH INTEGRATIONS HUB STYLING & ANIMATIONS */
.hub-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hub-dashed-ring {
  fill: none;
  stroke: rgba(148, 163, 184, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}

.connector-line-bg {
  stroke: rgba(148, 163, 184, 0.08);
  stroke-width: 1.5;
}

.connector-line-pulse {
  stroke: url(#laser-grad);
  stroke-width: 2;
  stroke-dasharray: 8 16;
  stroke-linecap: round;
  animation: dashFlow 2.5s linear infinite;
}

@keyframes dashFlow {
  from {
    stroke-dashoffset: 24;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.radar-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: rgba(76, 139, 245, 0.04);
  animation: radarPulse 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
}

@keyframes radarPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    opacity: 0.35;
  }

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

.brand-svg {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-node:hover .brand-svg {
  transform: scale(1.15);
}

.center-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Brand node glows and hover scales */
.drive-node:hover {
  border-color: #34A853;
  box-shadow: 0 10px 25px rgba(52, 168, 83, 0.25), 0 0 0 1px rgba(52, 168, 83, 0.05) inset;
}

.chase-node:hover {
  border-color: #112E51;
  box-shadow: 0 10px 25px rgba(17, 46, 81, 0.25), 0 0 0 1px rgba(17, 46, 81, 0.05) inset;
}

.hsbc-node:hover {
  border-color: #DB0011;
  box-shadow: 0 10px 25px rgba(219, 0, 17, 0.25), 0 0 0 1px rgba(219, 0, 17, 0.05) inset;
}

.citi-node:hover {
  border-color: #0072C6;
  box-shadow: 0 10px 25px rgba(0, 114, 198, 0.25), 0 0 0 1px rgba(0, 114, 198, 0.05) inset;
}

.gpay-node:hover {
  border-color: #4285F4;
  box-shadow: 0 10px 25px rgba(66, 133, 244, 0.25), 0 0 0 1px rgba(66, 133, 244, 0.05) inset;
}

.paypal-node:hover {
  border-color: #0079C1;
  box-shadow: 0 10px 25px rgba(0, 121, 193, 0.25), 0 0 0 1px rgba(0, 121, 193, 0.05) inset;
}

/* Supported Apps Section */
.apps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.app-chip svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

/* =====================================================
   FEATURE CARD GRAPHIC OVERHAULS
   ===================================================== */

/* Coloured icon variants */
.feature-icon--blue {
  background: rgba(76, 139, 245, 0.1);
  color: #4C8BF5;
}

.feature-icon--purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}

.feature-icon--green {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.feature-icon--amber {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.feature-icon--teal {
  background: rgba(20, 184, 166, 0.1);
  color: #14B8A6;
}

/* Notification graphic */
.notif-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  margin-top: 12px;
}

.notif-card {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
}

.notif-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.notif-app-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #1a73e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-app-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex: 1;
}

.notif-time {
  font-size: 0.62rem;
  color: var(--text-muted);
}

.notif-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.notif-body {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.notif-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.notif-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
}

/* DB graphic */
.db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.db-count {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* Biometric graphic */
.bio-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  border: 2px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bioGlow 3s ease-in-out infinite;
  margin: 0 auto 8px;
}

.bio-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

@keyframes bioGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.15);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.0);
  }
}

/* Budget bars */
.budget-bar-bg {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 999px;
  overflow: hidden;
}

.budget-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease;
}

/* Cloud Sync graphic */
.sync-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.sync-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sync-cloud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sync-line {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sync-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: syncFlow 1.2s ease-in-out infinite;
  opacity: 0;
}

@keyframes syncFlow {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

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

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

.sync-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  padding: 4px 12px;
}

/* =====================================================
   SCROLL-DRIVEN WALKTHROUGH SECTION
   ===================================================== */
.walkthrough-scroll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 56px;
}

/* Left: Sticky preview */
.walkthrough-sticky-side {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.walkthrough-preview-box {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  min-height: 240px;
}

/* Right: Scrollable steps */
.walkthrough-steps-side {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.scroll-step {
  padding: 36px 0;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-step:last-child {
  border-bottom: none;
}

.scroll-step-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.scroll-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  transition: color 0.3s ease;
}

.scroll-step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.scroll-step-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Active state */
.scroll-step.active .scroll-step-num {
  color: var(--accent);
}

.scroll-step.active .scroll-step-body h3 {
  color: var(--text-primary);
}

.scroll-step.active .scroll-step-body p {
  color: var(--text-secondary);
}

.scroll-step.active {
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  margin-left: -12px;
}

/* Preview animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

/* Walkthrough responsive */
@media (max-width: 768px) {
  .walkthrough-scroll-grid {
    grid-template-columns: 1fr;
  }

  .walkthrough-sticky-side {
    position: static;
    order: -1;
  }
}

.app-chip:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* =====================================================
   HERO STATS STRIP
   ===================================================== */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px auto 0;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  max-width: fit-content;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* =====================================================
   BUDGET GOALS SECTION
   ===================================================== */
.goals-tab-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: -16px;
}

.goals-tab-btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.goals-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-light);
}

.goals-tab-btn.active {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.goals-tab-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.goals-tab-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.goals-tab-content.hidden {
  display: none !important;
}

.goals-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 52px;
}

/* Goal cards column */
.goals-cards-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goal-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.goal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.goal-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

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

.goal-info {
  flex: 1;
  min-width: 0;
}

.goal-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.goal-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.goal-pct {
  font-size: 0.88rem;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.goal-bar-bg {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 999px;
  overflow: hidden;
}

.goal-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.goal-warning {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--red);
}

/* Highlights column */
.goals-highlights-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

.goals-highlight-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.goals-highlight-card:hover {
  box-shadow: var(--shadow-md);
}

.gh-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(76, 139, 245, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.goals-highlight-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.goals-highlight-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .goals-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    gap: 14px;
    padding: 12px 20px;
  }

  .hero-stat-divider {
    display: none;
  }
}

/* =====================================================
   PAGESPEED / ACCESSIBILITY FIXES
   ===================================================== */

/* Skip-to-content link (keyboard accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Composited animations — add will-change so browser promotes to GPU layer */
.floating-orb {
  will-change: transform;
}
.floating-card {
  will-change: transform;
}
.sync-dot {
  will-change: opacity;
}
.bio-ring {
  will-change: box-shadow;
}
.phone-container-wrapper {
  will-change: transform;
}

/* Links must be distinguishable beyond color alone */
nav.nav-menu a:focus-visible,
nav.nav-menu a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

footer.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer.site-footer a:hover {
  text-decoration: underline;
}

/* FAQ email link underline */
.faq-intro a,
.faq-intro a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Ensure footer h3 (converted from h4) matches previous h4 styling */
footer.site-footer .footer-links-group h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1;
  margin-bottom: 16px;
}

/* goals-highlight-card h3 (converted from h4) — preserve visual size */
.goals-highlight-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}