.nav-logo {
  height: 32px;
  width: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.nav-logo:hover {
  transform: scale(1.1);
}

/* Marquee */
@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.marquee-left  { animation: marquee-left  28s linear infinite; }
.marquee-right { animation: marquee-right 28s linear infinite; }
.marquee-left:hover,
.marquee-right:hover { animation-play-state: paused; }

.brand-item {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0d5c5c;
  white-space: nowrap;
  cursor: default;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  padding: 14px 0;
}
.brand-item:hover { opacity: 1; }

.industry-tag {
  font-size: 13px;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 20px;
  background: transparent;
  cursor: default;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.industry-tag:hover {
  background: #0d5c5c;
  border-color: #0d5c5c;
  color: #fff;
}

.about-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 32px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.about-card:hover {
  box-shadow: 0 8px 32px rgba(13,92,92,0.10);
  border-color: #b2d8d8;
  transform: translateY(-2px);
}

.tap-box {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.tap-box:hover { background: rgba(255,255,255,0.1); transform: scale(1.04); }
.tap-box.lit {
  background: rgba(163,255,0,0.15);
  border-color: rgba(163,255,0,0.7);
  box-shadow: 0 0 18px rgba(163,255,0,0.35);
  color: #a3ff00;
}

/* What We Do */
.wwd-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.wwd-card:hover {
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}
.step-box {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  cursor: grab;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.step-box:hover { transform: translateY(-3px); }
.active-step {
  border: 1px solid #22C55E !important;
  box-shadow: 0 0 12px rgba(34,197,94,0.6);
}
.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.flow-item:hover { transform: translateY(-4px); }
.flow-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.flow-item.active .flow-icon {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}
.flow-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.flow-item.flow-locked {
  opacity: 0.3;
  pointer-events: none;
}

@keyframes flow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(96,165,250,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(96,165,250,0); }
}
.flow-item.flow-blink .flow-icon {
  border-color: rgba(96,165,250,0.8) !important;
  animation: flow-pulse 1.2s ease infinite;
}
.flow-arrow {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
  flex-shrink: 0;
}
.module-item {
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  cursor: grab;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.module-item:hover { background: rgba(255,255,255,0.1); }

.web-module {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  user-select: none;
}
.web-module:hover { background: rgba(255,255,255,0.12); transform: translateX(3px); }
.web-module.selected {
  background: rgba(167,139,250,0.2);
  border-color: rgba(167,139,250,0.8);
  box-shadow: 0 0 12px rgba(167,139,250,0.3);
  color: #fff;
}

.web-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: default;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.web-drop.ready {
  background: rgba(167,139,250,0.08);
  color: rgba(167,139,250,0.7);
  cursor: pointer;
  animation: zone-pulse 1s ease infinite;
}
.web-drop.ready:hover {
  background: rgba(167,139,250,0.2);
  color: #a78bfa;
}
@keyframes zone-pulse {
  0%,100% { border-color: rgba(167,139,250,0.2); }
  50%      { border-color: rgba(167,139,250,0.6); }
}
.drop-zone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  transition: background 0.2s ease;
}
.drop-zone.drag-over {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

.service-label {
  font-size: 0.8rem;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.25s ease, font-weight 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, padding 0.25s ease;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-block;
}

.service-label:hover {
  color: #0d5c5c;
  font-weight: 600;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(13, 92, 92, 0.12);
  transform: scale(1.06);
  cursor: pointer;
}

.service-label.active {
  color: #0d5c5c;
  font-weight: 700;
}

/* Services flip cards */
.svc-card {
  position: relative;
  border-radius: 16px;
  min-height: 260px;
  cursor: pointer;
  perspective: 1000px;
}
.svc-front, .svc-back {
  position: absolute;
  inset: 0;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease, opacity 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.svc-front {
  background: rgba(255,255,255,0.85);
  transform: rotateY(0deg);
  opacity: 1;
}
.svc-back {
  background: #0d3d3d;
  transform: rotateY(180deg);
  opacity: 0;
}
.svc-card:hover .svc-front {
  transform: rotateY(-180deg);
  opacity: 0;
}
.svc-card:hover .svc-back {
  transform: rotateY(0deg);
  opacity: 1;
}
.svc-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #e8f4f4;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #0d5c5c;
  flex-shrink: 0;
}
.svc-title {
  font-size: 15px; font-weight: 700;
  color: #1F2937; margin-bottom: 8px;
}
.svc-desc {
  font-size: 13px; color: #6B7280;
  line-height: 1.6; flex: 1;
}
.svc-hint {
  font-size: 10px; letter-spacing: 0.1em;
  color: #9ca3af; text-transform: uppercase;
  margin-top: 16px;
}
.svc-icon-wrap-dark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0;
}
.svc-back-top {
  display: flex; align-items: center;
  gap: 10px; margin-bottom: 14px;
}
.svc-back-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; color: white;
  text-transform: uppercase;
}
.svc-back-desc {
  font-size: 13px; color: rgba(255,255,255,0.7);
  line-height: 1.6; flex: 1;
}
.svc-stat {
  font-size: 22px; font-weight: 900;
  color: #a3ff00; margin-top: 12px; margin-bottom: 4px;
}
.svc-stat span {
  font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.svc-learn {
  font-size: 13px; font-weight: 600;
  color: #a3ff00; text-decoration: none;
  margin-top: 8px;
}

/* Ad Builder panel fade-in */
@keyframes ab-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#ab-panel-0, #ab-panel-1, #ab-panel-2, #ab-panel-3, #ab-panel-4 {
  animation: ab-fade-in 0.25s ease;
}
