/* ============================================================
   Nova — Personal Finance App — style.css
   ============================================================ */

/* ── Design Tokens ── */
:root {
  --bg-light: #F2F2F2;
  --bg-dark: #000000;
  --blue: #2B3FDE;
  --peit: #55b686;
  --blue-dark: #1A1ED4;
  --blue-light: #E8EBFF;
  --text-primary: #0A0A0A;
  --text-secondary: #6B6B6B;
  --card-bg: #FFFFFF;
  --border: #E0E0E0;
  --radius-card: 16px;
  --radius-pill: 999px;
  --font: 'General Sans', sans-serif;
  --nav-height: 72px;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-light);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
}

ul {
  list-style: none;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero .hero__title {
  font-weight: 400;
}

/* ── Scroll Fade Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}


/* ============================================================
   1. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(242, 242, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  display: flex;
  align-items: center;
  min-width: 120px;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 120px;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.btn-primary {
  background: #55b686;
  color: #fff;
}

.btn-primary:hover {
  background: #222;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-blue-outline {
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--blue);
}

.btn-blue-outline:hover {
  background: var(--blue-light);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 4px;
  border-radius: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(242, 242, 242, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.25s ease;
}

.nav__mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}


/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 60px) 32px 80px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero__inner {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 28px;
  transition: box-shadow 0.2s;
}

.hero__badge:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: #55b686;
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero__cta {
  margin-bottom: 72px;
}

.hero__phone-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* ── Hero Phone Wrapper (contains blobs + phone stack) ── */
.hero-phone-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 400px;
}

/* ── Blob decoration ── */
.hero-blobs {
  position: absolute;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-blobs--left {
  top: 5%;
  left: -50%;
  width: 200%;
  /* transform managed by JS parallax (preserves rotate(-15deg) + translateY) */
  transform: rotate(-15deg);
  will-change: transform;
}

.hero-blobs--right {
  bottom: 10%;
  right: -50%;
  width: 200%;
  /* transform managed by JS parallax (preserves rotate(165deg) scaleX(-1) + translateY) */
  transform: rotate(165deg) scaleX(-1);
  z-index: 0;
  will-change: transform;
}

/* ── Phone stack: frame on top, screen behind ── */
.hero-phone-stack {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 650px;
  flex-shrink: 0;
}

.hero-app-screen-inner {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 14px;
  right: 14px;
  overflow: hidden;
  border-radius: 30px;
  z-index: 1;
  box-sizing: border-box;
}

.hero-phone-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 2;
}

/* ── Phone Mockup ── */
.phone {
  width: 260px;
  height: 530px;
  background: #0A0A0A;
  border-radius: 44px;
  border: 10px solid #1a1a1a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  margin: 0 auto;
  flex-shrink: 0;
}

.phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 26px;
  background: #0A0A0A;
  border-radius: 20px;
  z-index: 10;
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1e2a5e 0%, #0d0f2e 100%);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

/* Hero phone screen */
.phone__hero-content {
  padding: 50px 16px 16px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone__greeting {
  font-size: 12px;
  opacity: 0.6;
  font-weight: 500;
}

.phone__balance {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.phone__balance-label {
  font-size: 10px;
  opacity: 0.5;
  margin-top: -8px;
}

.phone__chart-bar-wrap {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-top: 8px;
}

.phone__chart-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.phone__chart-bar.active {
  background: var(--blue);
}

.phone__tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.phone__tx {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
}

.phone__tx-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.phone__tx-info {
  flex: 1;
}

.phone__tx-name {
  font-size: 10px;
  font-weight: 600;
}

.phone__tx-cat {
  font-size: 9px;
  opacity: 0.5;
}

.phone__tx-amt {
  font-size: 11px;
  font-weight: 700;
}

.phone__tx-amt.neg {
  color: #ff6b6b;
}

.phone__tx-amt.pos {
  color: #4ECDC4;
}

.phone__nova-label {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.1em;
  white-space: nowrap;
}


/* ============================================================
   2b. HERO APP — Pet Vitality Screen
   ============================================================ */
.hero-app-screen {
  /* Slightly transparent so green blobs show through subtly */
  background: rgba(240, 244, 240, 0.88);
  font-family: 'General Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 45px 14px 14px;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Top Bar */
.hero-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.hero-app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #C8956A;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hero-app-date-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.hero-app-chevron {
  font-size: 9px;
  color: #9CA3AF;
  font-weight: 500;
}

.hero-app-today {
  font-size: 10px;
  font-weight: 700;
  color: #1A2332;
  letter-spacing: 0.04em;
}

.hero-app-streak {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-app-streak-num {
  font-size: 12px;
  font-weight: 700;
  color: #F57C2B;
}

.hero-app-flame {
  font-size: 13px;
}

/* Vitality Circle */
.hero-app-vitality-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 2px 0;
  flex-shrink: 0;
}

.hero-app-vitality-orb {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #C8E6C1, #E8F5E4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(76, 175, 125, 0.18);
  animation: heroPulse 2.8s ease-in-out infinite;
}

@keyframes heroPulse {
  0%   { transform: scale(1);    box-shadow: 0 4px 20px rgba(76, 175, 125, 0.18); }
  50%  { transform: scale(1.08); box-shadow: 0 8px 32px rgba(76, 175, 125, 0.35); }
  100% { transform: scale(1);    box-shadow: 0 4px 20px rgba(76, 175, 125, 0.18); }
}

.hero-app-vitality-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
}

.hero-app-ring-bg {
  fill: none;
  stroke: rgba(76, 175, 125, 0.15);
  stroke-width: 6;
}

.hero-app-ring-progress {
  fill: none;
  stroke: #4CAF7D;
  stroke-width: 6;
  stroke-linecap: round;
  /* circumference = 2π×52 ≈ 326.7 */
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  /* starts at 0% */
  transition: stroke-dashoffset 1.5s ease-out;
}

.hero-app-vitality-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.hero-app-vitality-num {
  font-size: 30px;
  font-weight: 800;
  color: #1A2332;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-app-vitality-label {
  font-size: 7px;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Status text */
.hero-app-updated {
  font-size: 9.5px;
  color: #9CA3AF;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* Status Pills */
.hero-app-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.hero-app-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 9.5px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.hero-app-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-app-dot--green {
  background: #4CAF50;
}

.hero-app-dot--amber {
  background: #F59E0B;
}

/* Cards */
.hero-app-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.hero-app-card--ai {
  background: #E8F5E4;
  box-shadow: none;
  flex-direction: column;
  gap: 4px;
}

.hero-app-card-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-app-card-text {
  font-size: 10px;
  color: #1A2332;
  line-height: 1.5;
  margin: 0;
}

.hero-app-card-text--dark {
  color: #374151;
}

.hero-app-ai-label {
  font-size: 9px;
  font-weight: 700;
  color: #4CAF7D;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scan Lunch Card */
.hero-app-card--scan-lunch {
  background: #111111;
  color: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin-top: 4px;
  text-align: left;
}

.hero-app-scan-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.hero-app-scan-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  line-height: 1.1;
}

.hero-app-scan-text {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-bottom: 5px;
}

.hero-app-scan-btn {
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-app-scan-btn:hover {
  transform: translateY(-1px);
}

/* ============================================================
   3. MARQUEE
   ============================================================ */
.marquee-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 40px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
}

.marquee-section__label {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.marquee-track {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-track::before,
.marquee-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25%;
  z-index: 2;
  pointer-events: none;
}

.marquee-track::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light) 60%, transparent 100%);
}

.marquee-track::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light) 60%, transparent 100%);
}

.marquee-list {
  display: flex;
  gap: 0;
  animation: marquee 25s linear infinite;
  width: max-content;
  margin-left: 0;
}

.marquee-list:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-item__icon {
  width: 72px;
  height: 72px;
  background: var(--card-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid var(--border);
}

.marquee-item__img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

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

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


/* ============================================================
   4. BIG TEXT SECTION
   ============================================================ */
.big-text {
  padding: 0% 0;
  padding-left: 300px;
  background: var(--bg-light);
}

.big-text__content {
  max-width: 900px;
}

.big-text p {
  font-size: clamp(22px, 3vw, 38px);
  --font: 'General Sans', sans-serif;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.big-text p:last-child {
  margin-bottom: 0;
}

.big-text p span {
  color: var(--text-secondary);
}


/* ============================================================
   5. PHONE FEATURE SHOWCASE
   ============================================================ */
.feature-showcase {
  padding: 80px 0 100px;
  background: var(--bg-light);
}

.feature-showcase__inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature-showcase__phone-wrap {
  position: relative;
  display: inline-block;
}

.feature-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  width: 180px;
  transition: transform 0.3s ease;
}

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

.feature-card__title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feature-card__main {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-card__sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.feature-card--goals {
  top: 40px;
  left: -200px;
}

.feature-card--expenses {
  top: 220px;
  left: -200px;
}

.feature-card--ai {
  bottom: 60px;
  right: -200px;
}

.feature-card__goal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 11px;
}

.feature-card__goal-item:last-child {
  border-bottom: none;
}

.feature-card__goal-name {
  font-weight: 600;
}

.feature-card__goal-val {
  color: var(--text-secondary);
}

.feature-card__bar-wrap {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}

.feature-card__bar {
  flex: 1;
  background: var(--blue-light);
  border-radius: 3px;
}

.feature-card__bar.active {
  background: var(--blue);
}

.feature-card__ai-icon {
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 6px;
}

.feature-card__ai-msg {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Feature showcase phone screen */
.phone__showcase {
  background: linear-gradient(160deg, #0d0f2e 0%, #1e2a5e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 50px 16px 20px;
}


/* ============================================================
   6. FEATURE GRID
   ============================================================ */
.feature-grid {
  padding: 100px 0;
  background: var(--bg-light);
}

.feature-grid__header {
  margin-bottom: 56px;
}

.feature-grid__header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-align: center;
}

.feature-grid__header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.feature-grid__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card-grid {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 36px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card-grid:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.feature-card-grid__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--blue);
}
.helps_container{ 
padding: 0 170px;
}

.feature-card-grid__icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.feature-card-grid h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card-grid p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ============================================================
   7. DARK / PARALLAX SECTION
   ============================================================ */
.dark-section {
  background: var(--bg-dark);
  color: #fff;
  padding: 120px 420px;
  position: relative;
  overflow: hidden;
}

.dark-section__inner {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.dark-section__inner.parallax-visible {
  transform: translateY(0);
  opacity: 1;
}

.dark-section h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 600px;
  margin-bottom: 60px;
  line-height: 1.15;
}

.dark-section__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.dark-feature {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s, background 0.25s;
}

.dark-feature:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.dark-feature.highlighted {
  border: 2px solid var(--blue);
  background: rgba(43, 63, 222, 0.08);
}

.dark-feature__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.dark-feature h3 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.dark-feature p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.dark-section__partners-label {
  font-size: 12px;
  color: rgb(255, 255, 255);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

/* .dark-section__logos and .dark-logo removed — replaced by .track-grid */

/* Tracking Cards Grid */
.track-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 28px;
}

.track-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1e1e1e;
  border-radius: 12px;
  padding: 16px 20px;
  color: #e8f5e9;
  font-size: 1rem;
  font-weight: 500;
}

.track-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1) invert(0); /* makes dark icons white */
}

.track-label {
  white-space: nowrap;
  font-size: 0.95rem;
  color: #d4ead5;
}

@media (max-width: 768px) {
  .track-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dark-section__footnote {
  font-size: 15px;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
}

.dark-section__footnote a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   8. STICKY SCROLL STEPS
   ============================================================ */
.steps-section {
  padding: 100px 0 120px;
  background: var(--bg-light);
}

.steps-section__header {
  text-align: center;
  margin-bottom: 80px;
}

.steps-section__header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--text-primary);
}

.steps-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.steps-left {
  width: 45%;
  flex-shrink: 0;
}

.steps-right {
  width: 55%;
  position: sticky;
  top: calc(var(--nav-height) + 40px);
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-right__card {
  background: #E8E8E8;
  border-radius: 28px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
  position: relative;
}

.step-phone-wrapper {
  position: relative;
  width: 240px;
  height: 490px;
}

.step-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 34px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.step-screen.active {
  opacity: 1;
  transform: scale(1);
}

/* Step GIF — fills the phone screen, hidden by default, shown per active step */
.step-gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 34px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  z-index: 5;
}

.step-gif.active {
  opacity: 1;
  transform: scale(1);
}

/* Step 2 image — shares all base styles from .step-gif */
.step-gif--2 {
  /* inherits all .step-gif rules; explicitly active via .step-gif--2.active */
}

.step-gif--2.active {
  opacity: 1;
  transform: scale(1);
}

/* Step 3 image — shares all base styles from .step-gif */
.step-gif--3 {
  /* inherits all .step-gif rules; explicitly active via .step-gif--3.active */
}

.step-gif--3.active {
  opacity: 1;
  transform: scale(1);
}

/* Step screen content */
.step-screen-inner {
  height: 100%;
  padding: 50px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
}

.step-screen-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-screen__input {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-screen__bank-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-screen__bank-logo {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.step-screen__bank-info {
  flex: 1;
}

.step-screen__bank-name {
  font-size: 12px;
  font-weight: 600;
}

.step-screen__bank-sub {
  font-size: 10px;
  opacity: 0.5;
}

.step-screen__cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.step-screen__cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-screen__cat-name {
  font-size: 11px;
  flex: 1;
}

.step-screen__cat-pct {
  font-size: 11px;
  font-weight: 600;
}

.step-screen__tip {
  background: rgba(43, 63, 222, 0.25);
  border: 1px solid rgba(43, 63, 222, 0.5);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* Left steps items */
.step-item {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.35;
  transition: opacity 0.4s;
}

.step-item.active {
  opacity: 1;
}

.step-item__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peit);
  margin-bottom: 12px;
}

.step-item h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.step-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
}


/* ============================================================
   9. TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.testimonials__quote {
  max-width: 760px;
  margin-bottom: 60px;
}

.testimonials__quote blockquote {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonials__author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonials__author-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

.testimonials__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-card__date {
  font-size: 11px;
  color: var(--text-secondary);
}

.testimonial-card__stars {
  font-size: 12px;
  color: #F59E0B;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.testimonial-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================================
   10. PRICING
   ============================================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg-light);
}

.pricing__header {
  text-align: center;
  margin-bottom: 56px;
}

.pricing__header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing__header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  border: 1.5px solid var(--border);
  transition: box-shadow 0.25s;
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(43, 63, 222, 0.12);
}

.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(43, 63, 222, 0.18);
}

.pricing-card__tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card__billing {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-badge {
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
}

.pricing-card__feature.disabled {
  color: var(--text-secondary);
}

.pricing-card__feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #DCF5EC;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  font-weight: 700;
}

.pricing-card__feature.disabled .pricing-card__feature-check {
  background: #F3F3F3;
  color: var(--text-secondary);
}


/* ============================================================
   11. BLOG
   ============================================================ */
.blog {
  padding: 100px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.blog__header {
  margin-bottom: 40px;
}

.blog__header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.blog__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: box-shadow 0.25s;
  cursor: pointer;
}

.blog__featured:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.blog__featured-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog__featured-image-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 40px;
}

.blog__featured-image-inner p {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.blog__featured-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.blog__badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog__badge-finance {
  background: #FEF3C7;
  color: #B45309;
}

.blog__badge-news {
  background: #DCFCE7;
  color: #166534;
}

.blog__badge-industry {
  background: #E0F2FE;
  color: #0369A1;
}

.blog__badge-tech {
  background: #EDE9FE;
  color: #5B21B6;
}

.blog__featured-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.3;
}

.blog__featured-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.blog__meta-sep {
  opacity: 0.4;
}

.blog__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.blog__list-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}

.blog__list-item:last-child {
  border-bottom: none;
}

.blog__list-item:hover {
  background: #f8f8f8;
}

.blog__list-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.blog__list-meta {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}


/* ============================================================
   12. CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 100px 0;
  padding-top: 20px;
  background: var(--bg-light);
  /* border-top: 1px solid var(--border); */
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--text-primary);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.2;
}


/* ============================================================
   13. FOOTER
   ============================================================ */
.footer {
  padding: 32px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer__left a {
  color: var(--text-secondary);
  margin-left: 20px;
  transition: color 0.2s;
}

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

.footer__right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer__right a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer__framer {
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.6;
}


/* ============================================================
   SCROLL-OVER STACKING EFFECT (Sections 6 → 7)
   ============================================================ */

/*
  Wrapper creates the scroll-height context so section 6's
  sticky behaviour resolves once section 7 has fully covered it.
*/
.stack-section-wrapper {
  position: relative;
}

/*
  Section 6 stays pinned at the top of the viewport while section 7
  scrolls up over it — just like a card being placed on top of another.
*/
.feature-grid {
  position: sticky;
  top: 0;
  z-index: 2;
}

/*
  Section 7 slides in from below with a rounded-top card shape and a
  strong top shadow to reinforce the stacking illusion.
*/
.dark-section {
  position: relative;
  z-index: 3;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 60px rgba(0, 0, 0, 0.35);
  /* Clip the overflow so the border-radius is visible */
  overflow: hidden;
}

/* Disable sticky stacking on small screens — sections just scroll normally */
@media (max-width: 768px) {
  .stack-section-wrapper {
    position: static;
  }

  .feature-grid {
    position: static;
    z-index: auto;
  }

  .dark-section {
    z-index: auto;
    border-radius: 0;
    box-shadow: none;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Large Desktop → reduce big-text indent ── */
@media (max-width: 1280px) {
  .big-text {
    padding-left: 200px;
  }
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .feature-card--goals {
    left: -140px;
  }

  .feature-card--expenses {
    left: -140px;
  }

  .feature-card--ai {
    right: -140px;
  }

  .big-text {
    padding-left: 80px;
  }

  .dark-section__features {
    grid-template-columns: 1fr 1fr;
  }

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

/* ── Mobile ── */
@media (max-width: 768px) {
  /* Big text */
  .big-text {
    padding-left: 32px;
  }

  .big-text p {
    font-size: clamp(18px, 4.5vw, 28px);
  }

  .container {
    padding: 0 20px;
  }

  :root {
    --nav-height: 64px;
  }

  /* Nav */
  .nav__links,
  .nav__cta .btn-primary {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-height) + 40px) 20px 60px;
  }

  /* Hero phone mockup — mobile sizing */
  .hero-phone-wrapper {
    width: 280px;
    max-width: 280px;
  }

  .hero-phone-stack {
    width: 220px;
    height: 450px;
  }

  .hero-blobs--left {
    width: 160%;
    left: -30%;
    top: -8%;
  }

  .hero-blobs--right {
    width: 160%;
    right: -30%;
    bottom: -8%;
  }

  /* Phone (used in other sections) */
  .phone {
    width: 220px;
    height: 450px;
  }

  /* Feature showcase floating cards */
  .feature-card--goals,
  .feature-card--expenses,
  .feature-card--ai {
    display: none;
  }

  /* Feature grid */
  .feature-grid__grid {
    grid-template-columns: 1fr;
  }

  /* Dark section */
  .dark-section__features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Steps */
  .steps-container {
    flex-direction: column;
  }

  .steps-left,
  .steps-right {
    width: 100%;
  }

  .steps-right {
    position: relative;
    top: 0;
    height: auto;
    margin-bottom: 40px;
  }

  .step-item {
    min-height: auto;
    padding: 20px 0;
  }

  .step-item .step-screen {
    position: static;
    opacity: 1;
    transform: none;
  }

  /* Testimonials */
  .testimonials__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing */
  .pricing__cards {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog__featured {
    grid-template-columns: 1fr;
  }

  .blog__featured-image {
    min-height: 200px;
  }

  .blog__list-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__left a:first-of-type {
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .big-text {
    padding-left: 16px;
  }

  .big-text p {
    font-size: 18px;
  }

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

  .hero h1 {
    font-size: 32px;
  }
}