:root {
  --ink: #11131f;
  --muted: #7c879d;
  --paper: #f3f6fe;
  --white: #ffffff;
  --line: rgba(22, 30, 53, 0.12);
  --green: #149447;
  --blue: #4d63ef;
  --blue-deep: #273fb8;
  --gold: #d9b84f;
  --orange: #ff9f1c;
  --deep: #0d101b;
  --radius: 8px;
  --shadow: 0 30px 80px rgba(35, 51, 98, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94) 0 42%, rgba(243, 246, 254, 0.76) 68%, rgba(226, 231, 255, 0.38) 100%),
    linear-gradient(135deg, #f3f6fe 0%, #eef3ff 50%, #f8fbff 100%);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(77, 99, 239, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 99, 239, 0.2) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 52%, #000 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 44px;
}

.topbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.topbar-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.brand {
  gap: 10px;
  font-size: 18px;
}

.brand span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 7px;
  font-family: "Fraunces", serif;
}

.topbar-link {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 130px);
  padding: 40px 0;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: "Fraunces", serif;
  font-size: clamp(82px, 13vw, 178px);
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.6;
}

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

.audience-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top-width: 4px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(35, 51, 98, 0.08);
}

.audience-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 900;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.audience-card.company {
  border-top-color: var(--gold);
}

.audience-card.employee {
  border-top-color: var(--blue);
}

.audience-card.partner {
  border-top-color: var(--green);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-button {
  min-height: 54px;
  justify-content: center;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 7px;
  box-shadow: 0 18px 38px rgba(77, 99, 239, 0.25);
}

.hero-actions span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.product-scene {
  position: relative;
  min-height: 570px;
}

.screenshot-frame {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.screenshot-frame span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 8px 11px;
  color: var(--white);
  background: rgba(13, 16, 27, 0.78);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.backoffice-frame {
  top: 54px;
  right: 34px;
  width: min(620px, 100%);
  aspect-ratio: 16 / 10;
  transform: rotate(-3deg);
}

.mobile-frame {
  right: 0;
  bottom: 12px;
  width: 210px;
  aspect-ratio: 9 / 19.5;
  border: 8px solid var(--deep);
  border-radius: 34px;
  transform: rotate(7deg);
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .product-scene {
    min-height: 520px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: auto;
  }

  .backoffice-frame {
    left: 0;
    right: auto;
    width: min(620px, 92vw);
  }

  .mobile-frame {
    right: 4vw;
  }
}

@media (max-width: 620px) {
  .landing-shell {
    width: calc(100% - 32px);
    padding-top: 16px;
  }

  .topbar-link {
    display: none;
  }

  h1 {
    font-size: clamp(68px, 27vw, 112px);
  }

  .primary-button {
    width: 100%;
  }

  .product-scene {
    min-height: 500px;
  }

  .backoffice-frame {
    top: 10px;
    width: 100%;
    transform: rotate(-1deg);
  }

  .mobile-frame {
    right: 0;
    bottom: 0;
    width: 180px;
  }
}
