/* ============================================================
   NEWFIN.COM — About Page — Clean Rebuild
   Font: Montserrat (headings) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --black:        #111111;
  --black-v2:     #111111;
  --dark-grey:    #222222;
  --white:        #ffffff;
  --cold-steel:   #afb4c2;
  --fuscia:       #db5bfd;
  --fuscia-down:  #c03e6c;
  --cyanora:      #3cd0f5;
  --canary:       #fcd411;
  --radius-card:  45px;
  --radius-btn:   25px;
  --header-h:     70px;
  --max-w:        1360px;
  --pad-h:        55px;
  --transition:   0.25s ease;

  --gradient-text: linear-gradient(135deg, var(--cyanora) 0%, var(--fuscia) 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-h);
}
@media (max-width: 1024px) { .container { padding-inline: 40px; } }
@media (max-width: 767px)  { .container { padding-inline: 20px; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: var(--header-h);
  background: rgba(17,17,17,0.72);
  backdrop-filter: blur(72px);
  -webkit-backdrop-filter: blur(72px);
  z-index: 100;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: 20px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}
.logo span { color: var(--fuscia); }
.nav-links {
  display: flex;
  gap: 8px;
}
@media (max-width: 767px) { .nav-links { display: none; } }
.nav-links a {
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--fuscia); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Button styles ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  height: 48px;
  padding-inline: 28px;
  white-space: nowrap;
  transition: transform 0.15s ease, background var(--transition);
}
.btn:active { transform: scale(0.97); }
.btn-fuscia {
  background: var(--fuscia);
  color: var(--white);
}
.btn-fuscia:hover { background: var(--fuscia-down); }
.btn-black {
  background: var(--black);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.15);
}
.btn-black:hover { background: #222; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
    
  background: linear-gradient(
    105deg,
    rgba(17,17,17,0.78) 0%,
    rgba(17,17,17,0.45) 55%,
    rgba(17,17,17,0.15) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - var(--header-h));
  padding-block: 80px;
}
.hero-copy {
  max-width: 600px;
  flex: 0 0 auto;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fuscia);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}
.hero-title {
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
 // text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s forwards;
}
.hero-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PRESS BAR
   ============================================================ */
.press-bar {
  background: var(--dark-grey);
  padding: 20px 0;
}
.press-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.press-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.press-logo {
  height: 32px;
  width: auto;
  opacity: 0.65;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}
.press-logo:hover { opacity: 1; }
.press-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}
.stars {
  display: flex;
  gap: 3px;
}
.star {
  width: 18px; height: 18px;
  fill: var(--canary);
}

/* ============================================================
   BENTO GRID — ABOUT SECTION
   ============================================================ */
.bento-section {
  padding-block: 72px;
}
.bento-grid {
  display: grid;
  gap: 12px;
}

/* Top row: 2 squares + 1 tall rectangle */
.bento-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .bento-top {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  border-radius: var(--radius-card);
  background: var(--dark-grey);
  overflow: hidden;
  position: relative;
}

/* Founders photo card */
.bento-founders {
  min-height: 420px;
  background-image: url('../images/newfin-founders.webp');
  background-size: cover;
  background-position: center;
}
@media (max-width: 1024px) { .bento-founders { min-height: 300px; } }

/* Video card */
.bento-video-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.bento-video-card video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.bento-video-card .bento-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}

/* Founders bio card */
.bento-bio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  min-height: 420px;
  background: var(--dark-grey);
}
@media (max-width: 767px) { .bento-bio { padding: 32px 24px; } }

.bento-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
@media (max-width: 767px) { .bento-card-content { padding: 24px; } }

/* Bottom row: wide $500M card */
.bento-bottom {
  margin-top: 0;
}
.bento-wide {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 56px;
  gap: 40px;
}
@media (max-width: 767px) {
  .bento-wide {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}
.bento-wide-img {
  max-width: 420px;
  flex-shrink: 0;
}
@media (max-width: 1024px) { .bento-wide-img { max-width: 280px; } }

/* ── Text styles inside bento ── */
.bento-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.bento-heading.gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bento-body {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

/* ============================================================
   MARQUEE — Backed by the Best
   ============================================================ */
.marquee-section {
  padding-block: 60px;
  text-align: center;
}
.marquee-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 44px;
}
.marquee-track-wrap {
  overflow: hidden;
  position: relative;
}
.marquee-track-wrap::before,
.marquee-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.marquee-track-wrap::before { left: 0; background: linear-gradient(to right, var(--black), transparent); }
.marquee-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--dark-grey);
  border-radius: 20px;
  padding: 20px 24px;
  min-width: 170px;
}
.marquee-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
}
.marquee-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}
.marquee-role {
  font-size: 0.7rem;
  color: var(--cold-steel);
  text-align: center;
}

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

/* ============================================================
   STATS — "HERE ARE THE FACTS"
   ============================================================ */
.facts-section {
  padding-block: 16px 64px;
  background: var(--black-v2);
}
.facts-label {
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding-block: 24px 40px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 767px) {
  .facts-grid { grid-template-columns: 1fr; }
}
.fact-card {
  background: var(--dark-grey);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.fact-card .bento-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}
.fact-source {
  font-size: 0.8rem;
  color: var(--fuscia);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   SIDE-BY-SIDE — Better Banking For All
   ============================================================ */
.sbs-section {
  background: #ffffff;
  padding-block: 100px;
}
.sbs-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
@media (max-width: 1024px) {
  .sbs-inner {
    flex-direction: column;
    gap: 40px;
  }
}
.sbs-copy {
  flex: 1;
  color: #111;
}
.sbs-heading {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.97;
  color: #111;
  margin-bottom: 24px;
}
.sbs-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 36px;
  max-width: 440px;
}
.sbs-media {
  flex: 1;
  display: flex;
  justify-content: center;
}
.sbs-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 24px;
}

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews-section {
  padding-block: 72px;
  background: var(--black);
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-inline: var(--pad-h);
  scroll-snap-type: x mandatory;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 auto;
  width: 380px;
  background: var(--dark-grey);
  border-radius: 20px;
  padding: 28px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}
@media (max-width: 767px) { .review-card { width: 300px; } }
.review-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.review-author {
  font-size: 0.8rem;
  color: var(--cold-steel);
  font-weight: 600;
}
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.review-stars .star { fill: var(--canary); width: 16px; height: 16px; }

/* App rating card */
.rating-card .review-title {
  font-size: 3rem;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-cta-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.footer-cta-title em {
  font-style: normal;
  color: var(--fuscia);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(17,17,25,0.95);
  padding-block: 60px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 1024px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.footer-brand span { color: var(--fuscia); }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--cold-steel);
  line-height: 1.6;
  max-width: 240px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cold-steel);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--cold-steel);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SCROLL REVEAL UTILITY
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
