/* ==========================================================================
   custom.css — Digital Labours
   Hand-written styles. Edit freely.
   Loaded after style.css so these always win.
   ========================================================================== */


/* ============================================================
   TYPOGRAPHY — all text styles in one place
   Change font sizes, weights, and colors here.
   ============================================================ */

/* Big video hero heading — "Hiring Simplified." */
.heading-video {
  font-family: var(--font-display);
  font-size: 2.25rem;
  /* 36px on mobile */
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .heading-video {
    font-size: 3rem;
  }
}

/* 48px */
@media (min-width: 768px) {
  .heading-video {
    font-size: 3.5rem;
  }
}

/* 56px */
@media (min-width: 1024px) {
  .heading-video {
    font-size: 4.375rem;
  }
}

/* 70px */

/* Main hero h1 — "Find professional services in your area" */
.heading-hero {
  font-family: var(--font-display);
  font-size: 2.25rem;
  /* 36px mobile */
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .heading-hero {
    font-size: 3.5rem;
  }
}

/* 56px desktop */

/* Standard section h2 — "Instantly submit your first task." */
.heading-section {
  font-family: var(--font-display);
  font-size: 2.25rem;
  /* 36px */
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .heading-section {
    font-size: 2.75rem;
  }
}

/* 44px */

/* Sub-section h3 heading — card titles like "Our Mission" */
.heading-h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  /* 20px */
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* White heading inside dark cards — "About us" */
.heading-card {
  font-family: var(--font-display);
  font-size: 1.875rem;
  /* 30px */
  font-weight: 500;
  color: white;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

/* Small feature heading — "On-demand services" */
.heading-feature {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

/* ---- Paragraphs ---- */

/* Paragraph on the video hero (light text on dark bg) */
.para-video {
  color: #e5e7eb;
  /* gray-200 */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .para-video {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .para-video {
    font-size: 1.25rem;
  }
}

/* Lead paragraph below hero heading */
.para-hero {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.625;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .para-hero {
    font-size: 1.25rem;
  }
}

/* Body paragraph — standard sections */
.para-body {
  font-size: 1rem;
  color: #6b7280;
  /* gray-500 */
  line-height: 1.625;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .para-body {
    font-size: 1.125rem;
  }
}

/* Paragraph inside dark/blue card (white text) */
.para-card {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .para-card {
    font-size: 1rem;
  }
}

/* Small paragraph inside feature list (white/muted) */
.para-feature {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .para-feature {
    font-size: 0.875rem;
  }
}

/* Gradient text span — used in video heading */
.text-gradient {
  background: linear-gradient(to right, #60a5fa, #7dd3fc, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ============================================================
   1. NAVBAR
   ============================================================ */

/* Fixed wrapper that centers the floating navbar */
.navbar-wrapper {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1240px;
  z-index: 1000;
  padding: 0 1rem;
}

/* The glassmorphic pill navbar */
.navbar-header {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 20, 0.5);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
  transition: all 0.5s ease;
}

/* Nav inner row */
.navbar-inner {
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0 2rem;
  }
}

/* Logo link */
.navbar-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.navbar-logo-link:hover {
  transform: scale(1.02);
}

.navbar-brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: white;
  transition: color 0.5s ease;
}

/* Desktop nav list */
.navbar-menu {
  display: none;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

/* Nav link base style */
.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #60a5fa;
  border-radius: 2px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #ffffff !important;
  transform: translateY(-4px);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #60a5fa !important;
}

.nav-link.active::after {
  width: 100%;
}

/* When navbar is scrolled (white background) */
.navbar-header.scrolled .nav-link,
header.bg-white\/90 .nav-link,
header.bg-white .nav-link {
  color: #0f172a !important;
  /* slate-900 high contrast */
}

.navbar-header.scrolled .nav-link::after,
header.bg-white\/90 .nav-link::after,
header.bg-white .nav-link::after {
  background-color: #2563eb;
  /* blue-600 */
}

.navbar-header.scrolled .nav-link:hover,
header.bg-white\/90 .nav-link:hover,
header.bg-white .nav-link:hover {
  color: #2563eb !important;
  /* blue-600 */
  transform: translateY(-4px);
}

.navbar-header.scrolled .nav-link.active,
header.bg-white\/90 .nav-link.active,
header.bg-white .nav-link.active {
  color: #2563eb !important;
  /* blue-600 */
}

/* Download button */
.download-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: white;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Download dropdown */
.download-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 14rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid #f3f4f6;
  padding: 0.5rem;
  z-index: 50;
}

.download-dropdown.open {
  display: block;
}

.download-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.download-dropdown a:hover {
  background: #f9fafb;
}

/* Mobile hamburger */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.375rem;
  cursor: pointer;
  background: none;
  border: none;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 110px;
  left: 1rem;
  right: 1rem;
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* Hidden by default — JS toggles scale-y */
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-drawer.open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-nav-link {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #60a5fa;
}

/* Mobile download buttons */
.mobile-drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-drawer-btn.primary {
  background: white;
  color: var(--color-primary);
}

.mobile-drawer-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ============================================================
   2. HERO CARD  (the 3-column blue gradient card)
   ============================================================ */

/* Outer card */
.hero-card {
  max-width: 1100px;
  margin: 3rem auto 0;
  position: relative;
  z-index: 10;
  background: linear-gradient(to bottom right, var(--color-primary), #000078);
  border-radius: 1.5rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Subtle radial overlay via ::after */
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

/* On desktop: 3-column layout, card lifts higher */
@media (min-width: 1024px) {
  .hero-card {
    margin-top: 7rem;
    grid-template-columns: 1fr 340px 1fr;
    padding: 3rem;
  }
}

/* Left column */
.hero-card__left {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-card__left {
    padding-right: 1.25rem;
    text-align: left;
  }
}

/* Center column — phone mockup */
.hero-card__center {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 20;
}

@media (min-width: 1024px) {
  .hero-card__center {
    /* Pulls the phone 100px up so it overflows the card */
    margin-top: -100px;
    margin-bottom: -100px;
  }
}

/* Right column — feature bullets */
.hero-card__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

@media (min-width: 1024px) {
  .hero-card__right {
    padding-left: 1.25rem;
  }
}

/* Feature row inside right column */
.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hero-feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hero-feature:hover .hero-feature__icon {
  background: white;
  color: var(--color-primary);
  transform: scale(1.05);
}

.hero-feature__icon img {
  width: 1.25rem;
  height: 1.25rem;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.hero-feature:hover .hero-feature__icon img {
  filter: none;
}


/* ============================================================
   3. PHONE MOCKUP
   ============================================================ */

.phone-mockup {
  width: 100%;
  max-width: 280px;
  height: 540px;
  background: black;
  border: 8px solid #171717;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  outline: 4px solid #262626;
}

@media (min-width: 1024px) {
  .phone-mockup {
    max-width: 320px;
    height: 620px;
    border-width: 10px;
    border-radius: 40px;
  }
}

/* Dynamic island notch */
.phone-island {
  position: absolute;
  top: 0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 25px;
  background: black;
  border-radius: 0.75rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.625rem;
}

/* Phone inner screen area */
.phone-screen {
  flex: 1;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  padding-top: 2.5rem;
  padding: 2.5rem 1rem 1rem;
  overflow-y: auto;
  font-size: 0.75rem;
  color: #111827;
}


/* ============================================================
   4. SECTION HEADER  (badge + h2 + subtitle — used everywhere)
   ============================================================ */

.section-header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.875rem;
  /* 14px */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(11, 15, 25, 0.15);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.625;
}

@media (min-width: 1024px) {
  .section-subtitle {
    font-size: 1.125rem;
  }
}


/* ============================================================
   5. STAT / METHOD CARDS  (the 4-column metric grid)
   ============================================================ */

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(11, 15, 25, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary-light);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--color-bg-method);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.stat-card:hover .stat-icon {
  background: var(--color-primary);
  color: white;
}

.stat-icon img {
  width: 1.5rem;
  height: 1.5rem;
  transition: filter 0.3s ease;
}

.stat-card:hover .stat-icon img {
  filter: brightness(0) invert(1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.375;
}


/* ============================================================
   6. CTA BUTTON VARIANTS
   ============================================================ */

/* Primary filled button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 500;
  color: white;
  background: var(--color-primary);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

/* White filled (for use on dark backgrounds) */
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
  background: white;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   7. TRUSTED-BY LOGO STRIP
   ============================================================ */

.trusted-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.trusted-logo:hover {
  opacity: 1;
}


/* ============================================================
   8. WORKER CARD (used in services section right column)
   ============================================================ */

.worker-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  background: white;
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.worker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.worker-card__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.worker-card__status {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 500;
  background: var(--color-bg-hero);
  color: var(--color-primary);
  transition: background 0.2s ease, color 0.2s ease;
}

.worker-card:hover .worker-card__status {
  background: var(--color-primary);
  color: white;
}


/* ============================================================
   9. MISSION / VISION CARDS  (about section)
   ============================================================ */

.mv-card {
  background: white;
  padding: 2rem 2.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.mv-card:hover::before {
  transform: scaleX(1);
}

.mv-card__icon {
  width: 3.375rem;
  height: 3.375rem;
  border-radius: 0.5rem;
  background: var(--color-bg-method);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.mv-card:hover .mv-card__icon {
  background: var(--color-primary);
  color: white;
}


/* ============================================================
   10. COMMITMENT CALLOUT  (blue gradient box at bottom of about)
   ============================================================ */

.commitment-box {
  background: linear-gradient(to bottom right, var(--color-primary), #000078);
  border-radius: 1.5rem;
  padding: 2rem;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.commitment-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .commitment-box {
    padding: 3rem;
  }
}


/* ============================================================
   11. BRAND LOGOS SECTION
   ============================================================ */

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 768px) {
  .brand-grid {
    gap: 3rem;
  }
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.brand-item:hover {
  opacity: 1;
}

.brand-item__icon {
  height: 1.75rem;
  width: auto;
  object-fit: contain;
}

/* Hero Store Buttons Spacing */
#hero-store-buttons {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.partner-hero-buttons {
  margin-top: 2.5rem !important;
  margin-bottom: 3.5rem !important;
  gap: 1.5rem !important;
}

@media (min-width: 640px) {
  .partner-hero-buttons {
    margin-top: 3rem !important;
    margin-bottom: 4.5rem !important;
    gap: 2rem !important;
  }
}

/* Store Badge Heights */
.store-btn-sm {
  height: 55px !important;
  display: inline-block;
}

.store-btn-md {
  height: 75px !important;
  display: inline-block;
}

@media (max-width: 640px) {
  .store-btn-md {
    height: 60px !important;
  }
}

.store-btn-lg {
  height: 95px !important;
  display: inline-block;
}


/* ============================================================
   12. FOOTER LAYOUT STYLES
   ============================================================ */
.footer-top-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
  text-align: left;
}

@media (min-width: 768px) {
  .footer-top-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-brand {
    flex: 1;
    max-width: 450px;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
  }

  .footer-contact-inner {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================================
   FAQ ACCORDION STYLES
   ============================================================ */
.hidden-by-default {
  display: none !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.faq-item .faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ============================================================
   SMART APP BANNER / INTERSTITIAL MODAL
   ============================================================ */
#staticBackdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

#staticBackdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#staticBackdrop .modal-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Centered layout (Desktop) */
#staticBackdrop .modal-dialog-centered {
  transform: scale(0.92) translateY(16px);
}

#staticBackdrop.show .modal-dialog-centered {
  transform: scale(1) translateY(0);
}

/* Bottom Sheet layout (Mobile <= 768px) */
@media (max-width: 768px) {
  #staticBackdrop {
    align-items: flex-end;
  }

  #staticBackdrop .modal-dialog-bottom {
    margin: 0;
    max-width: 100%;
    width: 100%;
    transform: translateY(100%);
  }

  #staticBackdrop.show .modal-dialog-bottom {
    transform: translateY(0);
  }

  #staticBackdrop .modal-content {
    border-top-left-radius: 1.75rem !important;
    border-top-right-radius: 1.75rem !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: none !important;
  }
}

.modal-content {
  background: linear-gradient(to bottom right, var(--color-primary), #000078);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Subtle background accent glow */
.modal-content::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Mobile drag pill handle */
.modal-drag-handle {
  display: none;
  width: 2.5rem;
  height: 0.25rem;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  margin: 0.75rem auto 0;
}

@media (max-width: 768px) {
  .modal-drag-handle {
    display: block;
  }
}

.modalboxcontent {
  padding: 2.25rem 1.75rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .modalboxcontent {
    padding: 1.75rem 1.25rem 1.75rem;
  }
}

.modal-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.modal-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.modal-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Divider Line / Strip below Logo & Name */
.modal-brand-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.04) 100%);
  margin: 1.125rem 0 1.25rem;
}

.modal-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

/* Refined App-Exclusive Benefits Grid */
.modal-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 0.75rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (max-width: 420px) {
  .modal-benefits {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.75rem 0.875rem;
  }
}

.modal-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
}

.modal-benefit-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-benefit-check svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* High-Contrast Primary Download Button */
.modal-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  border-radius: 0.875rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.modal-download-btn:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(0, 0, 0, 0.45);
}

.modal-download-btn:active {
  transform: translateY(0);
}

.modal-continue-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.625rem 1.25rem;
  margin-top: 0.875rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: inline-block;
  letter-spacing: 0.01em;
}

.modal-continue-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.closedbtnmodal {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.closedbtnmodal:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

/* ============================================================
   ON-CLICK MICRO-INTERACTIONS & TACTILE RIPPLE EFFECTS
   ============================================================ */

/* 1. Global Viewport Click Ripple */
.global-click-ripple {
  position: fixed;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 999999;
  border: 1.5px solid rgba(37, 99, 235, 0.55);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 75%);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
  transform: translate(-50%, -50%) scale(0.15);
  animation: globalRippleAnim 0.5s cubic-bezier(0.12, 0.8, 0.32, 1) forwards;
  will-change: transform, opacity;
}

@keyframes globalRippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.15);
    opacity: 1;
  }
  60% {
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

/* 2. Button & Card Ink Ripple */
.has-ink-ripple {
  position: relative !important;
  overflow: hidden !important;
}

.ink-ripple {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  transform: scale(0);
  animation: inkRippleAnim 0.55s cubic-bezier(0.2, 0.6, 0.35, 1) forwards;
  will-change: transform, opacity;
}

.ink-ripple.light {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 60%, transparent 80%);
}

.ink-ripple.dark {
  background: radial-gradient(circle, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.08) 60%, transparent 80%);
}

@keyframes inkRippleAnim {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* 3. Tactile Spring Active Press */
button:not([disabled]):active,
.btn:active,
.download-btn:active,
#download-btn:active,
.modal-download-btn:active,
.hero-card__download:active,
a.bg-primary:active,
a[href^="#"]:not(.nav-link):active {
  transform: scale(0.96) !important;
  transition: transform 0.1s cubic-bezier(0.2, 0, 0, 1) !important;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .global-click-ripple,
  .ink-ripple {
    display: none !important;
  }
}