:root {
  --navy: #00376B;
  --navy-2: #002B55;
  --blue: #00AEEF;
  --gold: #D9A441;
  --bg: #F4F7FA;
  --card: #FFFFFF;
  --text: #17324D;
  --muted: #64748B;
  --line: #D7E3EE;
  --shadow: 0 18px 45px rgba(0, 55, 107, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 280px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.nav-links a:hover { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
}
.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
}
.language-switcher a.active { background: var(--navy); color: #fff; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  padding: 13px 20px;
  border-radius: 4px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  background: linear-gradient(110deg, #fff 0%, #fff 52%, rgba(0,174,239,.12) 52%, rgba(0,55,107,.08) 100%);
  padding: 72px 0 58px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
  border-left: 5px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 18px;
}
h1 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 82px);
  line-height: .9;
  text-transform: uppercase;
}
.hero-subtitle {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 23px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero-text {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 720px;
  font-size: 17px;
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 4px;
  border: 1px solid var(--navy);
  font-weight: 900;
  text-align: center;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.portal-panel {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px;
}
.portal-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.portal-status {
  display: inline-flex;
  background: rgba(0,174,239,.12);
  color: var(--navy);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.portal-screen {
  margin-top: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px;
}
.hero-photo-panel {
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 55, 107, .18);
  overflow: hidden;
  background: #fff;
}
.hero-photo-panel picture,
.hero-photo-panel img {
  display: block;
  width: 100%;
}
.hero-photo-panel img {
  aspect-ratio: 4 / 3;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 24px;
}

section { padding: 70px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  border-bottom: 3px solid var(--navy);
  padding-bottom: 16px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 54px);
  line-height: .95;
  text-transform: uppercase;
}
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }

.benefits-grid, .audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.benefit-card, .audience-item, .trust-card, .qr-card, .step-card, .screenshot-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0,55,107,.06);
}
.benefit-card { padding: 22px; min-height: 170px; }
.benefit-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  font-weight: 900;
  margin-bottom: 16px;
}
.benefit-card h3, .trust-card h3, .qr-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.15;
}
.benefit-card p, .trust-card p, .qr-card p { margin: 0; color: var(--muted); }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.portal-action {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.portal-action strong {
  color: var(--navy);
  font-size: 24px;
  text-transform: uppercase;
}
.portal-action span { color: var(--muted); min-height: 44px; }
.portal-action .btn { width: 100%; margin-top: auto; }

.qr-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 360px);
  gap: 22px;
  align-items: stretch;
}
.qr-card { padding: 26px; }
.qr-code {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  place-items: center;
}
.install-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.install-box {
  background: #F8FBFD;
  border: 1px solid var(--line);
  padding: 18px;
}
.install-box h3 { margin: 0 0 12px; color: var(--navy); }
.install-box ol { margin: 0; padding-left: 20px; color: var(--text); }

.audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.audience-item {
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--navy);
  font-weight: 900;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.step-card {
  padding: 18px;
  color: var(--navy);
  font-weight: 900;
  min-height: 112px;
  display: flex;
  align-items: center;
  position: relative;
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.screenshot-card { padding: 14px; }
.screenshot-card img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
}
.screenshot-card h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 15px;
}
.trust-card {
  border-left: 8px solid var(--gold);
  padding: 30px;
  max-width: 920px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,27,54,.72);
}
.modal.open { display: flex; }
.modal-card {
  width: min(860px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-head h2 { margin: 0; color: var(--navy); }
.modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  font-size: 28px;
  cursor: pointer;
}

footer {
  background: var(--navy-2);
  color: #fff;
  padding: 26px 0;
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1180px) {
  .benefits-grid, .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step-card::after { display: none; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .qr-layout, .cta-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1240px); }
  .nav { min-height: 82px; }
  .logo img { width: 190px; }
  .nav-cta { display: none; }
  .language-switcher a { min-width: 34px; height: 32px; padding: 0 8px; font-size: 12px; }
  section { padding: 52px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .btn, .btns .btn { width: 100%; }
  .benefits-grid, .audience-grid, .screenshots-grid, .install-tabs, .flow { grid-template-columns: 1fr; }
  .portal-action, .benefit-card, .trust-card, .qr-card { padding: 22px; }
  .portal-panel { padding: 18px; }
  .hero-photo-panel { border-radius: 18px; box-shadow: 0 16px 36px rgba(0,55,107,.14); }
  .hero-photo-panel img { border-radius: 18px; }
}
