:root {
  --bg: #07111f;
  --bg-2: #0c1729;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #a9b3c7;
  --blue: #4b8cff;
  --blue-2: #79a9ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #040b16 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(75, 140, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(121, 169, 255, 0.18), transparent 26%),
    radial-gradient(circle at 50% 75%, rgba(60, 110, 220, 0.14), transparent 32%);
  filter: blur(10px);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 18px;
  font-weight: 700;
}

.brand__sub {
  font-size: 12px;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  color: #dbe4f5;
  font-size: 15px;
  transition: 0.2s ease;
}

.nav__links a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--blue), #5c78ff);
  color: white;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(75, 140, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(75, 140, 255, 0.34);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  color: #fff;
}

.btn--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: white;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 17, 31, 0.85);
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: #dbe4f5;
}

.hero {
  padding: 72px 0 52px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}

.badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7e2f6;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--blue-2);
}

.hero__text {
  max-width: 680px;
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stat strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-card {
  border-radius: 30px;
  overflow: hidden;
}

.hero-card__top {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.hero-card__body {
  padding: 26px;
}

.hero-card__label {
  margin-bottom: 18px;
  color: var(--blue-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-preview {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.product-preview__icon {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), #7f8fff);
  box-shadow: 0 15px 35px rgba(75, 140, 255, 0.32);
}

.product-preview h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.product-preview p {
  margin: 0;
  color: var(--muted);
}

.hero-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-card__features span {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #e8efff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.about-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.products-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.product-card {
  border-radius: 24px;
  padding: 24px;
}

.card h3,
.product-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.adv-item {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.adv-item__num {
  font-size: 14px;
  color: var(--blue-2);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.adv-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.adv-item p {
  margin: 0;
  color: var(--muted);
}

.cta-card {
  border-radius: 30px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-card__content {
  max-width: 740px;
}

.cta-card__content h2 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.cta-card__content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.cta-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

.footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__inner p,
.footer__right span {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 14px;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (max-width: 1100px) {
  .hero__grid,
  .about-grid,
  .adv-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero__grid,
  .cta-card {
    display: grid;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .cta-card__actions {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .nav__links,
  .nav .btn--small {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .hero {
    padding-top: 40px;
  }

  .products-grid,
  .about-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__right {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__text,
  .section-head p,
  .cta-card__content p {
    font-size: 16px;
  }

  .btn,
  .btn--small {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .product-preview {
    grid-template-columns: 1fr;
  }

  .product-preview__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .cta-card {
    padding: 22px;
  }
}