﻿:root {
  --theme-color: #f7f9fc;
  --background: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #111827;
  --soft: #667085;
  --border: #dfe6ee;
  --blue: #2864dc;
  --blue-dark: #1747a7;
  --green: #16a477;
  --header: rgba(247, 249, 252, 0.9);
  --shadow: 0 25px 70px rgba(31, 55, 88, 0.12);
}

html[data-theme="dark"] {
  --theme-color: #0a101b;
  --background: #0a101b;
  --surface: #101a29;
  --surface-soft: #152234;
  --text: #f4f7fb;
  --soft: #9aa9bc;
  --border: #24364c;
  --blue: #5890ff;
  --blue-dark: #3470e8;
  --green: #35d3a3;
  --header: rgba(10, 16, 27, 0.9);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: var(--header);
  backdrop-filter: blur(18px);
}

.header-content {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 11px;
  background: var(--blue);
  font-weight: 900;
}

.brand strong {
  letter-spacing: -0.035em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navigation > a:not(.nav-cta) {
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.theme-button {
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-cta {
  padding: 11px 16px;
  color: white;
  border-radius: 10px;
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 750;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.menu-button span {
  width: 19px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(40, 100, 220, 0.12), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(22, 164, 119, 0.1), transparent 30%);
}

.hero-grid {
  padding: 90px 0;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 75px;
}

.badge {
  width: fit-content;
  margin-bottom: 25px;
  padding: 7px 12px;
  color: var(--soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.72rem;
}

.badge span {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--blue);
}

.hero-content > p {
  max-width: 650px;
  color: var(--soft);
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 49px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 750;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 13px 30px rgba(40, 100, 220, 0.25);
}

.button.secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}

.button.white {
  color: var(--blue-dark);
  background: white;
}

.hero-proof {
  margin-top: 50px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--border);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof span {
  color: var(--soft);
  font-size: 0.7rem;
}

.dashboard {
  min-height: 510px;
  display: grid;
  grid-template-columns: 68px 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.dashboard-sidebar {
  padding: 22px 14px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 25px;
  background: var(--blue);
}

.dash-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 9px;
  background: white;
  font-weight: 900;
}

.dashboard-sidebar i {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.22);
}

.dashboard-main {
  padding: 27px;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-header small,
.dash-header strong {
  display: block;
}

.dash-header small {
  color: var(--soft);
  font-size: 0.67rem;
}

.dash-header strong {
  margin-top: 5px;
  font-size: 0.9rem;
}

.avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
}

.dash-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dash-metrics article {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
}

.dash-metrics span,
.dash-metrics strong,
.dash-metrics small {
  display: block;
}

.dash-metrics span {
  color: var(--soft);
  font-size: 0.65rem;
}

.dash-metrics strong {
  margin: 7px 0;
  font-size: 1.6rem;
}

.dash-metrics small {
  color: var(--green);
  font-size: 0.58rem;
}

.dash-chart {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
}

.chart-title {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
}

.chart-title span {
  color: var(--soft);
}

.bars {
  height: 160px;
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.bars i {
  height: var(--height);
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(var(--blue), rgba(40, 100, 220, 0.25));
}

.dash-row {
  margin-top: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  color: var(--soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.65rem;
}

.dash-row span {
  color: var(--green);
}

.clients {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.clients > div {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: var(--soft);
}

.clients span {
  font-size: 0.64rem;
  letter-spacing: 0.13em;
}

.clients strong {
  font-size: 0.84rem;
}

.section {
  padding: 110px 0;
}

.section-heading {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  align-items: end;
  gap: 70px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.method-copy h2,
.case-copy h2,
.contact-card h2 {
  margin: 13px 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p,
.solution-card p,
.method-copy > p,
.method-steps p,
.case-copy > p {
  color: var(--soft);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  min-height: 350px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.solution-card.featured-card {
  color: white;
  background: var(--blue);
}

.solution-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 13px;
  background: var(--surface-soft);
  font-weight: 900;
}

.featured-card .solution-icon {
  color: white;
  background: rgba(255, 255, 255, 0.16);
}

.solution-card h3 {
  margin: 60px 0 12px;
  font-size: 1.3rem;
}

.featured-card p {
  color: rgba(255, 255, 255, 0.75);
}

.solution-card a {
  margin-top: auto;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.featured-card a {
  color: white;
}

.method {
  background: var(--surface-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 90px;
}

.method-copy {
  position: sticky;
  top: 120px;
}

.method-copy .button {
  margin-top: 20px;
}

.method-steps article {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.method-steps article:last-child {
  border-bottom: 1px solid var(--border);
}

.method-steps > article > span {
  color: var(--blue);
  font-size: 0.8rem;
}

.method-steps h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
}

.method-steps p {
  margin: 0;
}

.case-section {
  padding: 110px 0;
}

.case-grid {
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 65px;
  border-radius: 27px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.browser {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--background);
}

.browser-top {
  min-height: 43px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}

.browser-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f05e66;
}

.browser-top span:nth-child(2) {
  background: #f2b94b;
}

.browser-top span:nth-child(3) {
  background: #39bd77;
}

.browser-body {
  padding: 22px;
}

.quadratic {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 30px 30px;
}

.axis-x,
.axis-y {
  position: absolute;
  background: var(--soft);
}

.axis-x {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.curve {
  width: 180px;
  height: 240px;
  position: absolute;
  bottom: 35px;
  left: 50%;
  border: 5px solid var(--blue);
  border-top: 0;
  border-radius: 0 0 100px 100px;
  transform: translateX(-50%);
}

.case-copy ul {
  margin: 25px 0 32px;
  padding: 0;
  list-style: none;
}

.case-copy li {
  margin-bottom: 9px;
  color: var(--soft);
}

.case-copy li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

.contact {
  padding: 0 0 110px;
}

.contact-card {
  padding: 55px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: white;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.contact-card .eyebrow {
  color: #cbdcff;
}

.contact-card h2 {
  max-width: 750px;
}

.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-content {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 50px;
  color: var(--soft);
  font-size: 0.78rem;
}

.footer-content > div > p {
  margin: 10px 0 0;
}

.footer-content > p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 930px) {
  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 22px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
  }

  .navigation.is-open {
    display: flex;
  }

  .navigation .nav-cta,
  .theme-button {
    justify-content: center;
    text-align: center;
  }

  .hero-grid,
  .section-heading,
  .method-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .dashboard {
    transform: none;
  }

  .clients > div {
    padding: 28px 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .method-copy {
    position: static;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero-grid {
    padding: 60px 0;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .dashboard {
    min-height: auto;
    grid-template-columns: 48px 1fr;
  }

  .dashboard-main {
    padding: 18px 12px;
  }

  .dash-metrics {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading {
    gap: 20px;
  }

  .case-grid,
  .contact-card {
    padding: 35px 20px;
  }

  .quadratic {
    min-height: 260px;
  }

  .footer-content {
    padding: 35px 0;
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}