/* ==========================================================================
   home.css — Homepage premium styles
   ========================================================================== */

/* Lucide star icons filled gold in trust bar */
.trust-bar__stars i[data-lucide="star"] {
  fill: var(--color-star);
  stroke: var(--color-star);
}

/* Testimonial star icons filled */
.testimonial-stars i[data-lucide="star"] {
  fill: var(--color-star);
  stroke: var(--color-star);
}

/* Hero tighter spacing (overhaul) */
.hero-dark-premium.section-premium {
  padding: clamp(32px, 3vw, 44px) 0 clamp(48px, 6vw, 72px);
}

/* --------------------------------------------------------------------------
   Trust Badges (`.trust-badges__item` — homepage variant)
   -------------------------------------------------------------------------- */
.trust-badges__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badges__item i {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

.trust-badges--dark .trust-badges__item {
  color: rgba(255, 255, 255, 0.75);
}

.trust-badges--dark .trust-badges__item i {
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Hero Badge Pill (premium animated gradient border + shimmer)
   -------------------------------------------------------------------------- */
/* --- Hero Logo (replaces hero badge) --- */
.hero-logo {
  text-align: center;
  margin: 0 auto var(--space-6);
}

.hero-logo__img {
  height: 420px;
  width: auto;
  filter: drop-shadow(0 0 40px rgba(47, 128, 237, 0.35))
          drop-shadow(0 0 80px rgba(47, 128, 237, 0.15));
  animation: hero-logo-glow 4s ease-in-out infinite;
}

@keyframes hero-logo-glow {
  0%, 100% {
    filter: drop-shadow(0 0 40px rgba(47, 128, 237, 0.35))
            drop-shadow(0 0 80px rgba(47, 128, 237, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 60px rgba(47, 128, 237, 0.45))
            drop-shadow(0 0 100px rgba(47, 128, 237, 0.25));
  }
}

@media (max-width: 767px) {
  .hero-logo__img {
    height: 320px;
  }
  /* Full variant overrides handled in --full block below */
}

@media (max-width: 374px) {
  .hero-logo__img {
    height: 260px;
  }
}

/* Full logo variant (gear + text + tagline) — go BIG */
.hero-logo__img--full {
  height: auto;
  max-height: none;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: block;
  /* Override the rectangular glow — no filter on full logo */
  filter: none !important;
  animation: none !important;
  background: transparent;
  border: none;
  outline: none;
}

/* On mobile, keep logo within viewport */
@media (max-width: 767px) {
  .hero-logo {
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .hero-logo__img.hero-logo__img--full {
    height: auto !important;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 374px) {
  .hero-logo {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .hero-logo__img.hero-logo__img--full {
    height: auto !important;
    max-width: 100%;
    width: 100%;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: fit-content;
  margin: 0 auto var(--space-6);
  padding: 10px 22px;
  border-radius: 100px;
  position: relative;
  cursor: default;
  /* Animated gradient border via background trick */
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.70)) padding-box,
    linear-gradient(135deg, #60B4FF, #818CF8, #A78BFA, #60B4FF) border-box;
  border: 1.5px solid transparent;
  background-size: 100% 100%, 300% 300%;
  animation: badge-border-shift 4s ease infinite;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 20px rgba(96, 180, 255, 0.15),
    0 0 60px rgba(96, 180, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: box-shadow 300ms ease, transform 200ms ease;
}

/* Shimmer sweep effect */
.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  animation: badge-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.hero-badge:hover {
  box-shadow:
    0 0 30px rgba(96, 180, 255, 0.25),
    0 0 80px rgba(96, 180, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.hero-badge span {
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-badge__text {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 0 0 24px rgba(96, 180, 255, 0.40);
  background: linear-gradient(135deg, #fff 0%, #60B4FF 50%, #A78BFA 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: badge-text-shimmer 4s ease infinite;
}

@keyframes badge-text-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-badge__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60B4FF, #818CF8);
  box-shadow:
    0 0 8px rgba(96, 180, 255, 0.70),
    0 0 20px rgba(96, 180, 255, 0.30);
  animation: badge-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badge-dot-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(96, 180, 255, 0.70), 0 0 20px rgba(96, 180, 255, 0.30);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 4px rgba(96, 180, 255, 0.40), 0 0 12px rgba(96, 180, 255, 0.15);
  }
}

@keyframes badge-border-shift {
  0%   { background-position: 0% 50%, 0% 50%; }
  50%  { background-position: 0% 50%, 100% 50%; }
  100% { background-position: 0% 50%, 0% 50%; }
}

@keyframes badge-shimmer {
  0%        { left: -100%; }
  50%, 100% { left: 100%; }
}

/* --------------------------------------------------------------------------
   Hero Trust Badges — styled pill badges
   -------------------------------------------------------------------------- */
.hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-trust-badge i {
  width: 16px;
  height: 16px;
  color: #34D399;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }
}

/* --------------------------------------------------------------------------
   Hero Social Proof
   -------------------------------------------------------------------------- */
.hero-social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-4);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(47, 128, 237, 0.15) 0%, rgba(139, 92, 246, 0.12) 100%);
  border: 1px solid rgba(96, 180, 255, 0.25);
  border-radius: 20px;
  padding: 16px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(47, 128, 237, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  animation: pill-glow 3s ease-in-out infinite alternate;
}

.hero-social-proof__stars {
  display: flex;
  gap: 4px;
  justify-content: center;
}

@keyframes pill-glow {
  0%   { box-shadow: 0 0 20px rgba(47, 128, 237, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
  100% { box-shadow: 0 0 30px rgba(96, 180, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
}

.hero-social-proof span {
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Hero Price Anchor
   -------------------------------------------------------------------------- */
.hero-price-anchor {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: var(--space-8);
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Hero Trust Badges — brighter variant
   -------------------------------------------------------------------------- */
.trust-badges--hero {
  gap: var(--space-5);
  margin-top: var(--space-3);
}

.trust-badges--hero .trust-badges__item {
  position: relative;
  padding-left: var(--space-4);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.trust-badges--hero .trust-badges__item:first-child {
  padding-left: 0;
}

.trust-badges--hero .trust-badges__item:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.20);
}

.trust-badges--hero .trust-badges__item i {
  color: rgba(96, 180, 255, 0.70);
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Hero Floating Orbs
   -------------------------------------------------------------------------- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  mix-blend-mode: screen;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.18) 0%, rgba(99,102,241, 0.08) 50%, transparent 70%);
  top: 15%;
  left: -8%;
  animation: hero-orb-float 12s ease-in-out infinite alternate;
}

.hero-orb--2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, rgba(30, 80, 180, 0.06) 50%, transparent 70%);
  bottom: 5%;
  right: -5%;
  animation: hero-orb-float 10s ease-in-out infinite alternate-reverse;
}

.hero-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 60%;
  animation: hero-orb-float 14s ease-in-out infinite alternate;

@keyframes hero-orb-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-30px); }
}

/* --------------------------------------------------------------------------
   Hero Star Particles
   -------------------------------------------------------------------------- */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-particles::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: white;
  box-shadow:
    120px 80px 0 0 rgba(255,255,255,0.4),
    340px 160px 0 0 rgba(255,255,255,0.3),
    560px 60px 0 0 rgba(255,255,255,0.5),
    780px 220px 0 0 rgba(255,255,255,0.35),
    200px 300px 0 0 rgba(255,255,255,0.45),
    450px 400px 0 0 rgba(255,255,255,0.3),
    670px 340px 0 0 rgba(255,255,255,0.5),
    890px 120px 0 0 rgba(255,255,255,0.4),
    100px 500px 0 0 rgba(255,255,255,0.35),
    320px 550px 0 0 rgba(255,255,255,0.45),
    540px 480px 0 0 rgba(255,255,255,0.3),
    760px 520px 0 0 rgba(255,255,255,0.5),
    50px 200px 0 0 rgba(255,255,255,0.4),
    280px 50px 0 0 rgba(255,255,255,0.55),
    500px 250px 0 0 rgba(255,255,255,0.3),
    720px 450px 0 0 rgba(255,255,255,0.45),
    940px 350px 0 0 rgba(255,255,255,0.35),
    160px 420px 0 0 rgba(255,255,255,0.5),
    380px 280px 0 0 rgba(255,255,255,0.4),
    600px 150px 0 0 rgba(255,255,255,0.3),
    820px 50px 0 0 rgba(255,255,255,0.55),
    1000px 280px 0 0 rgba(255,255,255,0.35),
    1100px 180px 0 0 rgba(255,255,255,0.4),
    1200px 400px 0 0 rgba(255,255,255,0.3),
    400px 600px 0 0 rgba(255,255,255,0.45);
  animation: hero-stars-drift 60s linear infinite;
}

@keyframes hero-stars-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-200px); }
}

/* --------------------------------------------------------------------------
   Hero Noise Grain Overlay
   -------------------------------------------------------------------------- */
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-noise::after {
  content: '';
  position: absolute;
  inset: 0;
  filter: url(#hero-grain);
  opacity: 0.03;
}

/* --------------------------------------------------------------------------
   Problem cards — red X icon accent
   -------------------------------------------------------------------------- */
.card-feature .problem-card__x {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   Solution list items — slight hover effect (legacy support)
   -------------------------------------------------------------------------- */
.solution-list__item {
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 200ms ease;
}

.solution-list__item:hover {
  background-color: rgba(47, 128, 237, 0.04);
}

/* --------------------------------------------------------------------------
   How it works step cards — numbered accent
   -------------------------------------------------------------------------- */
.steps-grid .card-feature {
  position: relative;
  overflow: visible;
}

.steps-grid .step-number {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--color-electric-light), #EDE9FE);
  border: 2px solid rgba(47, 128, 237, 0.15);
}

/* --------------------------------------------------------------------------
   What You Get section — bento grid stagger
   -------------------------------------------------------------------------- */
.bento-grid .card-feature:nth-child(1) { transition-delay: 0s; }
.bento-grid .card-feature:nth-child(2) { transition-delay: 0.1s; }
.bento-grid .card-feature:nth-child(3) { transition-delay: 0.2s; }
.bento-grid .card-feature:nth-child(4) { transition-delay: 0.3s; }
.bento-grid .card-feature:nth-child(5) { transition-delay: 0.4s; }
.bento-grid .card-feature:nth-child(6) { transition-delay: 0.5s; }

/* Dark section card overrides for bento grid */
.section-dark .card-feature,
.hero-dark .card-feature,
.section-hero .card-feature,
[style*="color-midnight"] .card-feature,
[style*="background-color:var(--color-midnight)"] .card-feature {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.90);
}

.section-dark .card-feature:hover,
.hero-dark .card-feature:hover,
.section-hero .card-feature:hover,
[style*="background-color:var(--color-midnight)"] .card-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
}

.section-dark .card-feature__title,
.hero-dark .card-feature__title,
.section-hero .card-feature__title,
[style*="background-color:var(--color-midnight)"] .card-feature__title {
  color: var(--color-white);
}

.section-dark .card-feature__desc,
.hero-dark .card-feature__desc,
.section-hero .card-feature__desc,
[style*="background-color:var(--color-midnight)"] .card-feature__desc {
  color: rgba(255, 255, 255, 0.70);
}

/* Bento grid specific — parent section uses inline background-color:var(--color-midnight) */
.bento-grid .card-feature {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.90);
}

.bento-grid .card-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
}

.bento-grid .card-feature .card-feature__title {
  color: var(--color-white);
}

.bento-grid .card-feature .card-feature__description {
  color: rgba(255, 255, 255, 0.70);
}

/* --------------------------------------------------------------------------
   Pricing section — recommended card gradient top border
   -------------------------------------------------------------------------- */
#pricing .card-pricing.recommended {
  position: relative;
}

#pricing .card-pricing.recommended::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2F80ED, #8B5CF6, #2F80ED);
  border-radius: 16px 16px 0 0;
}

/* --------------------------------------------------------------------------
   Mock Dashboard — stat card and chart bar (homepage-specific classes)
   -------------------------------------------------------------------------- */
.mock-dashboard__main {
  padding: var(--space-6);
  flex: 1;
  min-width: 0;
}

.mock-dashboard__stat-card {
  padding: var(--space-4);
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-muted);
  text-align: left;
}

.mock-dashboard__stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.mock-dashboard__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.mock-dashboard__stat-change {
  font-size: 0.6875rem;
  font-weight: 600;
  margin-top: 2px;
}

.mock-dashboard__stat-change.positive {
  color: var(--color-success);
}

.mock-dashboard__chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 80px;
  margin-bottom: var(--space-6);
}

.mock-dashboard__bar {
  flex: 1;
  background: linear-gradient(180deg, var(--color-electric) 0%, rgba(47, 128, 237, 0.4) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

/* --------------------------------------------------------------------------
   FAQ accordion — premium styling
   -------------------------------------------------------------------------- */
.accordion--faq .accordion__trigger {
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 20px 0;
}

/* --------------------------------------------------------------------------
   Hero headline & subheadline — premium spacing
   -------------------------------------------------------------------------- */
.hero-dark-premium .hero-headline {
  margin-bottom: var(--space-6);
}

.hero-dark-premium .hero-subheadline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1875rem;
  line-height: 1.65;
  max-width: 580px;
}

/* --------------------------------------------------------------------------
   Hero CTA — premium glow effects
   -------------------------------------------------------------------------- */
.hero-dark-premium .btn-primary.btn-lg {
  box-shadow: 0 0 20px rgba(47, 128, 237, 0.25), 0 1px 3px rgba(0, 0, 0, 0.20);
}

.hero-dark-premium .btn-primary.btn-lg:hover:not(:disabled) {
  box-shadow: 0 0 30px rgba(47, 128, 237, 0.40), 0 0 0 3px rgba(47, 128, 237, 0.20), 0 8px 20px -4px rgba(47, 128, 237, 0.35);
}

.hero-dark-premium .btn-secondary-dark.btn-lg {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-dark-premium .btn-secondary-dark.btn-lg:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   Smooth section transitions
   -------------------------------------------------------------------------- */
.section-premium + .section-premium {
  border-top: none;
}

/* --------------------------------------------------------------------------
   Premium overline badge style (homepage overrides)
   -------------------------------------------------------------------------- */
.section-header .overline,
.section-header-premium .overline {
  display: inline-block;
  background: rgba(47, 128, 237, 0.08);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

.section-header--dark .overline {
  background: rgba(47, 128, 237, 0.15);
}

/* --------------------------------------------------------------------------
   Metric cards — enlarged values
   -------------------------------------------------------------------------- */
.metric-card {
  background: linear-gradient(135deg, #E8F1FD 0%, #EDE9FE 100%);
}

.metric-card__value {
  background: linear-gradient(135deg, var(--color-midnight), #2F80ED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   Responsive: mobile hero spacing
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero-dark-premium.section-premium {
    padding: clamp(64px, 8vw, 96px) 0;
  }

  .mock-dashboard__stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .mock-dashboard__chart {
    display: none;
  }

  .mock-dashboard__lists {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   Video placeholder — homepage spacing
   -------------------------------------------------------------------------- */
.video-placeholder {
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   Logo bar — fade edges match hero dark background
   -------------------------------------------------------------------------- */
.hero-dark-premium .logo-bar::before {
  background: linear-gradient(90deg, #081C2E 0%, transparent 100%);
}

.hero-dark-premium .logo-bar::after {
  background: linear-gradient(90deg, transparent 0%, #081C2E 100%);
}

/* --------------------------------------------------------------------------
   Mobile Responsive Fixes — iPhone, Android, iPad
   -------------------------------------------------------------------------- */

/* Tablet (768-1023px) */
@media (max-width: 1023px) {
  /* Hero section tighter on tablet */
  .hero-dark-premium.section-premium {
    padding: clamp(72px, 8vw, 112px) 0;
  }

  /* Value anchor pill wraps nicely */
  .value-anchor {
    font-size: 0.875rem;
    padding: var(--space-2) var(--space-4);
  }

  /* Hero headline smaller on tablet */
  .h1-hero {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
  }

  /* Hero subheadline tighter */
  .hero-subheadline {
    font-size: 1rem;
    max-width: 520px;
  }

  /* Hero buttons side by side still, but smaller */
  .hero-buttons {
    gap: var(--space-3);
  }

  /* Trust badges wrap nicely */
  .trust-badges {
    gap: var(--space-4);
  }

  /* Bento grid 2-col on tablet */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Metrics row 2-col */
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Mock dashboard hide sidebar */
  .mock-dashboard__body {
    grid-template-columns: 1fr;
  }
  .mock-dashboard__sidebar {
    display: none;
  }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
  /* Hero much tighter padding */
  .hero-dark-premium.section-premium {
    padding: 40px 0 36px;
  }

  /* Value anchor pill */
  .value-anchor {
    font-size: 0.8125rem;
    padding: 6px 14px;
    margin-bottom: var(--space-4);
  }

  /* Hero headline for phones */
  .h1-hero {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
    letter-spacing: -0.02em;
  }

  /* Hero overline */
  .hero-overline {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  /* Hero subheadline */
  .hero-subheadline {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 100%;
  }

  /* Hero buttons stack */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary-dark {
    width: 100%;
    justify-content: center;
  }

  /* Video placeholder smaller */
  .video-placeholder {
    margin-top: var(--space-6) !important;
  }

  .video-placeholder__play {
    width: 60px;
    height: 60px;
  }

  .video-placeholder__play i {
    width: 24px !important;
    height: 24px !important;
  }

  /* Trust badges stack vertically on mobile */
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  /* Logo bar smaller text */
  .logo-bar__item {
    font-size: 0.875rem;
  }

  /* Section headers tighter on mobile */
  .section-header-premium {
    margin-bottom: var(--space-8);
  }

  .section-header-premium .h2-section,
  .section-header .h2-section {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Feature grid single column */
  .feature-grid,
  .feature-grid--2col,
  .feature-grid--3col {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Bento grid single column */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .bento-grid__hero,
  .bento-grid__full {
    grid-column: span 1;
  }

  /* Metrics single column */
  .metrics-row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .metric-card {
    padding: var(--space-5);
  }

  .metric-card__value {
    font-size: 2.5rem;
  }

  /* Steps grid single column */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .steps-grid::after {
    display: none;
  }

  /* Solution list full width */
  .solution-list {
    max-width: 100%;
  }

  /* Testimonial grid */
  .feature-grid .testimonial-card-premium,
  .feature-grid .testimonial-card {
    padding: var(--space-5);
  }

  /* CTA section */
  .cta-section .h2-section {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .cta-section .body-large {
    font-size: 0.9375rem;
    max-width: 100%;
  }

  /* Accordion FAQ tighter */
  .accordion--faq .accordion__trigger {
    font-size: 0.9375rem;
    padding: 14px 0;
  }
}

/* CTA trust badges — premium inline style */
.cta-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.cta-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55) !important;
  letter-spacing: 0.01em;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.cta-trust-badge span {
  color: rgba(255, 255, 255, 0.55) !important;
}

.cta-trust-badge i,
.cta-trust-badge svg {
  width: 16px !important;
  height: 16px !important;
  color: #34D399 !important;
  flex-shrink: 0;
}

/* Subtle separator dot between items (desktop only) */
.cta-trust-badge + .cta-trust-badge::before {
  content: "·";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .cta-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }
  .cta-trust-badge + .cta-trust-badge::before {
    display: none;
  }
}

/* Small phones (below 375px) */
@media (max-width: 374px) {
  .h1-hero {
    font-size: 1.75rem;
  }

  .hero-overline {
    font-size: 0.6875rem;
  }

  .value-anchor {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .btn-primary.btn-lg,
  .btn-secondary-dark.btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .section-premium {
    padding: clamp(40px, 6vw, 64px) 0;
  }

  /* Kill the gap between last CTA section and footer */
  .cta-section.section-premium:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   Testimonials Grid & Cards
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

.testimonial-card {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.testimonial-card__business {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-electric), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__logo-letter {
  font-weight: 700;
  font-size: 1rem;
  color: white;
  line-height: 1;
}

.testimonial-card__business-info {
  flex: 1;
}

.testimonial-card__business-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.testimonial-card__business-url {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 2px 0 0;
  line-height: 1.2;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
}

.testimonial-card__quote {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0 0 var(--space-4);
  font-style: italic;
  position: relative;
}

.testimonial-card__quote::before {
  content: '"';
  font-size: 2rem;
  color: var(--color-electric);
  position: absolute;
  left: -8px;
  top: -8px;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.6;
}

.testimonial-card__author {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: var(--space-3);
}

.testimonial-card__author-name {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.testimonial-card__author-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 2px 0 0;
  line-height: 1.2;
}

.testimonial-card__blog-link {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue, #60a5fa);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.testimonial-card__blog-link:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.6);
  color: #93c5fd;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: var(--space-8);
  }

  .testimonial-card {
    padding: var(--space-5);
  }

  .testimonial-card__business {
    gap: var(--space-2);
  }

  .testimonial-card__logo {
    width: 36px;
    height: 36px;
  }

  .testimonial-card__quote {
    font-size: 0.8125rem;
  }
}

/* Animation reveal stagger */
.testimonials-grid .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-grid .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.testimonials-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.testimonials-grid .reveal:nth-child(4) { transition-delay: 0.4s; }
