:root {
  --blue: #2563eb;
  --blue-dark: #0f172a;
  --blue-soft: #e0f2fe;
  --bg: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --green: #22c55e;
  --line: #dbe7f3;
  --shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

.icon-sprite {
  display: none;
}

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

.section {
  padding: 92px 0;
  scroll-margin-top: 86px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 231, 243, 0.78);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 46px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-dark);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 13px 20px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: #1d4ed8;
  background: #1d4ed8;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.32);
}

.btn-secondary {
  color: var(--blue-dark);
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.28);
  background: #f9fbff;
}

.btn-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.88rem;
}

.btn-light {
  color: var(--blue);
  border-color: var(--white);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.16);
}

.btn-light:hover,
.btn-light:focus-visible {
  color: #1d4ed8;
  border-color: var(--white);
  background: #f8fafc;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 90px;
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.92), rgba(248, 250, 252, 0.72) 42%, rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 78% 18%, rgba(34, 197, 94, 0.16), transparent 28%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

h1 {
  max-width: 760px;
  color: var(--blue-dark);
  font-size: 3.35rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

.support-text {
  margin: 22px 0 0;
  color: var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 800;
}

.hero-actions,
.contact-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.tech-mockup {
  min-width: 0;
}

.mockup-shell {
  border: 1px solid rgba(219, 231, 243, 0.86);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mockup-topbar {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.mockup-topbar span:first-child {
  background: #ef4444;
}

.mockup-topbar span:nth-child(2) {
  background: #f59e0b;
}

.mockup-topbar span:nth-child(3) {
  background: var(--green);
}

.mockup-topbar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.mockup-content {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 420px;
}

.mockup-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: var(--blue-dark);
}

.mockup-sidebar span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.mockup-sidebar span:first-child {
  background: var(--blue);
}

.mockup-main {
  display: grid;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.72), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.mockup-stat,
.mockup-card,
.mockup-grid div {
  border: 1px solid rgba(219, 231, 243, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.mockup-stat {
  padding: 18px;
}

.mockup-stat small {
  color: var(--muted);
  font-weight: 800;
}

.mockup-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--blue-dark);
  font-size: 1.8rem;
}

.stat-line {
  position: relative;
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #dbeafe;
}

.stat-line::before {
  content: "";
  position: absolute;
  inset: 0 32% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.code-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: #bfdbfe;
  background: var(--blue-dark);
}

.code-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
}

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

.mockup-grid div {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: var(--blue-dark);
  font-weight: 800;
}

.mockup-grid svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

h2 {
  color: var(--blue-dark);
  font-size: 2.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.problem,
.timeline-section,
.contact-section {
  background: var(--white);
}

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

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

.services-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-card,
.contact-card,
.product-card,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.info-card,
.service-card {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.card-icon,
.service-card > svg {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--blue-soft);
}

.card-icon {
  display: grid;
  place-items: center;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card > svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 11px;
}

h3 {
  color: var(--blue-dark);
  font-size: 1.08rem;
  line-height: 1.28;
}

.info-card p,
.service-card p,
.timeline-item p,
.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section-note {
  max-width: 820px;
  margin: 36px auto 0;
  color: var(--blue-dark);
  font-size: 1.12rem;
  font-weight: 800;
  text-align: center;
}

.split-section {
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.7), rgba(248, 250, 252, 0.98)),
    var(--bg);
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.impact-text {
  display: block;
  margin-top: 26px;
  color: var(--blue-dark);
  font-size: 1.12rem;
  line-height: 1.45;
}

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

.feature-list span {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  color: var(--blue-dark);
  font-weight: 800;
}

.feature-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--green);
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-section {
  background:
    linear-gradient(180deg, var(--bg), #eef6ff);
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border-color: rgba(37, 99, 235, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 254, 0.68)),
    var(--white);
}

.product-label {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #166534;
  background: rgba(34, 197, 94, 0.13);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-card h3 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.product-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-dark);
}

.product-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

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

.timeline::before {
  content: "";
  position: absolute;
  top: 33px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.timeline-item {
  position: relative;
  padding: 24px;
}

.timeline-item span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  font-weight: 900;
}

.commercial-cta {
  padding: 78px 0;
  background: var(--blue-dark);
}

.cta-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 58px 32px;
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(circle at 15% 0, rgba(37, 99, 235, 0.46), transparent 35%),
    radial-gradient(circle at 85% 100%, rgba(34, 197, 94, 0.25), transparent 30%),
    linear-gradient(135deg, #1e3a8a, var(--blue-dark));
}

.cta-panel h2,
.cta-panel p {
  color: var(--white);
}

.cta-panel h2 {
  margin-bottom: 0;
}

.cta-panel p {
  max-width: 720px;
  margin-bottom: 8px;
  color: #dbeafe;
}

.contact-grid {
  grid-template-columns: 1fr 0.85fr;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  font-style: normal;
}

.contact-card span {
  display: grid;
  gap: 4px;
}

.contact-card strong {
  color: var(--blue-dark);
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer {
  padding: 58px 0 24px;
  color: #cbd5e1;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 42px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 900;
}

.footer p {
  max-width: 520px;
  margin-bottom: 0;
}

.footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer a:not(.footer-brand) {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(203, 213, 225, 0.16);
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .nav-menu {
    gap: 14px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .services-grid,
  .services-grid.compact,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }
}

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

  .section {
    padding: 70px 0;
  }

  .nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 13px 12px;
    border-radius: var(--radius);
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: var(--blue-soft);
  }

  .nav-menu .btn {
    margin-top: 8px;
    color: var(--white);
  }

  .hero {
    padding: 74px 0 68px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead,
  .section-heading p {
    font-size: 1rem;
  }

  .mockup-content {
    grid-template-columns: 62px 1fr;
    min-height: 360px;
  }

  .mockup-main {
    padding: 18px;
  }

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

  .product-card {
    display: grid;
    padding: 26px;
  }

  .product-actions {
    flex: 1 1 auto;
  }

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

@media (max-width: 560px) {
  .brand img {
    width: 48px;
    height: 38px;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions,
  .product-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cards-grid,
  .cards-grid.four,
  .services-grid,
  .services-grid.compact,
  .timeline,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-content {
    grid-template-columns: 1fr;
  }

  .code-card code {
    font-size: 0.76rem;
  }

  .info-card,
  .service-card,
  .contact-card,
  .timeline-item {
    padding: 20px;
  }

  .cta-panel {
    padding: 42px 20px;
  }
}
