/* AdWizards.ai overrides: keep Webflow interactions, remove branding/badges, add minimal styles */

/* ========= CRITICAL: Remove ALL Webflow template badges/popups ========= */
/* These MUST be hidden regardless of how Webflow injects them */
.w-webflow-badge,
.w-webflow-branding,
.page-popups-wrapper,
.buy-template-popup,
.all-templates-popup,
[class*="template-popup"],
[class*="buy-template"],
a[href*="webflow.com/templates"],
a[href*="zoyaqib.com"],
div:has(> a[href*="webflow.com/templates"]) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Hide any element containing "Buy now for $29" or "See more by Zoya" text */
/* These are injected by Webflow scripts */
.popup-logo,
.popup-text,
[class*="popup-"] {
  display: none !important;
}

/* Footer minor cleanups (when we repurpose it) */
.footer-text a[href*="webflow.com"],
.footer-text a[href*="zoyaqib.com"] {
  display: none !important;
}

/* CTA buttons utility for analytics targeting */
[data-analytics-id] {
  cursor: pointer;
}

/* AdWizards sections (light structure so we don’t fight Webflow CSS) */
.aw-section {
  padding: 80px 0;
}

.aw-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.aw-title {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.aw-subtitle {
  opacity: 0.75;
  margin-bottom: 30px;
}

/* Features grid */
.aw-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 991px) {
  .aw-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .aw-features {
    grid-template-columns: 1fr;
  }
}

.aw-feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 18px;
}

.aw-feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.aw-feature p {
  margin: 0;
  opacity: 0.8;
}

/* Work grid */
.aw-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 991px) {
  .aw-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .aw-work-grid {
    grid-template-columns: 1fr;
  }
}

.aw-work-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
}

.aw-work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* --- Hero Video Fixes --- */

/* 1. Style the videos with correct aspect ratio and rounded corners */
.hero-images-grid video {
  width: 100%;
  height: auto !important;
  /* Aspect ratio controls the height */
  aspect-ratio: 9 / 16;
  object-fit: contain !important;
  background: #000;
  /* neat letterboxing when needed */
  border-radius: 32px !important;
  display: block;
}

/* 2. Make ONLY the HERO mobile mockup clip the scrolling videos behind it */
.hero-section .mobile-mockup-inner {
  overflow: hidden !important;
  /* This clips videos AND UI image to only show inside the phone */
  border-radius: 50px !important;
  position: relative !important;
  /* Needed for absolute positioning of children */
  /* Keep Webflow's original positioning - DON'T override z-index */
}

/* 3. Keep video grid settings close to original Webflow CSS */
.hero-images-grid {
  /* DON'T override z-index - let Webflow handle it */
  /* DON'T override positioning - Webflow's scroll animation needs it */
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
  /* 5 columns like original */
  grid-column-gap: 1.25vw !important;
  grid-row-gap: 1.25vw !important;
}

/* Responsive behavior matching original template */
@media (max-width: 991px) {
  .hero-images-grid {
    grid-column-gap: 10px !important;
    grid-row-gap: 10px !important;
    /* Let Webflow handle the layout change to flex on mobile */
  }

  .hero-section .mobile-mockup-inner {
    width: 200px !important;
    /* Match original mobile width */
  }
}

/* 4. Fix z-index hierarchy */
.mobile-frame {
  z-index: 3;
  position: relative;
}

/* Hide ONLY the dark placeholder background (mobile-bg) */
/* Keep mobile-image-bg visible - it shows the app UI */
.hero-section .mobile-bg {
  display: none !important;
}

/* CTA section: hide the dark placeholder background */
.cta-section .mobile-bg {
  display: none !important;
}

/* Position the app UI image INSIDE the phone mockup, aligned to bottom */
.hero-section .mobile-image-bg {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-height: 100% !important;
  /* Ensure it doesn't overflow */
  object-fit: contain !important;
  z-index: 2 !important;
  /* Above videos but below frame */
}

.hero-section .bottom-gradient {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* The "High-performing ad creative" text - let Webflow's original CSS handle it (z-index: 0 in original) */

/* Ensure the top heading and CTA button are above the mockup */
.heading-wrapper,
.large-button-block {
  position: relative;
  z-index: 10 !important;
}

/* Hide the phone-video that was inserted by JS - we don't need it */
/* The videos in the grid behind the mockup are what should be visible */
.phone-video {
  display: none !important;
}

/* Fix videos in phone mockups to fill without black bars */
.feature-mockup-inner video.mobile-image-bg,
.mobile-mockup-inner video.mobile-image-bg {
  object-fit: cover !important;
  transform: scale(1.02) !important;
  border-radius: 32px !important;
}

/* CTA spacing */
.large-button-block {
  margin-top: 24px;
}

.aw-work-card .aw-work-meta {
  padding: 12px;
}

.aw-work-card .aw-work-title {
  font-weight: 600;
  margin-bottom: 6px;
}

/* Plans */
.aw-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 991px) {
  .aw-plans {
    grid-template-columns: 1fr;
  }
}

.aw-plan {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.aw-plan .aw-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5c7cff, #e84b7a);
}

.aw-plan h3 {
  margin: 0 0 4px;
}

.aw-plan .aw-price {
  opacity: 0.9;
  margin-bottom: 10px;
}

.aw-plan ul {
  margin: 0 0 14px 18px;
}

.aw-plan a.aw-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5c7cff, #e84b7a);
  color: white;
}

/* CTA band */
.aw-cta-band {
  background: linear-gradient(90deg, rgba(92, 124, 255, 0.25), rgba(232, 75, 122, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media (max-width: 700px) {
  .aw-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

.aw-cta-band .aw-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5c7cff, #e84b7a);
  color: white;
}

/* FAQs */
.aw-faqs {
  margin-top: 20px;
}

.aw-faq {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.aw-faq:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.aw-faq summary {
  cursor: pointer;
  font-weight: 600;
}

/* Contact form */
.aw-form {
  display: grid;
  gap: 12px;
}

.aw-form input,
.aw-form select,
.aw-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: inherit;
  padding: 10px 12px;
}

.aw-form button {
  justify-self: start;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5c7cff, #e84b7a);
  color: white;
}

/* Safety net: remove generator meta effects if any CSS relies on it (none expected) */
/* (No-op) */

/* ===== AdWizards additive patches ===== */

/* Brand text only (hide original img), white label */
.navbar-brand img {
  display: none !important;
}

.navbar-brand::after {
  content: "AdWizards";
  display: inline-block;
  margin-left: 0;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .navbar-brand::after {
    font-size: 16px;
  }
}





/* Optional KPI chips layout if inserted via markup */
.aw-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.aw-kpi {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.aw-kpi .val {
  font-weight: 700;
}

@media (max-width: 767px) {
  .aw-kpis {
    grid-template-columns: 1fr;
  }
}

/* Prevent mid-phrase overlap under phone */
.absolute-heading-wrapper .home-h1 {
  white-space: normal;
}

/* Hero rotator: remove decorative dash and avoid clipping/truncation */
.hero-title-bottom-1,
.hero-title-bottom-2,
.hero-title-bottom-3,
.hero-title-bottom-1 *,
.hero-title-bottom-2 *,
.hero-title-bottom-3 * {
  white-space: nowrap;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  word-break: keep-all;
}

.hero-title-bottom-1::after,
.hero-title-bottom-2::after,
.hero-title-bottom-3::after {
  content: none !important;
}

.hero-title-bottom-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.hero-title-bottom-1,
.hero-title-bottom-2,
.hero-title-bottom-3 {
  padding-right: 0.2em;
  box-sizing: content-box;
}

/* Ensure Webflow badge stays hidden (safe duplicate) */
.w-webflow-badge,
.w-webflow-branding,
a[href*="webflow.com"][class*="badge"],
a[href*="webflow.com"]:not(.keep-link) {
  display: none !important;
  visibility: hidden !important;
}

/* Quick fix: hide rotating middle word to avoid stray hyphen/plus and truncation */
.hero-title-bottom-wrapper {
  display: none !important;
}

/* Hero rotator (new) — prevent clipping and hyphen insertion */
.hero-rotator,
.hero-rotator * {
  white-space: nowrap;
  -webkit-hyphens: none;
  hyphens: none;
  word-break: keep-all;
}

.hero-rotator-mask {
  display: inline-block;
  overflow: visible;
  max-width: none;
  vertical-align: baseline;
}

/* Remove any decorative hyphen from template leftovers */
.hero-rotator::after,
.rotating-word::after,
[data-words]::after {
  content: none !important;
}

/* Optional: keep gradient look on rotating word if template provides it */
.hero-rotator.gradient,
.hero-rotator .gradient {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== New: width-adaptive rotator for headline (Webflow clone) ===== */
/* Wrapper inserted before the original .hero-title-bottom-wrapper */
.rotator-wrap {
  display: inline-block;
  /* vertical-align is not needed for flex items */
  overflow: hidden;
  white-space: nowrap;
  transition: width 320ms cubic-bezier(.2, .8, .2, 1);
}

/* Visible rotating word (uses .home-h1 + .gradient-text for aesthetics) */
.rotator-word {
  display: block;
  text-transform: uppercase;
  will-change: opacity, transform;
}

/* Off-screen measurer: replicates typography for exact width calculation */
.rotator-measure {
  position: absolute;
  left: -9999px;
  top: 0;
  white-space: nowrap;
  pointer-events: none;
  visibility: hidden;
  font: inherit;
  letter-spacing: inherit;
  line-height: 0.95;
  text-transform: uppercase;
}

/* ===== Headline unification: single-line, centered, consistent metrics ===== */
.heading-wrapper {
  display: flex;
  /* Use flex to center the h1 */
  justify-content: center;
  width: 100%;
  white-space: nowrap;
  /* one line */
}

.heading-wrapper .home-h1 {
  display: inline-flex;
  /* Use flexbox for robust alignment */
  align-items: baseline;
  /* Align children to their baseline */
  gap: 0.35ch;
  /* Space out the parts */
  margin: 0;
  /* remove default h1 margins */
  text-transform: uppercase;
  /* keep casing via CSS (measurer matches) */
  font-weight: 600;
  letter-spacing: 0;
  /* keep tracking consistent with measurer */
  line-height: 0.95;
  font-size: clamp(20px, 5vw, 60px);
  /* Even smaller font size */
}

/* This rule is no longer needed with flexbox */

/* Ensure the rotating word inherits identical metrics */
.rotator-word.home-h1 {
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.95;
  font-size: clamp(20px, 5vw, 60px);
  /* Even smaller font size */
}

/* Hyphenation/word-break safety for rotator */
.rotator-word,
.rotator-measure {
  -webkit-hyphens: none;
  hyphens: none;
  word-break: keep-all;
  white-space: nowrap;
}

/* ===== Pricing patches (additive, non-destructive) ===== */

/* Pricing: one-line price & baseline alignment */
.plan-price,
.pricing-amount,
.pricing .price {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: .25rem;
}

.plan-price .currency {
  font-size: .875em;
  opacity: .85;
}

.plan-price .amount {
  font-variant-numeric: tabular-nums;
}

/* Fallback: ensure tabular numerals on price container if no inner spans */
.plan-price {
  font-variant-numeric: tabular-nums;
}

/* CTA hover (all 3 pricing cards) */
.pricing .button,
.plan .button,
.pricing .cta,
.plans-grid .plan-card a.w-button,
.plans-grid .plan-card a.w-inline-block {
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.pricing .button:hover,
.plan .button:hover,
.pricing .cta:hover,
.plans-grid .plan-card a.w-button:hover,
.plans-grid .plan-card a.w-inline-block:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* Equal card heights */
.pricing .plan-card {
  display: flex;
  flex-direction: column;
}

.pricing .plan-card .plan-body {
  flex: 1 1 auto;
}

/* Match current markup */
.plans-grid .plan-card {
  display: flex;
  flex-direction: column;
}

.plans-grid .plan-card .plan-features-wrapper {
  flex: 1 1 auto;
}

/* Price inline and strike styling for annual view */
#plans .plans-grid .plan-card .plan-price {
  line-height: 1.1;
}

#plans .plans-grid .plan-card .plan-price s {
  opacity: .6;
  font-size: .9em;
  margin-left: .35rem;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .6);
  text-underline-offset: .12em;
  white-space: nowrap;
}

/* Normalize second line small helper text */
#plans .plans-grid .plan-card .plan-prices-wrapper .plan-price+.plan-price {
  opacity: .8;
  font-size: .95em;
  white-space: nowrap;
}

/* Unify CTA look across all 3 plans (base + hover) */
#plans .plans-grid .plan-card a.w-button,
#plans .plans-grid .plan-card a.w-inline-block {
  background: linear-gradient(90deg, #5c7cff, #e84b7a) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
}

#plans .plans-grid .plan-card a.w-button:hover,
#plans .plans-grid .plan-card a.w-inline-block:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* CTA section: don't clip content */
.cta-container {
  overflow: visible !important;
}

.cta-images-grid video.cta-image {
  border-radius: 32px !important;
  object-fit: cover !important;
}

/* ===== Pricing Toggle Fix ===== */
#plans .toggle-switch .toggle-indicator {
  transition: transform 0.3s ease !important;
  left: 4px !important;
  /* Force left position for Monthly */
  right: auto !important;
}

/* ===== Pricing Display Fix ===== */
/* Allow prices to display fully without cutting off */
.plan-price {
  width: auto !important;
  max-width: 100% !important;
}

.plan-prices-wrapper {
  width: 100% !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.plan-price-block {
  width: 100% !important;
  overflow: visible !important;
}

/* ===== 4-Column Pricing Grid for Enterprise Plan ===== */
#plans .plans-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  gap: 16px !important;
}

/* Make all cards equal height and same styling */
#plans .plans-grid .plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Ensure Enterprise price matches other cards - NO gradient text */
#plans .plans-grid .plan-card:nth-child(4) .plan-price {
  font-size: 1.25rem !important;
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  font-weight: inherit !important;
}

/* First bullet (Research Engine) - subtle styling, no box */
.pricing-features-wrapper .pricing-feature-wrapper:first-child {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features-wrapper .pricing-feature-wrapper:first-child p {
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.85;
}

/* Remove weird center margins from Core plan that make it smaller */
#plans .plans-grid .plan-card:nth-child(2) .center {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#plans .plans-grid .plan-card:nth-child(2) .pricing-features-wrapper.center,
#plans .plans-grid .plan-card:nth-child(2) .pricing-plan-title-wrapper.center {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Desktop: 4 equal columns */
@media screen and (min-width: 992px) {
  #plans .plans-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Tablet: 2x2 grid */
@media screen and (max-width: 991px) and (min-width: 768px) {
  #plans .plans-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
}

/* Mobile: single column */
@media screen and (max-width: 767px) {
  #plans .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ===== Recent Work Section - Align all columns to same height ===== */
.creations-grid .creations-even-column,
.creations-grid .creations-odd-column {
  margin-top: 0 !important;
  padding-top: 0 !important;
  align-self: start !important;
}

/* Target 4th column specifically - pull up to show both videos */
.creations-grid>.creations-even-column:nth-child(4),
.creations-grid> :nth-child(4) {
  margin-top: -600px !important;
  align-self: start !important;
}

/* Keep offset reasonable on mobile */
@media screen and (max-width: 767px) {
  .creations-even-column {
    margin-top: 0 !important;
  }
}

/* ===== How It Works Section ===== */
.how-it-works-section {
  padding: 100px 0 140px;
  position: relative;
}

/* Hide quote attribution names since we're using brand messaging now */
.review-block-wrapper>div:not(.filling-text-wrapper) {
  display: none !important;
}

/* Subtle top separator line */
.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3), transparent);
}

.hiw-header {
  text-align: center;
  margin-bottom: 72px;
}

.hiw-title {
  font-size: 2.75rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  letter-spacing: -0.02em;
}

.hiw-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.hiw-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 20px;
}

.hiw-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hiw-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.hiw-step-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.hiw-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.4));
  margin-top: 32px;
  flex-shrink: 0;
  border-radius: 1px;
}

/* Tablet */
@media screen and (max-width: 991px) {
  .hiw-timeline {
    flex-wrap: wrap;
    gap: 32px;
  }

  .hiw-step {
    flex: 0 0 calc(50% - 40px);
    max-width: none;
  }

  .hiw-connector {
    display: none;
  }

  .hiw-number {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .how-it-works-section {
    padding: 32px 0 60px;
  }

  .hiw-title {
    font-size: 1.75rem;
  }

  .hiw-header {
    margin-bottom: 40px;
  }

  .hiw-timeline {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .hiw-step {
    flex: none;
    max-width: 280px;
  }

  .hiw-number {
    font-size: 2rem;
  }
}

/* ===== How It Works Scroll Animation ===== */
.hiw-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hiw-animate.hiw-visible {
  opacity: 1;
  transform: translateY(0);
}

.hiw-animate-connector {
  width: 0;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hiw-animate-connector.hiw-visible {
  width: 80px;
}

/* Number counter effect on visible */
.hiw-step.hiw-visible .hiw-number {
  animation: numberPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes numberPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  .hiw-animate,
  .hiw-animate-connector {
    transition: none;
  }

  .hiw-animate {
    opacity: 1;
    transform: none;
  }

  .hiw-animate-connector {
    width: 60px;
  }

  .hiw-step.hiw-visible .hiw-number {
    animation: none;
  }
}

/* ===== FAQ Dynamic Items ===== */
.faq-content {
  overflow: hidden;
  transition: height 0.3s ease;
}

/* FAQ grid: 2 columns on desktop */
#faqs .faqs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media screen and (max-width: 991px) {
  #faqs .faqs-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Fix Animated Counter (157,14 -> 157K+) ===== */
/* Hide the broken animated digits */
.animated-digits-wrapper {
  display: none !important;
}

/* Style the large number to display correctly */
.large-number.gradient-text {
  font-variant-numeric: tabular-nums;
}

/* ===== Recurring Billing Disclaimer near Pricing ===== */
.billing-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Hide Template Remnants (backup) ===== */
.page-popups-wrapper,
.buy-template-popup,
.all-templates-popup,
a[href*="zoyaqib.com"],
div:has(> a[href*="zoyaqib.com"]) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}