/* ============================================================
   GOEDLY LANDING PAGE - Warm, Artistic, Agency Feel
   ============================================================ */

/* === BODY SPACING === */
body {
  margin: 0;
  padding-top: 0;
}

/* === SVG FILTERS (hidden) === */
.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* === SKIP TO CONTENT === */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: -100px;
  opacity: 0;
  pointer-events: none;
}
.skip-to-content:focus {
  top: 8px;
  left: 8px;
  opacity: 1;
  pointer-events: auto;
  z-index: 9999;
  padding: 8px 16px;
  background: #fff;
  color: var(--business-primary, #086E92);
  border: 2px solid var(--business-primary, #086E92);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

/* ============================================================
   HEADER - AWWWARDS-LEVEL TRANSPARENT OVER VIDEO
   Uses a hero top scrim for guaranteed contrast.
   ============================================================ */

/* --- Top scrim: darkens hero top so header is always readable --- */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.08) 70%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* --- Global header base: clean, consistent across all pages --- */
html .header {
  border-bottom: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
  padding: 14px 0 !important;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease !important;
}

/* --- Global logo: larger, no shimmer --- */
.header .logo {
  gap: 8px !important;
  transition: opacity 0.3s ease !important;
}
.header .logo:hover {
  transform: none !important;
  opacity: 0.85;
}
.header .logo-icon {
  width: 38px !important;
  height: 38px !important;
}
.header .logo-wordmark {
  font-size: 26px !important;
}
.header .logo-wordmark::before {
  display: none !important;
}
.header .logo-desc {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  color: #555 !important;
  opacity: 0.6 !important;
}

/* --- Global nav: clean typography --- */
.header .nav-links {
  gap: 6px !important;
}
.header .nav-links a {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  color: #555 !important;
  padding: 10px 22px !important;
  border-radius: 100px !important;
  background: transparent !important;
  text-decoration: none !important;
  letter-spacing: 0.015em !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}
.header .nav-links a::after {
  display: none !important;
}
.header .nav-links a:hover {
  color: #111 !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

/* --- Global Login button: brand outlined --- */
.header .nav-links .btn.btn-cyber.btn-sm {
  color: var(--business-primary, #086E92) !important;
  border: 1.5px solid var(--business-primary, #086E92) !important;
  background: transparent !important;
  border-radius: 100px !important;
  padding: 10px 30px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  letter-spacing: 0.015em !important;
  text-transform: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  line-height: 1.4 !important;
  transition: all 0.25s ease !important;
}
.header .nav-links .btn.btn-cyber.btn-sm:hover {
  background: var(--business-primary, #086E92) !important;
  color: #fff !important;
  border-color: var(--business-primary, #086E92) !important;
  transform: none !important;
}
.header .nav-links .btn.btn-cyber.btn-sm::before {
  display: none !important;
}

/* --- Global mobile hamburger --- */
.header .mobile-menu-toggle {
  color: #444 !important;
  font-size: 1.5rem !important;
  padding: 8px !important;
  background: none !important;
}
.header .mobile-menu-toggle:hover {
  color: #111 !important;
  background: transparent !important;
}

/* --- Scrolled: compact --- */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
  padding: 10px 0 !important;
}

/* ============================================================
   HERO PAGE ONLY (.has-hero) - transparent header over video
   ============================================================ */

/* Transparent header on hero pages */
.has-hero html .header,
html .has-hero .header {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 20px 0 !important;
}

/* Scrolled: solid white even on hero pages */
.has-hero .header.scrolled,
html .has-hero .header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
  padding: 10px 0 !important;
}

/* Logo glow for readability over video */
.has-hero .header .logo {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35)) !important;
}
.has-hero .header.scrolled .logo {
  filter: none !important;
}
.has-hero .header .logo-desc {
  opacity: 0.95 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}
.has-hero .header.scrolled .logo-desc {
  color: #555 !important;
  opacity: 0.6 !important;
}

/* White nav text over video */
.has-hero .header .nav-links a {
  color: rgba(255, 255, 255, 0.95) !important;
}
.has-hero .header .nav-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
.has-hero .header.scrolled .nav-links a {
  color: #555 !important;
}
.has-hero .header.scrolled .nav-links a:hover {
  color: #111 !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

/* White Login pill over video */
.has-hero .header .nav-links .btn.btn-cyber.btn-sm {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
.has-hero .header .nav-links .btn.btn-cyber.btn-sm:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.22) !important;
}
.has-hero .header.scrolled .nav-links .btn.btn-cyber.btn-sm {
  color: var(--business-primary, #086E92) !important;
  border-color: var(--business-primary, #086E92) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.has-hero .header.scrolled .nav-links .btn.btn-cyber.btn-sm:hover {
  background: var(--business-primary, #086E92) !important;
  color: #fff !important;
}

/* White hamburger over video */
.has-hero .header .mobile-menu-toggle {
  color: #fff !important;
}
.has-hero .header .mobile-menu-toggle:hover {
  color: #fff !important;
}
.has-hero .header.scrolled .mobile-menu-toggle {
  color: #444 !important;
}

/* --- Mobile nav: full-screen takeover with staggered animation --- */
@media (max-width: 768px) {
  /* Full-screen overlay using absolute + 100vh to avoid
     backdrop-filter containing block trap on the header */
  .header .nav-links,
  .header.scrolled .nav-links {
    /* absolute (not fixed) to escape header's backdrop-filter containing block */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #fff !important;
    border-bottom: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 48px !important;
    transform: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease, visibility 0.35s ease !important;
  }

  .header .nav-links.active,
  .header.scrolled .nav-links.active {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Items: large, left-aligned cluster with brand accent */
  .header .nav-links a,
  .header.scrolled .nav-links a {
    color: #1a1a1a !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    padding: 10px 0 !important;
    border-radius: 0 !important;
    text-align: left !important;
    width: auto !important;
    align-self: flex-start !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    letter-spacing: -0.02em !important;
    position: relative !important;
    opacity: 0 !important;
    transform: translateX(-20px) !important;
    transition: opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                color 0.2s ease !important;
  }

  /* Thin brand-colored line before each item */
  .header .nav-links li {
    position: relative !important;
    padding-left: 20px !important;
    align-self: flex-start !important;
  }
  .header .nav-links li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) scaleY(0) !important;
    width: 3px !important;
    height: 28px !important;
    background: var(--business-primary, #086E92) !important;
    border-radius: 2px !important;
    transition: transform 0.3s ease !important;
  }
  .header .nav-links.active li::before {
    transform: translateY(-50%) scaleY(1) !important;
  }
  .header .nav-links.active li:nth-child(1)::before { transition-delay: 0.15s !important; }
  .header .nav-links.active li:nth-child(2)::before { transition-delay: 0.25s !important; }
  .header .nav-links li:last-child::before { display: none !important; }

  .header .nav-links a:hover {
    color: var(--business-primary, #086E92) !important;
    background: transparent !important;
  }

  /* Stagger items sliding in from left */
  .header .nav-links.active li:nth-child(1) a {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition-delay: 0.1s !important;
  }
  .header .nav-links.active li:nth-child(2) a {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition-delay: 0.18s !important;
  }
  .header .nav-links.active li:nth-child(3) a {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition-delay: 0.26s !important;
  }

  /* Login: brand filled button, not outlined */
  .header .nav-links .btn.btn-cyber.btn-sm,
  .header.scrolled .nav-links .btn.btn-cyber.btn-sm {
    width: auto !important;
    min-height: unset !important;
    color: #fff !important;
    border: none !important;
    background: var(--business-primary, #086E92) !important;
    padding: 14px 48px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    margin-top: 24px !important;
    align-self: flex-start !important;
    margin-left: 20px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    letter-spacing: 0 !important;
  }
  .header .nav-links .btn.btn-cyber.btn-sm:hover {
    background: #065a78 !important;
    color: #fff !important;
  }

  /* Header content must sit above the full-screen nav overlay */
  .header .header-content {
    position: relative !important;
    z-index: 100 !important;
  }

  /* When menu is open: MUST kill backdrop-filter on header
     or it creates a containing block that traps position:fixed children */
  .header:has(.nav-links.active) {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
  }
  .header:has(.nav-links.active) .mobile-menu-toggle {
    color: #333 !important;
    text-shadow: none !important;
    position: relative !important;
    z-index: 100 !important;
  }
  .header:has(.nav-links.active) .logo {
    filter: none !important;
  }
  .header:has(.nav-links.active) .logo-wordmark {
    color: var(--business-primary, #086E92) !important;
    -webkit-text-fill-color: var(--business-primary, #086E92) !important;
  }
  .header:has(.nav-links.active) .logo-desc {
    color: #555 !important;
    opacity: 0.6 !important;
  }
  .header:has(.nav-links.active) .nav-links a {
    color: #1a1a1a !important;
  }
  .header:has(.nav-links.active) .nav-links a:hover {
    color: var(--business-primary, #086E92) !important;
    background: transparent !important;
  }
  .header:has(.nav-links.active) .nav-links .btn.btn-cyber.btn-sm {
    color: #fff !important;
    background: var(--business-primary, #086E92) !important;
    border-color: var(--business-primary, #086E92) !important;
  }
}

/* ============================================================
   OIL PAINT LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  overflow: hidden;
}

#paint-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#paint-canvas.textured {
  filter: url(#impastoLight);
}

#loader-wordmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}
#loader-wordmark.visible {
  opacity: 1;
  transform: scale(1);
}
#loader-wordmark img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 16px rgba(8, 110, 146, 0.18));
}

/* ============================================================
   HERO - DIRECTIONAL SCRIM LAYOUT
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafb 0%, #eef3f6 100%);
}

/* Video layer - full bleed */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video-wrap video.active {
  opacity: 1;
}

/* Horizontal gradient scrim: solid white left, transparent right */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 15%,
    rgba(255, 255, 255, 0.95) 25%,
    rgba(255, 255, 255, 0.75) 35%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.1) 55%,
    rgba(255, 255, 255, 0) 65%
  );
  pointer-events: none;
}

/* Content - left aligned */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 580px;
  padding: 0 clamp(32px, 6vw, 80px);
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--business-primary, #086E92);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #111827;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  opacity: 0;
  transform: translateY(18px);
}
.hero-headline .painted-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-headline .painted-underline {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 0.3em;
  background: #E4E264;
  transform-origin: left center;
  transform: scaleX(0) rotate(-0.6deg);
  z-index: -1;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: #4a4a4a;
  font-weight: 400;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(14px);
}

/* CTA group */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 400px;
  opacity: 0;
  transform: translateY(14px);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--business-primary, #086E92);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 16px rgba(8, 110, 146, 0.18);
}
.btn-hero-primary:hover {
  background: #065a78;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(8, 110, 146, 0.28);
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #888;
  font-size: 0.85rem;
  font-weight: 400;
  width: 100%;
  max-width: 400px;
}
.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.email-row {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 400px;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.email-row:focus-within {
  border-color: var(--business-primary, #086E92);
  box-shadow: 0 2px 20px rgba(8, 110, 146, 0.12);
}
.email-row input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111827;
  background: transparent;
  min-width: 0;
}
.email-row input::placeholder {
  color: #aaa;
}
.email-row button {
  padding: 13px 24px;
  background: var(--business-accent, #58B748);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.email-row button:hover {
  background: #4aa33e;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  padding: 0 24px 48px;
  border-bottom: none;
  background: var(--bg-soft, #f8fafb);
  opacity: 0;
  transform: translateY(10px);
}
.stat-item {
  text-align: center;
}
.stat-value {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ============================================================
   TRUST & SECURITY
   ============================================================ */
.trust-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  background: #fff;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 36px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.trust-badge:last-child {
  border-right: none;
}
.trust-badge svg {
  color: var(--business-primary, #086E92);
  flex-shrink: 0;
}
.trust-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.02em;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-logos img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.trust-logos img:hover {
  opacity: 1;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--bg-soft, #f8fafb);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl, 2rem);
  margin-top: var(--space-2xl, 2.5rem);
}

.how-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.how-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--business-primary, #086E92);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.how-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.how-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4a4a4a;
}
.how-card-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--business-primary, #086E92);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 16px;
  border: 1.5px solid var(--business-primary, #086E92);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.how-card-email:hover {
  background: var(--business-primary, #086E92);
  color: #fff;
}

/* ============================================================
   CUSTOMER REVIEWS
   ============================================================ */
.reviews-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl, 2rem);
  margin-top: var(--space-2xl, 2.5rem);
}

.review-card {
  background: var(--bg-soft, #f8fafb);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 36px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #c9a20a;
  font-size: 0.9rem;
}

.review-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  margin: 0;
  flex: 1;
}

.review-author {
  font-size: 0.85rem;
  color: #666;
}
.review-author strong {
  color: #333;
  display: block;
}
.review-author-with-photo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-role {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 2px;
}
.review-link {
  color: var(--business-primary, #086E92);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
}
.review-link:hover {
  text-decoration: underline;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-soft, #f8fafb);
}

.comparison-table-wrap {
  margin-top: var(--space-2xl, 2.5rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-table thead th {
  font-weight: 700;
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.comparison-table .row-label {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.comparison-table td {
  color: #555;
}

.comparison-table .highlight-col {
  background: rgba(8, 110, 146, 0.04);
  color: var(--business-primary, #086E92);
  font-weight: 600;
}

.comparison-table thead .highlight-col {
  color: var(--business-primary, #086E92);
  background: rgba(8, 110, 146, 0.06);
  border-radius: 12px 12px 0 0;
}

.comparison-table tbody tr:last-child .highlight-col {
  border-radius: 0 0 12px 12px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section-landing {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl, 2rem);
  margin-bottom: var(--space-2xl, 2.5rem);
}

/* ============================================================
   HERO ENTRANCE ANIMATIONS
   ============================================================ */
.animate-in {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              letter-spacing 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-in.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.underline-draw {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.underline-draw.drawn {
  transform: scaleX(1) rotate(-0.6deg) !important;
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards in a grid */
.how-card:nth-child(2) { transition-delay: 0.1s; }
.how-card:nth-child(3) { transition-delay: 0.2s; }
.review-card:nth-child(2) { transition-delay: 0.1s; }
.review-card:nth-child(3) { transition-delay: 0.2s; }
.comparison-table tr:nth-child(2) { transition-delay: 0.06s; }
.comparison-table tr:nth-child(3) { transition-delay: 0.12s; }
.comparison-table tr:nth-child(4) { transition-delay: 0.18s; }
.comparison-table tr:nth-child(5) { transition-delay: 0.24s; }

/* Fade-in-scale for messages */
@keyframes fadeInScale {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section-header-perfect {
  text-align: center;
  margin-bottom: var(--space-2xl, 2.5rem);
}

.section-title-perfect {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: var(--space-md, 1rem);
  letter-spacing: -0.01em;
}

.section-subtitle-perfect {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================================
   PERFECT SECTION / CONTAINER (shared layout)
   ============================================================ */
.perfect-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.perfect-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ============================================================
   BUTTON STYLES (shared)
   ============================================================ */
.btn-cyber {
  background: var(--business-primary, #086E92) !important;
  color: white !important;
  border: 2px solid transparent !important;
  border-radius: var(--radius-lg, 8px) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.btn-cyber:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(8, 110, 146, 0.2) !important;
  background: var(--business-accent, #58B748) !important;
  color: white !important;
}

.btn-cyber-ghost {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--business-primary, #086E92) !important;
  border: 2px solid var(--business-primary, #086E92) !important;
  border-radius: var(--radius-lg, 8px) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.btn-cyber-ghost:hover {
  background: var(--business-primary, #086E92) !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

/* Button content z-index */
.btn-cyber > *,
.btn-cyber-ghost > * {
  position: relative;
  z-index: 1;
}

/* Cursor */
.btn-cyber,
.btn-cyber-ghost,
.btn-hero-primary {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  #loader { display: none !important; }

  .hero-eyebrow,
  .hero-headline,
  .hero-subtitle,
  .hero-cta-group,
  .stats-strip {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .painted-underline {
    transform: scaleX(1) rotate(-0.6deg) !important;
    transition: none !important;
  }

  .hero-video-wrap video {
    transition: none !important;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .partner-logo {
    opacity: 0.8 !important;
  }
}

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .how-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg, 1.5rem);
  }
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Hero: vertical split */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    background: #fff;
  }

  .hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    min-height: 240px;
  }
  .hero-video-wrap video {
    position: absolute;
  }

  /* Scrim becomes a tall vertical fade over the video */
  .hero-scrim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 47%;
    min-height: 250px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 10%,
      rgba(255, 255, 255, 0.3) 30%,
      rgba(255, 255, 255, 0.6) 45%,
      rgba(255, 255, 255, 0.85) 60%,
      rgba(255, 255, 255, 1) 75%,
      rgba(255, 255, 255, 1) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 100%;
    padding: 34vh 20px 48px;
  }

  .hero-cta-group {
    align-items: center;
  }

  .hero-headline {
    letter-spacing: -0.015em;
  }

  .email-row {
    flex-direction: column;
    border-radius: 16px;
  }
  .email-row input {
    text-align: center;
    padding: 14px 16px;
  }
  .email-row button {
    border-radius: 0;
    padding: 14px 24px;
  }

  /* Sections */
  .how-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md, 1rem);
  }

  /* Trust section */
  .trust-badges {
    gap: 0;
  }
  .trust-badge {
    padding: 16px 24px;
    width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .trust-badge:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
  }
  .trust-badge:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .trust-logos {
    gap: 24px;
  }
  .trust-logos img {
    height: 24px;
  }

  /* Comparison table - stacked cards on mobile */
  .comparison-table-wrap {
    overflow: visible;
  }
  .comparison-table {
    min-width: 0;
  }
  .comparison-table thead {
    display: none;
  }
  .comparison-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .comparison-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
  }
  .comparison-table td {
    padding: 0;
    border: none;
    font-size: 0.85rem;
    line-height: 1.3;
  }
  .comparison-table .row-label {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 4px;
  }
  .comparison-table td:nth-child(2)::before { content: "Agency"; display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: #aaa; margin-bottom: 2px; }
  .comparison-table td:nth-child(3)::before { content: "DIY"; display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: #aaa; margin-bottom: 2px; }
  .comparison-table td:nth-child(4)::before { content: "Goedly"; display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--business-primary, #086E92); margin-bottom: 2px; font-weight: 600; }
  .comparison-table .highlight-col {
    background: rgba(8, 110, 146, 0.06);
    border-radius: 8px;
    padding: 8px !important;
  }

  /* Touch targets */
  .btn-cyber,
  .btn-cyber-ghost {
    min-height: 48px;
    touch-action: manipulation;
  }

  .perfect-section {
    padding: clamp(3rem, 8vw, 6rem) 0;
  }

  #loader-wordmark img {
    height: 40px;
  }

  /* Stagger delay reset on mobile (single column) */
  .how-card:nth-child(2),
  .how-card:nth-child(3),
  .review-card:nth-child(2),
  .review-card:nth-child(3) {
    transition-delay: 0s;
  }
}

@media (max-width: 640px) {
  .stats-strip {
    gap: 24px;
  }
  .stat-value {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .logo-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    justify-items: center;
    align-items: center;
    max-width: 280px;
    margin: 0 auto;
  }
  .partner-logo {
    height: 50px;
    width: 50px;
    max-width: 50px;
    max-height: 50px;
  }
  .partner-logo:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }
  .partner-logo:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }
}

/* Smooth scroll */
* {
  scroll-behavior: smooth;
}
