/* ===== LOCAL FONTS ===== */
@font-face {
  font-family: "HelveticaNowDisplay";
  src: url("../fonts/HelveticaNowDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik";
  src: url("../fonts/fonnts.com-Aeonik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WillPatersonHand";
  src: url("../fonts/Will Paterson Hand (Fontations)-normal-400-100.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GeistPixel";
  src: url("../fonts/GeistPixel-Square.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BASE ===== */
body {
  /* Paragraph / body copy → Aeonik */
  font-family: "Aeonik", "Inter", sans-serif;
  overflow-x: hidden;
}

/* ===== FONT UTILITY CLASSES ===== */

/* Headings + CTAs → Helvetica Now Display */
.font-display {
  font-family:
    "HelveticaNowDisplay", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

/* Handwritten taglines → Will Paterson Hand */
.font-handwritten {
  font-family: "WillPatersonHand", "Brush Script MT", "Segoe Script", cursive;
}

/* ===== HERO BACKGROUND ===== */
.hero-bg {
  background: linear-gradient(
    160deg,
    #001a11 0%,
    #002818 25%,
    #003822 55%,
    #002d1c 100%
  );
  position: relative;
  background-image: url(../img/hero-bg.svg);
  background-size: cover;
  background-position: center;
}

.hero-world-map {
  background-image: url(../img/hero-map.png);
  width: 60%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  background-size: contain;
  background-position: center left;
}

.search-bar {
  position: relative;
}

.search-bar::after {
  content: "";
  width: 170px;
  height: 170px;
  background-image: url(../img/hero-unlimited-searches.svg);
  background-size: contain;
  position: absolute;
  right: -169px;
  top: -18px;
}
/* ===== PILL BLUR ===== */
.pill-blur {
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

/* ===== FAQ ACCORDION ===== */
details summary {
  list-style: none;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-plus {
  transition: transform 0.25s ease;
  display: inline-block;
}

/* ===== STICKY LAYOUT ===== */
.sticky-left {
  position: sticky;
  top: 60px;
}

/* ===== TRUST BADGE MARQUEE ===== */
.trust-badge-marquee-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}

.trust-badge-track {
  display: flex;
  align-items: center;
  width: 100%;
  /* left-to-right: from -50% → 0% over 2 identical sets */
  animation: badge-marquee-ltr 28s linear infinite;
  will-change: transform;
}

.trust-badge-track:hover {
  animation-play-state: paused;
}

@keyframes badge-marquee-ltr {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}

/* Each individual badge item inside the track */
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
  white-space: nowrap;
  flex-shrink: 0;
  /* badge labels use Aeonik (body font, already inherited) */
  font-family: "Aeonik", "Inter", sans-serif;
}

/* Separator dot between badge items */
.trust-badge-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.trial-btn {
  position: relative;
}

.trial-btn::after {
  content: "";
  width: 179px;
  height: 179px;
  background-image: url(../img/Free-Trial-Search-arrow.svg);
  background-size: contain;
  position: absolute;
  left: -170px;
  top: 30px;
}

.knowledge-card {
  position: relative;
}

.knowledge-card::after {
  content: "";
  width: 179px;
  height: 179px;
  background-image: url(../img/service-provide-arrow.svg);
  background-size: contain;
  position: absolute;
  right: -120px;
  top: -149px;
}

@media (max-width: 768px) {
  .search-bar::after,
  .trial-btn::after,
  .knowledge-card::after {
    width: 0px;
  }
}
