*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.5;
}

/* Nav */
.nav {
  height: 60px;
  min-height: 50px;
  background: #2d2d2d;
  border-bottom: 1px solid #1a1a1a;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__contact {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav__contact:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #aaccff;
}

/* Initial state for entrance animation (GSAP animates in) */
.hero__canvas,
.header__title,
.header__cta,
.hero__headline,
.content__heading,
.content__text,
.content__cards .card {
  opacity: 0;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.header__title {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: #1a1a1a;
}

.header__tagline {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #555;
  max-width: 360px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: #4488ff;
  color: #fff;
  font-weight: 600;
  font-size: 10px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.header__cta:hover {
  background: #5599ff;
}

.header__cta-arrow {
  font-weight: 400;
}

/* Main */
.main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  margin-bottom: 3rem;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  grid-auto-rows: minmax(48px, 1fr);
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  z-index: 0.5;
}

.hero__overlay-cell {
  --blur: 0px;
  --bg-opacity: 0;
  background: rgba(4, 134, 255, var(--bg-opacity));
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition:
    backdrop-filter 150ms ease-out,
    -webkit-backdrop-filter 150ms ease-out,
    background 150ms ease-out;
}

.hero__block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: unset;
  background-color: unset;
  border-radius: 12px;
  padding: 16px 9px;
  max-width: 90%;
}

.hero__headline {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 35px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.2;
}

/* Content grid */
.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .content {
    grid-template-columns: 1fr 1.2fr;
  }
}

.content__copy {
  max-width: 480px;
}

.content__heading {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  color: #1a1a1a;
}

.content__text {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* Feature cards */
.content__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 460px;
  justify-self: end;
}

.card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(245, 245, 248, 1);
  border-radius: 12px;
}

.card__icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.card__icon-cell {
  width: 100%;
  height: 100%;
  min-width: 16px;
  min-height: 16px;
  background: #d0d0d5;
  border-radius: 0px;
}

.card__icon-cell--blue {
  background: #4488ff;
}

/* Hourglass icon: two triangles stacked (top blue, bottom gray) */
.card__icon-triangle {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  line-height: 0;
}

.card__icon-triangle--top {
  border-top: none;
  border-bottom: 14px solid #4488ff;
}

.card__icon-triangle--bottom {
  border-bottom: none;
  border-top: 14px solid #d0d0d5;
}

.card__body {
  flex: 1;
  min-width: 0;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1a1a;
}

.card__text {
  margin: 0;
  font-size: 12px;
  color: #333;
}

/* Generic sections */
.section {
  padding: 3rem 0;
}

.section__inner {
  max-width: 980px;
  margin: 0 auto;
}

.section__inner--row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section__inner--center {
  text-align: center;
}

.section__heading {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  font-weight: 500;
}

.section__text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #333;
}

/* Steps section */
.section--steps {
  border-top: 1px solid #f0f0f3;
}

.section__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: #f7f7fb;
}

.step__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.step__text {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

/* Use cases */
.section--usecases {
  border-top: 1px solid #f0f0f3;
}

.section__usecases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.usecase {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(245, 245, 248, 1);
}

.usecase__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.usecase__text {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

/* Trust strip */
.section--trust {
  border-top: 1px solid #f0f0f3;
}

.trust__copy {
  max-width: 420px;
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust__logo-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #f0f0f5;
  font-size: 0.8rem;
  color: #666;
}

/* Final CTA */
.section--cta-final {
  border-top: 1px solid #f0f0f3;
  padding-bottom: 2rem;
}

/* Contact section */
.section--contact {
  border-top: 1px solid #f0f0f3;
  padding-bottom: 4rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.contact__link {
  font-size: 1rem;
  color: #4488ff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact__link:hover {
  color: #2266dd;
}

@media (min-width: 768px) {
  .section__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section__usecases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section__inner--row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
