* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #122033;
  background: #ffffff;
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dce8fb;
  box-shadow: 0 12px 32px rgba(18, 32, 51, 0.08);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 22px;
}

.logo {
  color: #0c1730;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.logo span {
  color: #1677ff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a,
.dropdown__button {
  border: 0;
  background: none;
  color: #22304a;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nav a:hover,
.dropdown__button:hover {
  color: #1677ff;
}

.nav a[href="/pricing"],
.hero__actions a[href="/pricing"],
.section:has(.price-grid) {
  display: none;
}

.dropdown {
  position: relative;
  padding: 22px 0;
}

.dropdown__button::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 12px;
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 4px;
  width: 360px;
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(18, 32, 51, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown__menu a {
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 13px;
}

.dropdown__menu a:hover {
  background: #eff6ff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #ffffff;
  color: #0c1730;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  padding: 82px 0 54px;
  background:
    radial-gradient(circle at 83% 18%, rgba(22, 119, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 410px;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #165dcc;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: #0c1730;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 26px;
  color: #46566f;
  font-size: 19px;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 9px;
  border: 1px solid #1677ff;
  background: #1677ff;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.22);
}

.btn--ghost {
  background: #ffffff;
  color: #1677ff;
  box-shadow: none;
}

.device-card {
  padding: 24px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(18, 32, 51, 0.11);
}

.device-card__logo {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.device-card__screen {
  aspect-ratio: 16 / 10;
  padding: 22px;
  border: 9px solid #101827;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #ffffff;
}

.device-card__screen strong {
  display: block;
  max-width: 240px;
  font-size: 28px;
  line-height: 1.05;
}

.device-card__screen span {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.device-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.device-card__meta div {
  padding: 12px;
  border-radius: 10px;
  background: #f7fbff;
  color: #23324c;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 58px 0;
}

.section--soft {
  background: #f8fbff;
}

.section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section__head h2,
.cta h2 {
  margin-bottom: 10px;
  color: #0c1730;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.section__head p {
  color: #5a6a82;
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid #e1eaf8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(18, 32, 51, 0.06);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #eaf3ff;
  color: #1677ff;
  font-size: 22px;
  font-weight: 900;
}

.card h3 {
  margin-bottom: 8px;
  color: #0f1c35;
  font-size: 19px;
  line-height: 1.25;
}

.card p,
.card li {
  color: #53647d;
}

.list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 28px;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10a45a;
  font-weight: 900;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price {
  padding: 22px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #ffffff;
}

.price span {
  display: block;
  color: #5a6a82;
  font-size: 14px;
  font-weight: 800;
}

.price strong {
  display: block;
  margin-top: 8px;
  color: #0c1730;
  font-size: 25px;
  line-height: 1.1;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 18px 20px;
  border: 1px solid #e1eaf8;
  border-radius: 12px;
  background: #ffffff;
}

.faq summary {
  color: #0c1730;
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
  color: #53647d;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.links a {
  padding: 9px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #ffffff;
  color: #165dcc;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.cta {
  padding: 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0c1730, #165dcc);
  color: #ffffff;
}

.cta h2,
.cta p {
  color: #ffffff;
}

.cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 34px 0;
  background: #0c1730;
  color: rgba(255, 255, 255, 0.78);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 16px;
    display: none;
    width: min(380px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(18, 32, 51, 0.18);
  }

  .nav.is-open {
    display: grid;
    gap: 14px;
  }

  .dropdown {
    padding: 0;
  }

  .dropdown__menu {
    position: static;
    width: 100%;
    margin-top: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .hero__grid,
  .grid,
  .grid--two,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero__actions,
  .cta__actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .device-card,
  .cta {
    padding: 22px;
  }

  .device-card__meta {
    grid-template-columns: 1fr;
  }
}
