/* ==========================================================================
   1. DESIGN TOKENS & RESET
   ========================================================================== */
:root {
  /* Brand Colors */
  --green-primary: #10B981;
  --green-dark: #059669;
  --green-deep: #047857;
  --green-tint: #ECFDF5;
  --green-border: #A7F3D0;

  /* Neutrals */
  --bg-page: #FFFFFF;
  --bg-subtle: #F9FAFB;
  --bg-card: #F3F4F6;
  --dark-surface: #0B1120;
  --dark-card: #111827;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --border-light: #E5E7EB;
  --white: #FFFFFF;

  /* Accent Tints */
  --red-tint: #FEF2F2;
  --red-text: #DC2626;
  --amber-tint: #FFFBEB;
  --amber-text: #D97706;
  --blue-tint: #EFF6FF;
  --blue-text: #2563EB;
  --rose-tint: #FFF1F2;
  --rose-text: #E11D48;
  --orange-tint: #FFF7ED;
  --orange-text: #EA580C;
  --teal-tint: #F0FDFA;
  --teal-text: #0D9488;
  --indigo-tint: #EEF2FF;
  --indigo-text: #4F46E5;
  --purple-tint: #FAF5FF;
  --purple-text: #9333EA;
  --pink-tint: #FDF2F8;
  --pink-text: #DB2777;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Caveat', cursive;

  /* Layout & Radii */
  --container-max: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   2. RESPONSIVE VISIBILITY UTILITIES
   ========================================================================== */
.desktop-only,
.desktop-text {
  display: none;
}

.mobile-only,
.mobile-text {
  display: block;
}

span.mobile-text {
  display: inline;
}

@media (min-width: 900px) {
  .desktop-only {
    display: flex;
  }

  div.desktop-only,
  section.desktop-only {
    display: block;
  }

  span.desktop-text {
    display: inline;
  }

  p.desktop-text {
    display: block;
  }

  .mobile-only,
  .mobile-text,
  span.mobile-text,
  p.mobile-text,
  .mobile-br {
    display: none !important;
  }
}

/* ==========================================================================
   3. SHARED LAYOUT & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 900px) {
  .container {
    padding: 0 32px;
  }
}

.section {
  padding: 64px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-green {
  background-color: var(--green-primary);
  color: var(--white);
}

.btn-green:hover {
  background-color: var(--green-dark);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--white);
  color: var(--text-primary);
}

.btn-white:hover {
  background-color: var(--bg-subtle);
  transform: translateY(-2px);
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.btn-outline-pill:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-subtle);
}

.full-width {
  width: 100%;
}

/* Pill Section Tags */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pill-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.pill-red {
  background-color: var(--red-tint);
  color: var(--red-text);
}

.pill-green {
  background-color: var(--green-tint);
  color: var(--green-dark);
}

.section-heading {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (min-width: 900px) {
  .section-heading {
    font-size: 2.75rem;
  }
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (min-width: 900px) {
  .section-desc {
    font-size: 1.0625rem;
  }
}

/* ==========================================================================
   4. NAVIGATION & HERO
   ========================================================================== */
.hero-wrapper {
  position: relative;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  padding-bottom: 32px;
}

.hero-desktop-bg {
  display: none;
}

/* Mobile Navbar */
.navbar {
  position: relative;
  z-index: 50;
}

.nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.brand-full {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.hamburger-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}

/* Mobile Slide-Down Drawer */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer a:not(.btn) {
  display: block;
  padding: 8px 4px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

/* Hero Mobile Content */
.hero-content {
  padding-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid var(--green-border);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.badge-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--green-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 340px;
  margin-bottom: 24px;
}

/* Mobile Hero Photo & Store Buttons */
.hero-mobile-visuals {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-mobile-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hero-mobile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--text-primary);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
  transition: var(--transition);
}

.store-btn:hover {
  transform: translateY(-2px);
  background-color: #1F2937;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-btn-text small {
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.store-btn-text strong {
  font-size: 0.875rem;
  font-weight: 700;
}

/* Social Proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.social-proof-info {
  text-align: left;
}

.sp-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sp-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

.sp-rating .stars {
  color: #F59E0B;
  letter-spacing: 1px;
}

.sp-rating .score {
  font-weight: 700;
  color: var(--text-primary);
}

/* Desktop Hero Overrides */
@media (min-width: 900px) {
  .hero-wrapper {
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 0 80px;
    background: var(--dark-surface);
    color: var(--white);
    overflow: hidden;
  }

  .hero-desktop-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-desktop-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-desktop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(11, 17, 32, 0.85) 0%,
      rgba(11, 17, 32, 0.55) 55%,
      rgba(11, 17, 32, 0.25) 100%
    );
  }

  /* Floating Pill Nav */
  .nav-pill {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 8px 10px 8px 20px;
    border-radius: var(--radius-pill);
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
  }

  .nav-links a:hover {
    color: var(--text-primary);
  }

  .nav-cta {
    padding: 10px 20px;
    font-size: 0.875rem;
  }

  /* Desktop Hero Content */
  .hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    align-items: flex-start;
    padding-top: 80px;
  }

  .hero-badge {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
    text-transform: none;
    font-size: 0.8125rem;
  }

  .hero-title {
    font-size: 4.25rem;
    color: var(--white);
    max-width: 640px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1875rem;
    max-width: 500px;
    margin-bottom: 34px;
  }

  .hero-desktop-actions .btn-white {
    padding: 16px 30px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   5. THE PROBLEM SECTION
   ========================================================================== */
.problem-section {
  background-color: var(--bg-page);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
  }
}

.problem-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .problem-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.pain-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #FFFFFF; /* White background */
 
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  /* Smooth, subtle shadow */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease; /* Smooth transition on hover */
}

/* Optional: slightly elevate and deepen shadow on hover */
.pain-card:hover {
  transform: translateY(-2px);
}

.pain-card:hover {
  background-color: var(--white);
  transform: translateY(-2px);
}

.pain-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Icon Color Helpers */
.icon-amber { background: var(--amber-tint); color: var(--amber-text); }
.icon-rose { background: var(--rose-tint); color: var(--rose-text); }
.icon-orange { background: var(--orange-tint); color: var(--orange-text); }
.icon-emerald, .icon-green { background: var(--green-tint); color: var(--green-dark); }
.icon-teal { background: var(--teal-tint); color: var(--teal-text); }
.icon-red { background: var(--red-tint); color: var(--red-text); }
.icon-blue { background: var(--blue-tint); color: var(--blue-text); }

/* ==========================================================================
   6. THE SOLUTION SECTION
   ========================================================================== */
.solution-section {
  background-color: var(--bg-subtle);
}

.solution-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .solution-top {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
  }
}

.solution-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.solution-phone-img {
  max-width: 310px;
  width: 100%;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 20px 35px rgba(17, 24, 39, 0.12));
}

@media (min-width: 900px) {
  .solution-phone-img {
    max-width: 360px;
  }
}

.handwritten-note {
  position: absolute;
  top: 10px;
  left: 8px;
  font-family: var(--font-script);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  transform: rotate(-8deg);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 4 Value Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-green .pillar-icon { background: var(--green-tint); color: var(--green-dark); }
.pillar-blue .pillar-icon { background: var(--blue-tint); color: var(--blue-text); }
.pillar-amber .pillar-icon { background: var(--amber-tint); color: var(--amber-text); }
.pillar-rose .pillar-icon { background: var(--rose-tint); color: var(--rose-text); }

.pillar-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   7. BENTO FEATURES SECTION
   ========================================================================== */
.features-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 44px;
}

@media (min-width: 900px) {
  .features-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
  }

  .features-header-right {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }

  .card-wallet { grid-column: span 2; }
  .card-bills { grid-column: span 2; }
  .card-rewards { grid-column: span 2; }
  .card-daily-bread { grid-column: span 4; }
  .card-spending { grid-column: span 2; }
}

.bento-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.bento-card:hover {
}

.bento-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bento-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Widget 1: Wallet */
.wallet-widget {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.wallet-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.wallet-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.balance-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.balance-amount small {
  font-size: 1rem;
  color: var(--text-muted);
}

.eye-toggle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.eye-toggle:hover {
  background-color: var(--border-light);
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.w-btn {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: var(--transition);
}

.w-btn-dark {
  background-color: var(--text-primary);
  color: var(--white);
}

.w-btn-dark:hover {
  background-color: #1F2937;
}

.w-btn-light {
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.w-btn-light:hover {
  background-color: var(--border-light);
}

/* Widget 2: Bills Grid */
.bills-widget {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
   background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.bill-tile {
 
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  color: var(--text-primary);
  transition: var(--transition);
}

.bill-tile:hover {
  transform: translateY(-2px);
  border-color: var(--green-primary);
}

.bill-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bill-ico.blue { background: var(--blue-tint); color: var(--blue-text); }
.bill-ico.rose { background: var(--rose-tint); color: var(--rose-text); }
.bill-ico.amber { background: var(--amber-tint); color: var(--amber-text); }
.bill-ico.indigo { background: var(--indigo-tint); color: var(--indigo-text); }
.bill-ico.purple { background: var(--purple-tint); color: var(--purple-text); }
.bill-ico.pink { background: var(--pink-tint); color: var(--pink-text); }

/* Widget 3: Rewards */
.rewards-widget {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.coins-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.coin-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--amber-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.coins-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.coins-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.coins-info strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.chevron-right {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.badges-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-badge {
  flex: 1;
  height: 36px;
  background-color: var(--bg-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Widget 4: Daily Bread Featured Green Card */
.card-daily-bread {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border: none;
  color: var(--white);
  padding: 28px 24px 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .card-daily-bread {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 36px 36px 0;
  }
}

.daily-bread-content {
  padding-bottom: 12px;
}

@media (min-width: 768px) {
  .daily-bread-content {
    padding-bottom: 36px;
  }
}

.db-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-daily-bread h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-daily-bread p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.daily-bread-phone {
  display: flex;
  justify-content: center;
  align-self: flex-end;
}

.daily-bread-phone img {
  max-width: 240px;
  width: 100%;
  border-radius: 20px 20px 0 0;

}

/* Widget 5: Spending Bar Chart */
.spending-widget {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.spending-stats {
  display: flex;
  flex-direction: column;
}

.spending-stats > small {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spending-stats strong {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.trend-up {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
}

.trend-up small {
  font-weight: 500;
  color: var(--text-muted);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 76px;
}

.bar {
  width: 12px;
  background-color: var(--border-light);
  border-radius: 6px;
  transition: var(--transition);
}

.bar.active {
  background-color: var(--green-primary);
}

/* ==========================================================================
   8. SECURITY FIRST SECTION
   ========================================================================== */
.security-section {
  background-color: var(--bg-subtle);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
  }
}

.security-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.sec-item:hover {
}

.sec-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-text h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sec-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   9. MOBILE-ONLY: HOW IT WORKS & MORE THAN A WALLET
   ========================================================================== */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 40px;
  position: relative;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--green-tint);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--green-border);
}

.step-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.more-wallet-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mw-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.mw-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mw-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mw-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.mw-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   10. DARK CTA BANNER
   ========================================================================== */
.cta-banner {
  background-color: var(--dark-surface);
  border-radius: var(--radius-xl);
  padding: 32px 22px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .cta-banner {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 48px;
    gap: 48px;
    align-items: center;
  }
}

.cta-script {
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--green-primary);
  text-align: center;
}

.cta-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-script-desktop {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 14px;
  flex-direction: column;
  font-family: var(--font-script);
  font-size: 1.45rem;
  line-height: 1.1;
}

.cta-script-desktop strong {
  color: var(--green-primary);
}

.cta-content h2 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

@media (min-width: 900px) {
  .cta-content h2 {
    font-size: 2.65rem;
  }
}

.cta-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.cta-store-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.store-btn-outline {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.store-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   11. MOBILE-ONLY: FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--white);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--green-primary);
  background-color: var(--bg-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.faq-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--green-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.faq-answer p {
  padding: 0 18px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
  background-color: #141416;
  border-top: 1px solid var(--border-light);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.2fr 1.8fr;
    gap: 64px;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.footer-logo img {
  width: 30px;
  height: 30px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--green-primary);
  border-color: var(--green-primary);
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-contact a:hover {
  color: var(--green-dark);
}

/* Footer Columns (Mobile Accordion / Desktop Columns) */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.footer-col {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

@media (min-width: 900px) {
  .footer-col {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.footer-col-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  padding: 8px 0;
}

@media (min-width: 900px) {
  .footer-col-header {
    cursor: default;
    margin-bottom: 14px;
    padding: 0;
  }
}

.footer-chevron {
  transition: transform 0.25s ease;
}

.footer-col.open .footer-chevron {
  transform: rotate(180deg);
}

.footer-col-links {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.footer-col.open .footer-col-links {
  display: flex;
}

@media (min-width: 900px) {
  .footer-col-links {
    display: flex !important;
    padding-top: 0;
  }
}

.footer-col-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col-links a:hover {
  color: var(--green-dark);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Widget 4: Daily Bread Featured Green Card */
.card-daily-bread {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border: none;
  color: var(--white);
  padding: 28px 24px 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .card-daily-bread {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 36px 36px 0;
    min-height: 320px;
  }
}

.daily-bread-content {
  padding-bottom: 12px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .daily-bread-content {
    padding-bottom: 36px;
  }
}

.db-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-daily-bread h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-daily-bread p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.daily-bread-phone {
  display: flex;
  justify-content: center;
  align-self: flex-end;
  position: relative;
  z-index: 1;
  /* Push the phone down so only the top enters the card */
  margin-bottom: -40px;
}

.daily-bread-phone img {
  max-width: 240px;
  width: 100%;
  border-radius: 24px 24px 0 0;
  /* Rotate clockwise to slant it */
  transform: rotate(8deg) translateY(20px);
  transform-origin: bottom center;
  /* Optional: scale up slightly so it feels closer */
  scale: 2.6;
}

@media (min-width: 768px) {
  .daily-bread-phone {
    margin-bottom: -90px;
    margin-right: -140px;
  }

  .daily-bread-phone img {
    max-width: 280px;
    transform: rotate(-26deg) translateY(90px);
    transform-origin: bottom center;
  }
}
@media (min-width: 900px) {
  .security-right {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .sec-item {
    flex-direction: column;
    align-items: flex-start;
    background: none;
    border: none;
    padding: 0;
    flex: 1;
    border-right: 1px solid var(--border-light);
    padding-right: 24px;
    margin-right: 24px;
  }

  /* Remove divider from the last item */
  .sec-item:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .sec-item:hover {
    box-shadow: none;
  }
}


/* ==========================================================================
   8. SECURITY FIRST SECTION (refined)
   ========================================================================== */
.security-section {
  background-color: var(--bg-subtle);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 900px) {
  .security-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
  }
}

.security-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.sec-item:hover {
}

.sec-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sec-text h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sec-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   DESKTOP: horizontal row, no card backgrounds, compact sizing
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .security-right {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .sec-item {
    flex-direction: column;
    align-items: flex-start;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 22px;
    flex: 1;
    border-right: 1px solid var(--border-light);
    transition: none;
  }

  .sec-item:first-child {
    padding-left: 0;
  }

  .sec-item:last-child {
    border-right: none;
    padding-right: 0;
  }

  .sec-item:hover {
    box-shadow: none;
  }

  /* Smaller, tighter icon */
  .sec-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .sec-icon svg {
    width: 16px;
    height: 16px;
  }

  /* Smaller, tighter text */
  .sec-text h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
  }

  .sec-text p {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-secondary);
  }
}

/* ==========================================================================
   10. DARK CTA BANNER (compact desktop)
   ========================================================================== */
.cta-banner {
  background-color: var(--dark-surface);
  border-radius: var(--radius-xl);
  padding: 32px 22px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  position: relative;
}

.cta-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .cta-banner {
    display: block;
    padding: 40px 48px;      /* was 64px — much tighter */
    min-height: 0;           /* remove forced height */
    max-width: 100%;
  }

  /* Image fills the right side */
  .cta-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  /* Gradient fade so image blends into dark bg */
  .cta-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      var(--dark-surface) 0%,
      rgba(11, 17, 32, 0.85) 18%,
      rgba(11, 17, 32, 0) 55%
    );
    pointer-events: none;
  }

  /* Text column — keep it on the left */
  .cta-content {
    position: relative;
    z-index: 10;
    max-width: 52%;
    padding-right: 24px;
  }

  .cta-content h2 {
    font-size: 2.25rem;      /* was 3.25rem */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 14px;
  }

  .cta-content p {
    font-size: 0.9375rem;    /* was 1.125rem */
    max-width: 400px;
    margin-bottom: 22px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
  }

  /* Buttons row */
  .cta-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .cta-main-btn {
    padding: 12px 24px;      /* was 16px 32px */
    font-size: 0.9375rem;
  }

  .cta-store-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  /* Make store buttons compact too */
  .cta-store-group .store-btn {
    padding: 8px 14px;
    border-radius: 10px;
  }

  .cta-store-group .store-btn-text small {
    font-size: 0.5rem;
  }

  .cta-store-group .store-btn-text strong {
    font-size: 0.8125rem;
  }

  /* Handwritten script — smaller & repositioned */
  .cta-script-desktop {
    position: absolute;
    top: 42%;
    right: 6%;
    transform: translateY(-50%);
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    z-index: 10;
    font-family: var(--font-script);
    font-size: 1.35rem;       /* was 2rem */
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  }

  .cta-script-desktop strong {
    color: var(--white);
    font-weight: 700;
    font-size: 1.75rem;       /* was 2.5rem */
    margin-top: 2px;
  }

  .cta-script-desktop svg {
    margin-top: 4px;
    width: 22px;
    height: 22px;
  }
}

/* ==========================================================================
   CTA BANNER DESKTOP FIX (Force visibility)
   ========================================================================== */
@media (min-width: 900px) {
  .cta-banner .desktop-only {
    display: block !important;
  }
  
  .cta-banner .mobile-only {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .cta-banner .mobile-only {
    display: flex !important;
  }
  
  .cta-banner .desktop-only {
    display: none !important;
  }
}
/* ==========================================================================
   THE SOLUTION SECTION
   ========================================================================== */
.solution-section {
    background-color: var(--bg-subtle);
}

.solution-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
}

@media (min-width: 900px) {
    .solution-top {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        margin-bottom: 64px;
    }
}

.solution-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* ---------------------------------------------------
   IMAGE CROPPING & SIZING (Matches the reference)
   --------------------------------------------------- */
.solution-phone-img {
    max-width: 100%;
    width: 100%;
    /* The reference image is cropped at the bottom */
    max-height: 300px; 
    object-fit: cover;
    object-position: top center; 
    /* Optional: add a slight fade at the bottom to match the design */
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

@media (min-width: 900px) {
    .solution-phone-img {
        max-height: 600px;
        width: 110%; /* Allows it to bleed slightly out of the column */
        margin-left: -5%;
        max-width: none;
    }
}

.handwritten-note {
    position: absolute;
    top: 10px;
    left: 8px;
    font-family: var(--font-script);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-primary);
    transform: rotate(-8deg);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 10;
}

/* ---------------------------------------------------
   VALUE PILLARS GRID
   --------------------------------------------------- */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Base Card Styles */
.pillar-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-4px);
}

.pillar-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%; /* Making the icon circle match the mobile design */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.pillar-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ---------------------------------------------------
   MOBILE SPECIFIC CARD COLORS (Full Bleed Tints)
   --------------------------------------------------- */
@media (max-width: 899px) {
    .pillar-green {
        background-color: var(--green-tint);
    }
    .pillar-green .pillar-icon {
        background-color: rgba(16, 185, 129, 0.2);
        color: var(--green-dark);
    }

    .pillar-blue {
        background-color: var(--blue-tint);
    }
    .pillar-blue .pillar-icon {
        background-color: rgba(37, 99, 235, 0.15);
        color: var(--blue-text);
    }

    .pillar-amber {
        background-color: var(--amber-tint);
    }
    .pillar-amber .pillar-icon {
        background-color: rgba(217, 119, 6, 0.15);
        color: var(--amber-text);
    }

    .pillar-rose {
        background-color: var(--rose-tint);
    }
    .pillar-rose .pillar-icon {
        background-color: rgba(225, 29, 72, 0.15);
        color: var(--rose-text);
    }
}

/* ---------------------------------------------------
   DESKTOP SPECIFIC CARD COLORS (White Cards)
   --------------------------------------------------- */
@media (min-width: 900px) {
    .pillar-card {
        background-color: var(--white);
        border: 1px solid var(--border-light);
    }

    .pillar-icon {
        border-radius: 12px; /* Revert to rounded square for desktop */
    }

    .pillar-green .pillar-icon { background: var(--green-tint); color: var(--green-dark); }
    .pillar-blue .pillar-icon { background: var(--blue-tint); color: var(--blue-text); }
    .pillar-amber .pillar-icon { background: var(--amber-tint); color: var(--amber-text); }
    .pillar-rose .pillar-icon { background: var(--rose-tint); color: var(--rose-text); }
}

/* ==========================================================================
   VALUE PILLARS GRID (Mobile 2x2 Fit)
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Forces 2x2 grid */
    gap: 12px; /* Tighter gap between cards */
}

@media (min-width: 960px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 across on desktop */
        gap: 20px;
    }
}

/* Base Card Styles */
.pillar-card {
    border-radius: var(--radius-md); /* Slightly smaller radius for mobile */
    padding: 16px; /* Reduced padding to save space */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

@media (min-width: 900px) {
    .pillar-card {
        border-radius: var(--radius-lg);
        padding: 24px; /* Restore original padding on desktop */
    }
}

.pillar-card:hover {
    transform: translateY(-4px);
}

.pillar-icon {
    width: 34px; /* Smaller icon container */
    height: 34px;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px; /* Tighter spacing */
}

.pillar-icon svg {
    width: 16px; /* Smaller SVG inside */
    height: 16px;
}

@media (min-width: 900px) {
    .pillar-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        margin-bottom: 18px;
    }
    .pillar-icon svg {
        width: 18px;
        height: 18px;
    }
}

.pillar-card h3 {
    font-size: 0.9375rem; /* Smaller heading for mobile */
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    line-height: 1.2;
}

@media (min-width: 900px) {
    .pillar-card h3 {
        font-size: 1.0625rem;
        margin-bottom: 8px;
    }
}

.pillar-card p {
    font-size: 0.8125rem; /* Smaller body text for mobile */
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (min-width: 900px) {
    .pillar-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

/* ---------------------------------------------------
   MOBILE SPECIFIC CARD COLORS (Full Bleed Tints)
   --------------------------------------------------- */
@media (max-width: 899px) {
    .pillar-green { background-color: var(--green-tint); }
    .pillar-green .pillar-icon { background-color: rgba(16, 185, 129, 0.15); color: var(--green-dark); }

    .pillar-blue { background-color: var(--blue-tint); }
    .pillar-blue .pillar-icon { background-color: rgba(37, 99, 235, 0.12); color: var(--blue-text); }

    .pillar-amber { background-color: var(--amber-tint); }
    .pillar-amber .pillar-icon { background-color: rgba(217, 119, 6, 0.12); color: var(--amber-text); }

    .pillar-rose { background-color: var(--rose-tint); }
    .pillar-rose .pillar-icon { background-color: rgba(225, 29, 72, 0.12); color: var(--rose-text); }
}

/* ---------------------------------------------------
   DESKTOP SPECIFIC CARD COLORS (White Cards)
   --------------------------------------------------- */
@media (min-width: 900px) {
    .pillar-card {
        background-color: var(--white);
        border: 1px solid var(--border-light);
    }

    .pillar-green .pillar-icon { background: var(--green-tint); color: var(--green-dark); }
    .pillar-blue .pillar-icon { background: var(--blue-tint); color: var(--blue-text); }
    .pillar-amber .pillar-icon { background: var(--amber-tint); color: var(--amber-text); }
    .pillar-rose .pillar-icon { background: var(--rose-tint); color: var(--rose-text); }
}

/* ==========================================================================
   BENTO FEATURES SECTION (Static UI Version)
   ========================================================================== */

/* Bento Grid Layout */
.bento-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 900px) {
    .bento-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 24px;
    }

    .card-wallet { grid-column: span 2; }
    .card-bills { grid-column: span 2; }
    .card-rewards { grid-column: span 2; }
    .card-daily-bread { grid-column: span 4; }
    .card-spending { grid-column: span 2; }
}

/* Base Card Styles */
.bento-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bento-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Specific Icon Colors */
.icon-green { background: var(--green-tint); color: var(--green-dark); }
.icon-blue { background: var(--blue-tint); color: var(--blue-text); }
.icon-amber { background: var(--amber-tint); color: var(--amber-text); }

.bento-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bento-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.55;
}

/* --- Wallet Widget --- */
.wallet-widget {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
}

.wallet-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.wallet-balance-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.balance-amount {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.balance-amount small {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.eye-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.w-btn {
    padding: 10px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.w-btn-dark {
    background-color: var(--text-primary);
    color: var(--white);
}

.w-btn-light {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

/* --- Bills Widget --- */
.bills-widget {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.bill-tile {
 
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
}

.bill-ico {
    width: 34px;
    height: 34px;
    border-radius: 50%; /* Circles like reference */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific Colors for Bill Icons */
.bill-ico.blue { background: var(--blue-tint); color: var(--blue-text); }
.bill-ico.rose { background: var(--rose-tint); color: var(--rose-text); }
.bill-ico.amber { background: var(--amber-tint); color: var(--amber-text); }
.bill-ico.indigo { background: var(--indigo-tint); color: var(--indigo-text); }
.bill-ico.purple { background: var(--purple-tint); color: var(--purple-text); }
.bill-ico.pink { background: var(--pink-tint); color: var(--pink-text); }

/* --- Rewards Widget --- */
.rewards-widget {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 16px;
}

.coins-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.coin-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.coin-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.coins-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.coins-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.coins-info strong {
    font-size: 1.25rem;
    font-weight: 800;
}

.chevron-right {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.badges-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mini-badge {
    flex: 1;
    height: 34px;
    background-color: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* --- Daily Bread Widget (The Green Card) --- */
.card-daily-bread {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    border: none;
    color: var(--white);
    padding: 32px 24px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .card-daily-bread {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 40px 40px 0;
        min-height: 360px;
    }
}

.daily-bread-content {
    padding-bottom: 24px;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .daily-bread-content {
        padding-bottom: 40px;
    }
}

.db-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-daily-bread h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-daily-bread p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.db-cta {
    background-color: var(--white);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- Phone Image Positioning --- */
.daily-bread-phone {
    display: flex;
    justify-content: center;
    align-self: flex-end;
    position: relative;
    z-index: 1;
    margin-bottom: -20px;
}

.daily-bread-phone img {
    max-width: 260px;
    width: 100%;
    border-radius: 24px 24px 0 0;
    transform: rotate(6deg) translateY(10px);
    transform-origin: bottom center;
}

@media (min-width: 768px) {
    /* This matches the exact desktop image position you provided */
    .daily-bread-phone {
        align-self: flex-end;
        justify-content: flex-end;
        margin-bottom: -100px;
        margin-right: -80px;
    }

    .daily-bread-phone img {
        max-width: 320px;
        width: 120%;
        transform: rotate(-20deg) translateY(80px) scale(1.3);
        transform-origin: bottom center;
    }
}

/* --- Spending Widget --- */
.spending-widget {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.spending-stats {
    display: flex;
    flex-direction: column;
}

.spending-stats > small {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.spending-stats strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.trend-up {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green-dark);
}

.trend-up small {
    font-weight: 500;
    color: var(--text-muted);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}

.bar {
    width: 10px;
    background-color: var(--border-light);
    border-radius: 4px;
}

.bar.active {
    background-color: var(--green-primary);
}

.badges-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.mini-badge {
    width: 38px;          /* Fixed width */
    height: 60px;         /* Fixed height (must equal width) */
    border-radius: 100%;   /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;       /* Prevents squishing */
}

/* ==========================================================================
   DAILY BREAD CARD (Mobile & Desktop)
   ========================================================================== */

.card-daily-bread {
    background: #3F9E55; /* Exact green from your screenshot */
    border: none;
    color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0; /* Remove padding from parent so image can bleed */
}

/* Mobile Specific Layout */
@media (max-width: 767px) {
    .card-daily-bread {
        padding-top: 32px;
        align-items: center; /* Center everything */
    }

    .daily-bread-content {
        padding: 0 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .db-icon-box {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .card-daily-bread h3 {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .card-daily-bread p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 24px;
        color: rgba(255, 255, 255, 0.95);
    }

    /* The Phone Image */
    .daily-bread-phone {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: -10px; 
        z-index: 1;
        /* This cuts off the bottom of the image */
        height: 380px; 
        overflow: hidden; 
    }

    .daily-bread-phone img {
        width: 90%;
        max-width: 320px;
        object-fit: cover;
        object-position: top;
        border-radius: 30px 30px 0 0;
        /* No rotation on mobile, straight down */
        transform: none; 
    }

    /* The Button overlapping the image at the bottom */
    .db-cta {
        position: absolute;
        bottom: 24px;
        left: 24px;
        right: 24px;
        width: calc(100% - 48px);
        z-index: 3;
        padding: 16px;
        border-radius: var(--radius-pill);
        display: flex;
        justify-content: center;
        font-weight: 700;
        font-size: 1rem;
        background: var(--white);
        color: #111827; /* Dark text */
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
}

/* Desktop Specific Layout (Reverts to your split view) */
@media (min-width: 768px) {
    .card-daily-bread {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 40px;
        background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    }

    .daily-bread-content {
        padding-bottom: 0;
        align-items: flex-start;
        text-align: left;
    }

    .db-icon-box {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.2);
        margin-bottom: 20px;
    }
    
    .db-icon-box svg {
        stroke: #FFFFFF; /* White icon on desktop */
    }

    .db-cta {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: auto;
        padding: 10px 20px;
        margin-top: 10px;
        display: inline-flex;
        box-shadow: none;
    }

    /* Desktop Phone Positioning */
    .daily-bread-phone {
        position: absolute;
        right: -40px;
        bottom: -60px;
        width: 400px;
        height: 400px;
        margin-top: 0;
    }

    .daily-bread-phone img {
        max-width: 100%;
        transform: rotate(-15deg) scale(1.1);
        transform-origin: bottom right;
        border-radius: 30px;
    }
}
/* ==========================================================================
   DAILY BREAD CARD VISIBILITY TOGGLE
   ========================================================================== */

/* Default (Mobile): Show mobile block, hide desktop block */
.card-daily-bread .mobile-only {
    display: flex !important;
}

.card-daily-bread .desktop-only {
    display: none !important;
}

/* Desktop (900px and up): Hide mobile block, show desktop block */
@media (min-width: 900px) {
    .card-daily-bread .mobile-only {
        display: none !important;
    }

    .card-daily-bread .desktop-only {
        display: grid !important; /* Uses grid for the split layout */
    }
}

/* ==========================================================================
   HOW IT WORKS TIMELINE (Mobile Dotted UI)
   ========================================================================== */

.how-it-works-section {
    background-color: var(--bg-page);
}

/* Container for the timeline */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px; /* Space between steps */
    margin-top: 32px;
    margin-bottom: 48px;
    position: relative;
}

/* The dashed connector line */
.steps-timeline::before {
    content: '';
    position: absolute;
    top: 20px; /* Start line at the center of the first number */
    bottom: 20px; /* End line at the center of the last number */
    left: 20px; /* Center horizontally with the 40px circle */
    border-left: 2px dashed #D1D5DB; /* Light gray dashed line */
    z-index: 1;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    z-index: 2; /* Ensure circles sit on top of the line */
}

/* The Number Circles */
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--green-tint); /* #ECFDF5 */
    color: var(--green-dark); /* #059669 */
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid var(--green-border); /* Light green border */
    box-shadow: 0 0 0 4px var(--bg-page); /* Creates a gap between circle and dashed line */
}

/* The Text Content */
.step-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- More Than A Wallet Card (Mobile) --- */
.more-wallet-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.mw-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
}

.mw-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.mw-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mw-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.mw-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   SECURITY SECTION (Mobile Stacked UI - Reduced Size)
   ========================================================================== */

@media (max-width: 899px) {
    /* 1. The Pill Tag */
    .security-section .pill-tag {
        background-color: #FEF2F2;
        color: #DC2626;
        text-transform: uppercase;
        font-size: 0.65rem;      /* Reduced */
        font-weight: 700;
        letter-spacing: 0.05em;
        padding: 6px 12px;       /* Reduced */
        margin-bottom: 16px;     /* Reduced */
    }

    /* 2. The Heading & Description */
    .security-section .section-heading {
        font-size: 1.75rem;      /* Reduced from 2.25rem */
        line-height: 1.15;
        letter-spacing: -0.03em;
        margin-bottom: 12px;
    }

    .security-section .section-desc {
        font-size: 0.9rem;       /* Reduced from 1.05rem */
        line-height: 1.5;
        color: #4B5563;
        margin-bottom: 28px;     /* Reduced */
    }

    /* 3. The Stacked Items Container */
    .security-right {
        display: flex;
        flex-direction: column;
        gap: 20px;               /* Reduced from 32px */
    }

    /* 4. The Individual Item */
    .sec-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: none;
        border: none;
        padding: 0;
        gap: 8px;                /* Reduced from 12px */
    }

    .sec-item:hover {
        box-shadow: none;
    }

    /* 5. The Icon Circles */
    .sec-icon {
        width: 42px;             /* Reduced from 52px */
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .sec-icon svg {
        width: 18px;             /* Reduced from 22px */
        height: 18px;
    }

    /* Icon Colors */
    .icon-rose { background: #FEE2E2; color: #EF4444; }
    .icon-blue { background: #DBEAFE; color: #3B82F6; }
    .icon-green { background: #D1FAE5; color: #10B981; }

    /* 6. The Text Content */
    .sec-text {
        text-align: left;
    }

    .sec-text h3 {
        font-size: 1rem;         /* Reduced from 1.125rem */
        font-weight: 700;
        margin-bottom: 2px;
        color: #111827;
    }

    .sec-text p {
        font-size: 0.875rem;     /* Reduced from 1rem */
        color: #4B5563;
        line-height: 1.4;
    }
}
/* ==========================================================================
   4. NAVIGATION & HERO
   ========================================================================== */
.hero-wrapper {
    position: relative;
    background-color: var(--dark-surface);
    padding-bottom: 64px;
    min-height: 100vh; /* Make it take up the full screen */
    display: flex;
    flex-direction: column;
}

/* Background Image */
.hero-desktop-bg {
    display: none; /* Hidden on mobile by default */
}

.hero-desktop-overlay {
    display: none; /* Hidden on mobile */
}

/* Mobile Navbar */
.navbar {
    position: relative;
    z-index: 50;
}

.nav-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.brand-full {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white); /* Changed to white for dark bg */
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Mobile Hero Content */
.hero-content {
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border: 1px solid var(--green-border);
    color: var(--green-dark);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--white); /* White text for dark bg */
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8); /* Light text for dark bg */
    max-width: 340px;
    margin-bottom: 24px;
}

/* ==========================================
   DESKTOP HERO OVERRIDES (Fixes the black screen)
   ========================================== */
@media (min-width: 900px) {
    .hero-wrapper {
        min-height: 680px;
        padding: 24px 0 80px;
        overflow: hidden;
    }

    /* Make the background image fill the whole area */
    .hero-desktop-bg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0; /* Push it to the back */
    }

    .hero-desktop-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%; /* Adjust this to frame the faces well */
    }

    /* Optional: Add a slight dark overlay so white text is readable */
    .hero-desktop-overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(11, 17, 32, 0.4) 0%, rgba(11, 17, 32, 0.1) 100%);
    }

    /* Floating Pill Nav */
    .nav-pill {
        max-width: 820px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 8px 10px 8px 20px;
        border-radius: var(--radius-pill);
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
        position: relative;
        z-index: 50;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-links a {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-secondary);
        transition: var(--transition);
    }

    .nav-links a:hover {
        color: var(--text-primary);
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    /* Center the text content vertically and horizontally */
    .hero-content {
        padding-top: 80px;
        padding-bottom: 80px;
        margin: auto; /* Helps center it in the flex container */
        text-align: center;
        align-items: center;
        max-width: 800px;
    }

    .hero-badge {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: var(--white);
        text-transform: none;
        font-size: 0.8125rem;
        padding: 8px 16px;
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 4rem;
        color: var(--white);
        max-width: 800px;
        margin-bottom: 20px;
        text-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .hero-subtitle {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1.25rem;
        max-width: 600px;
        margin-bottom: 34px;
    }

    .hero-desktop-actions .btn-white {
        padding: 16px 32px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: var(--radius-pill);
    }
}

@media (min-width: 900px) {
    /* Ensure the pill container is flex and stretches across */
    .nav-pill {
        display: flex !important; /* Forces it to show */
        max-width: 820px;
        margin: 24px auto 0; /* Adds space at the top */
        background: #F3F4F6; /* Light gray pill color from screenshot */
        padding: 10px 10px 10px 24px; /* Left padding for logo, right for button */
        border-radius: var(--radius-pill);
        align-items: center;
        justify-content: space-between; /* Spreads logo, links, and button */
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
        position: relative;
        z-index: 50;
    }

    /* The Logo */
    .nav-pill .brand-mark {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .nav-pill .logo-icon {
        width: 32px;
        height: 32px;
    }

    /* The Links (Center) */
    .nav-links {
        display: flex;
        align-items: center;
        gap: 28px; /* Space between text links */
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-links a {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-secondary);
        transition: var(--transition);
        white-space: nowrap; /* Prevents text from breaking */
    }

    .nav-links a:hover {
        color: var(--green-primary);
    }

    /* The Button (Right) */
    .nav-cta {
        padding: 10px 24px;
        font-size: 0.9rem;
        font-weight: 700;
        border-radius: var(--radius-pill);
        background-color: var(--green-primary);
        color: var(--white);
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ==========================================================================
   HERO TITLE & BADGE (Mobile Defaults)
   ========================================================================== */

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #111827; /* Black for mobile */
    margin-bottom: 14px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ECFFEB; /* Exact hex for mobile */
    border: 1px solid var(--green-border);
    color: var(--green-dark);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   DESKTOP OVERRIDES (White text for dark background)
   ========================================================================== */
@media (min-width: 900px) {
    .hero-title {
        font-size: 4rem;
        color: var(--white); /* Switches to white on desktop */
        max-width: 800px;
        margin-bottom: 20px;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .hero-badge {
        background: rgba(255, 255, 255, 0.15); /* Glassmorphism for desktop */
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: var(--white);
        text-transform: none; /* Removes all-caps on desktop */
        font-size: 0.8125rem;
        padding: 8px 16px;
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   MOBILE HEADER TEXT
   ========================================================================== */

.brand-full {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #111827; /* Black for mobile */
    letter-spacing: -0.02em;
}

/* ==========================================================================
   DESKTOP OVERRIDES
   ========================================================================== */
@media (min-width: 900px) {
    .brand-full {
        color: var(--white); /* White on desktop (if you even use this class there) */
    }
}
/* ==========================================================================
   HERO SUBTITLE (Mobile Default)
   ========================================================================== */
.hero-subtitle {
    font-size: 1rem;
    color: #111827; /* Black for mobile */
    max-width: 340px;
    margin-bottom: 24px;
}

/* ==========================================================================
   DESKTOP OVERRIDE (Light text for dark background)
   ========================================================================== */
@media (min-width: 900px) {
    .hero-subtitle {
        color: rgba(255, 255, 255, 0.95); /* Light text on desktop */
        font-size: 1.25rem;
        max-width: 600px;
        margin-bottom: 34px;
    }
}

/* ==========================================================================
   FOOTER STYLING (Dark Mode Match)
   ========================================================================== */

.footer {
    background-color: #121212; /* Dark charcoal background */
    border-top: none; /* Remove any top borders */
    padding: 56px 0 32px;
    color: #A3A3A3; /* Default light gray text */
}

/* Top Section Layout */
.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2A2A2A; /* Darker divider line */
}

@media (min-width: 900px) {
    .footer-top {
        grid-template-columns: 1.2fr 1.8fr;
        gap: 64px;
    }
}

/* Logo & Brand */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #FFFFFF; /* White logo text */
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #A3A3A3; /* Gray tagline */
    margin-bottom: 24px;
}

/* Social Links (Circular Dark Buttons) */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #1F1F1F; /* Dark gray circle */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF; /* White icons */
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #333333;
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
    color: #A3A3A3;
}

.footer-contact a {
    color: #A3A3A3;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: #FFFFFF;
}

/* Footer Columns (Accordion/List) */
.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}

@media (min-width: 900px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        margin-top: 0;
    }
}

.footer-col {
    border-bottom: 1px solid #2A2A2A; /* Dark divider */
    padding-bottom: 16px;
}

@media (min-width: 900px) {
    .footer-col {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Column Headers (Product, Company, Support) */
.footer-col-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF; /* White headers */
    padding: 12px 0;
    cursor: pointer;
}

@media (min-width: 900px) {
    .footer-col-header {
        cursor: default;
        margin-bottom: 16px;
        padding: 0;
    }
}

.footer-chevron {
    transition: transform 0.25s ease;
    color: #A3A3A3; /* Gray chevron */
}

/* Links inside columns */
.footer-col-links {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.footer-col.open .footer-col-links {
    display: flex;
}

@media (min-width: 900px) {
    .footer-col-links {
        display: flex !important;
        padding-top: 0;
    }
}

.footer-col-links a {
    font-size: 0.95rem;
    color: #A3A3A3; /* Gray links */
    transition: var(--transition);
}

.footer-col-links a:hover {
    color: #FFFFFF;
}

/* Bottom Bar (Copyright) */
.footer-bottom {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #737373; /* Darker gray for copyright */
    text-align: center;
}

@media (min-width: 900px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: center; /* Centered like the screenshot */
    }
}




/* ==========================================================================
   DAILY BREAD CARD (Base & Mobile)
   ========================================================================== */
.card-daily-bread {
    background: #3F9E55;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Hide desktop on mobile */
@media (max-width: 899px) {
    .db-desktop-wrapper {
        display: none !important;
    }
}

/* ==========================================================================
   DAILY BREAD CARD (Desktop Replica)
   ========================================================================== */

   @media (min-width: 900px) {
    /* Hide mobile on desktop */
    .card-daily-bread .mobile-only {
        display: none !important;
    }

    /* Main Desktop Container */
    .db-desktop-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 50/50 split */
        align-items: center;
        padding: 48px 56px; /* Reduced padding to make it shorter */
        width: 100%;
        height: 100%;
        min-height: 340px; /* Reduced from 420px to save vertical space */
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Left Content Column */
    .db-desktop-content {
        position: relative;
        z-index: 2;
        max-width: 380px;
    }

    /* Icon Box */
    .db-desktop-icon-box {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    /* Title */
    .db-desktop-title {
        color: #FFFFFF;
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 12px;
        letter-spacing: -0.02em;
        line-height: 1.1;
    }

    /* Description */
    .db-desktop-desc {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1.125rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    /* Button */
    .db-desktop-cta {
        cursor: default;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #FFFFFF;
        color: #111827;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
    }

    /* Right Phone Image */
    .db-desktop-phone {
        position: absolute;
        right: -80px; /* Pushes it right */
        bottom: -120px; /* Pushes it down so it cuts off at the bottom */
        width: 450px;
        height: 550px;
        z-index: 1;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .db-desktop-phone img {
        width: 100%;
        height: 100%;
        object-fit:cover;
        /* Scale slightly larger, rotate it, and pull it down to cut off */
        transform: rotate(-15deg) scale(1.5) translateY(160px) translateX(120px); 
        transform-origin: bottom right;
    }
}

/* Current */
.section {
  padding: 64px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 56px 0;
  }
}

/* Change to: */
.section {
  padding: 40px 0; /* Reduced from 64px */
}

@media (min-width: 900px) {
  .section {
    padding: 34px 0; /* Reduced from 96px */
  }
}

/* ============================================ */
/* FIX: Reduce gap between hero and problem     */
/* section on mobile                            */
/* ============================================ */

/* Remove the negative margin hack */
.problem-section {
    margin-top: 0 !important;
}

/* Tighten hero bottom padding on mobile */
@media (max-width: 768px) {
    .hero-wrapper {
        padding-bottom: 0 !important;
    }

    .hero-content {
        padding-bottom: 0 !important;
    }

    .hero-mobile-visuals {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Control spacing via problem section top padding only */
    .problem-section {
        padding-top: 40px !important;
        margin-top: 0 !important;
    }

    /* Ensure main doesn't add extra gap */
    main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}