:root {
  --bg: #f7f9fc;
  --paper: #ffffff;
  --paper-2: #eef5ff;
  --ink: #07142f;
  --soft: rgba(7, 20, 47, 0.72);
  --muted: rgba(7, 20, 47, 0.52);
  --line: rgba(15, 38, 80, 0.12);
  --line-strong: rgba(37, 99, 235, 0.24);
  --blue: #1769ff;
  --blue-2: #06a8ff;
  --green: #0f766e;
  --shadow: 0 24px 80px rgba(15, 38, 80, 0.1);
  --max: 1360px;
  --font: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(23, 105, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 36%, rgba(6, 168, 255, 0.1), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 48%, #eef4fb 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}

@media (min-width: 900px) {
  body {
    zoom: 0.75;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 38, 80, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 38, 80, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 84%);
}

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

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

.site-header,
main,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(15, 38, 80, 0.08);
}

.brand img {
  width: 174px;
}

.nav,
.header-actions,
.hero-actions,
.footer nav {
  display: flex;
  align-items: center;
}

.nav {
  gap: 28px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(7, 20, 47, 0.84);
}

.nav span {
  color: var(--muted);
  font-size: 0.86rem;
}

.header-actions {
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.btn.primary {
  border: 1px solid rgba(23, 105, 255, 0.58);
  background: linear-gradient(180deg, #2f82ff, #1769ff);
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.22);
}

.btn.ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(430px, 1.05fr);
  gap: 46px;
  align-items: center;
  min-height: 640px;
  padding: 64px 0 24px;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 6.05rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

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

.hero p {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--soft);
  font-size: 1.3rem;
  line-height: 1.52;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  margin: 0;
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 4% 1%;
  z-index: -1;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.13), rgba(15, 118, 110, 0.1));
  filter: blur(22px);
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 30px 54px rgba(15, 38, 80, 0.13));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 18px 0 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.metrics article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics svg,
.capability-cards svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: 1.28rem;
  line-height: 1.1;
}

.metrics span {
  display: block;
  margin-top: 5px;
  color: var(--soft);
  font-size: 0.86rem;
}

.section {
  padding: 22px 0 48px;
}

.kicker {
  margin: 0 0 14px;
  color: rgba(23, 105, 255, 0.84);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.capability-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.capability-cards article,
.solution-list a,
.page-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 58px rgba(15, 38, 80, 0.065);
}

.capability-cards article {
  min-height: 224px;
  padding: 24px;
}

.capability-cards h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 850;
}

.capability-cards p {
  min-height: 86px;
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 0.89rem;
  line-height: 1.55;
}

.capability-cards a,
.platform-copy a,
.solution-list a span,
.page-link {
  color: var(--blue);
  font-weight: 800;
}

.platform-preview {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 0;
  margin: 12px 0 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  box-shadow: var(--shadow);
}

.platform-copy {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
}

.platform-copy h2,
.split-section h2,
.cta h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 3.05rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.platform-copy p:not(.kicker) {
  margin: 22px 0 32px;
  color: var(--soft);
}

.dashboard {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 430px;
  padding: 12px;
}

.dashboard aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
}

.dashboard aside img {
  width: 112px;
  margin: 0 0 10px;
}

.dashboard aside span {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard aside .active {
  color: var(--blue);
  background: rgba(23, 105, 255, 0.11);
}

.dash-main {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.dash-title {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.dash-title small {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background: #fff;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dash-stats article,
.flow-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.dash-stats small {
  color: var(--muted);
}

.dash-stats strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: 1.55rem;
}

.dash-stats span {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
}

.flow-panel {
  min-height: 180px;
  overflow: hidden;
}

.flow-panel strong {
  display: block;
  margin-bottom: 12px;
}

.flow-panel svg {
  width: 100%;
  height: 140px;
}

.flow-panel path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.split-section {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 34px;
  align-items: start;
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-list a {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 20px;
  padding: 18px;
}

.solution-list strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.solution-list span {
  color: var(--soft);
}

.cta {
  margin: 30px 0 56px;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(23, 105, 255, 0.14), transparent 18rem),
    linear-gradient(180deg, #ffffff, #eef5ff);
  box-shadow: var(--shadow);
}

.cta p {
  max-width: 760px;
  margin: 16px 0 28px;
  color: var(--soft);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 168px;
}

.footer nav {
  gap: 20px;
  color: var(--soft);
  font-weight: 800;
}

.page-hero {
  padding: 84px 0 42px;
  max-width: 920px;
}

.page-hero p:not(.kicker) {
  margin: 22px 0 0;
  color: var(--soft);
  font-size: 1.25rem;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 52px;
}

.page-card,
.contact-card {
  padding: 26px;
}

.page-card h2,
.contact-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.35rem;
}

.page-card p,
.contact-card p {
  margin: 0 0 20px;
  color: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  margin-bottom: 52px;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 14px;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

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

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero,
  .platform-preview,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .platform-copy h2,
  .split-section h2,
  .cta h2,
  .page-hero h1 {
    font-size: 2.7rem;
  }

  .platform-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 720px) {
  .site-header,
  main,
  .footer {
    width: calc(100% - 22px);
  }

  .site-header {
    top: 8px;
    padding: 10px;
  }

  .brand img {
    width: 150px;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 3.45rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .platform-copy h2,
  .split-section h2,
  .cta h2,
  .page-hero h1 {
    font-size: 2.18rem;
  }

  .hero-actions,
  .footer,
  .solution-list a {
    display: grid;
    grid-template-columns: 1fr;
  }

  .metrics,
  .capability-cards,
  .dash-stats,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .metrics article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .dashboard aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard aside span {
    display: none;
  }

  .cta {
    padding: 28px;
  }
}
