:root {
  --bg: #f7f9fc;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-soft: #edf4fb;
  --line: rgba(21, 43, 77, 0.1);
  --text: #15253f;
  --muted: #66758f;
  --accent: #2c7df0;
  --accent-strong: #1557d6;
  --accent-soft: #e7f1ff;
  --shadow: 0 22px 60px rgba(31, 57, 102, 0.12);
  --max-width: 1350px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #fbfcfe 0%, #f3f7fc 54%, #eef3fa 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.45;
  animation: float 10s ease-in-out infinite;
}

.glow-one {
  width: 380px;
  height: 380px;
  top: 60px;
  left: -90px;
  background: rgba(44, 125, 240, 0.16);
}

.glow-two {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 420px;
  background: rgba(51, 164, 255, 0.16);
  animation-delay: 1.2s;
}

.grid-mask {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 43, 77, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 43, 77, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 92%);
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 40px rgba(28, 54, 95, 0.1);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav a,
.button,
.mini-link,
.contact-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-weight: 700;
  color: var(--surface-strong);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(44, 125, 240, 0.24);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
  background: rgba(44, 125, 240, 0.08);
  border-radius: 14px;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: var(--surface-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 130px);
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.visual-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.hero-text,
.card p,
.visual-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.card:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--surface-strong);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 30px rgba(44, 125, 240, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 43, 77, 0.08);
  box-shadow: 0 10px 24px rgba(31, 57, 102, 0.08);
}

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

.hero-stats div,
.visual-card,
.platform-grid div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(31, 57, 102, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.visual-panel,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.main-panel {
  min-height: 320px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(44, 125, 240, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 253, 0.95));
}

.main-panel::after {
  content: "";
  position: absolute;
  inset: auto -50px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 125, 240, 0.18), transparent 68%);
}

.panel-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.visual-panel h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}

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

.visual-card span,
.highlight-card span,
.contact-info span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.accent-card {
  background: linear-gradient(135deg, #e8f2ff, #dff7ff);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.section-heading.narrow h2 {
  max-width: 12ch;
}

.services-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.mini-link {
  color: var(--accent-strong);
  font-weight: 800;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.about-story,
.contact-card {
  padding: 30px;
}

.about-story h3,
.highlight-card h3,
.service-card h3,
.contact-card h3,
.platform-strip h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
}

.about-highlights {
  display: grid;
  gap: 18px;
}

.highlight-card,
.service-card {
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ebf4ff, #dff0ff);
  color: var(--accent-strong);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(44, 125, 240, 0.08);
}

.platform-strip {
  margin-top: 26px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(238, 245, 255, 0.98)),
    var(--surface);
}

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

.platform-grid div {
  text-align: center;
  font-weight: 800;
  color: var(--text);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 20px;
}

.contact-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-strong);
  font-weight: 800;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-info div {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid rgba(44, 125, 240, 0.08);
}

.site-footer {
  padding: 8px 0 36px;
  color: var(--muted);
  text-align: center;
}

.hero-copy,
.hero-visual,
.about-story,
.highlight-card,
.service-card,
.platform-strip,
.contact-card {
  animation: rise-in 720ms ease both;
}

.hero-visual,
.highlight-card:nth-child(2),
.service-card:nth-child(2),
.contact-card:nth-child(2) {
  animation-delay: 120ms;
}

.highlight-card:nth-child(3),
.service-card:nth-child(3) {
  animation-delay: 180ms;
}

.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6) {
  animation-delay: 220ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@media (max-width: 1100px) {
  .hero,
  .about-layout,
  .contact-layout,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid .service-card:last-child {
    grid-column: auto;
  }

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

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    padding: 14px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(21, 43, 77, 0.08);
    box-shadow: 0 18px 36px rgba(28, 54, 95, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

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

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

  .hero,
  .about-layout,
  .contact-layout,
  .service-grid,
  .hero-stats,
  .visual-stack,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding-top: 54px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .section-heading h2,
  .visual-panel h2 {
    max-width: none;
  }

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

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-story,
  .contact-card,
  .main-panel,
  .platform-strip,
  .highlight-card,
  .service-card {
    padding: 22px;
  }
}
