/* Hero background from original site */
.hero-bg {
  background-image: url('../images/dw.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.15;
}

/* Navbar scrolled state */
#navbar.scrolled {
  background-color: rgba(244, 241, 236, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(77, 64, 54, 0.06);
}

/* Active nav link */
.nav-link.active,
.mobile-nav-link.active {
  background-color: #E8E4DE;
  color: #4D4036;
  font-weight: 600;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger product cards */
.product-card:nth-child(2) { transition-delay: 0.1s; }
.product-card:nth-child(3) { transition-delay: 0.2s; }

/* Smooth scroll offset for fixed navbar */
section {
  scroll-margin-top: 5rem;
}

@media (min-width: 1024px) {
  section {
    scroll-margin-top: 6rem;
  }
}

/* Screenshot frame */
.screenshot-frame {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(77, 64, 54, 0.04),
    0 20px 40px rgba(77, 64, 54, 0.12);
  border: 1px solid rgba(77, 64, 54, 0.06);
}

.screenshot-frame-lg {
  border-radius: 24px;
  box-shadow:
    0 8px 12px rgba(77, 64, 54, 0.06),
    0 30px 60px rgba(77, 64, 54, 0.18);
}

.screenshot-frame img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.screenshot-frame-lg img {
  border-radius: 24px;
}

/* Hero float animation */
.hero-float {
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Platform tabs */
.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #57534A;
  background: #F4F1EC;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.platform-tab:hover {
  background: #E8E4DE;
  color: #4D4036;
}

.platform-tab.active {
  background: #9D9084;
  color: #F4F1EC;
  box-shadow: 0 4px 12px rgba(157, 144, 132, 0.35);
}

/* Platform panels */
.platform-panel {
  display: none;
}

.platform-panel.active {
  display: block;
  animation: platformFadeIn 0.45s ease forwards;
}

@keyframes platformFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Protected images — prevent copy */
.protected-frame {
  position: relative;
}

.protected-shield {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: transparent;
  cursor: default;
}

.protected-img,
.protected-frame img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.report-card:nth-child(2) { transition-delay: 0.1s; }
.report-card:nth-child(3) { transition-delay: 0.2s; }

.product-thumb {
  position: relative;
}

.product-thumb img {
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.03);
}

/* Services section */
.service-showcase {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(77, 64, 54, 0.08);
  border: 1px solid rgba(77, 64, 54, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-showcase-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(157, 144, 132, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: #9D9084;
}

.service-stat {
  background: #F4F1EC;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(77, 64, 54, 0.04);
  border: 1px solid rgba(77, 64, 54, 0.06);
  transition: all 0.25s ease;
}

.service-item:hover {
  box-shadow: 0 4px 24px rgba(77, 64, 54, 0.1);
  transform: translateX(4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(157, 144, 132, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #9D9084;
  transition: all 0.25s ease;
}

.service-item:hover .service-icon {
  background: #9D9084;
  color: #F4F1EC;
}
