/* StableNest — fintech UI: white page, gold accent, dark section shells, green positive */

:root {
  --bg: #ffffff;
  --bg-page: #ffffff;
  --bg-subtle: #fafafa;
  --ink: #000000;
  --charcoal: #1a1a1a;
  --muted: #8e8e93;
  --muted-light: #aeaeb2;
  --nav-bg: #0d0d0d;
  --nav-text: #ffffff;
  --gold: #d4af37;
  --gold-dark: #b8922b;
  --gold-soft: rgba(212, 175, 55, 0.14);
  --positive: #4caf50;
  --positive-soft: rgba(76, 175, 80, 0.12);
  --card-border: rgba(0, 0, 0, 0.06);
  --glow: rgba(212, 175, 55, 0.22);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.06);
  --shadow-nav: 0 10px 40px rgba(0, 0, 0, 0.1);
  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --space-section: clamp(3rem, 8vw, 5.5rem);
  --content-max: 1120px;
  --content-wide: 1280px;
  /* Cap readable width for dark “card” panels inside section shells */
  --card-max-width: 32rem;
  --card-max-width-wide: min(100%, 52rem);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-page);
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-page);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 14%, rgba(212, 175, 55, 0.1), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(212, 175, 55, 0.08), transparent 24%),
    radial-gradient(circle at 50% 92%, rgba(0, 0, 0, 0.04), transparent 26%);
  animation: ambient-pan 22s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ——— Header / floating pill nav ——— */
.site-header {
  padding: clamp(1.25rem, 4vw, 2rem) 1.25rem 0;
  display: flex;
  justify-content: center;
}

.floating-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  max-width: min(var(--content-max), 100%);
  background: var(--nav-bg);
  color: var(--nav-text);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
  animation: nav-enter 0.6s ease-out both;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-logo {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #f0d875);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: auto;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, background 0.15s ease;
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  background: #e4c349;
  transform: translateY(-1px);
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -60%;
  width: 34%;
  height: 320%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: rotate(22deg);
  animation: sheen 4.5s linear infinite;
}

@media (max-width: 640px) {
  .floating-nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    padding: 0.65rem 1rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    margin-left: 0;
  }
}

/* ——— Hero ——— Network / globe (left) + candles (right), hero band only */
.hero {
  position: relative;
  isolation: isolate;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-section) 1.5rem 4rem;
  text-align: center;
}

#product,
#download {
  scroll-margin-top: 5.5rem;
}

/* Globe + network nodes (see assets/hero-network.svg) */
.hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: min(300px, 44vw);
  height: min(176px, 25vh);
  left: -5%;
  top: 4%;
  background-image: url("assets/hero-network.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top left;
  mask-image: radial-gradient(ellipse 90% 92% at 14% 30%, #000 16%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 92% at 14% 30%, #000 16%, transparent 72%);
  opacity: 0.88;
}

.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: min(280px, 42vw);
  height: min(160px, 22vh);
  right: -4%;
  top: 6%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 140'%3E%3Cg opacity='0.72'%3E%3Cline x1='28' y1='28' x2='28' y2='108' stroke='%23333' stroke-width='1.2' opacity='0.35'/%3E%3Crect x='20' y='52' width='16' height='36' rx='2' fill='%234caf50' opacity='0.55'/%3E%3Cline x1='68' y1='38' x2='68' y2='118' stroke='%23333' stroke-width='1.2' opacity='0.35'/%3E%3Crect x='60' y='68' width='16' height='32' rx='2' fill='%23c62828' opacity='0.45'/%3E%3Cline x1='108' y1='32' x2='108' y2='112' stroke='%23333' stroke-width='1.2' opacity='0.35'/%3E%3Crect x='100' y='48' width='16' height='40' rx='2' fill='%234caf50' opacity='0.5'/%3E%3Cline x1='148' y1='42' x2='148' y2='122' stroke='%23333' stroke-width='1.2' opacity='0.35'/%3E%3Crect x='140' y='72' width='16' height='28' rx='2' fill='%234caf50' opacity='0.48'/%3E%3Cline x1='188' y1='48' x2='188' y2='118' stroke='%23333' stroke-width='1.2' opacity='0.35'/%3E%3Crect x='180' y='58' width='16' height='38' rx='2' fill='%23c62828' opacity='0.42'/%3E%3Cline x1='228' y1='36' x2='228' y2='108' stroke='%23333' stroke-width='1.2' opacity='0.35'/%3E%3Crect x='220' y='50' width='16' height='34' rx='2' fill='%234caf50' opacity='0.52'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
  mask-image: radial-gradient(ellipse 85% 90% at 85% 25%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 85% 25%, #000 20%, transparent 72%);
  opacity: 0.75;
}

@media (max-width: 640px) {
  .hero::before {
    width: min(200px, 55vw);
    height: 120px;
    left: -8%;
    top: 10%;
    opacity: 0.55;
  }

  .hero::after {
    width: min(200px, 55vw);
    height: 120px;
    right: -8%;
    top: 10%;
    opacity: 0.55;
  }
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 auto 0.9rem;
  max-width: min(38rem, 92vw);
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-kicker {
  margin: 0 auto 2.5rem;
  max-width: min(36rem, 92vw);
  font-size: clamp(0.9375rem, 2.1vw, 1.0625rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #6b6b70;
}

.hero-visual {
  position: relative;
  margin: 0 auto 2.75rem;
  min-height: min(520px, 70vh);
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: min(440px, 92vw);
  height: min(440px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 68%);
  filter: blur(6px);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.12));
  cursor: pointer;
  perspective: 1400px;
  perspective-origin: 50% 45%;
}

.phone-flip-inner {
  position: relative;
  width: min(280px, 78vw);
  aspect-ratio: 9 / 19;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.phone:hover .phone-flip-inner {
  transform: rotateY(180deg) translateY(-8px);
}

.phone:hover:active .phone-flip-inner {
  transform: rotateY(180deg) translateY(-4px);
}

.phone-flip-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.phone-flip-face--back {
  transform: rotateY(180deg);
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, #2e2e2e 0%, var(--charcoal) 55%, #0a0a0a 100%);
  border-radius: 42px;
  padding: 12px;
  position: relative;
}

.phone-frame--rear {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 12px;
}

.phone-frame-rear {
  flex: 1;
  border-radius: 34px;
  background: radial-gradient(120% 80% at 50% 20%, #2a2418 0%, #0d0d0d 55%, #050505 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  position: relative;
  overflow: hidden;
}

.phone-frame-rear__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.phone-frame-rear__logo {
  position: relative;
  width: min(112px, 32vw);
  height: min(112px, 32vw);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5));
  transform-origin: center center;
  will-change: transform;
}

/* Grow / breathe after flip — starts shortly so the flip reads first */
.phone:hover .phone-frame-rear__logo {
  animation: phone-rear-logo-grow 2.1s ease-in-out 0.55s infinite;
}

@keyframes phone-rear-logo-grow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5));
  }
  50% {
    transform: scale(1.22);
    filter: drop-shadow(0 12px 28px rgba(212, 175, 55, 0.35));
  }
}

.phone-frame-rear__name {
  position: relative;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.phone-frame-rear__tagline {
  position: relative;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.55);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 26px;
  background: #0a0a0a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

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

/* Demo cursor path over the screenshot */
.phone-cursor {
  position: absolute;
  z-index: 2;
  left: 22%;
  top: 24%;
  width: 32px;
  height: 32px;
  margin-left: -6px;
  margin-top: -4px;
  pointer-events: none;
  animation: phone-cursor-path 5.2s ease-in-out infinite;
}

.phone-cursor__pointer {
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
  animation: phone-cursor-tilt 5.2s ease-in-out infinite;
}

.phone-cursor__ripple {
  position: absolute;
  left: 2px;
  top: 4px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  transform: scale(0.5);
  animation: phone-cursor-ripple 5.2s ease-in-out infinite;
}

@keyframes phone-cursor-path {
  0%,
  100% {
    left: 20%;
    top: 26%;
  }
  22% {
    left: 52%;
    top: 34%;
  }
  28% {
    left: 52%;
    top: 34%;
  }
  50% {
    left: 38%;
    top: 52%;
  }
  58% {
    left: 38%;
    top: 52%;
  }
  78% {
    left: 62%;
    top: 68%;
  }
  88% {
    left: 62%;
    top: 68%;
  }
}

@keyframes phone-cursor-tilt {
  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }
  26%,
  32% {
    transform: rotate(0deg) scale(0.92);
  }
  35% {
    transform: rotate(0deg) scale(1);
  }
  54%,
  60% {
    transform: rotate(4deg) scale(0.92);
  }
  63% {
    transform: rotate(4deg) scale(1);
  }
  82%,
  90% {
    transform: rotate(-2deg) scale(0.92);
  }
  93% {
    transform: rotate(-8deg) scale(1);
  }
}

@keyframes phone-cursor-ripple {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  27% {
    opacity: 0;
    transform: scale(0.4);
  }
  28% {
    opacity: 0.85;
    transform: scale(0.4);
  }
  35% {
    opacity: 0;
    transform: scale(1.35);
  }
  55% {
    opacity: 0;
    transform: scale(0.4);
  }
  56% {
    opacity: 0.75;
    transform: scale(0.4);
  }
  63% {
    opacity: 0;
    transform: scale(1.35);
  }
  81% {
    opacity: 0;
    transform: scale(0.4);
  }
  82% {
    opacity: 0.7;
    transform: scale(0.4);
  }
  90% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-cursor,
  .phone-cursor__pointer,
  .phone-cursor__ripple {
    animation: none;
  }

  .phone-cursor {
    left: 38%;
    top: 40%;
  }

  .phone:hover .phone-flip-inner,
  .phone:active .phone-flip-inner {
    transform: none;
  }

  .phone:hover .phone-frame-rear__logo {
    animation: none;
  }

  .phone {
    cursor: default;
    perspective: none;
  }
}

/* Floating cards — activity-style white panels */
.float-card {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: left;
  max-width: 210px;
}

.float-card--left {
  left: 0;
  top: 18%;
  transform: rotate(-6deg);
}

.float-card--right {
  right: 0;
  bottom: 22%;
  transform: rotate(5deg);
}

.float-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f2f7;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--card-border);
}

.float-card__icon--chart {
  background: var(--positive-soft);
  color: var(--positive);
  border-color: rgba(76, 175, 80, 0.2);
}

.float-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.float-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.float-card__value {
  font-size: 0.65rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .float-card {
    display: none;
  }

  .hero-visual {
    min-height: auto;
    margin-bottom: 2rem;
  }
}

.hero-sub {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--charcoal);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.hero-cta:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -52%;
  width: 30%;
  height: 320%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(24deg);
  animation: sheen 5.2s linear infinite;
}

.hero-cta__icon {
  flex-shrink: 0;
  color: var(--gold);
}

.hero-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-badge:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.store-badge:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.store-badge:last-child img {
  height: 56px;
}

/* ---------- Below-the-fold sections (dark premium style) ---------- */
.section {
  padding: clamp(1.1rem, 2.8vw, 2rem) 1.5rem;
}

.section-shell {
  position: relative;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 26px;
  background: radial-gradient(130% 100% at 50% -8%, rgba(212, 175, 55, 0.08), transparent 52%), #08090c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 45px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.section-shell:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 52px rgba(0, 0, 0, 0.24);
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 18%, rgba(212, 175, 55, 0.08), transparent 28%);
}

.section-shell > * {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9aa52;
  font-weight: 600;
}

.section h2 {
  margin: 0;
  color: #f4f4f5;
  font-size: clamp(1.5rem, 3.3vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0.95rem 0 0;
  max-width: 72ch;
  color: #c6c7cd;
  line-height: 1.7;
}

.section-head {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 1fr;
  align-items: end;
}

.section-head__meta {
  margin: 0;
  color: #afb2bc;
  line-height: 1.65;
  font-size: 0.95rem;
}

.feature-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  justify-items: center;
}

/* Make Key Features block visibly distinct from other sections */
.features .section-shell {
  background: #f4f4f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.14);
}

.features .section-eyebrow {
  color: #6e7380;
}

.features h2,
.features .section-head__meta {
  color: #12141a;
}

.feature-card,
.step-card,
.proof-stats div,
.testimonials blockquote,
.price-card,
.faq-list details {
  background: #0d1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  grid-column: span 6;
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  justify-self: center;
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  background: #f7f7f8;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  background: linear-gradient(155deg, #13151b 0%, #090b10 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-card:nth-child(1) h3,
.feature-card:nth-child(4) h3 {
  color: #f8f8f9;
}

.feature-card:nth-child(1) p,
.feature-card:nth-child(4) p {
  color: #b8bcc8;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  background: #f4f4f5;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.feature-card:nth-child(2) h3,
.feature-card:nth-child(3) h3 {
  color: #121317;
}

.feature-card:nth-child(2) p,
.feature-card:nth-child(3) p {
  color: #4f5460;
}

.feature-media {
  margin: -0.15rem -0.15rem 0.8rem;
  height: 134px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  overflow: hidden;
  display: grid;
  place-items: center;
}

.feature-card:nth-child(2) .feature-media,
.feature-card:nth-child(3) .feature-media {
  border-color: rgba(0, 0, 0, 0.12);
}

.feature-media--screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.88;
}

.feature-media--coin {
  font-size: 3rem;
  font-weight: 800;
  color: #d2ac42;
  text-shadow: 0 0 26px rgba(212, 175, 55, 0.32);
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.18), transparent 55%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12));
}

.feature-media--quote {
  padding: 1rem;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(230, 231, 235, 0.92));
}

.feature-media--quote p {
  margin: 0;
  color: #181b22;
  max-width: 28ch;
  font-size: 0.92rem;
  line-height: 1.4;
}

.feature-media--chart {
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.22), transparent 34%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 160' preserveAspectRatio='none'%3E%3Cg stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'%3E%3Cline x1='0' y1='40' x2='340' y2='40'/%3E%3Cline x1='0' y1='80' x2='340' y2='80'/%3E%3Cline x1='0' y1='120' x2='340' y2='120'/%3E%3C/g%3E%3Cpath d='M8 112 L50 106 L92 96 L134 92 L176 84 L218 78 L260 64 L302 56 L332 40' stroke='%23d4af37' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, cover, auto;
  background-position: center, center, center;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.18);
  color: #f0cb61;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(3) .feature-icon {
  background: #15171e;
  color: #f0cb61;
}

.feature-card h3,
.step-card h3,
.price-card h3 {
  margin: 0;
  color: #f6f6f7;
  font-size: 1rem;
}

.feature-card p,
.step-card p,
.price-card p {
  margin: 0.55rem 0 0;
  color: #c3c6cf;
  line-height: 1.55;
  font-size: 0.94rem;
}

.steps-flow {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.75rem;
  align-items: center;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-card {
  position: relative;
  width: 100%;
  max-width: min(100%, 26rem);
  justify-self: center;
  min-height: 168px;
  border-color: rgba(212, 175, 55, 0.22);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.step-card--flow::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0e0f12;
  background: linear-gradient(145deg, var(--gold) 0%, #f0d875 45%, var(--gold-dark) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.32) inset;
  z-index: 2;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--gold) 0%, #f0d875 45%, var(--gold-dark) 100%);
  color: #121212;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.proof-stats {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.proof-stats > div {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
}

.proof-stats strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.proof-stats span {
  color: #acafb9;
  font-size: 0.85rem;
}

.testimonials {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.testimonials blockquote {
  margin: 0;
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  color: #d1d2d7;
  font-style: italic;
}

.trust-list {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: #c3c5cc;
  display: grid;
  gap: 0.55rem;
}

.pricing-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.pricing-grid .price-card {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
}

.price-card--featured {
  border-color: rgba(212, 175, 55, 0.52);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.18);
}

.price-tag {
  margin: 0.5rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.faq-list details {
  width: 100%;
  max-width: min(100%, var(--card-max-width-wide));
}

.faq-list summary {
  cursor: pointer;
  color: #f0f0f2;
  font-weight: 600;
}

.faq-list p {
  margin: 0.6rem 0 0;
  color: #b5b7bf;
}

.final-cta {
  text-align: center;
  padding-bottom: 4.2rem;
}

.final-cta h2 + p {
  margin: 0.8rem auto 1.2rem;
  max-width: 54ch;
  color: #c2c4cb;
}

.site-footer {
  background: #090a0d;
  color: #e9e9ea;
  padding: 2.2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-shell {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.site-footer h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #fff;
}

.site-footer p,
.site-footer a {
  margin: 0.35rem 0;
  color: #b8b8be;
  font-size: 0.88rem;
  display: block;
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .feature-grid,
  .steps-flow,
  .proof-stats,
  .pricing-grid,
  .testimonials {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .feature-card {
    grid-column: span 3;
  }

  .step-card--flow::after {
    right: -18px;
    width: 36px;
    height: 36px;
  }

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

@media (max-width: 640px) {
  .feature-grid,
  .proof-stats,
  .pricing-grid,
  .testimonials,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: auto;
  }

  .steps-flow {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0;
    background: transparent;
    border: none;
  }

  .step-card--flow::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(50%);
  }
}

/* ---------- GSAP Scroll UX helpers ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1200;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), #f0d875);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.65);
}

@keyframes nav-enter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambient-pan {
  0% {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(1%, 1%, 0) scale(1.03);
  }
}

@keyframes sheen {
  0% {
    left: -62%;
  }
  100% {
    left: 148%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  .floating-nav,
  .nav-cta::before,
  .hero-cta::before {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* ——— Post-landing fintech structure (StableNest) ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell--light {
  background: #f4f5f7;
  color: #12141a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.section-shell--light::before {
  opacity: 0.4;
}

.section-shell--light:hover {
  transform: translateY(-2px);
}

.section-shell--light .section-eyebrow--dark,
.section-shell--light .section-eyebrow {
  color: #6b7080;
}

.intro-hub__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #0d0d0f;
  max-width: 20ch;
  text-wrap: balance;
}

.intro-hub__accent {
  color: #a8862a;
}

.intro-hub__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3d424c;
}

.intro-hub__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--charcoal);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-download:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn-download svg {
  flex-shrink: 0;
  color: var(--gold);
}

.btn-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2a2d35;
  border-bottom: 2px solid rgba(212, 175, 55, 0.45);
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.btn-text:hover {
  color: #000;
  border-color: var(--gold);
}

.store-badges--left {
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.trust-strip {
  margin-top: 0.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.trust-strip__item {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-strip__item strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.trust-strip__item span {
  font-size: 0.82rem;
  color: #b4b7c0;
  line-height: 1.45;
}

.hub-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.hub-card {
  display: block;
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hub-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.hub-card--wide {
  grid-column: span 2;
  max-width: var(--card-max-width-wide);
}

.hub-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9aa52;
  margin-bottom: 0.45rem;
}

.hub-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #f4f4f5;
}

.hub-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #b6b9c3;
}

.section-lead--tight {
  margin-top: 0.65rem;
}

.section-note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #9a9da8;
  max-width: 75ch;
}

.section-note--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-shell a {
  color: #e0c56a;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.section-shell a:hover {
  color: #f5e6a8;
}

.section-shell.section-shell--light a {
  color: #7a5f12;
}

.section-shell.section-shell--light a:hover {
  color: #4a3a0c;
}

.timeline {
  margin: 1.75rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
  max-width: min(100%, 40rem);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.55), rgba(255, 255, 255, 0.08));
}

.timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.1rem 0 1.1rem 0;
  align-items: start;
}

.timeline__num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(145deg, var(--gold) 0%, #f0d875 50%, var(--gold-dark) 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.timeline__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #f2f2f4;
}

.timeline__body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b8bbc6;
}

.use-case-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.use-case-card {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.use-case-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #f4f4f6;
}

.use-case-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #b5b8c2;
}

.product-highlights {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.product-highlight {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-highlight h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: #f4f4f6;
}

.product-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #b8bbc6;
  font-size: 0.9rem;
  line-height: 1.65;
  display: grid;
  gap: 0.45rem;
}

.product-list a {
  color: #e0c56a;
}

.trust-panels {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.trust-panel {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #f3f3f5;
}

.trust-panel p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b5b8c2;
}

.trust-list--spaced {
  margin-top: 1.35rem;
}

.about-blocks {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.about-block {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-block h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #f4f4f6;
}

.about-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b8bbc6;
}

.contact-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}

.contact-card {
  width: 100%;
  max-width: min(100%, var(--card-max-width));
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: #f4f4f6;
}

.contact-card p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #d1d2d7;
}

.contact-card__meta {
  font-size: 0.8rem !important;
  color: #8f939e !important;
  margin-top: 0.5rem !important;
}

.feature-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid--four .feature-card {
  grid-column: auto;
  min-height: 0;
}

@media (max-width: 1024px) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-card--wide {
    grid-column: span 2;
  }

  .trust-panels,
  .about-blocks,
  .contact-grid,
  .product-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card--wide {
    grid-column: auto;
  }

  .use-case-grid,
  .feature-grid--four {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 1.05rem;
  }
}
