/* ==========================================================================
   Apna Phone – Landing Page Styles
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Base / reset
   3.  Utilities & shared components (buttons, eyebrow, section heads)
   4.  Preloader
   5.  Header & navigation
   6.  Mobile drawer
   7.  Hero
   8.  Services
   9.  Brands marquee
   10. (sell form removed – see redesign block at the end)
   11. Featured products
   12. (removed)
   13. How it works
   14. Why us (bento)
   15. Stats
   16. Reviews slider
   17. FAQ
   18. CTA
   19. Footer
   20. Floating UI (WhatsApp, back-to-top, toast)
   21. Animations (load, scroll reveal, keyframes)
   22. Responsive
   ========================================================================== */

/* 1. Design tokens --------------------------------------------------------- */
:root {
  /* Brand colours (taken from the Apna Phone logo) */
  --ap-primary: #1546a8;
  --ap-primary-700: #0e3585;
  --ap-sky: #1e90ff;
  --ap-orange: #f7941d;
  --ap-orange-600: #ec7a0e;
  --ap-navy: #0a1f4d;
  --ap-navy-900: #061433;

  /* Neutrals */
  --ap-ink: #0b1b3f;
  --ap-body: #4d5b7c;
  --ap-muted: #5f6e8d; /* darkened from #7a89a8 for WCAG AA contrast */
  --ap-success-text: #0f7a4c; /* green for small text (#16a065 is too light) */
  --ap-orange-text: #b45309; /* orange for small text on light tints */
  --ap-bg: #f4f7fd;
  --ap-surface: #ffffff;
  --ap-border: #e3e9f5;
  --ap-success: #16a065;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #1e90ff 0%, #1546a8 100%);
  --grad-orange: linear-gradient(135deg, #ffb048 0%, #f57c00 100%);
  --grad-text: linear-gradient(
    100deg,
    #1546a8 0%,
    #1a6fe0 100%
  ); /* blue only – blue→orange turned muddy grey mid-word */
  --grad-navy: linear-gradient(135deg, #0e2a6b 0%, #071637 100%);

  /* Type */
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body:
    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;

  /* Shape & depth */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(16, 42, 100, 0.06);
  --shadow: 0 12px 32px -12px rgba(16, 42, 100, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(16, 42, 100, 0.28);
  --shadow-orange: 0 14px 30px -10px rgba(245, 124, 0, 0.55);
  --shadow-blue: 0 14px 30px -10px rgba(21, 70, 168, 0.5);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);

  /* Layout */
  --topbar-h: 40px;
  --nav-h: 80px;
}

/* 2. Base ------------------------------------------------------------------ */
/* Bootstrap sets smooth scrolling on :root – disable it, jQuery handles smooth scrolling */
:root {
  scroll-behavior: auto;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: hidden;
}
@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ap-body);
  background: var(--ap-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--ap-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
a {
  color: var(--ap-primary);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
a:hover {
  color: var(--ap-orange-600);
}
img {
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
}
::selection {
  background: var(--ap-orange);
  color: #fff;
}
:focus-visible {
  outline: 3px solid rgba(30, 144, 255, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 3. Shared components ----------------------------------------------------- */
.section {
  padding-block: clamp(70px, 9vw, 120px);
  position: relative;
}
.section-sm {
  padding-block: clamp(40px, 5vw, 70px);
  position: relative;
}
.section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ap-primary);
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.18);
  border-radius: 50px;
}
.eyebrow i {
  color: var(--ap-orange);
}
.eyebrow-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}
.eyebrow-light i {
  color: #ffd27a;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 600px;
  color: var(--ap-body);
}

.text-gradient,
.text-gradient-orange {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-gradient-orange {
  background-image: var(--grad-orange);
}

/* Buttons */
.btn-ap {
  --btn-pad-y: 0.8rem;
  --btn-pad-x: 1.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: none;
  /* border: 2px solid transparent; */
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background-color 0.35s,
    color 0.35s,
    border-color 0.35s;
}
.btn-ap i {
  transition: transform 0.35s var(--ease);
}
.btn-ap:hover {
  transform: translateY(-3px);
}
.btn-ap:hover .bi-arrow-right {
  transform: translateX(4px);
}
.btn-ap:active {
  transform: translateY(-1px) scale(0.98);
}
/* shine sweep */
.btn-ap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn-ap:hover::after {
  transform: translateX(120%);
}

.btn-ap-orange {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-ap-orange:hover {
  color: #fff;
  box-shadow: 0 18px 36px -10px rgba(245, 124, 0, 0.7);
}
.btn-ap-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-ap-primary:hover {
  color: #fff;
}
.btn-ap-outline {
  background: transparent;
  color: var(--ap-primary);
  border-color: var(--ap-primary);
}
.btn-ap-outline:hover {
  background: var(--ap-primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-ap-white {
  background: #fff;
  color: var(--ap-primary);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35);
}
.btn-ap-white:hover {
  color: var(--ap-orange-600);
}
.btn-ap-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ap-ghost-light:hover {
  background: #fff;
  color: var(--ap-primary);
}
.btn-ap-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.6);
}
.btn-ap-whatsapp:hover {
  color: #fff;
  background: #1ebe5a;
}
.btn-lg-ap {
  --btn-pad-y: 1rem;
  --btn-pad-x: 2rem;
  font-size: 1rem;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ap-border);
  background: #fff;
  color: var(--ap-ink);
  font-size: 1.15rem;
  transition: all 0.35s var(--ease);
}
.icon-btn:hover {
  color: var(--ap-primary);
  border-color: var(--ap-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ap-primary);
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: 50px;
  transition: all 0.3s var(--ease);
}
.chip:hover {
  background: var(--ap-primary);
  border-color: var(--ap-primary);
  color: #fff;
  transform: translateY(-2px);
}

.stars {
  color: #ffb400;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.stars strong {
  color: var(--ap-ink);
  margin-left: 0.25rem;
  letter-spacing: 0;
}

.bg-success-soft {
  background: rgba(22, 160, 101, 0.12);
  color: var(--ap-success);
}
.bg-primary-soft {
  background: rgba(30, 144, 255, 0.12);
  color: var(--ap-primary);
}
.bg-orange-soft {
  background: rgba(247, 148, 29, 0.14);
  color: var(--ap-orange-600);
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ap-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* 4. Preloader ------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  transition:
    opacity 0.6s var(--ease),
    visibility 0.6s;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}
.preloader-logo {
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}
.preloader-logo img {
  width: 64px;
  animation: pulse 1.4s var(--ease) infinite;
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--ap-sky),
    var(--ap-orange),
    transparent 70%
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 4px),
    #000 calc(100% - 3px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 4px),
    #000 calc(100% - 3px)
  );
  animation: spin 1s linear infinite;
}
.preloader-bar {
  width: 140px;
  height: 4px;
  border-radius: 4px;
  background: var(--ap-border);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--grad-orange);
  border-radius: 4px;
  animation: loadbar 1.1s var(--ease-in-out) infinite;
}

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: transform 0.5s var(--ease);
}
.site-header.scrolled {
  transform: translateY(calc(var(--topbar-h) * -1));
}

.topbar {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: var(--ap-navy);
  color: #c8d4ef;
  font-size: 0.82rem;
}
.topbar .container {
  height: 100%;
}
.topbar-info {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 1.6rem;
}
.topbar-info a:last-child {
  margin-left: auto;
}
.topbar-info a,
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c8d4ef;
}
.topbar-info i {
  color: var(--ap-orange);
}
.topbar-info a:hover {
  color: #fff;
}

.main-nav {
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    height 0.4s var(--ease),
    box-shadow 0.4s,
    background-color 0.4s,
    border-color 0.4s;
}
.site-header.scrolled .main-nav {
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--ap-border);
  box-shadow: 0 10px 30px -18px rgba(16, 42, 100, 0.35);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: block;
  flex-shrink: 0;
}
.brand img {
  height: 52px;
  width: auto;
  transition:
    height 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.site-header.scrolled .brand img {
  height: 44px;
}
.brand:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link-ap {
  position: relative;
  display: block;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ap-ink);
}
.nav-link-ap::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link-ap:hover,
.nav-link-ap.active {
  color: var(--ap-primary);
}
.nav-link-ap:hover::after,
.nav-link-ap.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-cta {
  --btn-pad-y: 0.90rem;
  --btn-pad-x: 1.72rem;
  background: linear-gradient(135deg, #ffc061 0%, #ff8a00 45%, #f05a00 100%);
  border-color: rgba(255, 255, 255, 0.55);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(150, 50, 0, 0.35);
  animation: ctaPulse 2.2s ease-out infinite;
}
.nav-cta::after {
  animation: ctaShine 3.2s var(--ease) infinite;
}
.nav-cta i {
  animation: ctaBolt 2.2s ease-in-out infinite;
  color: #fff6c2;
}
.nav-cta:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 0 4px rgba(255, 138, 0, 0.25),
    0 18px 36px -8px rgba(245, 100, 0, 0.8);
}
@keyframes ctaPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(255, 138, 0, 0.6),
      0 12px 28px -8px rgba(245, 100, 0, 0.7);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(255, 138, 0, 0),
      0 12px 28px -8px rgba(245, 100, 0, 0.7);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 138, 0, 0),
      0 12px 28px -8px rgba(245, 100, 0, 0.7);
  }
}
@keyframes ctaShine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  85%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes ctaBolt {
  0%,
  80%,
  100% {
    transform: rotate(0) scale(1);
  }
  85% {
    transform: rotate(-15deg) scale(1.25);
  }
  92% {
    transform: rotate(10deg) scale(1.15);
  }
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 0;
  border-radius: 14px;
  background: var(--ap-primary);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  box-shadow: var(--shadow-blue);
  transition: transform 0.3s var(--ease);
}
.hamburger span {
  display: block;
  height: 2.5px;
  border-radius: 3px;
  background: #fff;
  transition: width 0.35s var(--ease);
}
.hamburger span:nth-child(1) {
  width: 24px;
}
.hamburger span:nth-child(2) {
  width: 16px;
}
.hamburger span:nth-child(3) {
  width: 20px;
}
.hamburger:hover span {
  width: 24px;
}
.hamburger:active {
  transform: scale(0.94);
}

/* 6. Mobile drawer --------------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(6, 20, 51, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s;
}
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1100;
  width: min(86vw, 350px);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transform: translateX(-105%);
  transition:
    transform 0.55s var(--ease-in-out),
    box-shadow 0.55s,
    visibility 0s linear 0.55s;
  border-radius: 0 28px 28px 0;
}
.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  box-shadow: 20px 0 60px -10px rgba(6, 20, 51, 0.35);
  transition:
    transform 0.55s var(--ease-in-out),
    box-shadow 0.55s,
    visibility 0s;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ap-border);
}
.drawer-logo img {
  height: 46px;
  width: auto;
}
.drawer-close {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ap-bg);
  transition:
    background-color 0.3s,
    transform 0.5s var(--ease);
  transform: rotate(-90deg) scale(0.6);
  opacity: 0;
}
.mobile-drawer.open .drawer-close {
  transform: rotate(0) scale(1);
  opacity: 1;
  transition-delay: 0.25s;
}
.drawer-close span {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2.5px;
  margin-top: -1px;
  background: var(--ap-ink);
  border-radius: 3px;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s;
}
.drawer-close span:first-child {
  transform: rotate(45deg);
}
.drawer-close span:last-child {
  transform: rotate(-45deg);
}
.drawer-close:hover {
  background: var(--ap-orange);
  transform: rotate(90deg);
}
.drawer-close:hover span {
  background: #fff;
}

.drawer-menu {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.drawer-menu li {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.mobile-drawer.open .drawer-menu li {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.18s + var(--i, 0) * 0.06s);
}
.drawer-menu a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.2rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ap-ink);
  transition:
    background-color 0.3s,
    color 0.3s,
    padding-left 0.35s var(--ease);
}
.drawer-menu a i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ap-bg);
  color: var(--ap-primary);
  font-size: 1.1rem;
  transition: all 0.3s;
}
.drawer-menu a:hover,
.drawer-menu a:active,
.drawer-menu a.active {
  background: rgba(30, 144, 255, 0.08);
  color: var(--ap-primary);
  padding-left: 1.25rem;
}
.drawer-menu a:hover i,
.drawer-menu a.active i {
  background: var(--grad-primary);
  color: #fff;
}

.drawer-contact {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.mobile-drawer.open .drawer-contact {
  opacity: 1;
  transform: none;
  transition-delay: 0.6s;
}
.drawer-contact {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ap-border);
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.drawer-contact a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ap-ink);
}
.drawer-contact a i {
  color: var(--ap-orange);
}
.drawer-contact .bi-whatsapp {
  color: #25d366 !important;
}

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + clamp(30px, 5vw, 70px));
  padding-bottom: clamp(50px, 6vw, 90px);
  background: linear-gradient(180deg, #eef4ff 0%, #f7f9ff 60%, #fff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(30, 144, 255, 0.55),
    transparent 70%
  );
}
.blob-2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  left: -140px;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.4), transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(21, 70, 168, 0.12) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    #000 30%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 40%,
    #000 30%,
    transparent 75%
  );
}

.hero-title {
  font-size: clamp(2.35rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.hero-title .text-gradient {
  display: inline-block;
}
.hero-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 1.75rem;
}

/* Search card */
.search-card {
  position: relative;
  z-index: 5;
  max-width: 580px;
  padding: 0.75rem;
  margin-bottom: 1.75rem;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.search-tabs {
  position: relative;
  display: inline-flex;
  padding: 4px;
  margin-bottom: 0.7rem;
  background: var(--ap-bg);
  border-radius: 50px;
}
.search-tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ap-muted);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.35s;
}
.search-tab.active {
  color: #fff;
}
.search-tab-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 0;
  border-radius: 50px;
  background: var(--grad-primary);
  box-shadow: var(--shadow-blue);
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease);
}
.search-form {
  display: flex;
  gap: 0.6rem;
}
.search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search-field > i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ap-muted);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  height: 56px;
  padding: 0 1rem 0 2.8rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ap-ink);
  border: 2px solid var(--ap-border);
  border-radius: 18px;
  background: #fbfcff;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background-color 0.3s;
}
.search-field input:focus {
  outline: none;
  border-color: var(--ap-sky);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.12);
}
.search-btn {
  height: 56px;
  border-radius: 18px;
}
/* single row: never wrap a lone chip onto its own line; scrolls sideways if space runs out */
.search-popular {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.25rem 0.3rem;
  font-size: 0.82rem;
  color: var(--ap-muted);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.search-popular::-webkit-scrollbar {
  display: none;
}
.search-popular > span {
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.search-popular .chip {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.28rem 0.7rem;
}

/* 8. Services --------------------------------------------------------------- */
.services {
  position: relative;
  z-index: 2;
  margin-top: -10px;
  padding-bottom: clamp(30px, 4vw, 50px);
}
.service-card {
  --c: var(--ap-primary);
  --c-soft: rgba(21, 70, 168, 0.1);
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--ap-border);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s;
}
.service-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -60px;
  bottom: -70px;
  border-radius: 50%;
  background: var(--c-soft);
  transition: transform 0.6s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scale(2.4);
}
.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 16px;
  font-size: 1.45rem;
  color: #fff;
  background: var(--c);
  box-shadow: 0 12px 22px -10px var(--c);
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08);
}
.service-card h3 {
  position: relative;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.service-card p {
  position: relative;
  margin: 0;
  font-size: 0.88rem;
  color: var(--ap-body);
}
.service-arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ap-bg);
  color: var(--ap-ink);
  transition: all 0.45s var(--ease);
}
.service-card:hover .service-arrow {
  background: var(--c);
  color: #fff;
  transform: rotate(45deg);
}
.service-orange {
  --c: #f57c00;
  --c-soft: rgba(247, 148, 29, 0.1);
}
.service-blue {
  --c: #1546a8;
  --c-soft: rgba(21, 70, 168, 0.08);
}
.service-sky {
  --c: #1e90ff;
  --c-soft: rgba(30, 144, 255, 0.1);
}
.service-navy {
  --c: #0a1f4d;
  --c-soft: rgba(10, 31, 77, 0.07);
}

/* 9. Brands marquee --------------------------------------------------------- */
.brands {
  padding-block: clamp(30px, 4vw, 50px);
}
.brands-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--ap-muted);
}
.brands-title strong {
  color: var(--ap-ink);
}
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.5rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.brand-logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 170px;
  height: 76px;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: 18px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s,
    border-color 0.4s;
}
.brand-logo img {
  max-height: 46px;
  opacity: 0.65;
  filter: grayscale(1);
  transition:
    opacity 0.4s,
    filter 0.4s,
    transform 0.4s var(--ease);
}
.brand-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(30, 144, 255, 0.35);
}
.brand-logo:hover img {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}

/* 11. (featured devices section removed) */

/* 12. (deal banner removed) */

/* 13. How it works – see "Timeline" in the redesign block at the end */

/* 14. Why us (bento) -------------------------------------------------------- */
.why-section {
  background: var(--ap-bg);
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.bento-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.bento .bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.bento-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}
.bento-card p {
  margin: 0;
  font-size: 0.92rem;
}
.bento-lg {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  background: var(--grad-navy);
  color: #b9c7e6;
  border: 0;
}
.bento-lg h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: 18px;
  font-size: 1.5rem;
  color: #fff;
  background: var(--grad-primary);
  transition: transform 0.5s var(--ease);
}
.bento-card:hover .benefit-icon {
  transform: rotate(-10deg) scale(1.1);
}
.icon-orange {
  background: var(--grad-orange);
}
.icon-sky {
  background: linear-gradient(135deg, #5cc0ff, #1e90ff);
}
.icon-green {
  background: linear-gradient(135deg, #3dd598, #13915c);
}
.icon-purple {
  background: linear-gradient(135deg, #2d5bd0, #0a1f4d);
} /* brand navy instead of off-palette purple */

/* big card: photo fills the card, navy fades in from the left behind the text */
.bento-lg {
  isolation: isolate;
  padding: 2rem;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 440px;
}
.bento-lg-bg {
  /* photo covers the right 62% only, so the notes sit beside the text (not mirrored) */
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 40%;
  transition: transform 1.2s var(--ease);
}
.bento-lg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #071637 0%,
      #071637 38%,
      rgba(7, 22, 55, 0.55) 58%,
      rgba(7, 22, 55, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(7, 22, 55, 0.55), transparent 40%);
}
.bento-lg:hover .bento-lg-bg {
  transform: scale(1.05);
}
.bento-lg-body {
  max-width: 72%;
}
.bento-lg p {
  color: #c9d6f2;
}
.bento-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.bento-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.bento-points i {
  color: #ffc56b;
}
.bento-cta {
  align-self: flex-start;
}

/* small cards: tag at the bottom, faint watermark icon, accent line on hover */
.bento-card:not(.bento-lg) {
  display: flex;
  flex-direction: column;
}
.bento-card:not(.bento-lg)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ap-sky), var(--ap-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.bento-card:not(.bento-lg):hover::before {
  transform: scaleX(1);
}
.bento-card:not(.bento-lg) p {
  margin-bottom: 1rem;
}
.bento-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ap-primary);
  background: #eaf2ff;
}
.bento-watermark {
  position: absolute;
  right: -14px;
  bottom: -22px;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--ap-primary);
  opacity: 0.05;
  rotate: -14deg;
  pointer-events: none;
  transition:
    opacity 0.5s,
    rotate 0.6s var(--ease);
}
.bento-card:hover .bento-watermark {
  opacity: 0.1;
  rotate: -4deg;
}
@media (max-width: 575.98px) {
  .bento-lg {
    min-height: 0;
    padding: 1.5rem;
  }
  .bento-lg-body {
    max-width: none;
  }
}

/* 15. Stats ----------------------------------------------------------------- */
.stats-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--grad-navy);
  color: #b9c7e6;
}
.stats-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.stats-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.stats-orb.o1 {
  width: 380px;
  height: 380px;
  left: -100px;
  top: -120px;
  background: rgba(30, 144, 255, 0.35);
}
.stats-orb.o2 {
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -140px;
  background: rgba(247, 148, 29, 0.18);
}
.stat {
  padding: 1rem 0.5rem;
}
.stat > i {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  border-radius: 18px;
  font-size: 1.5rem;
  color: #ffc56b;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat p {
  margin: 0.35rem 0 0;
  font-weight: 500;
}

/* 16. Reviews slider -------------------------------------------------------- */
.slider {
  overflow: hidden;
  margin-inline: -12px;
  touch-action: pan-y;
}
.slider-track {
  display: flex;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.slider.dragging .slider-track {
  transition: none;
}
.slide {
  flex: 0 0 33.3333%;
  padding: 12px;
}
.review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  user-select: none;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.review-tag {
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
}
.tag-sell {
  color: var(--ap-orange-text);
  background: rgba(247, 148, 29, 0.12);
}
.tag-buy {
  color: var(--ap-primary);
  background: rgba(30, 144, 255, 0.1);
}
.review-card blockquote {
  flex: 1;
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
  color: var(--ap-ink);
  line-height: 1.7;
}
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ap-border);
}
.review-card figcaption img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.review-card figcaption strong {
  display: block;
  color: var(--ap-ink);
  line-height: 1.2;
}
.review-card figcaption small {
  color: var(--ap-muted);
}
.review-card figcaption .bi-quote {
  margin-left: auto;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(30, 144, 255, 0.2);
}

.slider-nav {
  display: flex;
  gap: 0.6rem;
}
.slider-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--ap-border);
  background: #fff;
  color: var(--ap-ink);
  font-size: 1.15rem;
  transition: all 0.35s var(--ease);
}
.slider-btn:hover {
  background: var(--ap-primary);
  border-color: var(--ap-primary);
  color: #fff;
  transform: scale(1.06);
  box-shadow: var(--shadow-blue);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #cfd9ec;
  transition:
    width 0.45s var(--ease),
    background-color 0.45s;
}
.slider-dots button.active {
  width: 32px;
  background: var(--grad-orange);
}

/* 17. FAQ ------------------------------------------------------------------- */
.faq-section {
  background: #fff;
}
.reviews-section {
  background: var(--ap-bg);
}
.help-card {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--ap-border);
  box-shadow: var(--shadow-sm);
}
.help-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.help-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.help-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.5rem;
  color: #fff;
  background: var(--grad-orange);
}

.accordion-ap {
  --bs-accordion-border-width: 0;
  --bs-accordion-bg: transparent;
}
.accordion-ap .accordion-item {
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ap-border) !important;
  border-radius: 20px !important;
  transition:
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.accordion-ap .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(30, 144, 255, 0.4) !important;
  box-shadow: var(--shadow);
}
.accordion-ap .accordion-header {
  margin: 0;
}
.accordion-ap .accordion-button {
  gap: 1rem;
}
.accordion-ap .accordion-button {
  padding: 1.15rem 1.35rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ap-ink);
  background: transparent;
  box-shadow: none;
  border-radius: 20px !important;
}
.accordion-ap .accordion-button:not(.collapsed) {
  color: var(--ap-primary);
}
.accordion-ap .accordion-button:focus {
  box-shadow: none;
}
.accordion-ap .accordion-button:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(30, 144, 255, 0.35);
}
.accordion-ap .accordion-button::after {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ap-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='%231546a8' stroke-width='2' stroke-linecap='round' d='M8 3v10M3 8h10'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  transition:
    transform 0.45s var(--ease),
    background-color 0.3s;
}
.accordion-ap .accordion-button:not(.collapsed)::after {
  transform: rotate(135deg);
  background: var(--ap-orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' d='M8 3v10M3 8h10'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.accordion-ap .accordion-body {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.95rem;
}

/* 18. CTA ------------------------------------------------------------------- */
.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--grad-navy);
  color: #b9c7e6;
  box-shadow: var(--shadow-lg);
}
.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -150px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 144, 255, 0.45),
    transparent 65%
  );
}
.cta-title {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.cta-text {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 560px;
}
.cta-phones {
  position: relative;
  height: 260px;
}
.cta-phones img {
  position: absolute;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.4));
  transition: transform 0.6s var(--ease);
}
/* laptop sits behind on the left, one iPhone leans in front on the right */
.cta-laptop {
  width: 290px;
  left: 0;
  bottom: 24px;
  z-index: 0;
}
.cta-phone-2 {
  width: 105px;
  right: 2%;
  top: 30px;
  z-index: 1;
  rotate: 10deg;
}
.cta-card:hover .cta-laptop {
  transform: translate(-8px, -6px);
}
.cta-card:hover .cta-phone-2 {
  transform: translate(10px, -14px);
}

/* 19. Footer ---------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(60px, 7vw, 90px);
  background: var(--ap-navy-900);
  color: #9eacca;
  font-size: 0.93rem;
}
.footer-logo img {
  height: 58px;
  width: auto;
  margin-bottom: 1.25rem;
}
.footer-about {
  max-width: 360px;
}
.footer-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-orange);
}
.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
/* hover only changes colour – the text stays in place */
.footer-links a {
  color: #9eacca;
  white-space: nowrap;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact li {
  display: flex;
  gap: 0.75rem;
}
.footer-contact i {
  color: var(--ap-orange);
  font-size: 1.05rem;
  margin-top: 0.1rem;
}
.footer-contact a {
  color: #9eacca;
}
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(40px, 5vw, 60px);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-bottom a {
  color: #9eacca;
}
.footer-bottom a:hover {
  color: #fff;
}

/* 20. Floating UI ----------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 990;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 26px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.35s var(--ease);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: ping 2.2s var(--ease) infinite;
}
.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.1) rotate(-8deg);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 990;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ap-primary);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    visibility 0.4s,
    background-color 0.3s,
    color 0.3s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  background: var(--ap-primary);
  color: #fff;
}
.back-to-top:hover i {
  animation: arrowUp 0.6s var(--ease);
}
.back-to-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.back-to-top circle {
  fill: none;
  stroke: var(--ap-border);
  stroke-width: 3;
}
.back-to-top circle.progress {
  stroke: var(--ap-orange);
  stroke-linecap: round;
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  transition: stroke-dashoffset 0.1s linear;
}
.back-to-top i {
  position: relative;
  font-size: 1.2rem;
}

.toast-ap {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: calc(100vw - 32px);
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: var(--ap-ink);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 30px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    visibility 0.4s;
}
.toast-ap i {
  color: #3dd598;
  font-size: 1.15rem;
}
.toast-ap.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 21. Animations ------------------------------------------------------------ */
/* Page-load (hero) – triggered when <body> gets .is-loaded */
.load-anim {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s);
}
.is-loaded .load-anim {
  opacity: 1;
  transform: none;
}
/* float cards keep transform for floating – animate scale on load instead */
.load-anim-scale {
  opacity: 0;
  scale: 0.85;
  transition:
    opacity 1s var(--ease) var(--d, 0s),
    scale 1.1s var(--ease) var(--d, 0s);
}
.is-loaded .load-anim-scale {
  opacity: 1;
  scale: 1;
}

/* Scroll reveal – triggered by IntersectionObserver adding .in-view */
[data-anim] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
[data-anim="fade-up"] {
  transform: translateY(40px);
}
[data-anim="fade-down"] {
  transform: translateY(-40px);
}
[data-anim="fade-left"] {
  transform: translateX(50px);
}
[data-anim="fade-right"] {
  transform: translateX(-50px);
}
[data-anim="zoom-in"] {
  transform: scale(0.9);
}
[data-anim].in-view {
  opacity: 1;
  transform: none;
}
[data-anim].anim-done {
  will-change: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
}
@keyframes loadbar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(260%);
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.45);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pop {
  0% {
    transform: scale(0.85);
    opacity: 0.4;
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes heart {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.4);
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  80%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@keyframes arrowUp {
  0% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-120%);
    opacity: 0;
  }
  46% {
    transform: translateY(120%);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  [data-anim],
  .load-anim,
  .load-anim-scale,
  .t-icon,
  .t-body {
    opacity: 1 !important;
    transform: none !important;
    scale: 1 !important;
  }
  .marquee-track {
    animation: none;
  }
}

/* 22. Responsive ------------------------------------------------------------ */
@media (max-width: 1199.98px) {
  .nav-link-ap {
    padding-inline: 0.6rem;
    font-size: 0.9rem;
  }
  .nav-link-ap::after {
    left: 0.6rem;
    right: 0.6rem;
  }
  .brand img {
    height: 46px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --topbar-h: 0px;
    --nav-h: 70px;
  }
  .topbar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .site-header.scrolled .main-nav {
    height: 64px;
  }
  .brand img {
    height: 42px;
  }
  .site-header.scrolled .brand img {
    height: 38px;
  }

  .hero {
    text-align: center;
  }
  .hero-lead,
  .search-card {
    margin-inline: auto;
  }
  .search-card {
    text-align: left;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-lg {
    grid-column: span 2;
    grid-row: auto;
  }

  .slide {
    flex-basis: 50%;
  }
  .cta-card {
    text-align: center;
  }
  .cta-text {
    margin-inline: auto;
  }
  .cta-card .d-flex {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .section-lead {
    margin-inline: auto;
  }
  .slide {
    flex-basis: 100%;
  }
  .slider-nav {
    display: none;
  }
  .reviews-section .section-head {
    justify-content: center !important;
    text-align: center;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    left: 14px;
    bottom: 14px;
  }
  .back-to-top {
    width: 48px;
    height: 48px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 0.95rem;
  }
  .nav-cta {
    display: none;
  }
  .search-form {
    flex-direction: column;
  }
  .search-btn {
    width: 100%;
    height: 52px;
  }
  .search-field input {
    height: 52px;
  }
  .search-tab {
    padding: 0.45rem 0.8rem;
  }

  .service-card {
    padding: 1.15rem 1rem;
  }
  .service-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    border-radius: 14px;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .service-card p {
    font-size: 0.78rem;
  }
  .service-arrow {
    width: 30px;
    height: 30px;
    top: 0.9rem;
    right: 0.9rem;
    font-size: 0.85rem;
  }

  .brand-logo {
    width: 130px;
    height: 62px;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bento-lg {
    grid-column: auto;
  }
  .bento-card {
    padding: 1.4rem;
  }

  .help-card {
    flex-direction: column;
  }
  .accordion-ap .accordion-button {
    font-size: 0.98rem;
    padding: 1rem 1.1rem;
  }
  .accordion-ap .accordion-body {
    padding: 0 1.1rem 1.1rem;
  }
}

/* Small phones (≤ 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 2.05rem;
  }
  .eyebrow {
    font-size: 0.7rem;
  }
  .search-tab {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }
  .services .col-6 {
    width: 100%;
  }
}

/* Touch devices: no hover-based 3D tilt, lighter effects */
@media (hover: none) {
  .bento .bento-card:hover,
  .review-card:hover,
  .service-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Sell-only additions: device toggle, top-price cards, laptop media
   ========================================================================== */

.tag-laptop {
  color: var(--ap-primary);
  background: rgba(30, 144, 255, 0.1);
}

/* WhatsApp buttons in search suggestions & device cards */

/* ==========================================================================
   Header trust strip & service areas
   ========================================================================== */

.area-points {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: var(--ap-ink);
}
.area-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.area-points i {
  color: var(--ap-success);
  font-size: 1.1rem;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.area-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  height: 100%;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--ap-border);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s;
}
.area-grid .area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 144, 255, 0.35);
}
.area-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-blue);
  transition: transform 0.5s var(--ease);
}
.area-card:nth-child(even) .area-icon {
  background: var(--grad-orange);
  box-shadow: var(--shadow-orange);
}
.area-card:hover .area-icon {
  transform: rotate(-10deg) scale(1.08);
}
.area-card h3 {
  font-size: 1.1rem;
  margin: 0.1rem 0 0.2rem;
}
.area-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ap-body);
}
.area-tag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ap-success-text);
  background: rgba(22, 160, 101, 0.1);
}
.area-card:has(.area-tag) h3 {
  padding-right: 3.5rem;
}

@media (max-width: 991.98px) {
  .areas-section .col-lg-5 {
    text-align: center;
  }
  /* centred as one block, items left-aligned so the ticks line up */
  .area-points {
    justify-items: start;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
  .areas-section .d-flex {
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .area-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
@media (hover: none) {
  .area-grid .area-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Redesign: white header, royal-blue hero, timeline, mobile action bar
   ========================================================================== */

/* --- White header with a blue call button --- */
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.main-nav {
  background: #fff;
}
.site-header.scrolled .main-nav {
  background: rgba(255, 255, 255, 0.97);
}
.call-btn {
  color: #fff;
  background: var(--grad-primary);
  border: 0;
  box-shadow: var(--shadow-blue);
}
.call-btn:hover {
  color: #fff;
  transform: translateY(-2px) rotate(-10deg);
}

/* --- Hero: royal blue with glossy waves --- */
.hero {
  color: #d6e4ff;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + clamp(28px, 4vw, 56px));
  padding-bottom: clamp(110px, 10vw, 150px);
  background: linear-gradient(
    115deg,
    #0a2a8f 0%,
    #1149d6 38%,
    #0d36ad 62%,
    #071a5c 100%
  );
}
.hero::after {
  /* soft curved bottom edge */
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 70px;
  z-index: 1;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-grid {
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 3.9vw, 3.4rem);
  margin-bottom: 1rem;
}
.hl-cyan {
  color: #3fd2ff;
}
.hl-orange {
  color: #ffa21f;
}
.hero-lead {
  color: #e3ecff;
  max-width: 520px;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  margin-bottom: 1.5rem;
}
.hl-link {
  color: #5cd6ff;
  font-weight: 700;
}

/* Search card */
/* search card repeated under the "How it works" timeline */
.how-search {
  max-width: 620px;
  margin: 3rem auto 0;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 22px;
  text-align: left;
}
.hero .search-card {
  max-width: 570px;
  padding: 1rem 1.1rem 1.1rem;
  border: 0;
  border-radius: 22px;
  margin-top: 29px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}
.search-btn {
  padding-right: 0.55rem;
}
.search-popular .chip {
  background: #eaf2ff;
  border-color: transparent;
}
.search-popular .chip:hover {
  background: var(--ap-primary);
  color: #fff;
}

/* Visual: devices + floating badges */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin-left: auto;
}
.hero-devices {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.hero-glow {
  position: absolute;
  inset: 6% 4%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(120, 200, 255, 0.45),
    transparent 65%
  );
  filter: blur(20px);
}
.hero-ring {
  /* thin halo that frames the device stack */
  position: absolute;
  left: 50%;
  top: 46%;
  width: 86%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(160, 210, 255, 0.22);
  box-shadow: inset 0 0 80px rgba(90, 170, 255, 0.12);
}
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(160, 210, 255, 0.16);
}
/* heading word that swaps with the photo (iPhone ↔ Laptop) */
.hero-swap {
  display: inline-block;
  transition:
    opacity 0.35s ease,
    translate 0.35s ease;
}
.hero-swap.is-out {
  opacity: 0;
  translate: 0 0.3em;
}

/* autoplaying seller photos (crossfade, see initHeroPeople in script.js) */
.hero-people {
  position: absolute;
  inset: 0;
  z-index: 2;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(
    #000 82%,
    transparent
  ); /* soft cut at the waist */
}
/* both photos share the same height so the two people appear at the same size, centred on the stage */
.hero-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
  opacity: 0;
  scale: 0.96;
  translate: -50% 14px;
  transition:
    opacity 0.45s ease,
    scale 0.6s ease,
    translate 0.6s ease; /* outgoing photo leaves quickly… */
}
.hero-person.is-active {
  opacity: 1;
  scale: 1;
  translate: -50% 0;
  transition:
    opacity 0.9s var(--ease) 0.35s,
    scale 1.1s var(--ease) 0.35s,
    translate 1.1s var(--ease) 0.35s; /* …then the next one comes in */
}

.hero-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.95rem 0.6rem 0.6rem;
  border-radius: 16px;
  color: var(--ap-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 48px -18px rgba(3, 12, 50, 0.65);
  line-height: 1.2;
  white-space: nowrap;
}
.hero-badge small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7a99;
}
.hero-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}
.hb-price {
  top: 9%;
  right: -8%;
} /* top-right, clear of the faces */
.hb-rating {
  bottom: 10%;
  left: -8%;
} /* bottom-left, over the soft waist fade */
@media (max-width: 991.98px) {
  .hb-price {
    right: 0;
  }
  .hb-rating {
    left: 0;
  }
}
@media (max-width: 575.98px) {
  .hb-price {
    display: none;
  }
} /* hide "Instant payment" on phones so it doesn't cover the face */
.hb-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff;
}
.hb-blue {
  background: var(--grad-primary);
  box-shadow: var(--shadow-blue);
}
.hb-orange {
  background: linear-gradient(135deg, #ffb048, #f57c00);
  box-shadow: 0 8px 18px -6px rgba(245, 124, 0, 0.7);
}

@media (max-width: 991.98px) {
  .hero-stage {
    max-width: 440px;
    margin-inline: auto;
  }
}
@media (max-width: 575.98px) {
  .hero-eyebrow {
    font-size: 0.74rem;
    padding: 0.35rem 0.85rem;
  }
  .hero-badge {
    gap: 0.5rem;
    padding: 0.45rem 0.7rem 0.45rem 0.45rem;
    border-radius: 12px;
  }
  .hero-badge small {
    font-size: 0.62rem;
  }
  .hero-badge strong {
    font-size: 0.82rem;
  }
  .hb-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    border-radius: 9px;
  }
}
/* Service cards float over the hero's curved edge */
.services {
  margin-top: clamp(-120px, -9vw, -70px);
}

/* --- Timeline (How it works) --- */
.timeline {
  position: relative;
}
.timeline-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline-line {
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    #d6e0f2 0 10px,
    transparent 10px 18px
  );
}
.timeline-line span {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #1e90ff, #1546a8 45%, #f7941d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) 0.2s;
}
.timeline.in-view .timeline-line span {
  transform: scaleX(1);
}

.t-step {
  text-align: center;
  padding: 0 0.5rem;
}
.t-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow:
    0 0 0 8px #fff,
    0 0 0 9px var(--ap-border),
    var(--shadow-blue);
  opacity: 0;
  scale: 0.6;
  transition:
    opacity 0.6s var(--ease),
    scale 0.7s var(--ease),
    transform 0.5s var(--ease);
}
.t-step:nth-child(even) .t-icon {
  background: var(--grad-orange);
  box-shadow:
    0 0 0 8px #fff,
    0 0 0 9px var(--ap-border),
    var(--shadow-orange);
}
.t-step:hover .t-icon {
  transform: translateY(-6px) rotate(-6deg);
}
.t-no {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--ap-ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
}
.t-body {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.t-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}
.t-body p {
  max-width: 250px;
  margin: 0 auto;
  font-size: 0.93rem;
}
.timeline.in-view .t-icon {
  opacity: 1;
  scale: 1;
}
.timeline.in-view .t-body {
  opacity: 1;
  transform: none;
}
.t-step:nth-child(1) .t-icon,
.t-step:nth-child(1) .t-body {
  transition-delay: 0.2s;
}
.t-step:nth-child(2) .t-icon,
.t-step:nth-child(2) .t-body {
  transition-delay: 0.55s;
}
.t-step:nth-child(3) .t-icon,
.t-step:nth-child(3) .t-body {
  transition-delay: 0.9s;
}
.t-step:nth-child(4) .t-icon,
.t-step:nth-child(4) .t-body {
  transition-delay: 1.25s;
}
.t-step:nth-child(5) .t-icon,
.t-step:nth-child(5) .t-body {
  transition-delay: 1.6s;
}

@media (max-width: 991.98px) {
  .timeline {
    max-width: 520px;
    margin: 0 auto;
  }
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .timeline-line {
    top: 12px;
    bottom: 12px;
    left: 34px;
    right: auto;
    width: 4px;
    height: auto;
    background: repeating-linear-gradient(
      180deg,
      #d6e0f2 0 10px,
      transparent 10px 18px
    );
  }
  .timeline-line span {
    background: linear-gradient(180deg, #1e90ff, #1546a8 45%, #f7941d);
    transform: scaleY(0);
    transform-origin: top;
  }
  .timeline.in-view .timeline-line span {
    transform: scaleY(1);
  }
  .t-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0;
    text-align: left;
  }
  .t-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    margin: 0;
    font-size: 1.6rem;
  }
  .t-body {
    padding-top: 0.55rem;
  }
  .t-body p {
    max-width: none;
    margin: 0;
  }
}
/* --- Mobile bottom action bar --- */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 767.98px) {
  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 995;
    display: flex;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--ap-border);
    box-shadow: 0 -10px 30px -12px rgba(16, 42, 100, 0.25);
    transform: translateY(110%);
    transition: transform 0.45s var(--ease);
  }
  .cta-bar-visible .mobile-cta-bar {
    transform: none;
  }
  .mobile-cta-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 48px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
  }
  .mcb-call {
    flex: 0 0 32%;
    color: var(--ap-primary);
    background: #fff;
    border: 2px solid var(--ap-primary);
  }
  .mcb-wa,
  .mcb-wa:hover {
    flex: 1;
    color: #fff;
    background: #25d366;
    box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.7);
  }

  .whatsapp-float {
    transition:
      opacity 0.3s,
      visibility 0.3s,
      transform 0.35s var(--ease);
  }
  .cta-bar-visible .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.6);
  }
  .back-to-top {
    transition:
      opacity 0.4s var(--ease),
      transform 0.4s var(--ease),
      visibility 0.4s,
      bottom 0.4s var(--ease);
  }
  .cta-bar-visible .back-to-top {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .cta-bar-visible .toast-ap {
    bottom: 92px;
  }
  .site-footer {
    padding-bottom: 76px;
  }
}
@media (max-width: 575.98px) {
  .search-field input {
    font-size: 0.9rem;
    padding-left: 2.6rem;
  }
}

/* ==========================================================================
   Brand strip – original logos, each brand in its own equal-size tile
   ========================================================================== */
.brands {
  background: var(--ap-bg);
  padding-block: clamp(36px, 4vw, 56px) clamp(10px, 2vw, 20px);
}
.brands-heading {
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--ap-ink);
  margin-bottom: 0.75rem;
}

.brand-panel {
  position: relative;
}
.brand-panel .marquee {
  padding: 14px 0 24px; /* room for the hover lift + shadow */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}
.brand-panel .marquee-track {
  gap: 1rem;
  align-items: stretch;
  animation-duration: 55s;
}

/* the tile */
.brand-panel .brand-logo {
  flex: 0 0 auto;
  width: 190px;
  height: 92px;
  padding: 0 1.1rem;
  gap: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: 18px;
  color: inherit;
  box-shadow: 0 8px 22px -16px rgba(16, 42, 100, 0.35);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.brand-panel .brand-logo:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 144, 255, 0.45);
  box-shadow: 0 20px 36px -18px rgba(16, 42, 100, 0.4);
}
.brand-panel .brand-logo img {
  max-width: 100%;
  max-height: none;
  width: auto;
  opacity: 1;
  filter: none;
}
.brand-panel .brand-logo:hover img {
  transform: none;
}

/* optical sizes – logos have very different proportions, so each is tuned to look equally "big" */
.bl-apple {
  height: 44px;
}
.bl-mini-apple {
  height: 21px;
  margin-right: -0.2rem;
}
.bl-round {
  height: 48px;
}
.bl-lenovo {
  height: 30px;
}
.bl-asus {
  height: 23px;
}
.bl-acer {
  height: 26px;
}
.bl-msi {
  height: 34px;
}
.bl-ms {
  height: 27px;
}
.bl-samsung {
  height: 17px;
}
.bl-lg {
  height: 30px;
}

.bl-word {
  font-family: var(--font-body);
  color: #1d1d1f;
  white-space: nowrap;
  line-height: 1;
}
.bl-iphone {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.bl-macbook {
  font-size: 1.35rem;
  font-weight: 500;
  color: #3c4250;
  letter-spacing: -0.01em;
}
.bl-msi-text {
  font-size: 1.7rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #111;
}
.bl-stack {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  color: #5e5e5e;
}
.bl-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.bl-galaxy {
  font-size: 1rem;
  font-weight: 600;
}
.bl-gram {
  font-size: 1.4rem;
  font-weight: 400;
  color: #333;
}

@media (max-width: 575.98px) {
  .brand-panel .marquee-track {
    gap: 0.75rem;
  }
  .brand-panel .brand-logo {
    width: 150px;
    height: 76px;
    padding: 0 0.8rem;
    border-radius: 16px;
    gap: 0.4rem;
  }
  .bl-apple {
    height: 36px;
  }
  .bl-round {
    height: 40px;
  }
  .bl-mini-apple {
    height: 17px;
  }
  .bl-lenovo,
  .bl-lg {
    height: 25px;
  }
  .bl-asus {
    height: 19px;
  }
  .bl-acer {
    height: 21px;
  }
  .bl-msi {
    height: 28px;
  }
  .bl-ms {
    height: 22px;
  }
  .bl-samsung {
    height: 14px;
  }
  .bl-iphone {
    font-size: 1.35rem;
  }
  .bl-macbook {
    font-size: 1.1rem;
  }
  .bl-msi-text {
    font-size: 1.4rem;
  }
  .bl-stack {
    font-size: 0.8rem;
  }
  .bl-galaxy {
    font-size: 0.85rem;
  }
  .bl-gram {
    font-size: 1.15rem;
  }
}

/* Brand section – its own framed box so it stands apart from the sections around it */
.brands {
  background: #fff;
  padding-block: clamp(14px, 2vw, 28px) 0;
}
.brands-box {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0 0.9rem;
  border-radius: 28px;
  background:
    radial-gradient(
      500px 220px at 0% 0%,
      rgba(30, 144, 255, 0.1),
      transparent 70%
    ),
    radial-gradient(
      500px 220px at 100% 100%,
      rgba(247, 148, 29, 0.1),
      transparent 70%
    ),
    linear-gradient(180deg, #f5f8ff 0%, #eaf1ff 100%);
  border: 1px solid #d9e5fb;
  box-shadow: 0 30px 60px -40px rgba(16, 42, 100, 0.45);
}
.brands-box .brands-heading {
  margin-bottom: 0.5rem;
}
@media (max-width: 575.98px) {
}
/* full-width brand band (edge to edge) */
.brands-box {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: 0 30px 60px -48px rgba(16, 42, 100, 0.5);
}
.brands-box .brand-panel .marquee {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

/* WhatsApp actions use the brand blue (no bright green buttons / green check icons) */
.btn-ap-whatsapp,
.mcb-wa,
.mcb-wa:hover {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-blue);
}
.btn-ap-whatsapp:hover {
  color: #fff;
  background: linear-gradient(135deg, #1a7fe6 0%, #0e3585 100%);
  box-shadow: 0 18px 36px -12px rgba(21, 70, 168, 0.6);
}
.search-btn {
  padding-right: var(--btn-pad-x);
}
.area-points i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ap-primary);
  background: rgba(30, 144, 255, 0.12);
}
.toast-ap i {
  color: #7cc4ff;
}

/* Stats band – clean gradient, no glow orbs (they left hard-edged blue / brown blotches) */
/* photo: Daniel Romero on Unsplash (hand holding four iPhones) under a navy overlay */
.stats-section {
  background:
    linear-gradient(
      110deg,
      rgba(6, 20, 51, 0.95) 0%,
      rgba(21, 70, 168, 0.84) 52%,
      rgba(6, 20, 51, 0.95) 100%
    ),
    url("../images/phones/counter.jpg") center 40% / cover no-repeat,
    #0a1f4d;
  isolation: isolate;
  padding-block: clamp(48px, 7vw, 76px);
}
.stats-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(30, 144, 255, 0.22),
    transparent 65%
  );
}
.stats-section .container {
  max-width: 1160px;
}
.stats-section .row {
  row-gap: 1rem !important;
}
.stat {
  height: 100%;
  padding: clamp(1.35rem, 2.5vw, 2rem) 1rem;
  border: 1px solid rgba(133, 174, 255, 0.23);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(7, 26, 68, 0.78),
    rgba(13, 50, 112, 0.62)
  );
  box-shadow:
    0 16px 36px rgba(2, 10, 29, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 148, 29, 0.58);
  box-shadow:
    0 22px 42px rgba(2, 10, 29, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
}
.stat > i {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 17px;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(145deg, #ffad45, #f07d12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 8px 18px rgba(247, 148, 29, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.stat:hover > i {
  transform: translateY(-2px) scale(1.04);
}
.stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  letter-spacing: -0.045em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.18);
}
.stat p {
  margin-top: 0.65rem;
  color: rgba(231, 239, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}
.stats-bg {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.stats-orb {
  display: none;
}
@media (max-width: 575.98px) {
  .stats-section {
    padding-block: 44px;
  }
  .stat {
    padding: 1.1rem 0.65rem;
    border-radius: 17px;
  }
  .stat > i {
    width: 46px;
    height: 46px;
    margin-bottom: 0.8rem;
    border-radius: 14px;
    font-size: 1.2rem;
  }
  .stat-num {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }
  .stat p {
    font-size: 0.82rem;
    line-height: 1.35;
  }
}

/* ==========================================================================
   About us – compact, fits one screen on desktop
   ========================================================================== */
.about-section {
  overflow: hidden;
  padding-block: clamp(56px, 6vw, 84px);
}
.about-section .section-title {
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
.about-section .section-lead {
  margin-bottom: 0;
}
.about-section {
  background:
    radial-gradient(
      520px 320px at 92% 20%,
      rgba(30, 144, 255, 0.08),
      transparent 70%
    ),
    radial-gradient(
      420px 300px at 0% 90%,
      rgba(247, 148, 29, 0.08),
      transparent 70%
    ),
    #fff;
}
.about-visual {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  padding: 1.25rem 2.25rem 1.5rem;
}

/* decorative shapes peeking out behind the frame */
.about-ring {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-orange);
  box-shadow: var(--shadow-orange);
}
.about-ring::after {
  /* thin outline ring around the orange circle */
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(247, 148, 29, 0.45);
  animation: spin 40s linear infinite;
}
.about-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 24px;
  background-image: radial-gradient(
    rgba(21, 70, 168, 0.35) 2px,
    transparent 2px
  );
  background-size: 16px 16px;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}

/* arch-shaped photo frame */
.about-arch {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 4.9;
  overflow: hidden;
  border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px;
  border: 6px solid #fff;
  background:
    radial-gradient(circle at 50% 30%, #ffffff 0, transparent 60%),
    linear-gradient(175deg, #dfeaff 0%, #eef4ff 50%, #ffe7cc 100%);
  box-shadow:
    0 40px 80px -36px rgba(16, 42, 100, 0.45),
    0 0 0 1px var(--ap-border);
}
.about-arch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  mix-blend-mode: multiply; /* white studio background takes the frame colour */
  transition: scale 1.2s var(--ease);
}
.about-visual:hover .about-arch img {
  scale: 1.04;
}

/* floating info cards */
.about-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ap-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow:
    0 20px 40px -18px rgba(16, 42, 100, 0.45),
    0 0 0 1px rgba(227, 233, 245, 0.9);
  animation: floatY 6s ease-in-out infinite;
}
.about-float strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ap-ink);
}
.about-float small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ap-muted);
}
.af-rating {
  left: -45px;
  top: 13%;
}
/* no spare gutter on tablets/phones – keep the badge inside the screen */
@media (max-width: 1199.98px) {
  .af-rating {
    left: 0;
    top: 2%;
  }
}
.af-paid {
  right: 0;
  top: 56%;
  animation-delay: -2s;
}
.af-devices {
  left: 0.5rem;
  bottom: 9%;
  animation-delay: -4s;
}
.af-num {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ap-primary);
  line-height: 1;
}
.af-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--grad-orange);
  box-shadow: var(--shadow-orange);
}
.af-blue {
  background: var(--grad-primary);
  box-shadow: var(--shadow-blue);
}
@media (prefers-reduced-motion: reduce) {
  .about-float,
  .about-ring::after {
    animation: none;
  }
}

/* three short values side by side */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
}
.about-values li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.about-values li:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 144, 255, 0.35);
  box-shadow: var(--shadow);
}
.about-values h3 {
  font-size: 0.98rem;
  margin-bottom: 0.1rem;
}
.about-values p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}
.av-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-blue);
}
.av-orange {
  background: var(--grad-orange);
  box-shadow: var(--shadow-orange);
}
.av-sky {
  background: linear-gradient(135deg, #5cc0ff, #1e90ff);
  box-shadow: 0 14px 30px -10px rgba(30, 144, 255, 0.5);
}

/* six top-nav items need a little less padding on small laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-link-ap {
    padding-inline: 0.45rem;
    font-size: 0.86rem;
  }
  .nav-link-ap::after {
    left: 0.45rem;
    right: 0.45rem;
  }
}
@media (max-width: 991.98px) {
  .about-section .row {
    --bs-gutter-y: 2.25rem;
  }
  .about-visual {
    max-width: 420px;
  }
  .about-section .col-lg-6:last-child {
    text-align: center;
  }
  .about-section .section-lead {
    margin-inline: auto;
  }
  .about-values {
    max-width: 560px;
    margin-inline: auto;
  }
  .about-values li {
    align-items: center;
    text-align: center;
  }
  .about-section .d-flex {
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .about-visual {
    padding: 1rem 1.5rem 1.25rem;
  }
  .about-float {
    padding: 0.5rem 0.7rem;
    gap: 0.5rem;
    font-size: 0.7rem;
    border-radius: 13px;
  }
  .about-float strong {
    font-size: 0.8rem;
  }
  .about-float small {
    font-size: 0.64rem;
  }
  .af-num {
    font-size: 1.25rem;
  }
  .af-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.85rem;
  }
  .about-values {
    gap: 0.5rem;
  }
  .about-values li {
    padding: 0.75rem 0.4rem;
    gap: 0.45rem;
  }
  .about-values h3 {
    font-size: 0.8rem;
  }
  .about-values p {
    font-size: 0.7rem;
  }
  .av-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}
@media (hover: none) {
  .about-values li:hover {
    transform: none;
  }
}

/* --- WhatsApp details form (modal) – compact --- */
.wa-modal .modal-dialog { max-width: 420px; padding: 0 16px; margin-left: auto; margin-right: auto; }
.wa-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.5rem;
  background: var(--ap-surface);
  box-shadow: var(--shadow-lg);
}
.wa-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--ap-bg); color: var(--ap-muted); font-size: 0.85rem;
  transition: background-color 0.3s, color 0.3s;
}
.wa-close:hover { background: var(--ap-border); color: var(--ap-ink); }
.wa-head { display: flex; gap: 0.75rem; margin-bottom: 1.4rem; padding-right: 2.25rem; }
.wa-head-icon {
  flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 13px; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, #3ddc84, #128c4a);
  box-shadow: 0 10px 20px -10px rgba(18, 140, 74, 0.6);
}
.wa-head h2 { font-size: 1.1rem; margin: 0 0 0.1rem; }
.wa-head p { font-size: 0.8rem; color: var(--ap-muted); margin: 0; }
.wa-form { display: grid; gap: 0.95rem; }
.wa-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.7rem; }
.wa-field label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--ap-ink); margin-bottom: 0.35rem; }
.wa-optional { font-weight: 500; color: var(--ap-muted); }
.wa-field input {
  width: 100%; height: 50px; padding: 0 0.95rem;
  border: 1.5px solid var(--ap-border); border-radius: 10px;
  background: var(--ap-bg); color: var(--ap-ink); font-size: 1rem;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.wa-field input:focus { outline: 0; border-color: var(--ap-sky); background: #fff; box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12); }
.wa-input-prefix { position: relative; }
.wa-input-prefix span {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  font-size: 0.95rem; font-weight: 700; color: var(--ap-muted); pointer-events: none;
}
.wa-input-prefix input { padding-left: 2.75rem; }
.wa-error { display: none; margin-top: 0.2rem; font-size: 0.72rem; font-weight: 600; color: #c62828; }
.wa-field.invalid input { border-color: #e53935; background: #fff; }
.wa-field.invalid .wa-error { display: block; }
.wa-submit { width: 100%; height: 54px; margin-top: 0.45rem; }
.wa-note { margin: 0; text-align: center; font-size: 0.72rem; color: var(--ap-muted); }
.wa-note i { color: var(--ap-success); }
.modal-backdrop.show { opacity: 0.55; backdrop-filter: blur(3px); }
@media (max-width: 359.98px) {
  .wa-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Express pickup – within 2–3 hours
   ========================================================================== */
.express-section {
  padding-top: 0; /* sits right under "How it works", which has its own bottom padding */
  background: #fff;
}
.express-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: var(--grad-navy);
  color: #b9c7e6;
  box-shadow: var(--shadow-lg);
}
.express-card::before {
  /* faint grid like the stats band */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.express-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -160px;
  bottom: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.32), transparent 65%);
  pointer-events: none;
}
.express-title {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0.9rem;
  text-wrap: balance;
}
.express-lead {
  font-size: 1.02rem;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

/* three mini steps */
.express-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.express-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.4s, transform 0.4s var(--ease);
}
.express-points li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.express-points strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.25;
}
.express-points small {
  display: block;
  font-size: 0.74rem;
  color: rgba(231, 239, 255, 0.72);
}
.ep-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.05rem;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-blue);
}
.ep-orange {
  background: var(--grad-orange);
  box-shadow: var(--shadow-orange);
}
.ep-green {
  background: linear-gradient(135deg, #3ddc84, #128c4a);
  box-shadow: 0 10px 20px -10px rgba(18, 140, 74, 0.6);
}
.express-note {
  margin: 1.1rem 0 0;
  font-size: 0.8rem;
  color: rgba(231, 239, 255, 0.7);
}
.express-note i {
  color: #ffc56b;
  margin-right: 0.25rem;
}

/* countdown-style visual */
.express-visual {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}
.express-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}
.express-ring circle {
  fill: none;
  stroke-width: 10;
}
.er-track {
  stroke: rgba(255, 255, 255, 0.08);
}
.er-progress {
  stroke-linecap: round;
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
  filter: drop-shadow(0 0 10px rgba(247, 148, 29, 0.55));
  transition: stroke-dashoffset 2s var(--ease) 0.3s;
}
.express-card.in-view .er-progress {
  stroke-dashoffset: 135; /* ~3/4 filled */
}
.express-time {
  position: absolute;
  inset: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(30, 144, 255, 0.28), rgba(10, 31, 77, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.et-img {
  width: 64%;
  height: auto;
  margin-bottom: 0.2rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}
.et-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}
.et-unit {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(231, 239, 255, 0.78);
}
.express-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ap-ink);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.5);
  animation: floatY 6s ease-in-out infinite;
}
.express-badge i {
  color: var(--ap-orange);
}
.eb-top {
  top: 6%;
  left: -4%;
}
.eb-bottom {
  bottom: 8%;
  right: -4%;
  animation-delay: -3s;
}
.eb-bottom i {
  color: var(--ap-success);
}

@media (prefers-reduced-motion: reduce) {
  .express-badge {
    animation: none;
  }
  .er-progress {
    transition: none;
    stroke-dashoffset: 135;
  }
}
@media (max-width: 991.98px) {
  .express-card .col-lg-7 {
    text-align: center;
  }
  .express-lead {
    margin-inline: auto;
  }
  .express-points {
    max-width: 620px;
    margin-inline: auto;
  }
  .express-card .d-flex {
    justify-content: center;
  }
  .express-visual {
    width: min(240px, 80%);
  }
  .express-visual-m {
    margin-block: 1.5rem 1.75rem;
  }
}
@media (max-width: 575.98px) {
  .express-points {
    grid-template-columns: 1fr;
    max-width: 320px;
    text-align: left;
  }
  .express-card .d-flex .btn-ap {
    width: 100%;
    justify-content: center;
  }
  .express-badge {
    font-size: 0.68rem;
    padding: 0.4rem 0.7rem;
  }
  .eb-top {
    left: -10%;
  }
  .eb-bottom {
    right: -10%;
  }
}
@media (hover: none) {
  .express-points li:hover {
    transform: none;
  }
}

/* --- Express pickup: PIN code checker (opens from "Book Express Pickup") --- */
.express-check {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s var(--ease), opacity 0.4s, margin 0.5s var(--ease);
}
.express-check.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 1.25rem;
}
.ec-inner {
  min-height: 0;
  overflow: hidden;
}
.express-check.is-open .ec-inner {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}
.ec-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.ec-row {
  position: relative;
  display: flex;
  gap: 0.5rem;
}
.ec-row > i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--ap-orange);
  pointer-events: none;
}
.ec-row input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 0.9rem 0 2.4rem;
  border: 1.5px solid transparent;
  border-radius: 50px;
  background: #fff;
  color: var(--ap-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ec-row input:focus {
  outline: 0;
  border-color: var(--ap-orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.3);
}
.ec-submit {
  flex-shrink: 0;
  height: 50px;
  --btn-pad-x: 1.4rem;
  border: 2px solid #ffd08a;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 0 rgba(255, 176, 59, 0.7), 0 8px 22px rgba(247, 148, 29, 0.55);
  animation: ecPulse 1.8s ease-out infinite;
}
.ec-submit:hover,
.ec-submit:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 0 0 4px rgba(255, 208, 138, 0.45), 0 10px 28px rgba(247, 148, 29, 0.7);
  animation-play-state: paused;
}
@keyframes ecPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 176, 59, 0.7), 0 8px 22px rgba(247, 148, 29, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 176, 59, 0), 0 8px 22px rgba(247, 148, 29, 0.55); }
  100% { box-shadow: 0 0 0 0 rgba(255, 176, 59, 0), 0 8px 22px rgba(247, 148, 29, 0.55); }
}

/* result message */
.ec-result:empty {
  display: none;
}
.ec-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.75rem;
  margin-top: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  color: var(--ap-body);
  animation: ecIn 0.4s var(--ease);
}
.ec-result > i {
  align-self: center;
  font-size: 1.35rem;
  line-height: 1;
}
.ec-result > div {
  flex: 1;
  min-width: 180px;
}
.ec-result strong {
  display: block;
  color: var(--ap-ink);
  font-size: 0.9rem;
}
.ec-result small {
  display: block;
  font-size: 0.78rem;
}
.ec-result.is-ok > i { color: #f57c00; }
.ec-result.is-no > i { color: #e53935; }
.ec-result.is-error > i { color: #e53935; }
.ec-book {
  --btn-pad-y: 0.65rem;
  --btn-pad-x: 1.1rem;
  font-size: 0.85rem;
}
@keyframes ecIn {
  from { opacity: 0; translate: 0 6px; }
}

/* PIN list */
.ec-pins {
  margin-top: 1rem;
}
.ec-pins-title {
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.ec-pins-title i {
  color: #ffc56b;
}
.ec-group + .ec-group {
  margin-top: 0.6rem;
}
.ec-group-name {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(231, 239, 255, 0.6);
}
.ec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ec-chip {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  color: #e7efff;
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.ec-chip:hover,
.ec-chip:focus-visible {
  border-color: rgba(247, 148, 29, 0.6);
  background: rgba(247, 148, 29, 0.15);
  color: #fff;
}
.ec-chip.active {
  border-color: transparent;
  background: var(--grad-orange);
  color: #fff;
}
@media (max-width: 991.98px) {
  .express-check {
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 575.98px) {
  .express-check.is-open .ec-inner {
    padding: 0.9rem;
  }
  .ec-submit {
    --btn-pad-x: 1rem;
  }
  .ec-book {
    width: 100%;
    justify-content: center;
  }
  .ec-chip {
    padding: 0.4rem 0.7rem; /* bigger tap target */
  }
}
@media (prefers-reduced-motion: reduce) {
  .express-check,
  .ec-result,
  .ec-submit {
    transition: none;
    animation: none;
  }
}
