/* ═══════════════════════════════════════════════════════
   BETTERCAUSE — style.css
   Design tokens → Base reset → Components → Sections
═══════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ───────────────────────────────── */
:root {
  --clr-purple-dark:  #6B35CF;
  --clr-purple:       #8B5CF6;
  --clr-purple-mid:   #A78BFA;
  --clr-blue:         #60A5FA;
  --clr-blue-light:   #BFDBFE;
  --clr-white:        #FFFFFF;
  --clr-white-80:     rgba(255,255,255,.80);
  --clr-white-60:     rgba(255,255,255,.60);
  --clr-white-20:     rgba(255,255,255,.20);
  --clr-white-10:     rgba(255,255,255,.10);
  --grad-hero: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  --shadow-card:  0 20px 60px rgba(0,0,0,.20);
  --shadow-btn:   0 4px 20px rgba(139,92,246,.45);
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --navbar-h: 76px;
  --ease-out: cubic-bezier(.22,.68,0,1.2);
  --ease-in:  cubic-bezier(.55,0,1,.45);
}

/* ── 2. BASE RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: #F5F3FF;
  color: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ── 3. NAVBAR ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  background: transparent;
  transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
.navbar--scrolled {
  background: rgba(109,40,217,.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--clr-white-10);
}
.navbar__inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--clr-white);
  white-space: nowrap;
  flex: 1;
}

.navbar__logo-img {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--clr-white-10);
  border: 1px solid var(--clr-white-20);
  border-radius: 50px;
  padding: 6px;
  flex-shrink: 0;
}
.navbar__link {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-white-80);
  transition: background .2s, color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.navbar__link:hover         { color: var(--clr-white); }
.navbar__link--active       { background: var(--clr-white); color: var(--clr-purple-dark); font-weight: 600; }
.navbar__link--active:hover { color: var(--clr-purple-dark); }
.navbar__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}
.btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--clr-white);
}
.btn--ghost:hover { background: var(--clr-white-10); }
.btn--solid {
  background: var(--clr-white);
  color: var(--clr-purple-dark);
  box-shadow: var(--shadow-btn);
}
.btn--solid:hover { box-shadow: 0 8px 30px rgba(139,92,246,.55); }

/* ── 4. HERO SECTION ────────────────────────────────── */
/* ── 4. HERO SECTION ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: var(--navbar-h) clamp(32px, 5vw, 72px) 0;
  background: var(--grad-hero);
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(360px, 1.1fr) minmax(220px, 0.9fr);
  align-items: center;
  justify-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}

.hero__blob--1 {
  width: clamp(360px, 45vw, 600px);
  height: clamp(360px, 45vw, 600px);
  background: radial-gradient(circle, #C084FC, transparent 70%);
  bottom: -120px;
  left: -120px;
}

.hero__blob--2 {
  width: clamp(320px, 38vw, 500px);
  height: clamp(320px, 38vw, 500px);
  background: radial-gradient(circle, #93C5FD, transparent 70%);
  top: -100px;
  right: -100px;
}

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

/* LEFT PHONE */
.hero__phone-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(260px, 27vw, 420px);
  z-index: 2;
  pointer-events: none;
  animation: heroPhoneIn .8s var(--ease-out) both;
}

.hero__phone-img {
  width: 100%;
  height: auto;
  display: block;
}

/* CENTER CONTENT */
.hero__center {
  grid-column: 2;
  width: min(100%, 600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 4;
  animation: heroCenterIn .8s var(--ease-out) .15s both;
}

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

.hero__headline {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.16;
  color: var(--clr-white);
  letter-spacing: -.02em;
}

.hero__headline strong {
  font-weight: 800;
}

.hero__sub {
  font-size: clamp(.9rem, 1.15vw, 1rem);
  color: var(--clr-white-80);
  line-height: 1.65;
  max-width: 470px;
  margin-top: 22px;
}

/* SEARCH */
.hero__search {
  position: relative;
  width: min(100%, 400px);
  margin-top: clamp(48px, 10vh, 128px);
  background: var(--clr-white);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.20);
  gap: 12px;
}

.hero__search-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-main);
  font-size: .95rem;
  color: #374151;
  min-height: 36px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

.hero__search-input .wrap {
  border-right-color: #6B35CF !important;
}

.hero__search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1C1C28;
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  flex-shrink: 0;
}

/* RIGHT PRODUCT CARDS */
.hero__cards {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 22vw, 300px);
  height: clamp(330px, 35vw, 430px);
  z-index: 3;
  overflow: visible;
  pointer-events: none;
  animation: heroCardsIn .8s var(--ease-out) .3s both;
}

.hero__cards-blob {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,255,255,.14) 0%,
    rgba(255,255,255,.07) 42%,
    rgba(255,255,255,0) 72%
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.product-card {
  position: absolute;
  background: #F8F7FC;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 20px 48px rgba(38, 18, 89, 0.18);
  color: #1C1C28;
  z-index: 2;
  padding: 10px 10px 20px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
}

.product-card__info {
  padding: 10px 4px 0;
  background: transparent;
  border-radius: 0;
}

.product-card__brand {
  font-size: .76rem;
  opacity: .5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.product-card__name {
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
}

.product-card--1 {
  width: 78%;
  top: 0;
  left: 0;
  z-index: 2;
}

.product-card--2 {
  width: 66%;
  right: 0;
  bottom: 0;
  transform: rotate(8deg);
  z-index: 3;
}

/* BADGES */
.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(22, 20, 52, 0.12);
  border: 1.5px solid transparent;
}

.badge--organic {
  top: 28px;
  left: -34px;
  background: #EEE8FF;
  border-color: #8B5CF6;
  color: #6D42E8;
}

.badge--vegan2 {
  top: 185px;
  right: -28px;
  background: #DDF7E7;
  border-color: #7BD59A;
  color: #1F9D55;
}

.badge--halal {
  right: -24px;
  bottom: 88px;
  background: #DDF7E7;
  border-color: #7BD59A;
  color: #1F9D55;
}

.badge--animal {
  left: -48px;
  bottom: 250px;
  background: #FFE4F1;
  border-color: #EC4899;
  color: #D61F77;
}

/* BOTTOM CIRCLE */
.hero__circle-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(620px, 75vw, 1000px);
  z-index: 1;
  pointer-events: none;
}

.hero__circle-bottom img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes heroPhoneIn {
  from {
    opacity: 0;
    transform: translateX(-40px) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes heroCardsIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}
/* ── ABOUT SECTION ──────────────────────────────────── */
.about-section {
  background: #fff;
  padding: 80px 96px;
  color: #1C1C28;
}
.about-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.about-title { font-size: 1.6rem; font-weight: 800; color: #1C1C28; }
.about-sub   { font-size: .95rem; color: #9CA3AF; }
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: none;
  user-select: none;
  line-height: 0;
}
.about-img { width: 100%; height: auto; display: block; object-fit: contain; }
.about-img--colour {
  position: absolute;
  inset: 0;
  clip-path: circle(0px at 0px 0px);
  transition: none;
}
.about-lens {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 8px 32px rgba(0,0,0,.25);
  pointer-events: none;
  transform: translate(-50%, -50%);
  top: 50%; left: 50%;
  transition: opacity .2s;
}

/* About segmented toggle */
.about-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.about-toggle {
  display: inline-flex;
  align-items: center;
  background: #F0EBFF;
  border-radius: 50px;
  padding: 5px;
  gap: 2px;
}

.about-toggle__option {
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  background: transparent;
  color: #9CA3AF;
}

.about-toggle__option--active {
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(139,92,246,.35);
}
.about-lens.is-inactive { opacity: 0; }

/* ════════════════════════════════════════════
   HOW IT WORKS SECTION
════════════════════════════════════════════ */
.how-section {
  background: #fff;
  padding: 90px 96px 100px;
  color: #1C1C28;
}

.how-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--clr-purple);
  margin-bottom: 10px;
}

.how-sub {
  font-size: 1rem;
  color: #6B7280;
}

/* Body: side-by-side */
.how-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;  /* ← add this */
}

/* ─ Steps ─ */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: 20px;
  padding: 24px 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: background .25s ease;
}

.how-step:hover { background: transparent; }

.how-step--active { background: transparent; }

.how-step__num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #D1D5DB;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  transition: color .25s;
}

.how-step--active .how-step__num {
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* Inactive num stays gray, active turns purple */
.how-step .how-step__num {
  color: #D1D5DB;
  transition: color .25s;
}
.how-step__content { flex: 1; }

.how-step__pill {
  display: inline-block;
  background: var(--clr-purple);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Active step: render the h3 title as a purple pill */
/* Active step: render the h3 title as a purple pill */
.how-step--active .how-step__title {
  display: inline-block;
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Inactive step title: plain gray text */
.how-step:not(.how-step--active) .how-step__title {
  display: block;
  background: none;
  color: #9CA3AF;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
}

.how-step:not(.how-step--active) .how-step__num {
  display: none;
}

.how-step__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #9CA3AF;
  margin-bottom: 8px;
  transition: color .25s;
  line-height: 1.2;
}


.how-step--active .how-step__title { color: #1C1C28; }

.how-step__desc {
  font-size: .9rem;
  color: #9CA3AF;
  line-height: 1.6;
  transition: color .25s;
}

.how-step--active .how-step__desc { color: #4B5563; }

/* ─ Phones area ─ */
.how-phones {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-phones__blob {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, #EDE9FE, #DDD6FE);
  z-index: 0;
  right: -260px;
  top: 50%;
  transform: translateY(-50%);
}
/* The two phone images */
.how-phone-img {
  position: absolute;
  height: 480px;
  width: 240px;         /* ← force same width for ALL steps */
  object-fit: contain;
  object-position: center;
  display: block;
  z-index: 2;
}

.how-phone-img--back {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.how-phone-img--front {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* ── How it works phone transition ── */
.how-phone-img {
  transition: opacity .4s ease, transform .4s ease;
}

.how-phone-img.is-leaving {
  opacity: 0;
  transform: translateY(16px);
}

.how-phone-img.is-entering {
  opacity: 0;
  transform: translateY(-16px);
}

/* ════════════════════════════════════════════
   FEATURE CARDS SECTION
════════════════════════════════════════════ */
.features-section {
  background: linear-gradient(to top, #EAE0FF 0%, #ffffff 100%);
  padding: 110px 96px 120px;
  width: 100%;          /* ← ADD THIS */
  box-sizing: border-box; /* ← ADD THIS */
}

/* REPLACE WITH this: */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 32px;
  max-width: 1120px;
  width: 100%;          /* ← ADD THIS */
  margin: 0 auto;
  align-items: stretch;
}

/* ─ Base card ─ */

.feat-card {
  border-radius: 28px;
  padding: 0 0 28px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
}

.feat-card--purple {
  background: #723DE4;
  color: #fff;
  border-radius: 28px;
}

.feat-card--ai {
  background: #AE86FF;
  color: #fff;
  padding-bottom: 24px;
  border-radius: 28px;
}

.feat-card--tall {
  margin-top: -28px;
  margin-bottom: -28px;
}

.feat-card__visual {
  position: relative;
  height: 240px;
  overflow: visible;
  border-radius: 28px 28px 0 0;
}
.feat-world-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: visible;
}


.feat-anywhere-circles {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: visible;
}


.feat-world-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: brightness(0) invert(1) opacity(0.18);
  pointer-events: none;
}
.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.map-ping {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.map-ping::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: white;
  animation: mapPulseDot 2s ease-in-out infinite;
}

.map-ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid white;
  animation: mapPingRing 2.4s ease-out infinite;
}

@keyframes mapPulseDot {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

@keyframes mapPingRing {
  0%   { transform: scale(1);   opacity: 0.9; }
  70%  { transform: scale(3.5); opacity: 0;   }
  100% { transform: scale(3.5); opacity: 0;   }
}
.feat-product,
.feat-anywhere-circle {
  position: absolute;
  border-radius: 50%;
  overflow: visible;
  z-index: 3;
}

.feat-product {
  isolation: isolate;
}


.feat-product::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: #723DE4;
  z-index: 1;
  pointer-events: none;
}

.feat-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  position: relative;
  z-index: 2;
}

/* Top-left: positioned over North America on map */
.feat-product--tl {
  width: 88px;
  height: 88px;
  top: 36px;
  left: -26px;
}

/* Top-right: positioned over Asia on map */
.feat-product--tr {
  width: 70px;
  height: 70px;
  top: 34px;
  right: 22px;
}


/* Bottom-center: positioned over Southeast Asia / Australia */
.feat-product--br {
  width: 78px;
  height: 78px;
  bottom: -14px;
  right: -18px;
}
.feat-card__ai-preview {
  padding: 18px 18px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;                /* ← add this, makes it consume all vertical space */
}

.feat-ai-card {
  position: relative;
  width: 82%;              /* decrease overall size */
  max-width: 260px;        /* keeps it smaller */
  border-radius: 22px;
  overflow: visible;
  transform: rotate(-5deg); /* tilt only a bit */
  transform-origin: center;
  z-index: 2;
  margin-top: -48px;
  isolation: isolate;
}


.feat-ai-card::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;    /* ← slightly larger than the image's 22px so it peeks out evenly */
  background: #AE86FF;
  z-index: 1;
  pointer-events: none;
}

.feat-anywhere-circle--top {
animation: none;
}
@keyframes slowSpin {
  from { transform: rotate(10deg); }
  to   { transform: rotate(370deg); }
}

.feat-anywhere-circle--bottom {
animation: none;
}
@keyframes floatBob {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%       { transform: rotate(-8deg) translateY(-10px); }
}



.feat-ai-card__img {
  width: 100%;
  height: 100%;           /* ← was: 250px fixed */
  min-height: 260px;      /* ← ensures it's tall enough to fill the card visual area */
  object-fit: cover;
  display: block;
  border-radius: 28px;
  background: #AE86FF;
  position: relative;
  z-index: 2;
}
/* Titles / descs */
.feat-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 20px 24px 8px;
}

.feat-card--ai .feat-card__title { color: #fff; } 

.feat-card__desc {
  font-size: .85rem;
  line-height: 1.6;
  padding: 0 24px;
  opacity: .75;
}

.feat-card--ai .feat-card__desc  { color: rgba(255,255,255,0.8); }


/* Frame ring — sits outside the circle like a halo */
.feat-anywhere-circle::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: #6B35CF;
  z-index: 1;
  pointer-events: none;
}

.feat-anywhere-circle {
  isolation: isolate;
}

.feat-anywhere-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

/* Top-right: large, tilted clockwise */
.feat-anywhere-circle--top {
  width: 220px;
  height: 220px;
  top: -36px;
  right: 18px;
  transform: rotate(10deg);
}

/* Bottom-left: smaller, tilted counter-clockwise */
.feat-anywhere-circle--bottom {
  width: 150px;
  height: 150px;
  bottom: -5px;
  left: 34px;
  transform: rotate(-8deg);
}
/* ════════════════════════════════════════════
   PARTNERS SECTION
════════════════════════════════════════════ */
.partners-section {
  background: #EAE0FF;
  padding: 90px 96px 100px;
  color: #1C1C28;
}

.partners-header {
  text-align: center;
  margin-bottom: 48px;
}

.partners-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1C1C28;
  margin-bottom: 10px;
}

.partners-sub {
  font-size: .95rem;
  color: #6B7280;
}

/* Logo strip */
.partners-logos-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 40px 60px;
  margin-bottom: 24px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

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

.partner-logo__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.partner-logo__icon--afi {
  font-size: 1.6rem;
}

.partner-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.partner-logo__img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.partner-logo__name {
  font-size: 1rem;
  font-weight: 800;
  color: #1C1C28;
  letter-spacing: .04em;
}

.partner-logo__name--green { color: #16A34A; }
.partner-logo__name em { font-style: italic; font-weight: 700; }
.partner-logo__name--thin { font-weight: 400; font-size: .95rem; letter-spacing: .01em; }

.partner-logo__sub {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: #6B7280;
  text-transform: uppercase;
}

.partner-logo__sub--green { color: #16A34A; }

/* Fusion cell */
.partner-logo--fusion {
  display: flex;
  align-items: center;
  gap: 6px;
}

.partner-logo__fusion-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fusion-light {
  font-size: 1.05rem;
  font-weight: 400;
  color: #1C1C28;
  letter-spacing: .01em;
}

.fusion-bold {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1C1C28;
}

/* Our Story */
.partners-story {
  background: #fff;
  border-radius: 24px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: visible; /* ← was: overflow: hidden */
}

.partners-story__trophy {
  position: absolute;
  top: -10px;
  left: -12px;
  font-size: 5rem;
  transform: rotate(15deg);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
  pointer-events: none;
}

.partners-story__left { padding-left: 60px; }

.partners-story__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1C1C28;
  margin-bottom: 14px;
}

.partners-story__text {
  font-size: .95rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-story {
  display: inline-block;
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  color: #fff;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  transition: transform .2s var(--ease-out), box-shadow .2s;
  cursor: pointer;
}

.btn-story:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,92,246,.55);
}

.partners-story__right {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.partners-story__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

/* ════════════════════════════════════════════
   BLOG / INSIGHTS SECTION
════════════════════════════════════════════ */
.blog-section {
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  padding: 80px 96px 72px;
  color: #fff;
}

.blog-header { margin-bottom: 40px; }

.blog-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.blog-sub {
  font-size: .95rem;
  color: var(--clr-white-80);
}

/* Blog grid */
.blog-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
  height: 340px;
}

.blog-card {
  border-radius: 24px;
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 280px;
  min-width: 0;
  position: relative;
  transition: flex-grow .4s ease,
              flex-basis .4s ease,
              background .3s ease,
              transform .2s ease;
}

.blog-card:hover { transform: translateY(-2px); }

/* Base colours — JS handles dark card state via inline !important styles */
.blog-card--light { background: #fff; color: #1C1C28; }
.blog-card.is-open {
  flex: 2 0 280px;
}

.blog-card__inner {
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.blog-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  flex-shrink: 0;
}

.blog-card--dark .blog-card__title  { color: #fff; }
.blog-card--light .blog-card__title { color: #1C1C28; }


.blog-card__content {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity .3s ease .1s, visibility .3s ease .1s;
}

/* Light card: text left, image right, vertically centered */
/* All cards: text left, image right */
/* All cards: text left, image right, both aligned to top */
.blog-card__content {
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
}
.blog-card.is-open .blog-card__content {
  opacity: 1;
  visibility: visible;
}

.blog-card__text-col { flex: 1; min-width: 0; }

.blog-card__img {
  width: 180px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
  align-self: center;
}

.blog-card__snippet {
  font-size: .85rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card--light .blog-card__snippet { color: #4B5563; }
.blog-card--dark  .blog-card__snippet { color: rgba(255,255,255,.65); }

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  flex-shrink: 0;
}

.blog-card__read {
  font-size: .96rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s ease .15s;
}

.blog-card.is-open .blog-card__read { opacity: 1; }
.blog-card--light .blog-card__read { color: var(--clr-purple); }
.blog-card--dark  .blog-card__read { color: rgba(255,255,255,.55); }

.blog-card__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.blog-card--light .blog-card__btn { background: #1C1C28; color: #fff; }
.blog-card--dark  .blog-card__btn { background: #fff;    color: #1C1C28; }
.blog-card.is-open .blog-card__btn { transform: rotate(0deg); }
/* Read Our Blogs button */
.blog-footer { display: flex; justify-content: flex-end; margin-top: 24px; }
.btn-blog {
  display: inline-block;
  background: #fff;
  color: var(--clr-purple-dark);
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  transition: transform .2s var(--ease-out), box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-blog:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

/* FIND and REPLACE everything from .appcta-section to .appcta-note */

.appcta-section {
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 96px 360px;
  position: relative;
}

.appcta-card {
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  border-radius: 32px;
  width: 100%;
  max-width: 1000px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  position: relative;
  overflow: visible;
  padding: 64px 60px 52px 420px;
}
.appcta-phone {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: auto;
  overflow: visible;
  display: flex;
  align-items: center;
}

.appcta-phone__img {
  width: 280px;
  height: auto;
  object-fit: contain;
  display: block;
  transform: rotate(-4deg);
}

.appcta-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 65px;
  padding: 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.appcta-deco {
  position: absolute;
  top: -32px;
  right: 48px;
  font-size: 4rem;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
  letter-spacing: -8px;
}

.appcta-title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

.appcta-highlight {
  background: #fff;
  color: var(--clr-purple-dark);
  padding: 3px 14px;
  display: inline-block;
  transform: rotate(-1deg);
}

.appcta-stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.appcta-store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1C1C28;
  color: #fff;
  padding: 14px 28px;
  border-radius: 16px;
  font-family: var(--font-main);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.appcta-store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.35); }

.appcta-store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.appcta-store-label {
  display: block;
  font-size: .7rem;
  opacity: .65;
  line-height: 1;
  text-align: left;
}

.appcta-store-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.appcta-note {
  font-size: .88rem;
  color: var(--clr-white-80);
  text-align: center;
  margin-top: -40px;
}
/* ════════════════════════════════════════════
   NEW FAQ LAYOUT (2-col)
════════════════════════════════════════════ */
.faq2-section {
  background: transparent;
  min-height: 100vh;
  padding: 90px 96px 100px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.faq2-left,
.faq2-list { position: relative; z-index: 1; }

.faq2-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.faq2-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* The list */
.faq2-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* ════════════════════════════════════════════
   FAQ ITEM BASE (needed even without old section)
════════════════════════════════════════════ */
.faq-item {
  border-radius: 50px;
  overflow: hidden;
  transition: background .25s, border-radius .3s;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  text-align: left;
  gap: 16px;
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-item.is-open .faq-item__a { max-height: 300px; }

/* ════════════════════════════════════════════
   FAQ2 SECTION OVERRIDES
════════════════════════════════════════════ */
.faq2-section .faq-item {
  border-radius: 50px;
  border: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: background .3s ease, border-radius .3s ease;
}

.faq2-section .faq-item.is-open {
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);
  border-radius: 24px;
}

.faq2-section .faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-purple);
  text-align: left;
  gap: 16px;
  transition: color .25s;
}

.faq2-section .faq-item.is-open .faq-item__q {
  color: #fff;
}

.faq2-section .faq-item__q:hover { background: transparent; }

.faq2-section .faq-item__icon--arrow {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: var(--clr-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform .3s var(--ease-out), background .25s;
  line-height: 1;
}

.faq2-section .faq-item.is-open .faq-item__icon--arrow {
  background: #fff;
  color: var(--clr-purple);
  transform: rotate(-90deg);
}

.faq2-section .faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq2-section .faq-item.is-open .faq-item__a {
  max-height: 200px;
}

.faq2-section .faq-item__a p {
  padding: 0 28px 22px;
  font-size: .88rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
}
/* ════════════════════════════════════════════
   CONTACT BRIDGE — sits between dark-bg-wrap and brand
════════════════════════════════════════════ */
.contact-bridge {
  position: relative;
  z-index: 20;
  max-width: 900px;
  margin: -200px auto -120px;
  background: transparent;
  border-radius: 28px;
  padding: 56px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.contact-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.contact-cards {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  max-width: 600px;
  width: 100%;
}

.contact-card {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #EDE9FE;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  background: #ffffff;
}

.contact-card__icon  { font-size: 1.1rem; color: var(--clr-purple); }
.contact-card__label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; color: #9CA3AF; }
.contact-card__value { font-size: .95rem; font-weight: 600; color: #1C1C28; }
/* ════════════════════════════════════════════
   BRAND SECTION — form only, no contact inside
════════════════════════════════════════════ */
.brand-section {
  background: #723DE4;
  padding: 180px 96px 80px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  color: #fff;
  min-height: 100vh;
}
.brand-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  width: 100%;
}

.brand-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.brand-desc {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--clr-white-80);
}

.brand-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.brand-input {
  width: 100%;
  background: #EAE0FF;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-main);
  font-size: .9rem;
  color: #A986FF;
  outline: none;
  transition: border-color .2s, background .2s;
}

.brand-input::placeholder { color: #A986FF; }
.brand-input:focus { background: #DDD4FF; }

.brand-form-wrap {
  background: #F4F0FF;
  border-radius: 24px;
  padding: 40px 36px;
}
.brand-textarea {
  min-height: 110px;
  resize: vertical;
}

.brand-form__submit-wrap {
  display: flex;
  justify-content: center;
}

.btn-brand-submit {
  background: linear-gradient(135deg, #B95EFF 0%, #5467F9 100%);;
  color: #fff;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.btn-brand-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: #1C1C28;
  padding: 40px 72px;
  color: rgba(255,255,255,.6);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer__logo {
  font-size: 1rem;
}

.footer__tagline {
  font-size: .8rem;
  margin-top: 6px;
  color: rgba(255,255,255,.45);
  max-width: 260px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: border-color .2s, color .2s;
}
.footer__social-btn:hover { border-color: rgba(255,255,255,.6); color: #fff; }

.footer__copy {
  font-size: .75rem;
  text-align: center;
  color: rgba(255,255,255,.3);
}

.footer__legal-btns {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer__legal-btn {
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 8px 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.footer__legal-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
/* ════════════════════════════════════════════
   FULL PAGE HEIGHT — all sections
════════════════════════════════════════════ */
.about-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.how-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partners-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.brand-section {
  min-height: 100vh;
  align-content: center;
}

/* ════════════════════════════════════════════
   SHARED DARK BG WRAPPER (FAQ + AppCTA)
════════════════════════════════════════════ */
.dark-bg-wrap {
  position: relative;
}

.dark-bg-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/overlay.png');
  background-size: 100% 100%;   /* ← stretches to fit exactly, no repeat */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

/* ── Map dot ping animation ── */
@keyframes mapPing {
  0%   { opacity: 0.9; r: 3px; }
  70%  { opacity: 0;   r: 8px; }
  100% { opacity: 0;   r: 8px; }
}

/* ── Map orbit ring slow spin ── */
@keyframes mapOrbitSpin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* ── Responsive additions ── */
@media (max-width: 767px) {
  .blog-grid { flex-direction: column; }
  .blog-card { flex: 0 0 auto !important; }
  .blog-section { padding-left: 24px; padding-right: 24px; min-height: auto; }
  .appcta-section { padding: 40px 24px; min-height: auto; }
  .appcta-card { grid-template-columns: 1fr; }
  .appcta-phone { display: none; }
  .appcta-body { padding: 40px 28px; }
}

/* ════════════════════════════════════════════
   IPAD / SMALL DESKTOP BLOG FIX
   Keeps desktop style, but prevents card cutting
════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1100px) {
  .blog-section {
    padding: 80px 48px 72px;
    overflow: hidden;
  }

  .blog-grid {
    height: 360px;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .blog-card {
    flex: 1 1 150px;
    min-width: 0;
  }

  .blog-card.is-open {
    flex: 2.4 1 240px;
  }

  .blog-card__inner {
    padding: 28px;
  }

  .blog-card__title {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
  }

  .blog-card__content {
    gap: 14px;
  }

  .blog-card__img {
    width: clamp(96px, 16vw, 150px);
    height: clamp(96px, 16vw, 150px);
    object-fit: cover;
    flex-shrink: 0;
  }

  .blog-card__snippet {
    font-size: 0.82rem;
    line-height: 1.55;
  }
}