/* AdWizards.ai overrides: keep Webflow interactions, add video styles and branding */

/* ===== Hide Webflow badges/branding/popups ===== */
.w-webflow-badge,
.w-webflow-branding,
.page-popups-wrapper,
.buy-template-popup,
.all-templates-popup {
  display: none !important;
  visibility: hidden !important;
}

/* ===== Navbar Branding ===== */
.navbar-brand img {
  display: none !important;
}

.navbar-brand::after {
  content: "AdWizards";
  display: inline-block;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .navbar-brand::after {
    font-size: 16px;
  }
}

/* ===== Hero Video Styles ===== */
.hero-images-grid video {
  width: 100%;
  height: auto !important;
  aspect-ratio: 9 / 16;
  object-fit: cover !important;
  background: #000;
  border-radius: 24px !important;
  display: block;
}

.hero-section .mobile-mockup-inner {
  overflow: hidden !important;
  border-radius: 50px !important;
  position: relative !important;
}

.hero-images-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
  grid-column-gap: 1.25vw !important;
  grid-row-gap: 1.25vw !important;
}

@media (max-width: 991px) {
  .hero-images-grid {
    grid-column-gap: 10px !important;
    grid-row-gap: 10px !important;
  }
  
  .hero-images-grid video {
    width: 185px;
  }

  .hero-section .mobile-mockup-inner {
    width: 200px !important;
  }
}

/* ===== Features Phone Mockup Video ===== */
.feature-mockup-inner {
  overflow: hidden !important;
  border-radius: 40px !important;
  position: relative !important;
}

.feature-mockup-inner video.mobile-image-bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 40px !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: scale(1.02) !important;
}

.feature-mockup-inner .mobile-frame {
  position: relative !important;
  z-index: 10 !important;
}

/* ===== Recent Work Videos ===== */
.review-card video.review-card-image {
  width: 100% !important;
  border-radius: 12px !important;
  display: block !important;
  margin-bottom: 15px;
}

/* ===== CTA Section Videos ===== */
video.cta-image {
  width: 29vw !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 32px !important;
  box-shadow: 0 2px 8px #00000040 !important;
}

@media screen and (max-width: 991px) {
  video.cta-image {
    width: 250px !important;
    border-radius: 24px !important;
  }
}

@media screen and (max-width: 767px) {
  video.cta-image {
    width: 200px !important;
    border-radius: 20px !important;
  }
}

/* ===== Pricing Toggle Control ===== */
.toggle-switch,
.toggle-switch * {
  transform: none !important;
  animation: none !important;
}

.toggle-indicator {
  position: absolute !important;
  left: 4px !important;
  right: auto !important;
  transition: left 0.2s ease !important;
}

.toggle-switch.annual .toggle-indicator {
  left: calc(100% - 48% - 4px) !important;
}

.plan-prices-wrapper,
.plan-price-block,
.plan-price {
  position: static !important;
  transform: none !important;
}

/* Price styling */
#plans .plans-grid .plan-card .plan-price {
  line-height: 1.3;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip !important;
  font-variant-numeric: tabular-nums;
}

#plans .plans-grid .plan-card .plan-prices-wrapper .plan-price:first-child {
  font-size: 1.1em;
  font-weight: 600;
}

#plans .plans-grid .plan-card .plan-prices-wrapper .plan-price + .plan-price {
  opacity: .85;
  font-size: .85em;
  white-space: normal !important;
  overflow: visible !important;
  line-height: 1.35;
  display: block;
  margin-top: 8px;
  min-height: 2.5em;
  text-align: left;
}

#plans .plans-grid .plan-card .plan-prices-wrapper {
  overflow: visible !important;
  min-height: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#plans .plans-grid .plan-card .plan-price-block {
  overflow: visible !important;
  min-height: 70px;
}

/* ===== Z-index and positioning fixes ===== */
.mobile-frame {
  z-index: 3;
  position: relative;
}

.hero-section .mobile-bg {
  display: none !important;
}

.hero-section .mobile-image-bg {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  z-index: 2 !important;
}

.hero-section .bottom-gradient {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.heading-wrapper,
.large-button-block {
  position: relative;
  z-index: 10 !important;
}

.large-button-block {
  margin-top: 24px;
}

/* ===== Footer cleanup ===== */
.footer-text a[href*="webflow.com"],
.footer-text a[href*="zoyaqib.com"] {
  display: none !important;
}

