/* ============================
   1. GLOBAL — MOBILE-FIRST
============================ */
body {
  background: #f2f2f2;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  color: #111;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* ============================
   2. FADE-IN ANIMATIONS
============================ */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.9s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================
  3. NAVBAR — PURE BLACK BANNER
============================ */
.nav {
  background: #000000;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }
}

.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  animation: fadeIn 1.2s ease-in;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .nav-right {
    gap: 14px;
  }
}
.nav-right .nav-link {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.nav-right a {
  color: #fff !important;   /* FIXES Login + Sign Up */
}

.nav-right .nav-link:hover {
  opacity: 0.8;
}
/* Force Login & Sign Up to white */
.login-btn,
.signup-btn {
  color: #fff !important;
}

/* ============================
   4. MULTI-LANGUAGE DROPDOWN
============================ */
.lang-select {
  background: #fff;
  color: #0A4DFF;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-select:hover {
  background: #e0e7ff;
}

@media (max-width: 480px) {
  .lang-select {
    padding: 5px 8px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   FLEXAGO HERO — Forced Watermark + Visible Buttons
   ============================================================ */
/* HERO CONTAINER */
.hero {
  position: relative;
  height: 70vh;
  background-color: #ffffff;
  overflow: hidden;
  text-align: center;
}

/* WATERMARK IMAGE BEHIND TEXT */
.hero-watermark-preload {
  position: absolute;      /* take out of normal flow */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* show full image */
  opacity: 0.70;           /* transparent watermark */
  z-index: 1;              /* behind text */
  pointer-events: none;    /* allow clicks on buttons */
}

/* TEXT ABOVE WATERMARK */
.hero-content {
  position: relative;
  z-index: 2;
  color: #000;
  padding-top: 18vh;
}

/* Text stays ABOVE watermark */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 20vh;
}

/* Make Learn More visible */
.btn-secondary {
  background-color: #ffffff;
  color: #000;
  border: 2px solid #000;
}

/* HERO TEXT */
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* HERO BUTTONS */
.hero-buttons a {
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 600;
  margin: 0 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Primary button */
.btn-primary {
  background: #0A4DFF;
  color: #fff;
}

/* Secondary button */
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #000;
}

.about-section .hero-watermark-preload {
  opacity: 0.35;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
}
/* Hover effects */
.btn-primary:hover {
  background: #0039d6;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hero-buttons a {
    margin: 0;
    width: 100%;
    text-align: center;
  }
}

/* ============================
  6. SECTIONS — RESPONSIVE
============================ */
.section {
  padding: 100px 40px;
  text-align: center;
}

@media (max-width: 900px) {
  .section {
    padding: 80px 30px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 20px;
  }
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 28px;
  }
}

.section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
}

@media (max-width: 600px) {
  .section p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

.section.dark {
  background: #fff;
}

/* ============================
  7. SECTION IMAGES
============================ */
.section-image {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin: 20px auto 40px;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  animation: fadeIn 1.2s ease-in;
}

@media (max-width: 600px) {
  .section-image {
    margin: 16px auto 28px;
    max-width: 90%;
  }
}

/* ============================
   8. HOW IT WORKS
============================ */
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .steps {
    gap: 24px;
  }
}

.step {
  max-width: 300px;
  text-align: center;
}

.step-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
  .step-img {
    margin-bottom: 16px;
    height: 160px;
  }
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .step h3 {
    font-size: 1.1rem;
  }
}

/* ============================
  9. FEATURES GRID
============================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

@media (max-width: 600px) {
  .features-grid {
    gap: 20px;
  }
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

@media (max-width: 600px) {
  .feature-card {
    padding: 22px;
  }
}

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

/* ============================
   10. PRICING
============================ */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .pricing-grid {
    gap: 24px;
  }
}

.pricing-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 260px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

@media (max-width: 600px) {
  .pricing-card {
    padding: 22px;
    width: 100%;
    max-width: 300px;
  }
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: #0A4DFF;
}

@media (max-width: 600px) {
  .price {
    font-size: 1.6rem;
  }
}

/* ============================
  11. CONTACT
============================ */
.contact-box {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  display: inline-block;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .contact-box {
    width: 100%;
    padding: 18px;
  }
}

/* ============================
  12. CTA SECTION
============================ */
.cta-section {
  background: linear-gradient(135deg, #0A4DFF, #4C8DFF);
  color: #fff;
  text-align: center;
  padding: 80px 40px;
}

@media (max-width: 600px) {
  .cta-section {
    padding: 60px 20px;
  }
}

.cta-section p {
  color: #f5f5f5;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .cta-section p {
    font-size: 1rem;
  }
}

.cta-buttons {
  margin-top: 30px;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  margin: 0 10px;
}

@media (max-width: 600px) {
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    margin: 0;
    width: 100%;
  }
}

/* ============================
  13. UBER-STYLE FOOTER
============================ */
.uber-footer {
  background: #000;          /* Uber-style pure black */
  color: #fff;
  padding: 30px 40px;
  text-align: center;
  margin-top: 60px;
}

.uber-footer-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.uber-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.uber-footer-links a {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.uber-footer-links a:hover {
  opacity: 1;
}

.uber-footer-copy {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .uber-footer-row,
  .uber-footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
/* ============================
  14. RESPONSIVE CLEANUP
============================ */
@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-right .nav-link {
    margin-left: 0;
    margin-right: 16px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 120px 20px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 70px 20px;
  }


  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ============================
  TOP NAVBAR — DARK FLEXAGO BANNER
============================ */
.top-nav {
  background: #000000;
  color: #fff;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 14px 20px;
    flex-direction: column;
    gap: 12px;
  }
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flexago-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 480px) {
  .flexago-logo-img {
    height: 60px;
  }
}

.top-nav-title-main {
  font-size: 1.4rem;
  font-weight: 700;
}

.top-nav-title-sub {
  font-size: 0.85rem;
  opacity: 0.8;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .top-nav-right {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
}

.top-nav-link {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-btn {
  background: #2563eb;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.nav-btn.signup {
  background: #10b981;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

@media (max-width: 768px) {
  .top-nav-links {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
}

.top-nav-link {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  padding-right: 18px;
}

.top-nav-link:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 2px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
}

@media (max-width: 600px) {
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }
}
/* ============================================================
   SENDER & TRAVELER SECTIONS
============================================================ */
.section-intro {
  font-size: 1.05rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.75;
  text-align: center;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s;
}

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

.info-card-icon { font-size: 2rem; margin-bottom: 12px; }
.info-card h3   { font-size: 1rem; font-weight: 700; color: #0a1628; margin-bottom: 8px; }
.info-card p    { font-size: 0.92rem; color: #666; line-height: 1.6; }

/* Steps */
.section-steps { margin-bottom: 40px; }
.section-steps h3 {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #0a1628;
}

.steps-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
}

.step-num {
  width: 34px; height: 34px;
  background: #00A3FF;
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.step-item p { font-size: 0.92rem; color: #555; line-height: 1.5; margin: 0; }

/* CTA */
.section-cta { text-align: center; margin-top: 16px; }

/* Traveler section alt background */
.traveler-section { background: #f4fff9; }
.traveler-btn { background: #00b87a !important; }
.traveler-btn:hover { background: #009962 !important; }

/* Earnings */
.earnings-row { margin-bottom: 40px; }
.earnings-row h3 {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #0a1628;
}

.earnings-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.earning-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  text-align: center;
  min-width: 160px;
}

.earning-amount {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #00A3FF;
  margin-bottom: 6px;
}

.earning-label {
  font-size: 0.85rem;
  color: #888;
}

/* scroll-margin so fixed nav doesn't overlap sections */
#about, #sender-section, #traveler-section {
  scroll-margin-top: 70px;
}
/* ============================================================
   FLEXAGO MOBILE RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 768px) {

  /* ----------------------------------------------------------
     GLOBAL MOBILE SAFETY
  ---------------------------------------------------------- */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

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


  /* ----------------------------------------------------------
     TOP NAVIGATION
  ---------------------------------------------------------- */
  .top-nav {
    width: 100%;
    padding: 12px 16px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .top-nav-left {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .flexago-logo-img {
    height: 48px;
    width: auto;
  }

  .top-nav-title-main {
    font-size: 1.15rem;
  }

  .top-nav-title-sub {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .top-nav-right {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .top-nav-link {
    font-size: 0.72rem;
    padding-right: 12px;
  }

  .top-nav-link:not(:last-child)::after {
    height: 14px;
    width: 1px;
  }

  .login-btn,
  .signup-btn {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .lang-select {
    padding: 5px 7px;
    font-size: 0.75rem;
  }


  /* ----------------------------------------------------------
     MAIN HERO
  ---------------------------------------------------------- */
  .hero {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  .hero:not(.about-section) {
    height: 500px;
    min-height: 500px;
  }

  .hero-watermark-preload {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero:not(.about-section) .hero-watermark-preload {
    object-position: center center;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 180px 20px 30px;
    margin: 0 auto;
    color: #fff;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    margin: 0 0 14px;
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 320px;
  }

  .hero-buttons {
    width: 100%;
    max-width: 320px;
    margin: 22px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    text-align: center;
  }


/* ----------------------------------------------------------
   ABOUT FLEXAGO
---------------------------------------------------------- */
.about-section {
  height: 430px;
  min-height: 430px;
  padding: 0;
}

.about-section .hero-watermark-preload {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
  filter: brightness(0.30);
}

.about-section .hero-content {
  height: 100%;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 1),
    0 0 12px rgba(0, 0, 0, 0.9);
}

.about-section .section-title {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0 0 22px;
  color: #fff;
  font-weight: 700;
}

.about-section p {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
  color: #fff;
  font-weight: 600;
}  /* ----------------------------------------------------------
     GENERAL SECTIONS
  ---------------------------------------------------------- */
  .section {
    width: 100%;
    padding: 52px 18px;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin: 0 0 26px;
  }

  .section-intro {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 30px;
    padding: 0 4px;
    font-size: 1rem;
    line-height: 1.6;
  }


  /* ----------------------------------------------------------
     SENDER + TRAVELER CARDS
  ---------------------------------------------------------- */
  .info-cards {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 38px;
    gap: 16px;
  }

  .info-card {
    width: 100%;
    padding: 24px 20px;
    border-radius: 14px;
  }

  .info-card-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .info-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
  }

  .info-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 100%;
  }


  /* ----------------------------------------------------------
     HOW SENDING WORKS
  ---------------------------------------------------------- */
  .section-steps {
    margin-bottom: 32px;
  }

  .section-steps h3 {
    font-size: 1.2rem;
    margin-bottom: 22px;
  }

  .steps-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-width: 440px;
    margin: 0 auto;
  }

  .step-item {
    width: 100%;
    max-width: none;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
  }

  .step-item p {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .step-num {
    width: 32px;
    height: 32px;
  }


  /* ----------------------------------------------------------
     TRAVELER EARNINGS
  ---------------------------------------------------------- */
  .earnings-row {
    margin-bottom: 32px;
  }

  .earnings-cards {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    gap: 14px;
  }

  .earning-card {
    width: 100%;
    min-width: 0;
    padding: 20px;
  }

  .earning-amount {
    font-size: 1.45rem;
  }


  /* ----------------------------------------------------------
     HOW FLEXAGO WORKS
  ---------------------------------------------------------- */
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .step {
    width: 100%;
    max-width: 420px;
  }

  .step-img {
    width: 100%;
    height: 190px;
  }


  /* ----------------------------------------------------------
     WHY FLEXAGO
  ---------------------------------------------------------- */
  .features-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
  }

  .feature-card {
    width: 100%;
    padding: 22px 18px;
  }


  /* ----------------------------------------------------------
     CONTACT
  ---------------------------------------------------------- */
  .contact-box {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 20px auto 0;
    padding: 18px;
  }


  /* ----------------------------------------------------------
     FINAL CTA
  ---------------------------------------------------------- */
  .cta-section {
    padding: 52px 20px;
  }

  .cta-buttons {
    width: 100%;
    max-width: 340px;
    margin: 26px auto 0;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    display: block;
    width: 100%;
    padding: 13px 16px;
  }


  /* ----------------------------------------------------------
     FOOTER
  ---------------------------------------------------------- */
  .uber-footer {
    margin-top: 0;
    padding: 28px 20px;
  }


  /* ----------------------------------------------------------
     ALICE
  ---------------------------------------------------------- */
  #alice-widget {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }

  #alice-window {
    width: min(340px, calc(100vw - 24px));
    max-height: 70vh;
  }

  #alice-bubble {
    padding: 11px 16px;
    font-size: 0.82rem;
  }
}


/* ============================================================
   SMALL PHONE ADJUSTMENTS
   ============================================================ */

@media (max-width: 480px) {

  .top-nav {
    padding: 10px 12px;
  }

  .flexago-logo-img {
    height: 42px;
  }

  .top-nav-title-main {
    font-size: 1rem;
  }

  .top-nav-title-sub {
    font-size: 0.62rem;
  }

  .top-nav-right {
    gap: 8px 10px;
  }

  .top-nav-link {
    font-size: 0.67rem;
  }

  .hero:not(.about-section) {
    height: 470px;
    min-height: 470px;
  }

  .hero-content {
    padding: 165px 16px 24px;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .about-section {
    height: 400px;
    min-height: 400px;
  }

  .about-section .hero-content {
    padding: 0 18px;
  }

  .about-section .section-title {
    font-size: 1.65rem;
    margin-bottom: 18px;
  }

  .about-section p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .section {
    padding: 46px 16px;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-intro {
    font-size: 0.95rem;
  }

  .info-card {
    padding: 22px 18px;
  }
}
/* ============================================================
   FLEXAGO LOWER PAGE - MOBILE REBUILD
   Sender -> Traveler -> How -> Features -> Contact -> CTA/Footer
   Hero + About intentionally untouched
============================================================ */

@media (max-width: 768px) {

  /* ==========================================================
     LOWER PAGE SHARED FOUNDATION
  ========================================================== */

  #sender-section,
  #traveler-section,
  #how,
  #features,
  #contact {
    width: 100%;
    max-width: none;
    padding: 44px 16px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  #sender-section .section-title,
  #traveler-section .section-title,
  #how .section-title,
  #features .section-title,
  #contact .section-title {
    margin: 0 0 20px;
    font-size: 1.7rem;
    line-height: 1.2;
    text-align: center;
  }


  /* ==========================================================
     SENDER + TRAVELER INTRO
  ========================================================== */

  #sender-section .section-intro,
  #traveler-section .section-intro {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 28px;
    padding: 0;

    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
  }


  /* ==========================================================
     SENDER + TRAVELER CARDS
  ========================================================== */

  #sender-section .info-cards,
  #traveler-section .info-cards {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 34px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #sender-section .info-card,
  #traveler-section .info-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 20px 16px;

    box-sizing: border-box;
    border-radius: 14px;
  }

  #sender-section .info-card-icon,
  #traveler-section .info-card-icon {
    margin: 0 0 8px;
    font-size: 1.6rem;
    line-height: 1;
  }

  #sender-section .info-card h3,
  #traveler-section .info-card h3 {
    margin: 0 0 7px;

    font-size: 1rem;
    line-height: 1.3;
  }

  #sender-section .info-card p,
  #traveler-section .info-card p {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
  }


  /* ==========================================================
     HOW SENDING WORKS
  ========================================================== */

  #sender-section .section-steps {
    width: 100%;
    max-width: 100%;

    margin: 0 auto 30px;
    padding: 0;
  }

  #sender-section .section-steps h3 {
    margin: 0 0 22px;

    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
  }

  #sender-section .steps-row {
    width: 100%;
    max-width: 100%;

    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;

    margin: 0;
    padding: 0;
  }

  #sender-section .step-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;

    box-sizing: border-box;
  }

  #sender-section .step-num {
    width: 34px;
    height: 34px;

    margin: 0;

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

    flex-shrink: 0;
  }

  #sender-section .step-item p {
    width: 100%;
    max-width: none;

    margin: 4px 0 0;
    padding: 0;

    font-size: 0.88rem;
    line-height: 1.45;
    text-align: left;
  }


  /* ==========================================================
     SENDER + TRAVELER CTA
  ========================================================== */

  #sender-section .section-cta,
  #traveler-section .section-cta {
    width: 100%;
    max-width: 100%;

    margin: 28px auto 0;
    padding: 0;
  }

  #sender-section .section-cta .btn-primary,
  #traveler-section .section-cta .btn-primary {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 13px 16px;

    box-sizing: border-box;
    border-radius: 7px;

    font-size: 0.95rem;
    text-align: center;
  }


  /* ==========================================================
     TRAVELER EARNINGS
  ========================================================== */

  #traveler-section .earnings-row {
    width: 100%;
    max-width: 100%;

    margin: 0 auto 30px;
    padding: 0;
  }

  #traveler-section .earnings-row h3 {
    margin: 0 0 20px;

    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
  }

  #traveler-section .earnings-cards {
    width: 100%;
    max-width: 100%;

    margin: 0;

    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #traveler-section .earning-card {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 18px 16px;

    box-sizing: border-box;
    border-radius: 14px;
  }

  #traveler-section .earning-amount {
    margin-bottom: 5px;
    font-size: 1.35rem;
  }

  #traveler-section .earning-label {
    font-size: 0.85rem;
  }


  /* ==========================================================
     HOW FLEXAGO WORKS
  ========================================================== */

  #how .steps {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #how .step {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;
  }

  #how .step-img {
    display: block;

    width: 100%;
    height: auto;
    max-height: 220px;

    margin: 0 0 14px;

    object-fit: cover;
    aspect-ratio: 16 / 9;

    border-radius: 12px;
  }

  #how .step h3 {
    margin: 0 0 8px;

    font-size: 1.05rem;
    line-height: 1.35;
  }

  #how .step p {
    width: 100%;
    max-width: none;

    margin: 0;

    font-size: 0.9rem;
    line-height: 1.5;
  }


  /* ==========================================================
     WHY FLEXAGO
  ========================================================== */

  #features .features-grid {
    width: 100%;
    max-width: 100%;

    margin: 0;

    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #features .feature-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 20px 16px;

    box-sizing: border-box;
    border-radius: 12px;
  }

  #features .feature-card h3 {
    margin: 0 0 8px;

    font-size: 1rem;
    line-height: 1.3;
  }

  #features .feature-card p {
    width: 100%;
    max-width: none;

    margin: 0;

    font-size: 0.88rem;
    line-height: 1.5;
  }


  /* ==========================================================
     CONTACT
  ========================================================== */

  #contact .contact-text {
    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    font-size: 0.95rem;
    line-height: 1.5;
  }

  #contact .contact-box {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 20px auto 0;
    padding: 16px;

    box-sizing: border-box;
  }

  #contact .contact-box p {
    margin: 0;

    font-size: 0.88rem;
    line-height: 1.5;

    overflow-wrap: anywhere;
  }


  /* ==========================================================
     FINAL BLUE CTA
  ========================================================== */

  .cta-section {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 44px 16px;

    box-sizing: border-box;
    overflow: hidden;
  }

  .cta-section .section-title {
    margin: 0 0 18px;

    font-size: 1.65rem;
    line-height: 1.25;
  }

  .cta-section p {
    width: 100%;
    max-width: 100%;

    margin: 0;

    font-size: 0.95rem;
    line-height: 1.55;
  }

  .cta-section .cta-buttons {
    width: 100%;
    max-width: 100%;

    margin: 24px auto 0;

    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-section .cta-buttons .btn-primary,
  .cta-section .cta-buttons .btn-secondary {
    display: block;

    width: 100%;

    margin: 0;
    padding: 13px 16px;

    box-sizing: border-box;
    border-radius: 7px;

    text-align: center;
  }


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

  .uber-footer {
    width: 100%;

    margin: 0;
    padding: 28px 16px;

    box-sizing: border-box;
  }

  .uber-footer-row,
  .uber-footer-links {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
  }


  /* ==========================================================
     ALICE
  ========================================================== */

  #alice-widget {
    right: 10px;
    bottom: 10px;

    max-width: calc(100vw - 20px);
  }

  #alice-window {
    width: calc(100vw - 20px);
    max-width: 340px;
    max-height: 70vh;
  }

  #alice-bubble {
    padding: 10px 13px;

    font-size: 0.78rem;
    gap: 6px;
  }
}


/* ============================================================
   FLEXAGO LOWER PAGE - SMALL PHONES
============================================================ */

@media (max-width: 480px) {

  #sender-section,
  #traveler-section,
  #how,
  #features,
  #contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  #sender-section .section-title,
  #traveler-section .section-title,
  #how .section-title,
  #features .section-title,
  #contact .section-title {
    font-size: 1.6rem;
  }

  #sender-section .section-intro,
  #traveler-section .section-intro {
    font-size: 0.92rem;
  }

  #sender-section .info-card,
  #traveler-section .info-card,
  #features .feature-card {
    padding: 18px 14px;
  }

  #how .step-img {
    max-height: none;
  }

  .cta-section {
    padding: 42px 16px;
  }
}
