/* ============================================================
   styles.css — Bahrio Financial Arabic RTL Landing Page
   Design tokens inspired by shadcn/ui
   ============================================================ */

/* ── 1. TOKENS & RESET ─────────────────────────────────────── */
:root {
  /* shadcn/ui HSL tokens */
  --background:         222 47% 6%;
  --foreground:         210 40% 98%;
  --card:               0 0% 100%;
  --card-foreground:    222 47% 11%;
  --primary:            217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --muted:              217 33% 70%;
  --muted-foreground:   215 20% 65%;
  --border:             217 33% 20%;
  --ring:               217 91% 60%;
  --radius:             0.75rem;

  /* Resolved palette */
  --clr-bg:             #030720;
  --clr-bg2:            #0a1128;
  --clr-accent:         #3b82f6;
  --clr-accent-light:   #60a5fa;
  --clr-text:           #f8fafc;
  --clr-muted:          #94a3b8;
  --clr-card:           #ffffff;
  --clr-card-fg:        #1e293b;

  /* Shadows */
  --shadow-card: 0 25px 60px -12px rgba(0, 0, 0, 0.45),
                 0 10px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 28px rgba(59, 130, 246, 0.55);

  /* Layout */
  --header-h: 72px;
  --max-w:    1200px;

  /* Gradient system */
  --grad-blue-purple:   linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --grad-blue-indigo:   linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  --grad-amber-orange:  linear-gradient(135deg, #fbbf24 0%, #f97316 100%);

  /* Transition presets */
  --ease-out-expo:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:         0.2s;
  --t-med:          0.4s;
  --t-slow:         0.7s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── 2. FOCUS VISIBLE ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 3. KEYFRAME ANIMATIONS ────────────────────────────────── */

/* Hero content: fade in + slide from right (RTL) */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Expense card gentle float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Scroll indicator bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* Badge glowing dot pulse */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}

/* Shimmer sweep — for button highlights */
@keyframes shimmer {
  0%   { transform: skewX(-20deg) translateX(-120%); }
  100% { transform: skewX(-20deg) translateX(220%); }
}

/* Partners marquee */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Gradient text shift */
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* Subtle card pulse on hover */
@keyframes card-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
  50%       { box-shadow: 0 0 24px 4px rgba(99,102,241,0.18); }
}

/* ── Glow blob animations ─────────────────────────────────── */

/* Drifts slowly in a triangle path — for corner blobs */
@keyframes glow-drift-a {
  0%, 100% { transform: translate(0,    0)    scale(1);    }
  35%       { transform: translate(5%,  -4%)  scale(1.10); }
  70%       { transform: translate(-4%, 5%)   scale(0.95); }
}

/* Mirror drift — for secondary blobs so they move opposite */
@keyframes glow-drift-b {
  0%, 100% { transform: translate(0,    0)    scale(1);    }
  40%       { transform: translate(-6%, 3%)   scale(1.12); }
  75%       { transform: translate(4%,  -5%)  scale(0.94); }
}

/* Pulse + breathe for blobs that have translateY(-50%) centering */
@keyframes glow-pulse-y {
  0%, 100% { transform: translateY(-50%) scale(1);    opacity: 0.80; }
  50%       { transform: translateY(-50%) scale(1.20); opacity: 1;    }
}

/* Pulse for blobs centered with translate(-50%,-50%) */
@keyframes glow-pulse-xy {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.75; }
  50%       { transform: translate(-50%, -50%) scale(1.22); opacity: 1;    }
}

/* Simple opacity + scale breathe — for secondary blobs */
@keyframes glow-breathe {
  0%, 100% { opacity: 0.60; transform: scale(1);    }
  50%       { opacity: 1;    transform: scale(1.15); }
}

/* Hero notification pill entrance */
@keyframes notif-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)     scale(1);    }
}

/* Notification pill float — offset from card float */
@keyframes notif-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ── 4. HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max-w), calc(100% - 3rem));
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 17, 55, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255,255,255,0.08) inset;
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ─ Logo ─ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ─ Nav links ─ */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  /* RTL: underline slides from right */
  right: 0.8rem;
  left: 0.8rem;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* ─ Nav actions ─ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Demo button (shared) */
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: #ffffff;
  border: none;
  border-radius: 9999px;
  color: #1e3a8a;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn-demo:hover {
  background: #e8f0fe;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: #1e3a8a;
}

/* ─ Hamburger ─ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X when active */
body.nav-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.nav-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 5. MOBILE MENU ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--clr-bg2);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 200;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-close {
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  border-radius: 8px;
  color: var(--clr-muted);
  cursor: pointer;
  margin-bottom: 1.75rem;
  transition: background 0.2s, color 0.2s;
}

.mobile-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--clr-text);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 0.9rem 0.5rem;
  color: var(--clr-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s, padding-right 0.2s;
}

.mobile-nav-link:hover {
  color: var(--clr-accent);
  padding-right: 0.9rem;
}

.mobile-demo-btn {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}

/* Dim overlay behind mobile menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ── 6. HERO SECTION ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay on video — layered for depth */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(3,7,30,0.82) 0%, rgba(10,17,55,0.60) 45%, rgba(5,10,35,0.78) 100%),
    radial-gradient(ellipse at 30% 60%, rgba(59,130,246,0.10) 0%, transparent 55%);
  z-index: 1;
}

/* Inner wrapper: flex column to push social strip to bottom */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 1.5rem);
}

/* ── 7. HERO CONTENT GRID ──────────────────────────────────── */
.hero-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
}

/* ─ Text column (RTL: right column) ─ */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.12));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 9999px;
  font-size: 0.85rem;
  color: #c4b5fd;
  letter-spacing: 0.02em;
  animation: fadeSlideIn 0.8s ease 0.1s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

/* Heading — 3 dramatic staggered lines */
.hero-heading {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  display: flex;
  flex-direction: column;
  gap: 0.04em;
}

.hero-line {
  display: block;
  opacity: 0;
  animation: fadeSlideIn 0.7s var(--ease-out-expo) both;
}
.hero-line--1 { animation-delay: 0.15s; }
.hero-line--2 { animation-delay: 0.28s; font-size: 1.22em; }
.hero-line--3 { animation-delay: 0.42s; }

/* Fix: gradient-text overwrites the opacity animation — combine both */
.hero-line--2.gradient-text {
  animation: fadeSlideIn 0.7s var(--ease-out-expo) 0.28s both,
             grad-shift 6s ease-in-out 1.5s infinite;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--clr-muted);
  line-height: 1.85;
  max-width: 46ch;
  animation: fadeSlideIn 0.7s var(--ease-out-expo) 0.56s both;
}

/* ─ CTA row: primary button + ghost link ─ */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeSlideIn 0.7s var(--ease-out-expo) 0.68s both;
}

/* Ghost "watch demo" link */
.hero-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--t-fast) ease;
}
.hero-ghost-link svg {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 8px;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease;
  flex-shrink: 0;
}
.hero-ghost-link:hover { color: #ffffff; }
.hero-ghost-link:hover svg {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.30);
}

/* ─ Mini trust stats ─ */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeSlideIn 0.7s var(--ease-out-expo) 0.82s both;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  width: fit-content;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 1.1rem;
}
.hero-meta-item:first-child { padding-right: 0; }
.hero-meta-item:last-child  { padding-left: 0; }
.hero-meta-item strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1;
  direction: ltr;
  display: block;
  letter-spacing: -0.01em;
}
.hero-meta-item span {
  font-size: 0.72rem;
  color: var(--clr-muted);
  font-weight: 500;
  white-space: nowrap;
}
.hero-meta-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
}

/* CTA button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.5rem;
  background: var(--grad-blue-purple);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.45);
  transition: transform var(--t-med) var(--ease-out-expo),
              box-shadow var(--t-med) ease;
  gap: 0.5rem;
}
.btn-cta::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg) translateX(-120%);
}
.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.55);
}
.btn-cta:hover::after {
  animation: shimmer 0.55s ease forwards;
}

/* ─ Card column (RTL: left column) ─ */
.hero-card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeSlideIn 0.9s var(--ease-out-expo) 0.3s both;
}

/* ── HERO NOTIFICATION PILL ──────────────────────────────── */
.hero-notif {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem 0.5rem 0.65rem;
  background: rgba(8, 14, 44, 0.80);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.40), 0 1px 0 rgba(255,255,255,0.06) inset;
  animation: notif-in 0.7s var(--ease-out-expo) 0.7s both,
             notif-float 3.8s ease-in-out 1.5s infinite;
  margin-bottom: 0.75rem;
  align-self: flex-end;
  position: relative;
  z-index: 2;
}
.notif-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  flex-shrink: 0;
  color: #ffffff;
}
.notif-body {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.notif-title {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1;
}
.notif-sub {
  font-size: 0.84rem;
  color: var(--clr-text);
  font-weight: 700;
  direction: ltr;
  line-height: 1.2;
}
.notif-badge {
  padding: 0.18rem 0.55rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(5,150,105,0.12));
  border: 1px solid rgba(16,185,129,0.32);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
}

/* ── 8. EXPENSE CARD ───────────────────────────────────────── */
.expense-card {
  background: rgba(14, 22, 60, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.5rem;
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
  position: relative;
  overflow: hidden;
  animation: float 3.5s ease-in-out infinite;
}

/* Gradient top accent line */
.expense-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  border-radius: 1.5rem 1.5rem 0 0;
}

/* Subtle inner glow at top */
.expense-card::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Card header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
}

.card-arrow {
  color: var(--clr-accent);
  display: flex;
  align-items: center;
}

/* Account row */
.card-account {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--clr-accent);
  border-radius: 8px;
  flex-shrink: 0;
}

.account-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text);
}

/* Total */
.card-total {
  margin-bottom: 1.5rem;
}

.total-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.total-amount {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--clr-text);
  letter-spacing: -0.03em;
  direction: ltr; /* keep dollar sign and numbers LTR */
  text-align: right;
}

/* Category bars */
.card-categories {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.category-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-name {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.60);
  font-weight: 500;
}

.category-amount {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text);
  direction: ltr;
}

.category-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
  animation: bar-grow 1.2s var(--ease-out-expo) 1.2s both;
  transform-origin: right;
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.bar-blue       { background: linear-gradient(90deg, var(--clr-accent), #818cf8); }
.bar-light-blue { background: linear-gradient(90deg, var(--clr-accent-light), #a78bfa); }
.bar-gray       { background: linear-gradient(90deg, #94a3b8, #64748b); }

/* ── 9. SOCIAL PROOF STRIP ─────────────────────────────────── */
.social-strip {
  background: rgba(3, 7, 20, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--clr-muted);
}

.scroll-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}

/* CSS scroll mouse icon */
.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.30);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  animation: bounce 1.5s ease-in-out infinite;
}

.scroll-arrow {
  font-size: 1rem;
  display: block;
  animation: bounce 1.5s ease-in-out infinite;
}

/* Center divider in strip */
.strip-line {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.10);
  flex-shrink: 0;
}

/* Proof group */
.proof-group {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Overlapping avatar circles */
.avatars {
  display: flex;
  /* avatars overlap in LTR visual order */
  direction: ltr;
}

.avatar {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(3, 7, 20, 0.9);
  margin-left: -10px;
  flex-shrink: 0;
}

.avatars .avatar:first-child {
  margin-left: 0;
}

.av-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.av-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.av-3 { background: linear-gradient(135deg, #10b981, #059669); }
.av-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* Rating + users text */
.proof-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.proof-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text);
}

.proof-users {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

.proof-sep {
  opacity: 0.35;
}

/* ── 10. RESPONSIVE — TABLET (768–1023px) ──────────────────── */
@media (max-width: 1023px) {
  .hero-content {
    gap: 2.5rem;
    padding: 3.5rem 1.5rem 3rem;
    grid-template-columns: 1fr 1fr;
  }

  .expense-card {
    max-width: 320px;
    padding: 1.4rem;
  }

  .total-amount {
    font-size: 1.6rem;
  }
}

/* ── 11. RESPONSIVE — MOBILE (≤767px) ─────────────────────── */
@media (max-width: 767px) {
  /* Hide desktop nav links and demo btn; show hamburger */
  .nav-links,
  .nav-actions .btn-demo {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero: single column, text first then card */
  .hero-content {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 2.5rem;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-text {
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-meta {
    justify-content: center;
    width: auto;
    align-self: center;
  }

  .hero-meta-item:first-child { padding-right: 1.1rem; }
  .hero-meta-item:last-child  { padding-left: 1.1rem; }

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

  /* Card goes below text */
  .hero-card-col {
    order: 2;
    align-items: center;
  }

  .hero-notif {
    align-self: center;
    margin-bottom: 0.75rem;
  }

  .expense-card {
    max-width: 100%;
  }

  /* Social strip condensed */
  .strip-inner {
    padding: 1rem 1.25rem;
  }

  .strip-line {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-meta {
    gap: 0.9rem;
  }

  .proof-group {
    gap: 0.5rem;
  }
}

/* ── SECTION UTILITIES ─────────────────────────────────── */
.section-pad { padding: 6rem 0; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-center { text-align: center; }

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(139,92,246,0.10));
  border: 1px solid rgba(99,102,241,0.32);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.sec-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.sec-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--clr-muted);
  line-height: 1.85;
  max-width: 52ch;
}
.text-center .sec-sub { margin: 0 auto; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  background: var(--grad-blue-purple);
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  transition: transform var(--t-med) var(--ease-out-expo),
              box-shadow var(--t-med) ease;
}
/* Shimmer sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg) translateX(-120%);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}
.btn-primary:hover::after {
  animation: shimmer 0.55s ease forwards;
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  /* expo-out: fast start → smooth deceleration landing */
  transition:
    opacity   0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── GRADIENT TEXT ──────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 55%, #f0abfc 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-shift 6s ease-in-out infinite;
}

/* ── CONTENT-RELATIVE GLOW (behind each image) ──────────── */
.img-col {
  position: relative;       /* glow is anchored to the image column */
}

/* The amber orb — sits behind the img-frame, sized to overflow it */
.img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle,
    rgba(251, 191, 36, 0.22) 0%,
    rgba(245, 158, 11, 0.10) 38%,
    transparent 65%
  );
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 6s ease-in-out infinite;
}

/* img-frame must sit above the orb */
.img-col .img-frame {
  position: relative;
  z-index: 1;
}

/* ── SECTION IMAGE FRAMES (glass) ───────────────────────── */
.img-frame {
  position: relative;
  border-radius: 1.75rem;
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 32px 72px -16px rgba(0, 0, 0, 0.60),
    0 8px 24px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 48px rgba(251, 191, 36, 0.06);
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  transition:
    transform var(--t-slow) var(--ease-out-expo),
    box-shadow var(--t-slow) ease;
}
.img-col:hover .img-frame {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 48px 96px -16px rgba(0, 0, 0, 0.70),
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 80px rgba(251, 191, 36, 0.14);
}

/* Shine strip at the top edge — glass highlight */
.img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.sec-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 1.3rem;   /* slightly less than frame so it sits inside */
}

/* ── PLACEHOLDER IMAGES ─────────────────────────────────── */
.ph-img {
  border-radius: 1.25rem;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  flex-shrink: 0;
}

/* Person photo placeholder — warm blue-to-indigo gradient with a subtle shimmer */
.ph-img--person {
  background: linear-gradient(145deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
}
.ph-img--person::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3,7,32,0.55) 100%);
}

/* Duo photo placeholder — teal-to-blue */
.ph-img--duo {
  background: linear-gradient(145deg, #0d9488 0%, #2563eb 60%, #4f46e5 100%);
}
.ph-img--duo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3,7,32,0.45) 100%);
}

/* Dashboard screenshot placeholder */
.ph-img--dashboard {
  background: var(--clr-bg2);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-card);
}
/* Fake UI chrome inside dashboard placeholder */
.ph-img--dashboard::before {
  content: '';
  position: absolute;
  top: 1rem; left: 1rem; right: 1rem;
  height: 0.6rem;
  background: rgba(59,130,246,0.3);
  border-radius: 3px;
}
.ph-img--dashboard::after {
  content: '';
  position: absolute;
  top: 2.5rem; left: 1rem; right: 40%;
  bottom: 1rem;
  background: linear-gradient(180deg, rgba(59,130,246,0.18) 0%, rgba(59,130,246,0.04) 100%);
  border-radius: 0.5rem;
}

/* ── SEC-FEATURES ───────────────────────────────────────── */
.sec-features {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}
/* ambient only — very faint, no distraction */
.sec-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%,
    rgba(251, 191, 36, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.sec-features .container { position: relative; z-index: 1; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.features-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.features-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t-med) var(--ease-out-expo),
    box-shadow var(--t-med) ease,
    border-color var(--t-med) ease;
}
/* Gradient border on hover (mask trick) */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-med) ease;
  pointer-events: none;
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(99,102,241,0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(59,130,246,0.20), rgba(139,92,246,0.18));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  color: #a78bfa;
  transition: transform var(--t-med) var(--ease-out-expo), box-shadow var(--t-med) ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.10) rotate(-4deg);
  box-shadow: 0 0 20px rgba(139,92,246,0.35);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ── SEC-STATS ──────────────────────────────────────────── */
.sec-stats {
  background: var(--clr-bg2);
  position: relative;
  overflow: hidden;
}
/* ambient only */
.sec-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%,
    rgba(251, 191, 36, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.sec-stats .container { position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stats-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.stats-numbers {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(99,102,241,0.12));
  border: 1px solid rgba(99,102,241,0.22);
  border-radius: 10px;
  flex-shrink: 0;
  color: #93c5fd;
  margin-top: 4px;
}

.stat-val {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  direction: ltr;
  text-align: right;
  line-height: 1.1;
  background: linear-gradient(135deg, #f8fafc 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--clr-muted);
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ── SEC-TESTIMONIALS ───────────────────────────────────── */
.sec-testimonials {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}
/* ambient only — centered warm tint */
.sec-testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%,
    rgba(251, 191, 36, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.sec-testimonials .container { position: relative; z-index: 1; }

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5rem;
  gap: 0.75rem;
}

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

.testimonial-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t-med) var(--ease-out-expo),
    border-color var(--t-med) ease,
    box-shadow var(--t-med) ease;
}
/* Giant background quotation mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-size: 10rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(99, 102, 241, 0.07);
  pointer-events: none;
  font-family: Georgia, 'Times New Roman', serif;
  user-select: none;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.28);
  box-shadow: 0 24px 56px rgba(0,0,0,0.28), 0 0 0 1px rgba(99,102,241,0.12);
}

.quote-icon {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.85;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--clr-text);
  line-height: 1.85;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

/* ── SEC-PARTNERS ───────────────────────────────────────── */
.sec-partners {
  background: var(--clr-bg2);
  padding: 3.5rem 0;
}

.partners-lead {
  color: var(--clr-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.partners-lead strong {
  color: var(--clr-text);
}

/* Marquee container — fades out at edges */
.partners-logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

/* Scrolling track */
.partners-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}

/* Pause on hover */
.partners-logos:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.6rem 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, background var(--t-fast) ease;
  white-space: nowrap;
}
.partner-logo:hover {
  color: var(--clr-text);
  border-color: rgba(99,102,241,0.45);
  background: rgba(99,102,241,0.09);
}

/* ── SEC-ABOUT ──────────────────────────────────────────── */
.sec-about {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}
/* ambient only */
.sec-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 75% 30%,
    rgba(251, 191, 36, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.sec-about .container { position: relative; z-index: 1; }

.about-statement {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1.45;
  max-width: 58ch;
  margin: 0 auto 4.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.about-text h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.3;
}

.about-text p {
  font-size: 1rem;
  color: var(--clr-muted);
  line-height: 1.8;
}

/* ── SEC-FOOTER-CTA ─────────────────────────────────────── */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 6px 32px rgba(99,102,241,0.50), 0 0 0 0   rgba(99,102,241,0.25); }
  50%       { box-shadow: 0 6px 32px rgba(99,102,241,0.65), 0 0 0 14px rgba(99,102,241,0); }
}

.sec-footer-cta {
  position: relative;
  padding: 10rem 0 8rem;
  overflow: hidden;
  background: #030720;
  text-align: center;
  border-top: 1px solid rgba(99,102,241,0.14);
}

/* ─ Layered background system ─ */
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Dot grid */
.cta-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,0.22) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 78%);
  mask-image:         radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 78%);
  opacity: 0.55;
}

/* Glow orbs inside the CTA */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb--1 {
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 520px;
  background: radial-gradient(circle, rgba(99,102,241,0.32) 0%, transparent 65%);
  animation: glow-breathe 8s ease-in-out infinite;
}
.cta-orb--2 {
  bottom: -5%;
  left: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59,130,246,0.24) 0%, transparent 65%);
  animation: glow-drift-a 12s ease-in-out infinite 2s;
}
.cta-orb--3 {
  bottom: 5%;
  right: 6%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139,92,246,0.26) 0%, transparent 65%);
  animation: glow-drift-b 13s ease-in-out infinite 4s;
}

/* ─ Floating glass cards ─ */
.cta-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cta-float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.cta-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(59,130,246,0.18));
  border-radius: 50%;
  color: #93c5fd;
  flex-shrink: 0;
}

.cta-float-card--1 {
  top: 18%;
  right: 7%;
  animation: float 5.5s ease-in-out infinite;
}
.cta-float-card--2 {
  top: 35%;
  left: 5%;
  animation: float 6.5s ease-in-out infinite 1.8s;
}
.cta-float-card--3 {
  bottom: 20%;
  right: 9%;
  animation: float 7s ease-in-out infinite 3.5s;
}

/* ─ Main container ─ */
.sec-footer-cta .container {
  position: relative;
  z-index: 2;
}

/* ─ Badge ─ */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(59,130,246,0.12));
  border: 1px solid rgba(99,102,241,0.38);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 2.25rem;
  letter-spacing: 0.025em;
}

/* ─ Heading ─ */
.cta-heading {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

/* ─ Description ─ */
.cta-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--clr-muted);
  line-height: 1.85;
  max-width: 50ch;
  margin: 0 auto 3rem;
}

/* ─ Action buttons row ─ */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Big hero CTA — pulsing gradient */
.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 2.75rem;
  background: var(--grad-blue-purple);
  color: #ffffff;
  text-decoration: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  animation: cta-pulse 3s ease-in-out infinite;
  transition: transform var(--t-med) var(--ease-out-expo);
}
.btn-cta-hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg) translateX(-150%);
}
.btn-cta-hero:hover {
  transform: translateY(-3px) scale(1.03);
}
.btn-cta-hero:hover::after {
  animation: shimmer 0.6s ease forwards;
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 2.25rem;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background var(--t-med) ease,
    border-color var(--t-med) ease,
    color var(--t-med) ease,
    transform var(--t-med) var(--ease-out-expo);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ─ Feature guarantees list ─ */
.cta-features {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.cta-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--clr-muted);
}
.cta-check {
  color: #34d399;
  flex-shrink: 0;
}

/* ─ Social trust row ─ */
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-trust-text {
  font-size: 0.875rem;
  color: var(--clr-muted);
}
.cta-trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.15);
}
.cta-trust-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--clr-text);
}
.cta-trust-rating strong {
  font-weight: 700;
}
.cta-trust-rating span {
  color: var(--clr-muted);
}

/* ─ CTA Responsive ─ */
@media (max-width: 1023px) {
  .cta-float-card--2 { display: none; }
}
@media (max-width: 767px) {
  .sec-footer-cta { padding: 7rem 0 5rem; }
  .cta-float-card { display: none; }
  .cta-heading { font-size: clamp(2.2rem, 9vw, 3rem); }
  .cta-features { gap: 1.25rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-cta-hero,
  .btn-ghost { justify-content: center; }
  .cta-trust-divider { display: none; }
}

/* ── RESPONSIVE ADDITIONS ───────────────────────────────── */
@media (max-width: 1023px) {
  .features-grid,
  .stats-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .features-grid .img-frame,
  .stats-grid .img-frame,
  .about-grid .img-frame {
    max-height: 300px;
  }
  .features-grid .sec-img,
  .stats-grid .sec-img,
  .about-grid .sec-img {
    max-height: 288px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .section-pad { padding: 4rem 0; }
  .features-cards { grid-template-columns: 1fr; }
  .stats-grid { gap: 2rem; }
  .about-statement { font-size: 1.4rem; }
  .img-frame { border-radius: 1.25rem; padding: 4px; }
  .sec-img   { border-radius: 1rem; max-height: 240px; }
}
