/* Blocksky → SEOAI focus — additive styles on existing design system */

/* Full-viewport heroes sitewide: title block fills the first screen;
   next section appears only after scroll.
   section-1 is flex row → align-items = vertical, justify-content = horizontal.
   Extra top padding clears the fixed header so the centered title isn't cramped. */
.section-1 {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  box-sizing: border-box !important;
  padding-top: 140px !important;
  padding-bottom: 96px !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Tech page hero — same full-viewport + centered treatment */
.tech-hero {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 140px !important;
  padding-bottom: 96px !important;
}

.tech-hero .section-badge {
  margin: 0 0 12px !important;
}

.tech-hero h1 {
  margin: 0 0 12px !important;
}

@media (max-width: 768px) {
  .section-1,
  .tech-hero {
    min-height: 100svh !important;
    padding-top: 100px !important;
    padding-bottom: 56px !important;
  }

  /* Home: shrink brand mark so title + CTAs fit the first screen */
  .section-1 .hero-content-wrapper > .hero-logo,
  .section-1 .hero-logo {
    width: min(150px, 38vw) !important;
    max-width: 38vw !important;
    margin: 0 auto 8px !important;
  }

  .section-1 .hero-content-wrapper > .hero-logo + .hero-main-title {
    font-size: clamp(26px, 6.5vw, 32px) !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
  }

  .section-1 .hero-description-container {
    margin-bottom: 14px !important;
  }

  .section-1 .hero-description {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
  }

  .hero-ai-engines {
    display: none !important;
  }

  .hero-cta-group {
    width: 100%;
    gap: 10px !important;
  }

  .hero-cta-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 12px !important;
    box-sizing: border-box;
  }
}

/* Photographic hero backgrounds — light Enterprise AI wash */
.section-1.hero-photo,
.tech-hero.hero-photo {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  background: #f7f8fa !important;
}

.section-1.hero-photo::before,
.tech-hero.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.05) brightness(0.98) contrast(1.08) saturate(0.95);
  opacity: 0.88;
  transform: none;
}

.section-1.hero-photo::after,
.tech-hero.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(55% 42% at 50% 40%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 55%, rgba(255, 255, 255, 0) 78%),
    linear-gradient(180deg, rgba(247, 248, 250, 0.22) 0%, rgba(247, 248, 250, 0.08) 45%, rgba(247, 248, 250, 0.4) 100%);
}

/* Only lift the content stack — never force position on orbs (that
   turned absolute orbs into flex items and shoved the hero left) */
.section-1.hero-photo > .hero-content-wrapper,
.tech-hero.hero-photo > :not(.hero-gradient-orb) {
  position: relative;
  z-index: 2;
}

.section-1.hero-photo > .hero-content-wrapper {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  width: 100%;
  max-width: 1000px;
}

/* Hero subtext: max-width blocks must be centered under the title */
.section-1 .hero-content-wrapper,
.section-1 .hero-content-wrapper > *,
.tech-hero,
.tech-hero > * {
  text-align: center !important;
}

.section-1 .hero-description-container,
.section-1 .hero-description,
.section-1 .hero-subtitle,
.section-1 .hero-tagline,
.section-1 .bridge-kicker,
.section-1 .hero-cta-group,
.section-1 .ai-badges,
.tech-hero > p,
.tech-hero .hero-cta-group {
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-1.hero-photo .hero-gradient-orb,
.tech-hero.hero-photo .hero-gradient-orb {
  position: absolute !important;
  opacity: 0.35;
  z-index: 1;
}

.hero-photo-home { --hero-photo: url("../images/heroes/home.jpg?v=20260802f"); }
.hero-photo-seoai { --hero-photo: url("../images/heroes/seoai.jpg?v=20260802f"); }
.hero-photo-mission { --hero-photo: url("../images/heroes/mission.jpg?v=20260802f"); }
.hero-photo-tech { --hero-photo: url("../images/heroes/tech.jpg?v=20260802f"); }
.hero-photo-partnership { --hero-photo: url("../images/heroes/partnership.jpg?v=20260802f"); }
.hero-photo-contact { --hero-photo: url("../images/heroes/contact.jpg?v=20260802f"); }
.hero-photo-blog { --hero-photo: url("../images/heroes/blog.jpg?v=20260802f"); }
.hero-photo-referral { --hero-photo: url("../images/heroes/referral.jpg?v=20260802f"); }

/* Beat homepage-modern .hero-main-title { margin: 0 0 40px } */
.section-1 .hero-main-title,
.section-1 .hero-content-wrapper > .hero-main-title {
  margin: 0 0 12px !important;
  line-height: 1.08 !important;
  font-size: clamp(40px, 5.5vw, 60px) !important;
}

/* Multi-line hero title stack: even vertical rhythm */
.section-1 .hero-content-wrapper > .bridge-kicker,
.section-1 .hero-content-wrapper > [data-i18n="seo.heroKicker"] {
  margin: 0 0 12px !important;
}

.section-1 .hero-content-wrapper > [data-i18n="seo.heroTagline"],
.section-1 .hero-content-wrapper > .hero-tagline {
  margin: 0 0 12px !important;
  font-size: clamp(22px, 3.5vw, 34px);
  font-family: "PoppinsBold", sans-serif;
  color: #ffffff;
  line-height: 1.25;
}

.section-1 .hero-content-wrapper > [data-i18n="seo.heroSubtitle"],
.section-1 .hero-content-wrapper > .hero-subtitle {
  margin: 0 0 24px !important;
  font-size: 18px;
  font-family: "PoppinsMedium", sans-serif;
  line-height: 1.4;
}

.section-1 .hero-content-wrapper > .hero-logo {
  display: block;
  margin: 0 auto 20px !important;
}

/* Homepage brand mark is large — give the H1 a bit more air than product pages */
.section-1 .hero-content-wrapper > .hero-logo + .hero-main-title {
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  font-size: clamp(36px, 4.5vw, 56px) !important;
  line-height: 1.15 !important;
}

.section-1 .hero-content-wrapper > .hero-description-container {
  margin-bottom: 28px;
}

.section-1 .hero-content-wrapper > .hero-cta-group,
.section-1 .hero-content-wrapper > .hero-cta-wrapper {
  margin-top: 0;
}

.section-1 .hero-content-wrapper > .ai-badges,
.section-1 .hero-content-wrapper > .hero-ai-engines {
  margin-top: 28px;
  gap: 10px;
}

.hero-ai-engines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 8px;
  max-width: 720px;
}

.hero-ai-engines span {
  font-family: "PoppinsMedium", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(151, 105, 239, 0.35);
  background: rgba(151, 105, 239, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

.hero-cta-btn.primary {
  background: linear-gradient(135deg, rgba(151, 105, 239, 0.35), rgba(85, 225, 221, 0.2));
  border-color: rgba(151, 105, 239, 0.75);
}

.hero-cta-btn.secondary {
  border-color: rgba(255, 255, 255, 0.28);
}

.tech-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  margin-top: 56px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.tech-pillar {
  text-align: left;
  padding-top: 8px;
  border-top: 1px solid rgba(151, 105, 239, 0.35);
}

.tech-pillar-num {
  display: block;
  font-family: "PoppinsBold", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #55e1dd;
  margin-bottom: 14px;
}

.tech-pillar h3 {
  font-family: "PoppinsBold", sans-serif;
  font-size: 22px;
  color: #fff;
  margin: 0 0 12px;
}

.tech-pillar p {
  font-size: 15px;
  line-height: 1.75;
  color: #b0b0b0;
  margin: 0;
}

.bridge-section {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bridge-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(151, 105, 239, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(85, 225, 221, 0.08), transparent 60%);
  pointer-events: none;
}

.bridge-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.bridge-kicker {
  font-family: "PoppinsMedium", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #55e1dd;
  margin-bottom: 18px;
}

.bridge-title {
  font-family: "PoppinsBold", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.25;
}

.bridge-title em {
  font-style: normal;
  background: linear-gradient(90deg, #55e1dd, #9769ef);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bridge-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #b0b0b0;
  margin: 0 auto 32px;
  max-width: 640px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 64px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-top: 28px;
}

.how-step {
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.how-step-marker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding-top: 0;
  border-top: none;
}

.how-step-index {
  font-family: "PoppinsBold", sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #3157f6;
}

.how-step-label {
  font-family: "PoppinsBold", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #5b6472;
  text-transform: uppercase;
}

.how-step-num {
  font-family: "PoppinsBold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #3157f6;
  margin-bottom: 10px;
}

.how-step h3 {
  font-family: "PoppinsBold", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #111827;
  margin: 0 0 12px;
}

.how-step p {
  font-size: 15px;
  line-height: 1.65;
  color: #5b6472;
  margin: 0;
  max-width: 240px;
}

@media (max-width: 900px) {
  .tech-pillars {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-steps {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }

  .how-step p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .how-step,
  .tech-pillar {
    text-align: center;
  }

  .how-step-marker {
    padding-top: 16px;
    justify-content: center;
  }

  .how-step p,
  .tech-pillar p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .ai-badges {
    justify-content: center;
  }
}

/* Subtle entrance motion */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-1 .hero-content-wrapper {
  animation: fadeUp 0.8s ease both;
}

.tech-pillar,
.how-step {
  animation: fadeUp 0.7s ease both;
}

.tech-pillar:nth-child(2) { animation-delay: 0.08s; }
.tech-pillar:nth-child(3) { animation-delay: 0.16s; }
.how-step:nth-child(2) { animation-delay: 0.06s; }
.how-step:nth-child(3) { animation-delay: 0.12s; }
.how-step:nth-child(4) { animation-delay: 0.18s; }
