/*
 * Legalwrite Home Styles
 * Styles specific to page-home.php
 */

/* ==========================================================================
   BASE & CONTAINERS
   ========================================================================== */
.homepage {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  --lw-header-offset: 0px;
  --lw-header-height: 60px;
}

.homepage__glow-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px; /* Figma Reference Frame */
  height: 100%;
  margin-left: -720px; /* Centers without transform to prevent isolation */
  pointer-events: none;
}

/* ==========================================================================
   SECTION TYPOGRAPHY
   ========================================================================== */
.homepage .section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #FF9216;
  margin-bottom: 16px;
}

.homepage .section-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 16px;
}

.homepage .section-subtitle {
  font-size: 20px;
  color: #94a3b8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.homepage .hero {
  position: relative;
  min-height: 70vh;
  padding: 370px 0 320px;
  overflow: visible; /* Allow bleeding */
  width: 100%;
  background: transparent !important;
}

.homepage .hero__layout {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* --- Hero Foreground Elements --- */
.homepage .hero__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  width: 100%;
  overflow: visible;
}

.homepage .hero__headline,
.homepage .hero__body,
.homepage .hero__trust {
  position: relative;
  z-index: 3; /* Foreground layer */
}

/* Full-width headline with bird in center */
.homepage .hero__headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  min-height: 400px;
}

.homepage .hero__headline-left,
.homepage .hero__headline-right {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.homepage .hero__headline-left {
  text-align: left;
}

.homepage .hero__headline-right {
  text-align: right;
}

.homepage .hero__headline-left span,
.homepage .hero__headline-right span {
  display: block;
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  color: #ffffff !important; /* Force solid white */
}

/* Centered body content */
.homepage .hero__body {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.homepage .hero__subtitle {
  font-size: clamp(19.2px, 2.4vw, 24px);
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.homepage .hero__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Trust section */
.homepage .hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}

.homepage .hero__trust-label {
  font-size: 12px;
  color: #FF9216;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.homepage .hero__trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.homepage .hero__trust-logos img {
  height: 48px;
  width: auto;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.homepage .hero__trust-logos img:hover {
  opacity: 1;
}

/* --- Hero Background Elements --- */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

/* Master Background SVG - Corrected positioning for 3063px bleed asset */
.homepage .homepage__banner-bg {
  position: absolute;
  top: -1510px;
  left: -880px;
  width: 3800px !important;
  height: 3246px !important;
  max-width: none !important;
  pointer-events: none;
}

/* --- Intro Quote Foreground Elements --- */
.homepage .intro-quote__inner {
  position: relative;
  max-width: 550px;
  width: min(550px, calc(100% - 48px));
  margin: 335px auto 0; /* Adjusted: 470px - 135px (half circle offset) */
  padding: 0 24px;
  overflow: visible;
  text-align: center;
  /* Flex centering for text within circle region */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 516px; /* Match circle height (ry=258 × 2) */
}

.homepage .intro-quote__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.homepage .intro-quote__text {
  position: relative;
  z-index: 3; /* Foreground layer */
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
  font-style: normal;
}

.homepage .intro-quote__text strong {
  font-weight: 700;
  color: #ffffff;
}

/* --- Intro Quote Background Elements --- */
.homepage .homepage__intro-bg {
  position: absolute;
  top: -165px; /* Anchored to the intro quote block */
  left: 50%;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  pointer-events: none;
  margin-left: -556px; /* Half width (1302/2) minus 95px center offset */
}

.homepage .homepage__intro-glow {
  position: absolute;
  top: -720px; /* Anchored to the intro quote block */
  left: 50%;
  width: 2366px !important;
  height: 2069px !important;
  max-width: none !important;
  pointer-events: none;
  margin-left: -960px; /* Centers glow with slight right offset */
}

/* ==========================================================================
   2. BUILT FOR ACCURACY
   ========================================================================== */
.homepage .built-for {
  position: relative;
  padding: 160px 0;
  background: transparent !important; /* Continuous Canvas */
  width: 100%;
  overflow: visible;
}

/* --- Built For Background Elements --- */
.built-for__glow {
  position: relative;
}

/* --- Built For Foreground Elements --- */
.homepage .built-for__header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 3;
}

.homepage .built-for__header .section-title {
  color: #ffffff;
}

.homepage .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 48px;
  position: relative;
  z-index: 3;
}

.homepage .feature-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
  text-align: center;
}

.homepage .feature-card:hover {
  transform: translateY(-8px);
}

.homepage .feature-card__icon {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  margin-bottom: 24px;
}

.homepage .feature-card__icon img {
  width: auto;
  height: 100%;
  max-height: 100px;
}

.homepage .feature-card__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  margin-bottom: 16px;
  color: #ffffff;
}

.homepage .feature-card__description {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* ==========================================================================
   3. FEATURE HIGHLIGHTS
   ========================================================================== */
.homepage .features {
  padding: 400px 0 0 0;
  background: transparent !important;
  overflow: visible;
  position: relative;
}

.homepage .features__layout {
  position: relative;
  width: 100%;
  overflow: visible;
}

.features__bg {
  position: absolute;
  top: -420px;
  left: 50%;
  width: 1200px; /* Anchors background to the exact content width */
  margin-left: -600px; /* Centers frame relative to section */
  height: 100%;
  pointer-events: none;
}

.features__bg-img {
  position: absolute;
  top: -160px; /* Adjusted: Original -660px + 400px padding-top offset */
  left: -2230px;
  width: 2600px;
  height: auto;
  max-width: none;
  opacity: 1;
  transform: scale(2.5);
  transform-origin: top left;
}

.features__bg-glow {
  position: absolute;
  top: 2600px; /* Adjusted: Original 2000px + 400px padding-top offset */
  left: -1000px;
  opacity: 1;
  z-index: 1;
}

/* --- Features Foreground Elements --- */
.homepage .features__header {
  text-align: left; /* Changed to left-aligned like mockup */
  margin-bottom: 120px;
  position: relative;
  z-index: 3;
}

.homepage .features .section-subtitle {
  margin-left: 0;
  margin-right: 0;
}

/* Feature showcase - alternating rows */
.homepage .feature-showcase {
  display: grid;
  grid-template-columns: 50% 50%; /* Adjusted for smaller images */
  gap: 80px;
  align-items: center;
  margin-bottom: 240px; /* More spacing like mockup */
  position: relative;
  z-index: 3;
}

.homepage .feature-showcase--reverse {
  grid-template-columns: 50% 50%;
  direction: rtl;
}

.homepage .feature-showcase--reverse > * {
  direction: ltr;
}

.homepage .feature-showcase__content {
  max-width: 440px;
  position: relative;
  padding-top: 20px; /* Reset padding to align accent precisely */
}

/* Orange corner accent */
.feature-showcase__accent {
  position: absolute;
  top: 0px;
  left: -44px; /* Maintain gap while doubling size */
  width: 32px;
  height: 32px;
  border-top: 2px solid #FF9216;
  border-left: 2px solid #FF9216;
}

.homepage .feature-showcase__title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.1;
}

.homepage .feature-showcase__desc {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.6;
}

.homepage .feature-showcase__visual {
  position: relative;
  z-index: 1;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.homepage .feature-showcase__image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 480px; /* Made screenshots smaller to match mockup */
}

.homepage .feature-showcase__visual img {
  position: relative;
  z-index: 5;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  width: 100%;
  height: auto;
  display: block;
  background: #090F27;
  filter: brightness(0.8); /* Dims the bright screenshots by 20% */
}

/* Individual Screenshot Sizing */
.feature-showcase--fact-check .feature-showcase__image-wrapper { max-width: 400px; }
.feature-showcase--scorecard .feature-showcase__image-wrapper { max-width: 400px; }
.feature-showcase--editor .feature-showcase__image-wrapper { max-width: 600px; }
.feature-showcase--input .feature-showcase__image-wrapper { max-width: 500px; }

/* Background elements for the image */
.feature-showcase__visual-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.feature-showcase__glow {
  position: absolute;
  /* Defined rectangle peaking out behind the image */
  inset: -10px; 
  background: conic-gradient(
    from 180deg at 50% 50%,
    #013482 0%,
    #013482 28%,
    #1874FF 43%,
    #1874FF 52%,
    #FF9216 68%,
    #C8610D 84%,
    #013482 100%
  );
  filter: blur(8px); /* Layer 1 (Top): Sharp blur for very vibrant "light bar" border */
  opacity: 1;
  border-radius: 20px;
  mix-blend-mode: plus-lighter;
  z-index: 2;
}

/* Layer 2 (Middle): Blur 445, Opacity 50% */
.feature-showcase__glow::before {
  content: '';
  position: absolute;
  inset: -100px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #013482 0%,
    #013482 33%,
    #1874FF 43%,
    #FF9216 52%,
    #C8610D 65%,
    #013482 100%
  );
  filter: blur(445px);
  opacity: 0.5;
  mix-blend-mode: plus-lighter;
  z-index: -1;
}

/* Layer 3 (Bottom): Blur 128, Opacity 30% */
.feature-showcase__glow::after {
  content: '';
  position: absolute;
  inset: -50px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #013482 0%,
    #013482 33%,
    #1874FF 43%,
    #FF9216 52%,
    #C8610D 65%,
    #013482 100%
  );
  filter: blur(128px);
  opacity: 0.3;
  mix-blend-mode: plus-lighter;
  z-index: -2;
}

.feature-showcase__dots {
  position: absolute;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background-image: url('../images/dots.webp');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  opacity: 0.4;
  z-index: 3;
  mask-image: linear-gradient(to top, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
}

/* ==========================================================================
   4. CONTENT SOLUTIONS
   ========================================================================== */
.homepage .solutions {
  padding: 100px 0;
  background: transparent !important;
  overflow: visible;
}

/* --- Solutions Foreground Elements --- */
.homepage .solutions__header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 3;
}

.homepage .solutions__header .section-title {
  margin-bottom: 24px;
}

.homepage .solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
}

.homepage .solution-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  transition: all 0.3s ease;
}

.homepage .solution-card:hover {
  transform: translateY(-8px);
}

.homepage .solution-card__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage .solution-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.homepage .solution-card__title {
  font-size: 32px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.homepage .solution-card__desc {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* ==========================================================================
   5. TESTIMONIALS
   ========================================================================== */
.homepage .testimonials {
  padding: 200px 0;
  background: transparent !important;
  overflow: visible;
  overflow-x: clip; /* Prevent horizontal scroll on mobile */
  position: relative;
  text-align: center;
}

.homepage .testimonials__layout {
  position: relative;
  width: 100%;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Testimonials Background Elements --- */
.testimonials__bg {
  position: absolute;
  top: -310px;
  left: 50%;
  width: 1440px; /* Fixed reference frame to match Figma/Hero */
  height: 100%;
  pointer-events: none;
  margin-left: -720px; /* Centers frame exactly */
}

.testimonials__glow {
  position: absolute;
  top: 820px;
  left: 50%;
  width: auto;
  height: auto;
  max-width: none;
  opacity: 1;
  pointer-events: none;
  margin-left: -603px; /* Exact half of 1206px SVG width */
  margin-top: -415px; /* Exact half of 831px SVG height */
}

.testimonials__bg-elements {
  position: absolute;
  top: 160px;
  left: 320px;
  width: auto;
  height: auto;
  max-width: none;
  scale: 1.2;
  opacity: 1;
}

/* --- Testimonials Foreground Elements --- */
.homepage .testimonials__header {
  margin-bottom: 48px;
  position: relative;
  z-index: 3;
  width: min(900px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.homepage .testimonials__header .section-title {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}

.homepage .testimonials__slider {
  padding-top: 40px;
  padding-bottom: 40px; /* Space for dots */
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  margin-top: -70px; /* Shift up to center in ellipse */
  transition: filter 0.4s ease;
  /* Flex centering for content within ellipse region */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 536px; /* Match ellipse height (ry=268 × 2) */
}

.homepage .testimonials__slider:hover {
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
}

.homepage .testimonials__track {
  position: relative;
  width: 100%;
  display: grid;
  flex-shrink: 0; /* Prevent shrinking in flex container */
}

.homepage .testimonials__slide {
  grid-area: 1 / 1; /* Stack all slides in the same grid cell */
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.homepage .testimonials__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.homepage .testimonial-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.homepage .testimonial-card__stars {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.homepage .testimonial-card__stars img {
  width: 140px;
  height: auto;
}

.homepage .testimonial-card__quote {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
  font-style: normal;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  transition: text-shadow 0.4s ease, transform 0.4s ease;
}

.homepage .testimonials__slider:hover .testimonial-card__quote {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
}

.homepage .testimonial-card__author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.homepage .testimonial-card__name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  color: #ffffff;
}

.homepage .testimonial-card__role {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}

/* Dots Navigation */
.homepage .testimonials__dots {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 4;
}

.homepage .testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.homepage .testimonials__dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
}

.homepage .testimonials__dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   6. PRICING
   ========================================================================== */
.homepage .pricing {
  position: relative;
  padding: 120px 0;
  background: transparent !important;
  overflow: visible;
}

/* --- Pricing Background Elements --- */
.pricing__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* --- Pricing Foreground Elements --- */
.homepage .pricing__header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 3;
}

/* Toggle */
.homepage .pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
  position: relative;
  z-index: 3;
}

.homepage .pricing-toggle--sticky {
  display: none;
  margin-top: 24px;
}

.homepage .pricing-toggle__label {
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8; /* Increased brightness from #64748b */
  transition: all 0.2s ease;
  cursor: pointer;
}

.homepage .pricing-toggle__label:hover {
  color: #cbd5e1;
}

.homepage .pricing-toggle__label.is-active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.homepage .pricing-toggle__switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage .pricing-toggle__switch:hover {
  transform: scale(1.1);
  border-color: #475569;
}

.homepage .pricing-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #FF9216;
  border-radius: 50%;
  transition: transform 0.25s;
}

.homepage .pricing-toggle__switch.is-annual::after {
  transform: translateX(24px);
}

.homepage .pricing-toggle__badge {
  background: rgba(34, 197, 94, 0.2); /* Slightly more opaque */
  color: #4ade80; /* Brighter green */
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* Pricing Calculator */
.homepage .pricing-calculator {
  max-width: 600px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 3;
}

.homepage .pricing-calculator > * {
  position: relative;
  z-index: 1;
}

.homepage .pricing-calculator > .pricing-calculator__backdrop {
  position: absolute;
  z-index: 0;
  display: none;
}

.homepage .pricing-calculator__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.homepage .pricing-calculator__label {
  font-size: 16px;
  font-weight: 600;
  color: #94a3b8;
}

.homepage .pricing-calculator__instruction {
  color: inherit;
  text-transform: none;
  letter-spacing: inherit;
  margin-right: 4px;
  font-style: inherit;
  border-bottom: 1px solid #FF9216;
}

.homepage .pricing-calculator__display {
  font-size: 18px;
  font-weight: 700;
  color: #FF9216;
}

.homepage .pricing-calculator__slider-container {
  position: relative;
  padding: 20px 0 20px;
}

.homepage .pricing-calculator__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  outline: none;
  position: relative;
  z-index: 2;
  margin: 0;
}

/* Larger Pill-shaped handle */
.homepage .pricing-calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 24px;
  background: #FF9216;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 146, 22, 0.4);
  transition: transform 0.1s ease, background-color 0.2s;
  border: none;
}

.homepage .pricing-calculator__slider::-webkit-slider-thumb:hover {
  transform: scale(1.05);
  background: #fb923c;
}

.homepage .pricing-calculator__slider::-moz-range-thumb {
  width: 40px;
  height: 24px;
  background: #FF9216;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 146, 22, 0.4);
  border: none;
}

.homepage .pricing-calculator__notches {
  position: absolute;
  top: 20px; /* Aligned with padding-top of container */
  left: 0;
  right: 0;
  height: 8px; /* Match slider height */
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 20px; /* Center of 40px thumb at min/max */
}

.homepage .pricing-calculator__notch {
  position: relative;
  width: 2px;
  height: 16px;
  background: #334155;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.homepage .pricing-calculator__slider-container .pricing-calculator__labels {
  padding: 0 20px;
}

.homepage .pricing-calculator__labels span {
  position: absolute;
  top: 0;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  transform: translateX(-50%);
}

.homepage .pricing-calculator__labels span:nth-child(1) { left: 20px; transform: none; }
.homepage .pricing-calculator__labels span:nth-child(2) { left: calc(20px + (100% - 40px) * 0.1666); }
.homepage .pricing-calculator__labels span:nth-child(3) { left: calc(20px + (100% - 40px) * 0.4444); }
.homepage .pricing-calculator__labels span:nth-child(4) { left: calc(100% - 20px); transform: translateX(-100%); }

/* Glow animation for estimates and word range */
.homepage #word-count-display,
.homepage .pricing-calculator__display-words {
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.homepage #word-count-display.is-updating,
.homepage .pricing-calculator__display-words.is-updating {
  color: #ffffff;
  text-shadow: 0 0 15px #FF9216, 0 0 30px rgba(255, 146, 22, 0.6);
  transform: scale(1.05);
}

.homepage .pricing-card__amount {
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.homepage .pricing-card__amount.is-updating {
  color: #ffffff;
  text-shadow: 0 0 15px #FF9216, 0 0 30px rgba(255, 146, 22, 0.6);
  transform: scale(1.05);
}

.homepage .pricing-card__word-price {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.homepage .pricing-card__word-price.is-updating {
  color: #ffffff;
  text-shadow: 0 0 12px #FF9216, 0 0 24px rgba(255, 146, 22, 0.55);
}

/* Pricing grid */
.homepage .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 3;
}

.homepage .pricing-card {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.04) 0%, rgba(59, 130, 246, 0.12) 100%), #111827;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.05);
}

.homepage .pricing-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
}

.homepage .pricing-card--featured {
  background: linear-gradient(180deg, rgba(255, 146, 22, 0.04) 0%, rgba(255, 146, 22, 0.12) 100%), #111827;
  border-color: #FF9216;
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 10px 40px rgba(255, 146, 22, 0.2), 0 0 20px rgba(255, 146, 22, 0.1);
}

.homepage .pricing-card--featured:hover {
  transform: scale(1.06) translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 146, 22, 0.3), 0 0 30px rgba(255, 146, 22, 0.2);
}

.homepage .pricing-card--enterprise {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.25) 100%), #111827;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.15);
}

.homepage .pricing-card--enterprise:hover {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 130, 246, 0.3);
}

.homepage .pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF9216;
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.homepage .pricing-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.homepage .pricing-card--enterprise .pricing-card__name {
  color: #93c5fd;
}

.homepage .pricing-card__amount {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.homepage .pricing-card__unit-inline {
  font-size: 16px;
  font-weight: 400;
  color: #94a3b8;
  margin-left: 4px;
}

.homepage .pricing-card__articles {
  font-size: 14px;
  color: #FF9216;
  font-weight: 500;
  margin-bottom: 24px;
}

.homepage .pricing-card__sticky-lines {
  position: relative;
}

.homepage .pricing-tier-sticky {
  display: none;
}

.homepage .pricing-card__features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.homepage .pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: #94a3b8;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.homepage .pricing-card--enterprise .pricing-card__features li {
  border-bottom-color: rgba(59, 130, 246, 0.2);
}

.homepage .pricing-card__features li strong {
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* "Everything in [tier], plus:" label styling */
.homepage .pricing-card__features li.pricing-card__includes {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 6px;
  padding: 12px 20px;
  margin-bottom: 8px;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.homepage .pricing-card--featured .pricing-card__features li.pricing-card__includes {
  background: linear-gradient(135deg, rgba(255, 145, 0, 0.15) 0%, rgba(255, 145, 0, 0.05) 100%);
  border-color: rgba(255, 145, 0, 0.35);
}

.homepage .pricing-card__features li:last-child {
  border-bottom: none;
}

.homepage .pricing-card__features li svg {
  width: 18px;
  height: 18px;
  color: #3b82f6;
  flex-shrink: 0;
}

.homepage .pricing-card__price {
  margin-top: auto;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

/* Pricing outline CTAs - increase contrast */
.homepage .pricing-card .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.04);
}

.homepage .pricing-card .btn--outline:hover {
  border-color: #FF9216;
  background: rgba(255, 146, 22, 0.12);
  color: #FF9216 !important;
}

.homepage .pricing-card__price small {
  font-size: 14px;
  font-weight: 400;
  color: #94a3b8;
}

/* ==========================================================================
   7. FAQ
   ========================================================================== */
.homepage .faq {
  position: relative;
  padding: 300px 0 150px 0;
  background: transparent !important;
  overflow: visible;
}

/* --- FAQ Background Elements --- */
.faq__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.faq__bg-elements {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2398px;
  height: 1525px;
  margin-top: -1460px;
  margin-left: -1300px;
  object-fit: contain;
  mix-blend-mode: plus-lighter;
  max-width: none !important;
}

/* --- FAQ Foreground Elements --- */
.homepage .faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
  position: relative;
  z-index: 3;
}

.homepage .faq__content {
  grid-column: 2;
}

.homepage .faq-list {
  margin-top: 48px;
}

.homepage .faq-item {
  margin-bottom: 48px;
}

.homepage .faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
}

.homepage .faq-item__arrow {
  color: #FF9216;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  width: 19px;
  height: 34px;
}

.homepage .faq-item__arrow img {
  width: 100%;
  height: auto;
  display: block;
}

.homepage .faq-item__a {
  padding-left: 0;
}

.homepage .faq-item__a p {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 580px;
}

/* ==========================================================================
   8. FINAL CTA - Now handled by global-cta in global.css
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE (HOME ONLY)
   ========================================================================== */
@media (max-width: 1200px) {
  .homepage .hero__headline-left span,
  .homepage .hero__headline-right span {
    font-size: 56px;
  }
  
  .homepage .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .homepage .pricing-card--featured {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .homepage .hero {
    min-height: auto;
    padding: 170px 24px 80px;
  }
  
  .homepage .hero__headline {
    gap: 20px;
    min-height: auto;
  }
  
  .homepage .hero__headline-left span,
  .homepage .hero__headline-right span {
    font-size: 48px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.7);
  }
  
  .homepage .hero__inner {
    text-align: center;
  }
  
  .homepage .hero__body {
    max-width: 100%;
    margin: 0 auto 32px;
  }

  .homepage .intro-quote__inner {
    margin-top: clamp(105px, 24vw, 335px); /* Adjusted for circle centering */
  }
  
  .homepage .hero__ctas {
    justify-content: center;
  }
  
  .homepage .hero__trust {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .homepage .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
  
  .homepage .feature-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .homepage .feature-showcase--reverse {
    direction: ltr;
  }
  
  .homepage .feature-showcase__content {
    max-width: 100%;
    text-align: center;
  }

  .homepage .feature-showcase__desc {
    max-width: 50%;
    margin: 0 auto;
  }
  
  .homepage .feature-showcase--reverse .feature-showcase__content {
    margin-left: 0;
  }
  
  .homepage .feature-showcase__visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Hide orange corner accent on mobile */
  .feature-showcase__accent {
    display: none;
  }
  
  .homepage .section-title {
    font-size: 48px;
  }
  
  .homepage .built-for__header .section-title {
    font-size: 48px;
  }
  
  .homepage .feature-card__title,
  .homepage .solution-card__title {
    font-size: clamp(24px, 3vw, 32px);
  }
  
  .homepage .solution-card__desc {
    font-size: 16px;
  }
  
  /* Testimonials slider - prevent width compaction on mobile */
  .homepage .testimonials__slider {
    width: 100%;
    max-width: 100%;
  }
  
  /* Testimonials background positioning - tablet/mobile */
  .testimonials__bg {
    position: absolute;
    top: -430px;
    left: 50%;
    width: 1440px; /* Fixed reference frame to match Figma/Hero */
    height: 100%;
    pointer-events: none;
    margin-left: -720px; /* Centers frame exactly */
  }
  
  .testimonials__glow {
    position: absolute;
    top: 820px;
    left: 50%;
    width: auto;
    height: auto;
    max-width: none;
    opacity: 1;
    pointer-events: none;
    margin-left: -603px; /* Exact half of 1206px SVG width */
    margin-top: -415px; /* Exact half of 831px SVG height */
  }
  
  .testimonials__bg-elements {
    position: absolute;
    top: 160px;
    left: 320px;
    width: auto;
    height: auto;
    max-width: none;
    scale: 1.2;
    opacity: 1;
  }
  
  /* Feature highlights section - adjust header sizes for mobile */
  .homepage .features__header .section-title {
    font-size: 48px;
  }
  
  .homepage .feature-showcase__title {
    font-size: clamp(28px, 4vw, 40px);
  }
  
  /* Feature highlights header glow for mobile */
  .homepage .section-label {
    text-shadow: 0 0 20px rgba(255, 146, 22, 0.9), 0 0 40px rgba(255, 146, 22, 0.6);
  }
  
  .homepage .section-title {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.7);
  }
  
  .homepage .section-subtitle {
    text-shadow: 0 0 20px rgba(148, 163, 184, 0.7), 0 0 40px rgba(148, 163, 184, 0.5), 0 2px 4px rgba(0, 0, 0, 0.6);
  }
  
  /* Feature highlights background - anchor from left on mobile */
  .features__bg {
    left: 0;
    margin-left: 0;
  }

  .homepage .faq__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .homepage .faq__content {
    grid-column: 1;
    text-align: left;
    width: 60%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .homepage .faq__content .section-label,
  .homepage .faq__content .section-title {
    text-align: center;
  }
  
  .homepage .faq__content .section-label {
    text-shadow: 0 0 20px rgba(255, 146, 22, 0.9), 0 0 40px rgba(255, 146, 22, 0.6);
  }
  
  .homepage .faq__content .section-title {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.7);
  }

  .homepage .faq-item__q {
    font-size: 24px;
  }

  .homepage .faq-item__a {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  body.lw-shared-layout {
    overflow-y: visible !important;
  }

  .homepage {
    --lw-header-offset: 0px;
    --lw-header-height: 60px;
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  .homepage .hero__headline {
    gap: 12px;
    justify-content: space-between;
  }
  
  .homepage .hero__headline-left span,
  .homepage .hero__headline-right span {
    font-size: 40px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.7);
  }
  
  .homepage .hero__ctas {
    flex-direction: column;
  }
  
  .homepage .hero__ctas .btn {
    width: 100%;
  }

  .homepage .intro-quote__inner {
    margin-top: clamp(65px, 30vw, 225px); /* Adjusted for circle centering */
  }
  
  .homepage .features-grid,
  .homepage .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .homepage .features-grid {
    gap: 40px;
  }
  
  .homepage .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .homepage .pricing-card--featured {
    order: 0;
  }

  .homepage .pricing-calculator {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--lw-header-offset) + var(--lw-header-height) - 6px);
    z-index: 6;
    padding: 10px 0 12px;
  }

  .homepage .pricing-calculator__slider-container {
    padding-bottom: 8px;
  }

  .homepage .pricing-calculator > .pricing-calculator__backdrop {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(9, 15, 39, 0.95);
    box-shadow: 0 12px 30px rgba(9, 15, 39, 0.5);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
  }

  .homepage .pricing-calculator.is-stuck > .pricing-calculator__backdrop {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .homepage .pricing-calculator.is-stuck {
    touch-action: none;
  }

  .homepage .pricing-calculator.is-stuck .pricing-calculator__slider,
  .homepage .pricing-calculator.is-stuck .pricing-toggle__switch,
  .homepage .pricing-calculator.is-stuck .pricing-toggle__label {
    touch-action: manipulation;
  }

  .homepage .pricing-calculator.is-stuck {
    box-shadow: 0 12px 24px rgba(5, 10, 25, 0.45);
  }

  .homepage .pricing-toggle {
    margin-top: 8px;
  }

  .homepage .pricing > .container > .pricing-toggle {
    display: none;
  }

  .homepage .pricing-toggle--sticky {
    display: none;
  }

  .homepage .pricing-calculator.is-stuck .pricing-toggle--sticky {
    display: flex;
  }
  
  .homepage .section-title {
    font-size: 40px;
  }
  
  .homepage .built-for__header .section-title {
    font-size: 40px;
  }
  
  .homepage .feature-card__title,
  .homepage .solution-card__title {
    font-size: clamp(26px, 3.5vw, 36px);
  }
  
  .homepage .solution-card__desc {
    font-size: 16px;
  }

  /* Feature highlights tile/card backgrounds - hide on mobile */
  .feature-showcase__glow::before,
  .feature-showcase__glow::after {
    display: none;
  }
  
  /* Testimonials background positioning - small mobile */
  .testimonials__bg {
    position: absolute;
    top: -420px;
    left: 50%;
    width: 1440px; /* Fixed reference frame to match Figma/Hero */
    height: 100%;
    pointer-events: none;
    margin-left: -720px; /* Centers frame exactly */
  }
  
  .testimonials__glow {
    position: absolute;
    top: 820px;
    left: 50%;
    width: auto;
    height: auto;
    max-width: none;
    opacity: 1;
    pointer-events: none;
    margin-left: -603px; /* Exact half of 1206px SVG width */
    margin-top: -415px; /* Exact half of 831px SVG height */
  }
  
  .testimonials__bg-elements {
    position: absolute;
    top: 160px;
    left: 320px;
    width: auto;
    height: auto;
    max-width: none;
    scale: 1.2;
    opacity: 1;
  }
  
  /* Feature highlights section - adjust header sizes for smaller mobile */
  .homepage .features__header .section-title {
    font-size: 40px;
  }
  
  .homepage .feature-showcase__title {
    font-size: clamp(26px, 3.5vw, 36px);
  }
  
  /* Enhanced glow for smaller mobile devices */
  .homepage .section-label {
    text-shadow: 0 0 25px rgba(255, 146, 22, 0.95), 0 0 50px rgba(255, 146, 22, 0.7);
  }
  
  .homepage .section-title {
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.9), 0 0 80px rgba(255, 255, 255, 0.7), 0 4px 12px rgba(0, 0, 0, 0.8);
  }

  .homepage .hero__headline-left span,
  .homepage .hero__headline-right span {
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.9), 0 0 80px rgba(255, 255, 255, 0.7), 0 4px 12px rgba(0, 0, 0, 0.8);
  }
  
  .homepage .section-subtitle {
    text-shadow: 0 0 25px rgba(148, 163, 184, 0.8), 0 0 50px rgba(148, 163, 184, 0.6), 0 2px 6px rgba(0, 0, 0, 0.7);
  }

  .homepage .faq-item__q {
    font-size: 20px;
    gap: 12px;
  }

  .homepage .faq-item__a {
    padding-left: 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .homepage {
    --lw-header-height: 60px;
  }

  body.lw-shared-layout {
    overflow-y: visible !important;
  }

  .homepage {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  .homepage .pricing-calculator {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--lw-header-offset) + 68px) !important;
    z-index: 6;
    padding: 10px 0 12px;
  }

  .homepage .pricing-calculator > .pricing-calculator__backdrop {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(9, 15, 39, 0.95);
    box-shadow: 0 12px 30px rgba(9, 15, 39, 0.5);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
  }

  .homepage .pricing-calculator.is-stuck > .pricing-calculator__backdrop {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .homepage .pricing > .container > .pricing-toggle {
    display: none;
  }

  .homepage .pricing-toggle--sticky {
    display: none;
  }

  .homepage .pricing-calculator.is-stuck .pricing-toggle--sticky {
    display: flex;
  }

  .homepage .pricing-calculator .pricing-toggle--sticky {
    margin-top: 4px;
  }

  .homepage .pricing-calculator__slider-container {
    padding-bottom: 12px;
  }
}

@media (min-width: 1025px) {
  .homepage {
    --lw-header-height: 54px;
  }

  body.lw-shared-layout {
    overflow-y: visible !important;
  }

  .homepage {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  .homepage .pricing-calculator {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--lw-header-offset) + 62px) !important;
    z-index: 6;
    padding: 10px 0 6px;
  }

  .homepage .pricing-calculator.is-stop {
    position: relative;
  }

  .homepage .pricing-calculator > .pricing-calculator__backdrop {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(9, 15, 39, 0.95);
    box-shadow: 0 12px 30px rgba(9, 15, 39, 0.5);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  .homepage .pricing-calculator.is-stuck > .pricing-calculator__backdrop {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.2s ease;
  }

  .homepage .pricing-toggle--sticky {
    display: none;
  }

  .homepage .pricing-tier-sticky {
    display: block;
    position: sticky;
    top: var(--pricing-tier-sticky-top, 0px);
    z-index: 7;
    height: 0;
    overflow: visible;
    pointer-events: none;
  }

  .homepage .pricing-tier-sticky__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
  }

  /* Single full-width sticky bar (matches slider sticky backdrop) */
  .homepage .pricing-tier-sticky__grid::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 6px);
    background: rgba(9, 15, 39, 0.95);
    box-shadow: 0 12px 30px rgba(9, 15, 39, 0.5);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  .homepage .pricing--selector-stuck .pricing-tier-sticky__grid::before {
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  .homepage .pricing--selector-stuck .pricing-tier-sticky__grid {
    opacity: 1;
    pointer-events: auto;
  }

  .homepage .pricing-tier-sticky__col {
    position: relative;
    padding: 6px 24px 10px;
  }

  .homepage .pricing-tier-sticky__col::before {
    display: none;
  }

  .homepage .pricing-tier-sticky__col > * {
    position: relative;
    z-index: 1;
  }

  .homepage .pricing-tier-sticky__amount {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
  }

  .homepage .pricing-tier-sticky__articles {
    font-size: 14px;
    color: #FF9216;
    font-weight: 500;
    margin-top: 4px;
  }

  .homepage .pricing-card__amount,
  .homepage .pricing-card__articles {
    transition: opacity 0.2s ease;
  }

  .homepage .pricing--selector-stuck .pricing-card__amount,
  .homepage .pricing--selector-stuck .pricing-card__articles {
    opacity: 0;
  }

  .homepage .pricing--selector-stuck .pricing-card {
    transform: none;
  }

  .homepage .pricing--selector-stuck .pricing-card:hover {
    transform: none;
  }

  .homepage .pricing--selector-stuck .pricing-card--featured {
    transform: none;
  }

  .homepage .pricing--selector-stuck .pricing-card--featured:hover {
    transform: none;
  }

  .homepage .pricing--selector-stuck .pricing-tier-sticky__col::before { display: none; }
}

@media (min-width: 601px) and (max-width: 768px) {
  body.lw-shared-layout.admin-bar .homepage {
    --lw-header-offset: 46px;
  }
}

@media (max-width: 480px) {
  .homepage .hero__headline {
    gap: 8px;
    min-height: auto;
  }
  
  .homepage .hero__headline-left span,
  .homepage .hero__headline-right span {
    font-size: clamp(24px, 6vw, 32px);
  }
  
  .homepage .hero__headline-left,
  .homepage .hero__headline-right {
    flex-shrink: 1;
  }
  
  .homepage .hero__subtitle {
    text-wrap: balance;
  }
  
  .homepage .hero__subtitle br {
    display: none;
  }
  
  .homepage .feature-card,
  .homepage .solution-card {
    padding: 24px 20px;
  }
  
  .homepage .pricing-card {
    padding: 24px 20px;
  }
  
  .homepage .testimonial-card {
    padding: 32px 20px;
  }
  
  /* Testimonials background positioning - extra small mobile */
  .testimonials__bg {
    position: absolute;
    top: -350px;
    left: 50%;
    width: 1440px; /* Fixed reference frame to match Figma/Hero */
    height: 100%;
    pointer-events: none;
    margin-left: -720px; /* Centers frame exactly */
  }
  
  .testimonials__glow {
    position: absolute;
    top: 820px;
    left: 50%;
    width: auto;
    height: auto;
    max-width: none;
    opacity: 1;
    pointer-events: none;
    margin-left: -603px; /* Exact half of 1206px SVG width */
    margin-top: -415px; /* Exact half of 831px SVG height */
  }
  
  .testimonials__bg-elements {
    position: absolute;
    top: 160px;
    left: 320px;
    width: auto;
    height: auto;
    max-width: none;
    scale: 1.2;
    opacity: 1;
  }
}
