/* =========================================================
   LOCAL FONT SETUP (.ttf + .otf)
========================================================= */

/* ---------- Raleway (.ttf) ---------- */

@font-face {
  font-family: 'Raleway';
  src: url('../assets/fonts/Raleway/Raleway-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('../assets/fonts/Raleway/Raleway-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Satoshi (.otf) ---------- */

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Satoshi', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   GLOBAL BOX MODEL FIX
========================================================= */

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

/* =========================================================
   HERO — CANONICAL
========================================================= */

.hero {
  width: 100%;
  height: 1024px;
  background: #FAFAF5;

  display: flex;
  justify-content: center;
}

/* =========================================================
   HERO INNER (Bottom Anchored Layout)
========================================================= */

.hero-inner {
  width: 100%;
  max-width: 1216px;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* bottom anchor */
  align-items: center;

  gap: clamp(40px, 5vw, 80px); /* dynamic spacing */
}

/* =========================================================
   TEXT STACK
========================================================= */

.hero-text-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* =========================================================
   TITLE
========================================================= */

.hero-title {
  max-width: 1119px;
  width: 100%;

  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 96px;
  line-height: 0.9;
  letter-spacing: -0.01em;

  text-align: center;
  color: #364B47;
  margin: 0;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

/* =========================================================
   SUBTITLE
========================================================= */

.hero-subtitle {
  max-width: 640px;
  width: 100%;

  font-family: 'Satoshi', sans-serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.015em;

  text-align: center;
  color: #121212;
}

.hero-subtitle p {
  margin: 0;
}

.hero-subtitle strong {
  font-weight: 700;
}

/* =========================================================
   VARIANT ROTATION STACK
========================================================= */

.hero-variant-wrap {
  display: inline-grid;
}

.hero-variant {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.hero-variant.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   EMAIL CTA
========================================================= */

.hero-email-cta {
  display: flex;
  align-items: center;
  width: 600px;
  height: 72px;
}

.hero-email-input {
  width: 440px;
  height: 72px;

  box-sizing: border-box;
  padding: 0 24px;

  background: #FFFFFF;
  border: 1px solid #E4F5D4;
  border-radius: 0 0 0 16px;

  font-family: 'Satoshi', sans-serif;
  font-size: 20px;
  line-height: 150%;
  color: #121212;
}

.hero-email-input::placeholder {
  color: #A2A9B0;
}

.hero-email-input:focus {
  outline: none;
}

.hero-email-button {
  width: 160px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #333333;
  border: 1px solid #FFB912;
  border-radius: 0 32px 0 0;

  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  color: #FFB912;

  cursor: pointer;
}

/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
  width: 728px;
}

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

/* =========================================================
   HERO — MOBILE
========================================================= */

@media (max-width: 768px) {

  /* ---- Image Swap ---- */
  .hero-img-desktop {
    display: none;
  }

  .hero-img-mobile {
    display: block;
    width: 100%;
    min-height: auto;  /* Let the content define the height */
    height: auto;
  }

  .hero-image {
    width: 100%;
    align-self: stretch;
  }

  /* ---- Layout Adjustments ---- */

  .hero {
    min-height: auto;  /* Let content define the height */
    height: auto;
    padding: 80px 20px 0;  /* Top padding is 40px, no bottom padding */
  }

  .hero-inner {
    min-height: auto;
    justify-content: flex-start;  /* Align content to the top */
    gap: 40px;  /* Reduced gap to maintain balance */
    width: 100%;
    max-width: 477px;
    padding-top: 40px;  /* Maintains top padding for spacing */
  }

  .hero-text-stack {
    gap: 24px;
  }

  /* ---- Typography Adjustments ---- */

  .hero-title {
    font-size: clamp(36px, 9vw, 48px);  /* Dynamic font size */
    line-height: 1;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    line-height: 1.4;
  }

  /* ---- CTA Section ---- */

  .hero-email-cta {
    width: 100%;
    max-width: 400px;
    height: 56px;
    flex-direction: row;
  }

  .hero-email-input {
    width: 100%;
    height: 56px;
    border-radius: 0 0 0 12px;
    font-size: 16px;
    padding: 0 16px;
  }

  .hero-email-button {
    width: 200px;
    height: 56px;
    border-radius: 0 20px 0 0;
    font-size: 16px;
  }

    /* Hero image adjustments */
  .hero-image {
    width: 100%;
    align-self: stretch;
  }

}

/*==================================================================================================================

/* =========================================================
   WHY STIPENDLY — DESKTOP
========================================================= */

.why {
  background: #FFFFFF;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

/* -----------------------
   TEXT BLOCK
------------------------ */

.why-text {
  width: 100%;
  max-width: 1216px;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.why-title {
  font-family: 'Raleway', sans-serif;
  font-size: 96px;
  font-weight: 300;
  line-height: 115px;
  letter-spacing: -1px;
  color: #00C896;
}

.why-tagline {
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  max-width: 982px;
  color: #252432;
}

.why-description {
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  font-weight: 200;
  line-height: 36px;
  max-width: 1032px;
  color: #252432;
}

/* =========================================================
   CARD RAIL
========================================================= */

.why-cards {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  justify-content: flex-start;
  overflow: hidden;
}

/* Individual Card */
.why-card {
  width: 444px;
  height: 328px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #4A4A4A;
}

/* Card Content */
.why-card-content {
  position: absolute;
  top: 32px;                 /* Matches Figma top text placement */
  left: 50%;
  transform: translateX(-50%);
  width: 376px;
  text-align: center;
}

/* Card Text */
.why-card-text {
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.015em;
}

/* Light text variant (green + coral cards) */
.why-card-text.light {
  color: #FFFFFF;
}

/* =========================================================
   CARD BACKGROUNDS
========================================================= */

.card-1 {
  background: url('../assets/media/why/card-1.png') center / cover no-repeat;
  border-radius:  0 8px 16px 32px;
}

.card-2 {
  background: url('../assets/media/why/card-2.gif') center / cover no-repeat;
  border-radius: 0 16px 8px 32px;
}

.card-3 {
  background: url('../assets/media/why/card-3.png') center / cover no-repeat;
  border-radius: 32px 8px 16px 0;
}

/* =========================================================
   SCROLL MODE (Below 1440px)
========================================================= */

@media (max-width: 1440px) {

  .why-cards {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: 80px;
    padding-right: 80px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .why-cards::-webkit-scrollbar {
    display: none;
  }
}

/* =========================================================
   WHY — MOBILE (<= 768px)
========================================================= */

@media (max-width: 768px) {

  .why {
    padding: 48px 24px;
    gap: 40px;
  }

  /* ---------- TEXT ---------- */

  .why-text {
    width: 100%;
    gap: 20px;
  }

  .why-title {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -0.5px;
  }

  .why-tagline {
    font-size: 20px;
    line-height: 150%;
    width: 100%;
    max-width: 477px;
  }
 
  .why-description {
    font-size: 18px;
    line-height: 150%;
    width: 100%;
    max-width: 477px;
  }

  /* ---------- CARD STACK ---------- */

  .why-cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0;
    overflow: visible;
  }

  .why-card {
    width: 380px;
    height: 300px; /* slight adjustment for mobile proportion */
  }

  .why-card-content {
    width: 320px;
    top: 32px;
  }

  .why-card-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.01em;
  }

  /* =========================================================
   CARD BACKGROUNDS
========================================================= */

  .card-1 {
    background: url('../assets/media/why/mobile-card-1.png') center / cover no-repeat;
    border-radius:  0 8px 16px 32px;
  }

  .card-2 {
    background: url('../assets/media/why/mobile-card-2.gif') center / cover no-repeat;
    border-radius: 0 16px 8px 32px;
  }

  .card-3 {
    background: url('../assets/media/why/mobile-card-3.png') center / cover no-repeat;
    border-radius: 32px 8px 16px 0;
  }
}


/* =========================================================
   CALCULATOR — DESKTOP
========================================================= */
.calculator,
.calculator-wrapper {
  position: relative;
  overflow: hidden;
}

.calculator {
  background: #FAFAF5;
  padding: 120px 0;
}

.calculator-inner {
  width: 100%;
  max-width: 1216px;
  min-height: 748px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  gap: 24px;
}

/* =========================
   TITLE
========================= */

.calculator-title {
  max-width: 1085px;

  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 150%;
  text-align: center;
  padding-bottom: 24px;

  color: #4A4A4A;
}

/* =========================
   INPUT
========================= */

.calculator-input {
  width: 610px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
}

.input-row {
  width: 100%;
  height: 100px;

  display: flex;
  align-items: center;
  gap: 16px;

  position: relative;
}

.input-row .currency {
  font-family: 'Satoshi', sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: #222222;
}

.input-row input {
  width: 100%;
  height: 100px;

  font-family: 'Satoshi', sans-serif;
  font-size: 60px;
  font-weight: 700;
  text-align: center;

  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  outline: none;

  color: #57584E;
}

.input-help {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #252432;
}

/* =========================
   SLIDER
========================= */

.calculator-slider {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calculator-slider input[type="range"] {
  width: 100%;
}

.slider-scale {
  display: flex;
  justify-content: space-between;

  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  color: #252432;
}

/* =========================
   SLIDER DAYS TRACKER
========================= */

.slider-days-tracker {
  position: relative;
  top: auto;          /* disable desktop positioning */
  bottom: -8px; 

  width: 80px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #FFFFFF;
  border-radius: 6px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  pointer-events: none;
}

.slider-days-tracker span {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #252432;
}

/* =========================
   STIPEND RESULT (DESKTOP)
========================= */

.calculator-result {
  width: 100%;
  max-width: 1120px;
  height: 186px;

  background: url('../assets/media/calculator/calculator-desktop-bg.png')
    center / cover no-repeat;

  border-radius: 12px;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.result-value {
  display: flex;
  align-items: center;
  gap: 24px;

  font-family: 'Satoshi', sans-serif;
}

.result-value .currency {
  font-size: 24px;
  font-weight: 300;
  color: #222222;
}

.result-value strong {
  font-size: 64px;
  font-weight: 700;
  color: #252432;
}

.result-value .period {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  color: #252432;
}

.result-label {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #252432;
}

/* =========================
   TOGGLE
========================= */

.calculator-toggle {
  display: flex;
  gap: 16px;
  width: 426px;
  height: 38px;
  align-items: center;
  justify-content: center; /* Horizontally center the buttons */
  margin: 0 auto;        /* Center the toggle itself */
}

.calculator-toggle button {
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;

  background: #F1FEF4;
  color: #596A7A;
}

.calculator-toggle button.active {
  background: #00C896;
  color: #FFFFFF;
}

.calculator-announcement {
  width: 1216px;
  font-family: 'Raleway';
  font-weight: 500;
  font-size: 32px;
  line-height: 150%;
  text-align: center;
  padding-top: 24px;
  color: #00C896;
}

/* =========================================================
   CALCULATOR — MOBILE
========================================================= */

@media (max-width: 768px) {

  .calculator {
    padding: 40px 8px;
    background: #FFFFFF;
  }

  .calculator-inner {
    width: 100%;
    max-width: 541px;
    padding-left: 8px;
    padding-right: 8px;
    min-height: auto;
    gap: 16px;
  }

  .calculator-title {
    font-size: 40px;
    line-height: 120%;
    width: 100%;
  }
  .calculator-title .line-1,
  .calculator-title .line-2 {
    display: block;
  }


  /* =========================
     INPUT — MOBILE
  ========================= */

  .calculator-input {
    width: 100%;
  }

  .input-row {
    height: 64px;
  }

  .input-row input {
    height: 64px;
    font-size: 32px;
  }

  .input-help {
    font-size: 13px;
  }

  /* =========================
     SLIDER — MOBILE
  ========================= */

  .slider-scale {
    font-size: 10px;
  }

/* =========================
   SLIDER DAYS TRACKER
========================= */

  .slider-days-tracker {
    position: absolute;
    top: 24px;

    width: 80px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFFFFF;
    border-radius: 6px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    pointer-events: none;
  }

  .slider-days-tracker span {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #252432;
  }

  .slider-days-tracker {
    top: auto;          /* disable desktop positioning */
    bottom: -32px;      /* move tracker BELOW slider */
  }

/* =========================
   RESULT — MOBILE (DYNAMIC)
========================= */

  .calculator-result {
    width: 100%;
    max-width: 477px;
    height: auto;
    min-height: 186px;

    background: url('../assets/media/calculator/calculator-mobile-bg.png')
      center / cover no-repeat;

    border-radius: 0px 32px, 8px, 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  /* --- VALUE WRAPPER --- */

  .result-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Satoshi', sans-serif;
    transition: all 0.25s ease;
  }

  /* --- DEFAULT SIZE --- */

  .result-value .currency {
    font-size: 16px;
    font-weight: 300;
    color: #222222;
    transition: font-size 0.25s ease;
  }

  .result-value strong {
    font-size: 48px;
    font-weight: 700;
    color: #252432;
    transition: font-size 0.25s ease;
  }

  .result-value .period {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #252432;
    transition: font-size 0.25s ease;
  }

  .result-label {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #252432;
    transition: font-size 0.25s ease;
  }

  /* =========================================================
    🔥 AUTO-SCALE STATES
  ========================================================= */

  /* 7+ digits (e.g. 1,000,000+) */
  .result-value.scale-md strong {
    font-size: 32px;
  }

  .result-value.scale-md .currency,
  .result-value.scale-md .period {
    font-size: 14px;
  }

  .result-value.scale-md + .result-label {
    font-size: 14px;
  }

  /* 9+ digits (extreme edge case) */
  .result-value.scale-sm strong {
    font-size: 20px;
  }

  .result-value.scale-sm .currency,
  .result-value.scale-sm .period {
    font-size: 12px;
  }

  .result-value.scale-sm + .result-label {
    font-size: 12px;
  }
 
/* ======================
annoucement
====================== */

  .calculator-footnote {
    font-size: 16px;
  }

  .calculator-slider {
    position: relative; /* ← THIS IS THE KEY FIX */
  }

  .calculator-slider {
    padding-bottom: 16px; /* space for tracker below */
  }
}

  @media (max-width: 768px) {

  /* tighten spacing between result & footer */
  .calculator-result {
    margin-bottom: 4px;
  }

  /* toggle/annoucemtn text formatting */
  .calculator-toggle {
    width: 298px;
    height: 30px;
  }

  .calculator-toggle button {
    padding: 8px;
  }

  .calculator-announcement {
    font-size: 16px;
    width: 100%;
    padding-top: 16px;
  }
}

/* =========================================================
   USE CASES
========================================================= */

  .use-cases {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
  }

  /* Background */
  .use-cases-bg {
    position: absolute;
    inset: 0;
    background: url("/assets/media/usecase/stipendly-if-desktop.png")
      center bottom / cover no-repeat;
    z-index: 0;
  }

  .use-cases::after {
    content: "";
    position: absolute;
    inset: 0;
  }

  .use-cases-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }

  /* =========================================================
    HEADER
  ========================================================= */

  .use-cases-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .use-cases-header h2 {
    font-family: "Raleway";
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    text-align: center;
  }

  .divider {
    width: 156px;
    height: 1px;
    background: #f4f4f4;
  }

  /* =========================================================
    CAROUSEL
  ========================================================= */

  /* LOCK VIEWPORT WIDTH */
  .use-cases-carousel {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
    overflow: hidden;
  }

  /* SINGLE CLEAN TRACK DEFINITION */
  .use-cases-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .use-cases-track::-webkit-scrollbar {
    display: none;
  }

  /* LOCK SLIDE WIDTH TO VIEWPORT WIDTH */
  .persona {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
  }

  /* =========================================================
    PERSONA STAGE
  ========================================================= */

  .persona-stage {
    width: 100%;
    max-width: 1216px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  /* =========================================================
    IF CARDS — DESKTOP BASELINE
  ========================================================= */

  .persona-cards {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 1216px;
    height: auto;
    min-height: 283px;
  }

  /* FIXED CARD WIDTH MATH */
  .card {
    flex: 0 0 100%; /* or 298px 1216 - (3 × 8) = 1192 / 4 = 298 */
    width: auto;
    max-width: 298px;
    height: auto;
    max-height: 283px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  /* =========================================================
    ROLE-BASED BORDER RADII
  ========================================================= */

  .card-title   { border-radius: 32px 8px 16px 0; }
  .card-image   { border-radius: 16px 32px 0 8px; }
  .card-hook    { border-radius: 0 16px 8px 32px; }
  .card-product { border-radius: 8px 0 32px 16px; }

  /* =========================================================
    COLORS
  ========================================================= */

  .bg-mint   { background: #15C9A5; }
  .bg-orange { background: #E94D1E; }
  .bg-soft   { background: #92EDAB; }

  /* =========================================================
    TITLE CARD
  ========================================================= */

  .card-title {
    padding: 32px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .card-title h3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: "Raleway";
    color: #2B2B2B;
  }

  .card-title .lead {
    font-size: 48px;
    font-weight: 300;
  }

  .card-title .name {
    font-size: 64px;
    font-weight: 700;
  }

  /* =========================================================
    HOOK CARD
  ========================================================= */

  .card-hook {
    padding: 32px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .card-hook p {
    font-family: "Raleway";
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
  }

  /* =========================================================
    IMAGE CARD
  ========================================================= */

  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* =========================================================
    PRODUCT CARD
  ========================================================= */

  .card-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* =========================================================
    PERSONA BODY
  ========================================================= */

  .persona-body {
    width: 100%;
    max-width: 1216px;
    font-size: 24px;
    line-height: 1.6;
    text-align: center;
    color: #fff;
  }

  .persona-divider {
    width: 328px;
    height: 1px;
    background: #f4f4f4;
  }

  /* =========================================================
    DOTS
  ========================================================= */

  .use-cases-dots {
    display: flex;
    gap: 16px;
    justify-content: center;
  }

  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #F1FEF4;
    opacity: 0.5;
    transition: 0.3s ease;
  }

  .dot.active {
    opacity: 1;
    background: #FAFAF5;
  }

  /* =================================
    PERSONA COLOR THEMES
    (Title + Hook Only)
  ================================= */

  .persona-ayo .card-title { background-color: #15C9A5; color: #2B2B2B; }
  .persona-ayo .card-hook  { background-color: #FFB912; color: #ffffff; }

  .persona-tife .card-title { background-color: #15C9A5; color: #ffffff; }
  .persona-tife .card-hook  { background-color: #E94D1E; color: #2B2B2B; }

  .persona-emeka .card-title { background-color: #92EDAB; color: #2B2B2B; }
  .persona-emeka .card-hook  { background-color: #E94D1E; color: #ffffff; }

  .persona-solo .card-title { background-color: #92EDAB; color: #2B2B2B; }
  .persona-solo .card-hook  { background-color: #FFB912; color: #ffffff; }

  .persona-ada .card-title { background-color: #15C9A5; color: #2B2B2B; }
  .persona-ada .card-hook  { background-color: #E94D1E; color: #1D3E35; }

/* =========================================================
   USE CASES — MOBILE (Max-width: 768px)
========================================================= */

@media (max-width: 768px) {

  /* Use-cases section with padding and responsive background */
  .use-cases {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 64px 0; /* Adjust top and bottom padding */
  }

  .use-cases-bg {
    position: absolute;
    inset: 0;
    background: url("/assets/media/usecase/stipendly-if-mobile.png") center bottom / cover no-repeat;
    z-index: 0;
  }

  /* Use-cases inner container width setup */
  .use-cases-inner {
    padding: 0 24px;
    gap: 40px;
    width: 100%;
    margin: 0 auto; /* Centering the container */
  }

  /* Header styling for the use-cases section */
  .use-cases-header h2 {
    font-family: "Raleway";
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    text-align: center;
  }

  /* Ensuring persona carousel is centered and responsive */
  .use-cases-carousel {
    min-width: 328px;
    max-width: 477px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  /* Persona stage setup with snap */
  .persona-stage {
    min-width: 328px;
    width: 100%;
    max-width: 477px; /* Ensures it fits within 477px on mobile */
    height:100%;
    gap: 24px;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    scroll-snap-align: center;  /* Ensures it snaps to the center */
    scroll-snap-stop: always;  /* Prevents skipping over slides too fast */
  }

  /* Persona cards grid layout with responsive card widths */
  .persona-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 164px); /* Default: 164px width per card */
    gap: 8px;
    justify-content: center;  /* Centering the cards */
    height: auto;
  }

  /* Card styling for small screens */
  .card {
    min-width: 164px;  /* Default card width for small screens */
    max-width: 230.5px;
    width: auto;
    height: 177px; /* Set height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: width 0.3s ease;  /* Smooth transition for width */
  }

  /* Adjust card width for medium screens (screen width around 428px) */
  @media (min-width: 429px) {
    .persona-cards {
      grid-template-columns: repeat(2, 186px); /* Cards scale to 186px */
    }

    .card {
      width: 186px; /* Adjust width for medium screen size */
    }
  }

  /* Adjust card width for larger screens (screen width around 557px) */
  @media (min-width: 558px) {
    .persona-cards {
      grid-template-columns: repeat(2, 230.5px); /* Cards scale to 230.5px */
    }

    .card {
      width: 230.5px;  /* Adjust width for larger mobile screen size */
    }
  }

  /* Title card styling */
  .card-title {
    text-align: center;
    line-height: 100%;
    justify-content: center;
    align-items: center;
  }

  .card-title .lead {
    font-size: 28px;
    font-weight: 300;
    line-height: 100%;
  }

  .card-title .name {
    font-size: 32px;
    font-weight: 700;
  }

  /* Hook card (text inside) */
  .card-hook p {
    font-family: "Raleway";
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
  }

  /* Persona image card (to ensure it fills the card correctly) */
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Product image card */
  .card-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Persona body text styling */
  .persona-body {
    width: 100%;
    max-width: 477px;
    padding: 0 24px;
    font-size: 18px;
    font-weight: 200;
    line-height: 150%;
    min-height: 240px;
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
  }

  /* Divider between persona sections */
  .persona-divider {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 40px;
    height: 1px;
    background: #fff;
  }

    /* =========================================================
   CAROUSEL SCROLL-SNAP FOR MOBILE
========================================================= */

  /* Adjust the use-cases track for mobile with snap */
  .use-cases-track {
    width: 100%;
    min-width: 328px;
    max-width: 477px;
    display: flex;
    padding-left: 24px;
    padding-right: 24px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    justify-content: flex start; /* Centering content */
  }

  .use-cases-track::-webkit-scrollbar {
    display: none;
  }

  /* Ensure the persona slides are properly snapped and aligned */
  .persona {
    flex: 0 0 100%;  /* Ensure each persona takes full width */
    scroll-snap-align: center; /* Ensures it aligns to center when scrolling */
  }
  
}

/* =========================================================
   EARLY ACCESS — DESKTOP
========================================================= */

.early-access {
  width: 100%;
  min-height: 1024px;
  background-image: url("/assets/media/earlyaccess/earlyacces-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
}

.early-access__container {
  width: 100%;
  max-width: 1216px;
  padding: 120px 32px;
  display: flex;
  justify-content: center;
}

.early-access__content {
  width: 898px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Header */

.early-access__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.early-access__header h2 {
  font-family: "Raleway";
  font-weight: 100;
  font-size: 60px;
  line-height: 120%;
  color: #f5f8ff;
}

.early-access__header h2 strong {
  font-weight: 600;
}

.early-access__header p {
  font-family: "Satoshi";
  font-size: 24px;
  line-height: 150%;
  color: #f5f8ff;
}

/* Form */

.early-access__form {
  width: 696px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: "Raleway";
  font-weight: 400;
  font-size: 14px;
  color: #f5f8ff;
}

.form-group input {
  height: 56px;
  padding: 20px 32px;
  border-radius: 10px;
  border: 1px solid #d6dded;
  background: #f5f5f5;

  font-family: "Satoshi";
  font-size: 16px;
  color: #1a1a1a;
}

.form-group input::placeholder {
  color: #8987a1;
}

/* CTA */

.early-access__cta {
  margin-top: 16px;
  height: 72px;
  width: 456px;
  align-self: center;

  background: #00c896;
  border: 1px solid #ffffff;
  border-radius: 10px;

  font-family: "Satoshi";
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;

  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* =========================
   FAQS
========================= */

.faqs {
  position: relative;
  width: 100%;
  padding: 120px 0;

  display: flex;
  align-items: center; /* vertical centering */
}

.faqs-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/media/FAQs/FAQs-bg.png") center / cover no-repeat;
  z-index: 0;
}

.faqs-inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  padding: 64px 24px;
  padding-left: 24px;
  padding-right: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.faqs-title {
  max-width: 792px;

  font-family: "Raleway";
  font-weight: 700;
  font-size: 60px;
  line-height: 120%;
  text-align: center;

  color: #252432;
}

.faqs-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================
   FAQ ITEM CORE
========================= */

.faq-item {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* CLOSED STATE */
.faq-item.closed {
  background: linear-gradient(
    127.43deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(116, 171, 158, 0.75);
}

/* OPEN STATE */
.faq-item.open {
  background: #00c896;
  border: 1px solid rgba(38, 255, 201, 0.55);
  box-shadow: 0px 1px 12px rgba(255, 215, 0, 0.1);
}

.faq-question {
  padding: 20px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  font-family: "Raleway";
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;

  color: #252432;
}

.faq-question span {
  flex: 1;
  word-wrap: break-word;
}

.faq-item.open .faq-question {
  font-family: "Satoshi";
  font-size: 20px;
  line-height: 36px;
  color: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;

  opacity: 0;
  transform: translateY(-4px);

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.faq-item.open .faq-content {
  max-height: 500px; /* safe upper bound */
  opacity: 1;
  transform: translateY(0);
}

.faq-answer {
  padding: 0 24px 24px;

  font-family: "Raleway";
  font-size: 18px;
  line-height: 24px;

  color: #252432;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: #92edab;
  transition: transform 0.25s ease;
}

.faq-toggle::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-toggle::after {
  height: 100%;
  width: 2px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* OPEN = X (vertical bar collapses) */
.faq-item.open .faq-toggle::after {
  transform: translateX(-50%) scaleY(0);
}

.faqs-actions {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.faq-action {
  background: none;
  border: none;
  cursor: pointer;

  font-family: "Satoshi";
  font-weight: 600;
  font-size: 16px;
  color: #00c896;
}

/* =========================
   ABOUT
========================= */

.about {
  position: relative;
  width: 100%;
  padding: 64px 0;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/media/About/About-bg.png") center / cover no-repeat;
  z-index: 0;
}

.about-inner {
  position: relative;
  z-index: 1;

  max-width: 1216px;
  margin: 0 auto;
  padding: 0px 40px;

  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-block h2 {
  font-family: "Raleway";
  font-weight: 700;
  font-size: 60px;
  line-height: 120%;
  color: #252432;
}

.about-block h3 {
  font-family: "Raleway";
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  color: #252432;
}

.about-block p {
  font-family: "Satoshi";
  font-size: 20px;
  line-height: 150%;
  color: #252432;
  max-width: 100%;
}

.about-divider {
  width: 608px;
  height: 1px;
  background: #f4f4f4;
}

.about-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.about-follow {
  width: 180px;
  height: 58px;

  background: #1c1c1c;
  border-radius: 32px 0 0 16px;
  border: none;

  font-family: "Satoshi";
  font-weight: 700;
  font-size: 16px;
  color: #fafafa;

  cursor: pointer;
}

.about-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5f8ff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.15s ease, background 0.15s ease;
}

.social-icon img {
  
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Optional hover polish */
.social-icon:hover {
  background: #e9efff;
  transform: translateY(-1px);
}


/* =========================
   ENQUIRIES
========================= */

.enquiries {
  background: #f5f5f5;
  width: 100%;
  min-height: 1024px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.enquiries-inner {
  max-width: 898px;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

  padding: 24px;
}

.enquiries-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.enquiries-header h2 {
  font-family: "Raleway";
  font-weight: 700;
  font-size: 60px;
  line-height: 120%;
  color: #252432;
}

.enquiries-header p {
  font-family: "Satoshi";
  font-size: 24px;
  line-height: 150%;
  color: #252432;
}

.enquiries-form {
  width: 100%;
  max-width: 696px;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-field label {
  font-family: "Raleway";
  font-weight: 600;
  font-size: 16px;
  color: #252432;
}

.form-field input,
.form-field textarea {
  font-family: "Satoshi";
  font-size: 16px;
  line-height: 150%;
  color: #252432;

  padding: 20px 32px;
  border-radius: 10px;
  border: 1px solid #d6dded;
  background: #f5f5f5;

  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8987a1;
}

.form-field textarea {
  resize: vertical;
  min-height: 184px;
}

.enquiries-submit {
  margin: 24px auto 0;
  width: 456px;
  height: 72px;

  background: #00c896;
  border: 1px solid #ffffff;
  border-radius: 10px;

  font-family: "Satoshi";
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;

  cursor: pointer;
}

.enquiries-submit {
  margin: 32px auto 0;
  width: 456px;
  height: 72px;

  background: #00c896;
  border: 1px solid #ffffff;
  border-radius: 10px;

  font-family: "Satoshi";
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;

  cursor: pointer;
}

/* =========================
   FOOTER
========================= */

.footer {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/media/Footer/Footer-bg.png") center / cover no-repeat;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;

  max-width: 1216px;
  margin: 0 auto;
  padding: 40px 24px 40px;

  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer-brand {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand h3 {
  font-family: "Raleway";
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
}

.footer-brand p {
  font-family: "Satoshi";
  font-size: 16px;
  line-height: 150%;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column h4 {
  font-family: "Satoshi";
  font-weight: 600;
  font-size: 16px;
  color: #00C896;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  font-family: "Satoshi";
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(37, 36, 50, 0.1);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-family: "Satoshi";
  font-size: 14px;
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

/*=================================================================================================

/* =========================================================
   EARLY ACCESS — MOBILE
========================================================= */

@media (max-width: 768px) {
  .early-access {
    min-height: 642px;
    background-image: url("/assets/media/earlyaccess/earlyaccess-mobile-bg.png");
    align-items: flex-start;
  }

  .early-access__container {
    padding: 80px 16px;
  }

  .early-access__content {
    width: 100%;
    max-width: 453px;
    gap: 40px;
  }

  .early-access__header h2 {
    font-size: 48px;
  }

  .early-access__header p {
    font-size: 20px;
  }

  .early-access__form {
    width: 100%;
  }

  .form-group input {
    width: 100%;
    height: 48px;
  }

  .early-access__cta {
    width: 100%;
  }
}

/* =========================================================
   FAQS — MOBILE
========================================================= */

@media (max-width: 768px) {
  .faqs-bg {
    background-image: url("/assets/media/FAQs/FAQs-mobile-bg.png");
  }

  .faqs {
  position: relative;
  width: 100%;
  padding: 64px 0; /* breathing room */
  }

  .faqs-inner {
    width: 509px;
    max-width: 100%;;
    padding: 0 16px;
    gap: 24px;
  }

  .faqs-title {
    font-size: 36px;
  }

  .faqs-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  }

  .faq-question {
    font-size: 18px;
    line-height: 1.4;
  }

  .faq-answer {
    font-size: 16px;
    line-height: 28px;
  }
}

/* =========================================================
   About — MOBILE
========================================================= */

@media (max-width: 768px) {
  .about {
  position: relative;
  width: 100%;
  padding: 40px 0;
  overflow: hidden;
  }

  .about-bg {
    background-image: url("/assets/media/About/About-mobile-bg.png");
  }

  .about-inner {
    padding: 40px 24px;
    gap: 40px;
  }

  .about-block h2 {
    font-size: 36px;
  }

  .about-block h3 {
    font-size: 28px;
  }

  .about-block p {
    font-size: 16px;
  }

  .about-divider {
    width: 100%;
  }

  .about-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   ENQUIRES — MOBILE
========================================================= */

@media (max-width: 768px) {
  .enquiries {
    min-height: auto;
    padding: 80px 0;
  }

  .enquiries-header h2 {
    font-size: 36px;
  }

  .enquiries-header p {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
  }

  .enquiries-submit {
    width: 100%;
  }
}

/* =========================================================
   FOOTER — MOBILE
========================================================= */

@media (max-width: 768px) {
  .footer-bg {
    background-image: url("/assets/media/Footer/footer-mobile-bg.png");
  }

  .footer-inner {
    padding: 72px 16px 32px;
    gap: 48px;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* =========================
   SNACKBAR / TOAST
========================= */

.snackbar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(100%);
  background: #0f172a;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.snackbar.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.snackbar.success {
  background: #00c896; /* Stipendly green */
  color: #0b2f23;
}

.snackbar.error {
  background: #e11d48;
  color: #ffffff;
}

/* =========================================================
   LANDSCAPE PHONES (Short Height Devices Only)
   iPhone / Android Landscape
========================================================= */

@media (orientation: landscape) and (max-height: 500px) {

  /* 1️⃣ Preserve horizontal breathing */
  .hero-inner,
  .why-text,
  .calculator-inner,
  .use-cases-inner,
  .early-access__container,
  .faqs-inner,
  .about-inner,
  .enquiries-inner,
  .footer-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
  }

  /* 2️⃣ Collapse topbar cleanly */
  .topbar-nav,
  .topbar-cta {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  /* 3️⃣ Fix Why Title Oversizing */
  .why-title {
    font-size: 56px;
    line-height: 1.1;
  }

  /* 4️⃣ Use Cases – remove forced widths */
  .use-cases-carousel,
  .persona-stage,
  .persona-body {
    max-width: 100% !important;
    width: 100% !important;
  }

  .persona {
    flex: 0 0 100%;
  }

    /* Remove desktop cap */
  .persona-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }

  .card {
    max-width: none;
    width: 100%;
    height: auto;
  }

  /* 5️⃣ Calculator Result */
  .calculator-result {
    max-width: 100%;
    width: 100%;
  }

}

/* =========================================================
   LANDSCAPE CHROME STABILITY FIX (NO UA HACKS)
========================================================= */

@media (orientation: landscape) and (max-height: 500px) {

  .use-cases-track {
    align-items: stretch;
  }

  .persona {
    display: flex;
    flex: 0 0 100%;
  }

  .persona-stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100%;
  }

  .persona-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
  }

}
