html,
body {
  overflow-x: hidden;
}

body {
  background: #050f20;
}

.topbar {
  position: absolute;
  padding: 18px 34px;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.94), rgba(2, 8, 23, 0.72));
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 220px;
}

.nav {
  gap: 18px;
}

.nav a {
  color: #dbeafe;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
}

.top-actions .btn {
  min-height: 44px;
  padding-inline: 17px;
}

.hero {
  min-height: 850px;
  background: #020817;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.99) 0%, rgba(2, 8, 23, 0.93) 35%, rgba(2, 8, 23, 0.58) 62%, rgba(2, 8, 23, 0.84) 100%),
    url("assets/hero-ad.webp") center / cover no-repeat !important;
}

.hero-inner {
  min-height: 850px;
  max-width: 1360px;
  grid-template-columns: minmax(440px, 0.82fr) minmax(560px, 1.18fr);
  gap: 42px;
  padding: 128px 42px 56px;
}

.hero-copy {
  padding-left: 0 !important;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 670px;
  font-size: clamp(54px, 5.25vw, 78px) !important;
  line-height: 0.97 !important;
}

.lead {
  max-width: 620px;
  font-size: 21px !important;
  line-height: 1.45;
  color: #dbeafe !important;
}

.hero-list {
  gap: 13px 22px !important;
  margin-bottom: 28px !important;
}

.hero-list span {
  font-size: 16px !important;
}

.hero-cta .btn {
  min-width: 148px !important;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  color: #a9bdd6;
  font-size: 12px;
  font-weight: 800;
}

.device-showcase {
  min-height: 500px;
}

.device-showcase .screen {
  height: auto;
}

.screen-main {
  width: min(760px, 100%);
}

.screen-phone {
  width: 340px !important;
  right: -18px !important;
  bottom: 12px !important;
}

@media (max-width: 1180px) {
  .nav a:nth-of-type(4),
  .nav a:nth-of-type(5) {
    display: none;
  }
}

@media (max-width: 1050px) {
  .topbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 16px 22px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 23px;
  }

  .nav,
  .top-actions {
    display: none;
    width: 100%;
  }

  .nav.is-open {
    display: grid;
    gap: 4px;
    margin: 6px 0 0;
    padding: 10px;
    border-radius: 14px;
    background: rgba(15, 35, 64, 0.95);
  }

  .nav.is-open a {
    padding: 10px 12px;
  }

  .top-actions.is-open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 52px 26px 54px;
  }
}

@media (max-width: 700px) {
  .topbar {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand img {
    width: 184px;
  }

  .hero-inner {
    gap: 30px;
    padding: 38px 18px 42px !important;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 12.5vw, 51px) !important;
    letter-spacing: -0.055em !important;
  }

  .lead {
    margin-bottom: 24px !important;
    font-size: 17px !important;
    line-height: 1.52;
  }

  .hero-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;
    margin-bottom: 24px !important;
  }

  .hero-list span {
    gap: 7px !important;
    font-size: 13px !important;
  }

  .hero-cta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .hero-cta .btn {
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  .hero-cta .btn:last-child {
    grid-column: 1 / -1;
  }

  .hero-proof {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    font-size: 11px;
  }

  .device-showcase {
    min-height: 225px !important;
    margin-top: 4px;
  }

  .screen-main {
    position: relative !important;
    width: 100% !important;
    border-radius: 17px !important;
  }

  .screen-phone {
    display: none !important;
  }

  .top-actions.is-open {
    grid-template-columns: 1fr;
  }
}
