/* ============================================
   Marketing Pricing Page Styles
   Uses existing CSS custom properties from the 
   Webflow design system for consistency.
   ============================================ */

/* ============================================
   Override Webflow IX2 visibility: hidden
   The Webflow inline <style> block hides these
   elements until the IX2 engine reveals them.
   Since this page has no page-specific IX2 
   animation script, we force them visible.
   ============================================ */
html.w-mod-js:not(.w-mod-ix3) body .navbar_link-text._1,
html.w-mod-js:not(.w-mod-ix3) body .navbar_link-text._2,
html.w-mod-js:not(.w-mod-ix3) body .button_gradient,
html.w-mod-js:not(.w-mod-ix3) body .button_gradient-glow,
html.w-mod-js:not(.w-mod-ix3) body .button_gradient-ball.ball-1,
html.w-mod-js:not(.w-mod-ix3) body .button_gradient-ball.ball-2,
html.w-mod-js:not(.w-mod-ix3) body .navbar_hamburger-line._1,
html.w-mod-js:not(.w-mod-ix3) body .navbar_hamburger-line._2,
html.w-mod-js:not(.w-mod-ix3) body .navbar_hamburger,
html.w-mod-js:not(.w-mod-ix3) body .navbar_hamburger-wrap,
html.w-mod-js:not(.w-mod-ix3) body .navbar_link,
html.w-mod-js:not(.w-mod-ix3) body .navbar_logo-wrap,
html.w-mod-js:not(.w-mod-ix3) body .footer_brand {
  visibility: visible !important;
}

/* --- Section Wrapper --- */
.pricing-section {
  position: relative;
  overflow: hidden;
}

.pricing-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.pricing-header .text-style-label {
  margin-bottom: 1rem;
}

.pricing-header .pricing-subtitle {
  color: var(--_colors---grey--300);
  font-family: var(--_typography---font-family--secondary);
  font-size: 1.125rem;
  line-height: 160%;
  margin-top: 1rem;
}

/* --- Pricing Grid --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1200px;
}

.pricing-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Pricing Card --- */
.pricing-card {
  background-color: var(--_colors---primary--white);
  border: 1px solid var(--_colors---grey--100);
  border-radius: var(--border-radius--xxlarge);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, transparent);
  transition: background 0.4s ease;
  border-radius: var(--border-radius--xxlarge) var(--border-radius--xxlarge) 0 0;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
              0 4px 16px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover::before {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}

/* --- Popular Card --- */
.pricing-card.is-popular {
  border-color: #0d9488;
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12),
              0 2px 8px rgba(13, 148, 136, 0.06);
}

.pricing-card.is-popular::before {
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.pricing-card.is-popular:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(13, 148, 136, 0.18),
              0 8px 24px rgba(13, 148, 136, 0.08);
}

/* --- Popular Badge --- */
.pricing-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #fff;
  font-family: var(--_typography---font-family--detail);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  line-height: 1;
  white-space: nowrap;
}

/* --- Plan Name --- */
.pricing-plan-name {
  font-family: var(--_typography---font-family--primary);
  font-size: 1.125rem;
  font-weight: var(--_typography---font-weight--semibold);
  color: #0d9488;
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem 0;
}

/* --- Plan Target --- */
.pricing-target {
  font-family: var(--_typography---font-family--detail);
  font-size: 0.75rem;
  font-weight: 400;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1.5rem 0;
}

/* --- Price Display --- */
.pricing-price-wrap {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.pricing-price {
  font-family: var(--_typography---font-family--primary);
  font-size: 2.75rem;
  font-weight: var(--_typography---font-weight--bold);
  color: var(--_colors---primary--black);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--_colors---grey--300);
}

.pricing-ad-spend {
  display: inline-flex;
  align-items: center;
  background-color: #e85d04;
  color: #fff;
  font-family: var(--_typography---font-family--detail);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--border-radius--medium);
  margin-bottom: 1.1rem;
}

/* --- Description --- */
.pricing-description {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.875rem;
  line-height: 155%;
  color: var(--_colors---grey--400);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--_colors---grey--100);
}

/* --- Features List --- */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.875rem;
  line-height: 1;
  color: var(--_colors---grey--500);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background-color: #0d94880f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* --- CTA Button --- */
.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-family: var(--_typography---font-family--primary);
  font-size: 0.9rem;
  font-weight: var(--_typography---font-weight--medium);
  color: var(--_colors---primary--black);
  background-color: var(--_colors---primary--beige);
  border: 1px solid var(--_colors---grey--100);
  border-radius: var(--border-radius--medium);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pricing-cta::after {
  content: '→';
  transition: transform 0.3s ease;
}

.pricing-cta:hover {
  background-color: var(--_colors---primary--black);
  color: var(--_colors---primary--white);
  border-color: var(--_colors---primary--black);
}

.pricing-cta:hover::after {
  transform: translateX(4px);
}

/* Popular card CTA */
.pricing-card.is-popular .pricing-cta {
  background-color: #0d9488;
  color: #fff;
  border-color: #0d9488;
}

.pricing-card.is-popular .pricing-cta:hover {
  background-color: #0f766e;
  border-color: #0f766e;
}

/* --- Pricing Footnote --- */
.pricing-footnote {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background-color: var(--_colors---primary--beige);
  border-radius: var(--border-radius--medium);
  border: 1px solid var(--_colors---grey--100);
}

.pricing-footnote p {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.875rem;
  color: var(--_colors---grey--400);
  margin: 0;
  line-height: 1.6;
}

.pricing-footnote p strong {
  color: var(--_colors---grey--500);
}

/* --- Custom Plan CTA --- */
.pricing-custom-cta {
  text-align: center;
  margin-top: 2rem;
}

.pricing-custom-cta a {
  font-family: var(--_typography---font-family--primary);
  font-size: 1rem;
  font-weight: var(--_typography---font-weight--medium);
  color: var(--_colors---primary--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.pricing-custom-cta a:hover {
  gap: 0.75rem;
  color: #0d9488;
}

.pricing-custom-cta a::after {
  content: '→';
  transition: transform 0.3s ease;
}

.pricing-custom-cta a:hover::after {
  transform: translateX(4px);
}

/* ============================================
   Contact for Pricing — Additional Services
   ============================================ */

.additional-services-section {
  position: relative;
}

.additional-services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.additional-services-header .pricing-subtitle {
  color: var(--_colors---grey--300);
  font-family: var(--_typography---font-family--secondary);
  font-size: 1rem;
  line-height: 160%;
  margin-top: 1rem;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.additional-services-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  background-color: var(--_colors---primary--white);
  border: 1px solid var(--_colors---grey--100);
  border-radius: var(--border-radius--xxlarge);
  padding: 2rem 1.75rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card-name {
  font-family: var(--_typography---font-family--primary);
  font-size: 1.05rem;
  font-weight: var(--_typography---font-weight--semibold);
  color: var(--_colors---primary--black);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.service-card-description {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.85rem;
  line-height: 155%;
  color: var(--_colors---grey--400);
  margin: 0 0 1.25rem 0;
}

.service-card-link {
  font-family: var(--_typography---font-family--detail);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0d9488;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.3s ease;
}

.service-card-link:hover {
  gap: 0.6rem;
}

.service-card-link::after {
  content: '→';
}

/* ============================================
   Page Hero — Pricing Header
   ============================================ */

.pricing-hero {
  text-align: center;
  position: relative;
}

.pricing-hero .heading-style-h2 {
  margin-bottom: 0;
}

.pricing-hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

@media screen and (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .additional-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .more-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .pricing-card {
    padding: 2rem 1.75rem;
  }
}

@media screen and (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .additional-services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .more-services-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    gap: 1rem !important;
    padding-bottom: 1rem !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* hide scrollbar visually */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .more-services-grid::-webkit-scrollbar {
    display: none;
  }

  .more-services-grid .service-card {
    min-width: 78vw !important;
    max-width: 78vw !important;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-price {
    font-size: 2rem;
  }

  .pricing-header .pricing-subtitle {
    font-size: 1rem;
  }

  .pricing-footnote {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
  }
}

@media screen and (max-width: 479px) {
  .pricing-card {
    padding: 1.75rem 1.25rem;
  }

  .pricing-badge {
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
  }

  .pricing-price {
    font-size: 1.75rem;
  }
}

/* ============================================
   Staggered Card Animation — 3D fold-in
   ============================================ */
.pricing-card {
  opacity: 0;
  transform: translateY(50px) rotateX(18deg);
  transform-origin: center top;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.pricing-grid.is-visible .pricing-card {
  opacity: 1;
  transform: translateY(0) rotateX(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-grid.is-visible .pricing-card:nth-child(1) {
  transition-delay: 0.05s;
}

.pricing-grid.is-visible .pricing-card:nth-child(2) {
  transition-delay: 0.12s;
}

.pricing-grid.is-visible .pricing-card:nth-child(3) {
  transition-delay: 0.19s;
}

.pricing-grid.is-visible .pricing-card:nth-child(4) {
  transition-delay: 0.26s;
}

/* Service card stagger */
.service-card {
  opacity: 0;
  transform: translateY(20px);
}

.additional-services-grid.is-visible .service-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.additional-services-grid.is-visible .service-card:nth-child(1) {
  transition-delay: 0.05s;
}

.additional-services-grid.is-visible .service-card:nth-child(2) {
  transition-delay: 0.1s;
}

.additional-services-grid.is-visible .service-card:nth-child(3) {
  transition-delay: 0.15s;
}

.additional-services-grid.is-visible .service-card:nth-child(4) {
  transition-delay: 0.2s;
}

.additional-services-grid.is-visible .service-card:nth-child(5) {
  transition-delay: 0.25s;
}

.additional-services-grid.is-visible .service-card:nth-child(6) {
  transition-delay: 0.3s;
}

/* Hover state — override stagger transitions */
.pricing-grid.is-visible .pricing-card:hover,
.additional-services-grid.is-visible .service-card:hover,
.more-services-grid.is-visible .service-card:hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   Ideal For Tagline
   ============================================ */
.pricing-ideal-for {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--_colors---grey--300);
  margin: 0 0 1.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--_colors---grey--100);
  line-height: 1.5;
}

/* ============================================
   Service Tags
   ============================================ */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.service-tag {
  font-family: var(--_typography---font-family--detail);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--_colors---grey--500);
  background-color: var(--_colors---primary--beige);
  border: 1px solid var(--_colors---grey--100);
  border-radius: var(--border-radius--xsmall);
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ============================================
   Section-level Contact for Pricing Button
   ============================================ */
.section-pricing-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background-color: #e85d04;
  color: #fff;
  font-family: var(--_typography---font-family--primary);
  font-size: 0.875rem;
  font-weight: var(--_typography---font-weight--semibold);
  text-decoration: none;
  border-radius: var(--border-radius--medium);
  letter-spacing: -0.01em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.section-pricing-btn:hover {
  background-color: #c24b03;
  transform: translateY(-1px);
}

/* ============================================
   Plan Features Comparison Table
   ============================================ */
.pricing-comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--border-radius--large);
  border: 1px solid var(--_colors---grey--100);
}

.pricing-comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.pricing-comparison-table thead tr {
  background-color: #171717;
  color: #fff;
}

.pricing-comparison-table thead th {
  padding: 1.25rem 1rem;
  font-family: var(--_typography---font-family--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.01em;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-comparison-table thead th:last-child {
  border-right: none;
}

.pricing-comparison-table thead th.feature-col {
  text-align: left;
  width: 28%;
}

.pricing-comparison-table thead th span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-comparison-table thead th.col-teal span {
  color: #14b8a6;
}

.pricing-comparison-table thead th.col-enterprise span {
  color: #fb923c;
}

.pricing-comparison-table thead th.popular-col {
  background-color: #0d9488;
}

.pricing-comparison-table thead th.popular-col span {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-comparison-table tbody tr {
  border-bottom: 1px solid var(--_colors---grey--100);
  transition: background-color 0.15s ease;
}

.pricing-comparison-table tbody tr:nth-child(even) {
  background-color: rgba(248, 247, 243, 0.7);
}

.pricing-comparison-table tbody tr:hover {
  background-color: rgba(13, 148, 136, 0.03);
}

.pricing-comparison-table tbody td {
  padding: 0.9rem 1rem;
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.85rem;
  color: var(--_colors---grey--400);
  text-align: center;
  border-right: 1px solid var(--_colors---grey--100);
}

.pricing-comparison-table tbody td:last-child {
  border-right: none;
}

.pricing-comparison-table tbody td.feature-name {
  text-align: left;
  font-family: var(--_typography---font-family--primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--_colors---primary--black);
}

.pricing-comparison-table tbody td.val-no {
  color: #f87171;
  font-size: 1rem;
}

.pricing-comparison-table tbody td.val-yes {
  color: #0d9488;
  font-weight: 500;
}

.pricing-comparison-table tbody td.popular-col {
  background-color: rgba(13, 148, 136, 0.04);
}

.pricing-comparison-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1.25rem 2rem;
  background-color: var(--_colors---primary--beige);
  border-radius: var(--border-radius--medium);
  border: 1px solid var(--_colors---grey--100);
}

.pricing-comparison-footer p {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.875rem;
  color: var(--_colors---grey--400);
  margin: 0;
  line-height: 1.6;
}

.pricing-comparison-footer a {
  color: #0d9488;
  text-decoration: none;
  font-weight: 500;
}

.pricing-comparison-footer a:hover {
  text-decoration: underline;
}

/* ============================================
   More Services Grid (shared for additional sections)
   ============================================ */
.more-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.more-services-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.more-services-grid.is-visible .service-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.more-services-grid.is-visible .service-card:nth-child(1) { transition-delay: 0.03s; }
.more-services-grid.is-visible .service-card:nth-child(2) { transition-delay: 0.07s; }
.more-services-grid.is-visible .service-card:nth-child(3) { transition-delay: 0.11s; }
.more-services-grid.is-visible .service-card:nth-child(4) { transition-delay: 0.15s; }
.more-services-grid.is-visible .service-card:nth-child(5) { transition-delay: 0.19s; }
.more-services-grid.is-visible .service-card:nth-child(6) { transition-delay: 0.23s; }
.more-services-grid.is-visible .service-card:nth-child(7) { transition-delay: 0.27s; }
.more-services-grid.is-visible .service-card:nth-child(8) { transition-delay: 0.31s; }

/* ============================================
   Team Services — Infinite Marquee
   ============================================ */
.team-marquee-outer {
  position: relative;
  overflow: hidden;
  /* Fade-out edges so cards dissolve rather than hard-clip */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.team-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
  padding: 0.5rem 0 1rem; /* breathing room for box-shadows */
}

/* Fixed card width so layout is predictable */
.team-marquee-track .service-card {
  width: 270px;
  min-width: 270px;
  flex-shrink: 0;
  /* Override the opacity:0 entrance stagger — cards must be visible in marquee */
  opacity: 1 !important;
  transform: none !important;
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-top-color 0.3s ease !important;
  transition-delay: 0s !important;
}

/* Tilt still works, but override must not block GSAP rotateX/Y on hover */
.team-marquee-track .service-card:hover {
  transform: none; /* GSAP takes over on mousemove */
}

/* Team service card variant — top accent line on hover */
.service-card.team-card {
  border-top: 2px solid var(--_colors---grey--100);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-top-color 0.3s ease;
}

.service-card.team-card:hover {
  border-top-color: #0d9488;
}

/* ============================================
   Hero Floating Blobs
   ============================================ */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
}

.hero-blob-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.11) 0%, transparent 70%);
  top: -15%;
  left: -8%;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.09) 0%, transparent 70%);
  bottom: -10%;
  right: 2%;
}

.hero-blob-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.07) 0%, transparent 70%);
  top: 45%;
  right: 18%;
}

/* ============================================
   Popular Badge Shimmer
   ============================================ */
@keyframes badgeShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.pricing-badge {
  background: linear-gradient(
    90deg,
    #0d9488 0%,
    #14b8a6 35%,
    #5eead4 50%,
    #14b8a6 65%,
    #0d9488 100%
  );
  background-size: 250% auto;
  animation: badgeShimmer 3.5s linear infinite;
}

/* ============================================
   Popular Card Glow Pulse
   ============================================ */
@keyframes popularGlow {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(13, 148, 136, 0.12),
                0 2px 8px rgba(13, 148, 136, 0.06);
  }
  50% {
    box-shadow: 0 14px 52px rgba(13, 148, 136, 0.26),
                0 4px 18px rgba(13, 148, 136, 0.14);
  }
}

.pricing-card.is-popular {
  animation: popularGlow 3.2s ease-in-out infinite;
}

/* Keep hover box-shadow override clean */
.pricing-card.is-popular:hover {
  animation: none;
  box-shadow: 0 24px 64px rgba(13, 148, 136, 0.22),
              0 8px 24px rgba(13, 148, 136, 0.10);
}

/* ============================================
   Ad Spend Badge — subtle pulse on hover
   ============================================ */
@keyframes badgePop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.pricing-card:hover .pricing-ad-spend {
  animation: badgePop 0.4s ease-out;
}

/* ============================================
   Service Card Icon — bounce on hover
   ============================================ */
@keyframes iconBounce {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-6px); }
  70%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.service-card:hover .service-card-icon {
  display: inline-block;
  animation: iconBounce 0.5s ease-out;
}

/* ============================================
   Pricing Hero — glow line under label
   ============================================ */
.pricing-hero .text-style-label {
  position: relative;
}

/* ============================================
   Comparison table popular column highlight pulse
   ============================================ */
@keyframes colPulse {
  0%, 100% { background-color: rgba(13, 148, 136, 0.04); }
  50%       { background-color: rgba(13, 148, 136, 0.08); }
}

.pricing-comparison-table tbody td.popular-col {
  animation: colPulse 4s ease-in-out infinite;
}

/* ============================================
   Section pricing button — ripple on hover
   ============================================ */
.section-pricing-btn {
  position: relative;
  overflow: hidden;
}

.section-pricing-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: inherit;
}

.section-pricing-btn:hover::before {
  transform: scaleX(1);
}

/* ============================================
   Pricing CTA button — arrow slide
   ============================================ */
.pricing-cta {
  gap: 0;
}

.pricing-cta::after {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.pricing-cta:hover::after {
  transform: translateX(5px);
}

/* Team service bullet list */
.team-service-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
}

.team-service-features li {
  font-family: var(--_typography---font-family--secondary);
  font-size: 0.825rem;
  line-height: 1.45;
  color: var(--_colors---grey--400);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.team-service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background-color: #0d9488;
  margin-top: 0.42rem;
  flex-shrink: 0;
}

/* ============================================
   More Services Section — Dark Tree Background
   ============================================ */
.more-services-section {
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(13, 148, 136, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 12% 55%, rgba(20, 184, 166, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 88% 42%, rgba(14, 165, 233, 0.07) 0%, transparent 55%),
    linear-gradient(165deg, #0a1a2e 0%, #0d2040 55%, #081525 100%);
}

/* Hide the decorative divider line — doesn't show on dark bg */
.more-services-section .line {
  display: none;
}

/* SVG tree — full-section absolute background */
.more-services-tree-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* All content must sit above the SVG */
.more-services-section .padding-global {
  position: relative;
  z-index: 1;
}

/* ── Text colours on dark background ───────────────── */
.more-services-section .text-style-label {
  color: #14b8a6;
}

.more-services-section .label_line {
  background-color: #14b8a6 !important;
}

.more-services-section h3.heading-style-h4 {
  color: #ffffff;
}

.more-services-section .pricing-subtitle {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* ── Section button on dark bg ──────────────────────── */
.more-services-section .section-pricing-btn {
  background-color: #e85d04;
  box-shadow: 0 4px 20px rgba(232, 93, 4, 0.35);
}

.more-services-section .section-pricing-btn:hover {
  background-color: #c24b03;
  box-shadow: 0 6px 28px rgba(232, 93, 4, 0.45);
}

/* ── Cards on dark bg ───────────────────────────────── */
.more-services-section .service-card {
  background-color: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.more-services-section .service-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45),
              0 0 28px rgba(13, 148, 136, 0.18);
}

/* ── Footer note on dark bg ─────────────────────────── */
.more-services-section .pricing-comparison-footer {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.more-services-section .pricing-comparison-footer p {
  color: rgba(255, 255, 255, 0.45);
}

.more-services-section .pricing-comparison-footer a {
  color: #14b8a6;
}

/* ── GSAP overrides: let tree animation control the grid ── */
.more-services-grid.tree-animated {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Cards stay invisible until GSAP fires — override CSS is-visible stagger */
.more-services-grid.tree-animated .service-card,
.more-services-grid.tree-animated.is-visible .service-card {
  opacity: 0;
  transform: none;
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: 0s !important;
}

/* ── Mobile navbar height reduction ── */
@media screen and (max-width: 767px) {
  .navbar {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
    background-color: transparent !important;
  }

  .navbar .idefender-logo {
    height: 5.5rem !important;
    width: auto !important;
  }

  .navbar_hamburger-wrap {
    width: 2rem !important;
    height: 2rem !important;
  }
}
