/* css/style.css */

/* Logo (navbar) */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ===== Hero Ads (like the reference image) ===== */
.hero-ads {
  background: #ffffff;
}

.hero-wrap {
  border-radius: 24px;
  padding: 64px 18px;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(24, 160, 88, 0.1),
      transparent 45%
    ),
    radial-gradient(circle at 80% 30%, rgba(255, 199, 0, 0.1), transparent 45%),
    linear-gradient(#fbfbfb, #fbfbfb);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);

  /* subtle grid like the screenshot */
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(24, 160, 88, 0.1), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(255, 199, 0, 0.1), transparent 45%),
    linear-gradient(#fbfbfb, #fbfbfb);
  background-size: 90px 90px, 90px 90px, auto, auto, auto;
  background-position: center;
}

.hero-inner {
  max-width: 860px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #0f5132;
  background: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.2);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #198754;
}

.hero-title {
  margin-top: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.06;
  color: #0b1f16;
}

.hero-highlight {
  background: linear-gradient(transparent 62%, rgba(255, 214, 0, 0.65) 62%);
  padding: 0 6px;
  border-radius: 8px;
}

.hero-subtitle {
  margin: 18px auto 0;
  max-width: 680px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  line-height: 1.7;
}

.hero-btn-primary {
  border-radius: 999px;
  background: #0b1f16;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.hero-btn-secondary {
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-btn-secondary:hover {
  background: #f8f9fa;
}

.hero-logos .hero-mini {
  font-size: 12px;
  font-weight: 600;
}

.hero-logo {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.01em;
}

/* Floating avatars */
.hero-avatar {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid rgba(15, 81, 50, 0.75);
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
}

/* avatar positions */
.hero-avatar-1 {
  left: 32px;
  top: 42px;
}
.hero-avatar-2 {
  right: 36px;
  top: 60px;
}
.hero-avatar-3 {
  left: 68px;
  bottom: 64px;
}
.hero-avatar-4 {
  right: 70px;
  bottom: 76px;
}

/* Responsive: hide avatars on very small screens */
@media (max-width: 575.98px) {
  .hero-avatar {
    display: none;
  }
  .hero-wrap {
    padding: 46px 16px;
  }
}

/* Hover to open dropdown on desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
.card-body {
  gap: 6px;
}
/* Product cards */
.product-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

/* Consistent media box for ALL images */
.product-media {
  height: 220px; /* adjust: 200–260 */
  padding: 14px;
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* No stretch, no distortion */
.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Price highlight */
.price {
  color: #dc3545;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  background: #fff;
}

.footer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-list li {
  margin-bottom: 0.45rem;
}

.footer-link {
  color: #212529;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===== Integrations section (below products) ===== */
.integrations-section {
  --bg: #173e3a; /* deep green */
  --bg2: #133531;
  --card: rgba(255, 255, 255, 0.08);
  --cardBorder: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --grid: rgba(255, 255, 255, 0.08);
}

.integrations-wrap {
  border-radius: 22px;
  padding: 48px 18px 26px;
  background:
      /* subtle grid */ linear-gradient(
      to right,
      var(--grid) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(255, 214, 0, 0.1), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(25, 135, 84, 0.14), transparent 42%),
    linear-gradient(135deg, var(--bg), var(--bg2));
  background-size: 90px 90px, 90px 90px, auto, auto, auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.integrations-inner {
  max-width: 760px;
}

.integrations-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.integrations-title {
  margin-top: 12px;
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--text);
}

.integrations-subtitle {
  margin: 10px auto 0;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.integrations-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding-bottom: 2px;
}

.integrations-link:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

/* Tiles */
.integrations-tiles {
  position: relative;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.tile-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 14px 6px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.tile-row::-webkit-scrollbar {
  height: 8px;
}
.tile-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.tile-row-2 {
  opacity: 0.95;
  transform: translateY(-4px);
}

.tile {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--cardBorder);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tile img {
  width: 26px;
  height: 26px;
  opacity: 0.95;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}

.tile:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Responsive spacing */
@media (max-width: 575.98px) {
  .integrations-wrap {
    padding: 36px 14px 18px;
  }
  .tile {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .tile img {
    width: 24px;
    height: 24px;
  }
}
