:root {
  --bg: #f4f8fc;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --ink: #0f2236;
  --muted: #5b6e82;
  --line: rgba(15, 34, 54, 0.1);
  --accent: #005bbb;
  --accent-deep: #003f88;
  --highlight: #dcecff;
  --dark: #06203f;
  --dark-soft: #0b315f;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 26px 70px rgba(6, 32, 63, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 91, 187, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(220, 236, 255, 0.95), transparent 26%),
    linear-gradient(180deg, #eef4fb 0%, #f8fbfe 40%, #f4f8fc 100%);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(8, 28, 40, 0.12);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(244, 248, 252, 0.84);
  border-bottom: 1px solid rgba(15, 34, 54, 0.06);
}

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

.brand__logo,
.footer__logo {
  width: 150px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(8, 33, 46, 0.15);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover,
.footer__list a:hover {
  color: var(--accent-deep);
}

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

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.lang-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}

.lang-switcher__link:hover,
.lang-switcher__link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 91, 187, 0.26);
  outline-offset: 3px;
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 16px 32px rgba(0, 91, 187, 0.26);
}

.button--secondary,
.button--ghost,
.button--ghost-light {
  border: 1px solid var(--line);
}

.button--secondary,
.button--ghost {
  background: rgba(255, 255, 255, 0.82);
}

.button--ghost-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 76px 0 22px;
}

.hero__grid,
.split,
.cta,
.footer__grid {
  display: grid;
  gap: 32px;
}

.hero__grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  line-height: 1.7;
  color: var(--muted);
}

.hero__lead {
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 58ch;
}

.hero__actions {
  margin-top: 28px;
}

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

.hero__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 35, 49, 0.08);
  font-weight: 600;
}

.hero__points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #86b7ff);
  flex: 0 0 auto;
}

.hero__visual {
  position: relative;
  min-height: 520px;
}

.hero-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero-card--main {
  position: relative;
  z-index: 2;
  padding: 40px;
  background:
    linear-gradient(160deg, rgba(0, 91, 187, 0.94), rgba(6, 32, 63, 0.98)),
    linear-gradient(135deg, rgba(220, 236, 255, 0.12), rgba(255, 255, 255, 0));
  color: #ffffff;
  overflow: hidden;
}

.hero-card--main::after {
  content: "";
  position: absolute;
  inset: auto -44px -44px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-card--main p,
.hero-card--main h2,
.hero-card__status,
.hero-card__label {
  color: #ffffff;
}

.hero-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card--main h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-card--main p {
  margin-top: 18px;
  max-width: 32ch;
}

.hero-card--stats {
  position: absolute;
  right: 0;
  bottom: 16px;
  width: min(90%, 360px);
  padding: 24px;
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric__value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.metric__label {
  max-width: 18ch;
  text-align: right;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 84px 0;
}

.section--tight {
  padding: 12px 0 20px;
}

.section--accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 241, 252, 0.9));
}

.section--muted {
  background: rgba(255, 255, 255, 0.52);
}

.section--smartapps {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 253, 0.92));
}

.section--dark,
.section--cta {
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(220, 236, 255, 0.16), transparent 20%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.section--dark p,
.section--cta p,
.section-heading--light p {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

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

.trust-bar span,
.audience span,
.security-item,
.download-card,
.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 35, 49, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(9, 35, 50, 0.06);
}

.trust-bar span {
  padding: 18px 20px;
  font-weight: 700;
  text-align: center;
}

.cards {
  display: grid;
  gap: 20px;
}

.cards--four {
  grid-template-columns: repeat(4, 1fr);
}

.cards--three {
  grid-template-columns: repeat(3, 1fr);
}

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

.cards--stacked {
  align-content: start;
}

.card {
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.download-card:hover,
.trust-bar span:hover,
.audience span:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(9, 35, 50, 0.08);
  border-color: rgba(11, 157, 184, 0.16);
}

.card--smart {
  position: relative;
  overflow: hidden;
}

.card--smart::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 157, 184, 0.12), rgba(11, 157, 184, 0));
  pointer-events: none;
}

.card h3,
.download-card h3,
.feature-list__item h3 {
  margin-bottom: 12px;
}

.split {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 20px;
}

.feature-list__item {
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 35, 49, 0.08);
  box-shadow: 0 18px 40px rgba(9, 35, 50, 0.05);
}

.security-grid,
.download-grid,
.audience {
  display: grid;
  gap: 18px;
}

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

.security-item {
  padding: 24px;
  color: var(--ink);
  font-weight: 700;
}

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

.audience span {
  padding: 18px 20px;
  font-weight: 700;
}

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

.download-card {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-card__badge {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: rgba(0, 91, 187, 0.1);
  font-weight: 800;
}

.cta {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 42px;
}

.demo-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.demo-form label {
  display: grid;
  gap: 8px;
}

.demo-form span {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: rgba(230, 193, 92, 0.75);
  box-shadow: 0 0 0 4px rgba(230, 193, 92, 0.14);
}

.demo-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.demo-form__note {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  min-height: 1.5em;
}

.footer {
  padding: 34px 0 56px;
  background: #09151d;
  color: #dce9ef;
}

.footer__grid {
  grid-template-columns: 1.2fr 1fr 0.8fr;
  align-items: start;
}

.footer__text {
  margin-top: 18px;
  max-width: 44ch;
  color: rgba(220, 233, 239, 0.78);
}

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

@media (max-width: 1080px) {
  .hero__grid,
  .split,
  .cta,
  .footer__grid,
  .cards--four,
  .cards--three,
  .security-grid,
  .download-grid,
  .audience,
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .nav,
  .header__actions {
    justify-content: center;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__grid,
  .hero__visual,
  .hero-card--stats,
  .hero-card__top,
  .hero__actions,
  .cta__actions,
  .split,
  .footer__grid,
  .cta,
  .cards--four,
  .cards--three,
  .security-grid,
  .download-grid,
  .audience,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  .hero-card--stats {
    position: static;
    width: 100%;
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .card,
  .download-card,
  .feature-list__item,
  .security-item {
    padding: 22px;
  }

  .hero-card--main {
    padding: 24px;
  }

  .hero__points li {
    border-radius: 18px;
    align-items: flex-start;
  }
}
