/* ==========================================================================
   B2B landing page — section styles only.
   Shared foundation: /shared/assets/css/tokens.css
   ========================================================================== */

/* ------------------------------------------------------------- Hero ----- */

.hero {
  position: relative;
  min-height: clamp(560px, 90svh, 800px);
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #0c1322 0%,
    rgba(12, 19, 34, 0.55) 55%,
    rgba(12, 19, 34, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1024px;
  padding: 24px 20px;
}

.hero__card {
  backdrop-filter: blur(6px);
  background: rgba(12, 19, 34, 0.55);
  border: 1px solid var(--color-accent);
  border-inline-end-width: 4px;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  text-align: start;
}

.hero__title {
  margin: 0 0 20px;
  font-weight: 900;
  font-size: var(--fs-h1);
  line-height: 1.17;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  margin: 0 0 20px;
  max-width: 62ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--color-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.hero__scroll {
  position: absolute;
  bottom: 20px;
  /* Centred without a physical transform, so it holds in either direction. */
  inset-inline: 0;
  margin-inline: auto;
  width: fit-content;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  padding: 8px 12px;
  color: var(--color-accent);
  font-family: var(--font-heebo);
  font-weight: 800;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }
}

/* ------------------------------------------------------------ Specs ----- */

.specs__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
}

.specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.spec-card {
  backdrop-filter: blur(6px);
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  padding: 28px;
  text-align: start;
}

.spec-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(255, 193, 116, 0.25);
  border-radius: var(--radius);
  color: var(--color-accent);
}

.spec-card__icon svg {
  width: 28px;
  height: 28px;
}

.spec-card__highlight {
  margin: 0;
  font-family: var(--font-heebo);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  color: var(--color-accent);
}

.spec-card__title {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.33;
  color: var(--color-text);
}

.spec-card__text {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .specs__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

/* ------------------------------------------------------- Comparison ---- */

.comparison__inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.comparison__title {
  margin: 0;
  text-align: center;
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* -------------------------------------------------------- Lead form ---- */

.lead {
  position: relative;
  padding: clamp(48px, 7vw, 80px) 20px;
  background: var(--color-bg-deep);
}
