:root {
  --navy: #061a3a;
  --dark-navy: #031126;
  --blue: #006bff;
  --blue-2: #0f62fe;
  --light-blue: #eef6ff;
  --line: #dce8f7;
  --text: #071b4d;
  --muted: #5b6780;
  --green: #12a87b;
  --orange: #ff8a1f;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 27, 77, 0.12);
  --shadow-soft: 0 14px 38px rgba(7, 27, 77, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e6eef8;
  box-shadow: 0 8px 28px rgba(7, 27, 77, 0.04);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: 86px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 66px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  flex: 1;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  color: inherit;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
  border-radius: 999px;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--blue);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  background: var(--blue);
}

.nav-contact,
.btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-contact {
  min-width: 128px;
  height: 46px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(0, 107, 255, 0.22);
  white-space: nowrap;
}

.nav-contact svg,
.btn svg,
.submit-btn svg {
  width: 18px;
  height: 18px;
}

.nav-contact:hover,
.btn:hover,
.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-shape {
  position: absolute;
  top: 48px;
  right: -140px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(0, 107, 255, 0.14) 0%, rgba(0, 107, 255, 0.08) 32%, rgba(255, 255, 255, 0) 66%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  align-items: center;
  gap: 52px;
  padding-top: 80px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 570px;
}

.eyebrow,
.section-heading span,
.advantage-copy span,
.about-copy span,
.contact-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 14px;
  color: var(--blue);
  background: var(--light-blue);
  border: 1px solid rgba(0, 107, 255, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 18px;
  color: var(--navy);
  font-size: clamp(46px, 4.6vw, 60px);
  line-height: 1.05;
  font-weight: 950;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 560;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.btn {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
}

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(0, 107, 255, 0.22);
}

.btn-outline {
  color: var(--blue);
  background: #ffffff;
  border-color: rgba(0, 107, 255, 0.55);
  box-shadow: 0 12px 24px rgba(7, 27, 77, 0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.stat-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: var(--light-blue);
  border-radius: 50%;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-item strong {
  color: var(--blue);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 950;
}

.stat-item span:last-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 620px;
  min-height: 474px;
  margin-left: auto;
}

.mockup-glow {
  position: absolute;
  inset: 44px 0 10px 62px;
  background: linear-gradient(140deg, rgba(0, 107, 255, 0.12), rgba(18, 168, 123, 0.08));
  border-radius: 44px;
  transform: rotate(-4deg);
}

.laptop-device {
  position: absolute;
  top: 58px;
  right: 26px;
  width: min(100%, 575px);
}

.laptop-screen {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  height: 350px;
  overflow: hidden;
  background: #ffffff;
  border: 10px solid #06101f;
  border-radius: 22px 22px 14px 14px;
  box-shadow: 0 34px 70px rgba(3, 17, 38, 0.24);
}

.screen-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px 14px;
  color: #ffffff;
  background: #05275d;
}

.screen-sidebar span {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 950;
}

.screen-sidebar b {
  display: block;
  width: 100%;
  height: 9px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.screen-sidebar b:first-of-type {
  background: var(--blue);
}

.screen-content {
  min-width: 0;
  padding: 22px;
  background: #f8fbff;
}

.screen-top,
.metric-row,
.dashboard-grid {
  display: grid;
  gap: 14px;
}

.screen-top {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 14px;
  color: var(--navy);
  font-weight: 950;
}

.screen-top small {
  padding: 5px 10px;
  color: var(--green);
  background: rgba(18, 168, 123, 0.12);
  border-radius: 999px;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.metric-row div,
.chart-card,
.donut-card {
  background: #ffffff;
  border: 1px solid #e7eef9;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.06);
}

.metric-row div {
  min-width: 0;
  overflow: hidden;
  padding: 14px;
}

.metric-row small,
.phone-card small,
.chart-card span,
.donut-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.metric-row small,
.chart-card span,
.donut-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-row strong,
.phone-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.15;
  font-weight: 950;
}

.metric-row strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
}

.chart-card,
.donut-card {
  min-width: 0;
  overflow: hidden;
  min-height: 140px;
  padding: 16px;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 86px;
  margin-top: 18px;
}

.chart-bars i {
  display: block;
  background: linear-gradient(180deg, #49a0ff, var(--blue));
  border-radius: 999px 999px 4px 4px;
}

.chart-bars i:nth-child(1) { height: 32%; }
.chart-bars i:nth-child(2) { height: 48%; }
.chart-bars i:nth-child(3) { height: 38%; }
.chart-bars i:nth-child(4) { height: 62%; }
.chart-bars i:nth-child(5) { height: 54%; }
.chart-bars i:nth-child(6) { height: 86%; }

.donut {
  width: 86px;
  height: 86px;
  margin: 18px auto 0;
  background: conic-gradient(var(--blue) 0 45%, #12b8d7 45% 72%, #d7e7ff 72% 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px #ffffff;
}

.laptop-base {
  width: 104%;
  height: 20px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, #1b2430, #070b12);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 20px 35px rgba(3, 17, 38, 0.28);
}

.phone-device {
  position: absolute;
  right: -26px;
  bottom: 8px;
  width: 168px;
  min-height: 318px;
  padding: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 9px solid #06101f;
  border-radius: 32px;
  box-shadow: 0 26px 54px rgba(3, 17, 38, 0.24);
}

.phone-top {
  margin: -14px -14px 12px;
  padding: 17px 14px 12px;
  color: #ffffff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.phone-card {
  padding: 13px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.phone-card span {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.phone-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.phone-menu b {
  height: 28px;
  background: var(--light-blue);
  border-radius: 10px;
}

.phone-list {
  display: grid;
  gap: 8px;
}

.phone-list i {
  height: 34px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.products {
  padding: 86px 0 92px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 950;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 458px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 107, 255, 0.36);
  box-shadow: var(--shadow);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  border-radius: 16px;
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-icon.school,
.product-icon.pos {
  background: var(--blue);
}

.product-icon.hospital {
  background: var(--green);
}

.product-icon.store {
  background: var(--orange);
}

.product-card h3 {
  margin: 22px 0 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.product-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 650;
}

.product-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 19px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.product-card li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.mini-preview {
  position: relative;
  height: 104px;
  padding: 14px;
  margin-top: auto;
  overflow: hidden;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.mini-preview span,
.mini-preview b,
.mini-preview i {
  display: block;
  border-radius: 999px;
}

.mini-preview span {
  width: 42%;
  height: 9px;
  background: var(--blue);
}

.mini-preview b {
  width: 100%;
  height: 8px;
  margin-top: 12px;
  background: #dbeafe;
}

.mini-preview b:nth-child(3) {
  width: 72%;
}

.mini-preview i {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 64px;
  height: 42px;
  background: linear-gradient(135deg, rgba(0, 107, 255, 0.12), rgba(18, 168, 123, 0.16));
  border-radius: 14px;
}

.hospital-preview span,
.hospital-preview i {
  background: var(--green);
}

.store-preview span,
.store-preview i {
  background: var(--orange);
}

.product-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
}

.advantages {
  padding: 86px 0;
  color: #ffffff;
  background: var(--navy);
}

.advantage-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.55fr;
  gap: 46px;
  align-items: center;
}

.advantage-copy span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.advantage-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 950;
}

.advantage-copy p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

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

.benefit-grid article {
  min-height: 238px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.benefit-grid svg {
  width: 34px;
  height: 34px;
  color: #69aeff;
}

.benefit-grid h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 950;
}

.benefit-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}

.about-contact {
  padding: 92px 0;
  background: #f8fbff;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: stretch;
}

.about-panel,
.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.about-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
  overflow: hidden;
}

.about-image {
  min-height: 100%;
  background: var(--light-blue);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.about-copy h2,
.contact-card h2 {
  margin: 16px 0 14px;
  color: var(--navy);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.14;
  font-weight: 950;
}

.about-copy h2 {
  font-size: clamp(27px, 2.2vw, 33px);
}

.about-copy p,
.contact-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 600;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.about-metrics strong {
  color: var(--blue);
  font-size: 24px;
  font-weight: 950;
}

.about-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.contact-card {
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

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

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

.contact-form label span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid #cbdcf0;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  font-weight: 650;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 107, 255, 0.1);
}

.submit-btn {
  min-height: 52px;
  color: #ffffff;
  background: var(--blue);
  border: 0;
  box-shadow: 0 16px 30px rgba(0, 107, 255, 0.22);
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.toast-root {
  position: fixed;
  top: 104px;
  right: 24px;
  z-index: 1000;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 64px;
  padding: 16px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 56px rgba(7, 27, 77, 0.18);
  opacity: 0;
  pointer-events: auto;
  transform: translateX(22px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(14px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.toast-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0, 107, 255, 0.12);
}

.toast p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.toast.success .toast-dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(18, 168, 123, 0.13);
}

.toast.error .toast-dot {
  background: #b42318;
  box-shadow: 0 0 0 5px rgba(180, 35, 24, 0.13);
}

.site-footer {
  color: #ffffff;
  background: var(--dark-navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.75fr 0.9fr 1.15fr;
  gap: 30px;
  padding: 42px 0 34px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo img {
  width: auto;
  height: 72px;
}

.footer-brand p,
.newsletter p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
}

.footer-col h3,
.newsletter h3 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 650;
}

.newsletter div {
  display: flex;
  height: 48px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 0 15px;
  color: #ffffff;
  background: transparent;
  border: 0;
  outline: 0;
}

.newsletter input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #97a4ba;
}

.newsletter button {
  display: grid;
  place-items: center;
  width: 50px;
  color: #ffffff;
  background: var(--blue);
  border: 0;
}

.newsletter button svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.64);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

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

  .laptop-device {
    right: 50%;
    width: 520px;
    transform: translateX(50%);
  }

  .phone-device {
    width: 150px;
    right: calc(50% - 270px);
  }

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

  .advantage-grid,
  .about-contact-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    min-height: 430px;
  }

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

@media (max-width: 980px) {
  .container {
    width: min(100% - 36px, 720px);
  }

  .nav-shell {
    min-height: 76px;
  }

  .brand img {
    height: 56px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
    padding: 0 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-contact {
    display: none;
  }

  .hero-grid {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 430px;
    margin: 0 auto;
  }

  .phone-device {
    right: 34px;
  }

  .products,
  .advantages,
  .about-contact {
    padding: 72px 0;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 280px;
  }
}

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

  .hero h1 {
    font-size: 34px;
  }

  .hero p,
  .section-heading p,
  .advantage-copy p,
  .about-copy p,
  .contact-card > p {
    font-size: 14px;
  }

  .hero-actions,
  .field-grid,
  .footer-bottom {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(172px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .laptop-device {
    top: 34px;
    width: 470px;
    max-width: 100%;
  }

  .laptop-screen {
    grid-template-columns: 54px 1fr;
    height: 286px;
    border-width: 8px;
  }

  .screen-content {
    padding: 14px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric-row div:nth-child(n+2) {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .donut-card {
    display: none;
  }

  .phone-device {
    right: 0;
    bottom: -4px;
    width: 126px;
    min-height: 250px;
    border-width: 7px;
  }

  .product-grid,
  .benefit-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .contact-card,
  .about-copy {
    padding: 24px;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .toast-root {
    top: 86px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .toast {
    border-radius: 14px;
    transform: translateY(-10px);
  }

  .toast.is-visible {
    transform: translateY(0);
  }
}
