:root {
  --bg: #ffffff;
  --text: #07142f;
  --muted: #5c6b86;
  --primary: #1262f3;
  --primary-dark: #0849c4;
  --soft-blue: #eef5ff;
  --border: #dce7f6;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(14, 48, 110, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.section {
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220,231,246,0.72);
}

.navbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 650;
  font-size: 14px;
}

.nav-links a {
  color: #13213b;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  transition: width .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 750;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-cta, .btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 30px rgba(18, 98, 243, .22);
}

.nav-cta:hover, .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid #bfd0ed;
  color: #07142f;
  background: white;
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  padding: 10px;
}

.menu-toggle span {
  height: 2px;
  background: var(--text);
  display: block;
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at 70% 20%, rgba(18,98,243,.10), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}

h1 span, h2 span {
  color: var(--primary);
}

h2 {
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-text, .section-text, .section-heading p, .card p, .process-step p, .cta-card p, .footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 530px;
  font-size: 17px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.check, .features span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  background: var(--primary);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  flex: 0 0 auto;
}

.hero-visual {
  min-height: 460px;
  display: grid;
  place-items: center;
}

.laptop {
  width: min(680px, 100%);
  transform: perspective(1200px) rotateX(3deg) rotateY(-7deg);
}

.laptop-screen {
  background: linear-gradient(145deg, #101827, #1b2c4d);
  border: 12px solid #121825;
  border-radius: 26px 26px 12px 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 34px;
  background: #f4f8ff;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b9c6d8;
}

.dashboard {
  height: 330px;
  background: #fbfdff;
  display: grid;
  grid-template-columns: 120px 1fr;
}

.dashboard aside {
  border-right: 1px solid var(--border);
  padding: 26px 18px;
  display: grid;
  align-content: start;
  gap: 18px;
  color: #7988a3;
}

.dashboard aside b {
  color: var(--primary);
}

.dash-main {
  padding: 28px;
}

.dash-header, .stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-header strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8cb8ff);
}

.stats {
  gap: 14px;
  margin: 24px 0;
}

.stats div {
  flex: 1;
  background: var(--soft-blue);
  border-radius: 14px;
  padding: 16px;
}

.stats strong {
  display: block;
  color: var(--text);
}

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

.chart {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  height: 160px;
  padding: 16px;
}

.chart path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
}

.chart circle {
  fill: var(--primary);
}

.laptop-base {
  width: 92%;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(90deg, #d5deea, #f6f8fb, #c3cfdd);
  border-radius: 0 0 34px 34px;
  box-shadow: 0 20px 38px rgba(36, 54, 88, 0.16);
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(14, 48, 110, 0.055);
}

.service-card {
  padding: 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #b9d1ff;
  box-shadow: var(--shadow);
}

.icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  border-radius: 20px;
  margin-bottom: 22px;
  font-size: 30px;
}

.why-section {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.why-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 76px;
  align-items: center;
}

.features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.features div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  color: #22304a;
}

.line-art {
  padding: 34px;
  background: linear-gradient(135deg, #ffffff, #f2f7ff);
}

.line-art svg {
  stroke: var(--primary);
  stroke-width: 4;
  fill: none;
  opacity: .85;
}

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

.process-step {
  text-align: center;
  padding: 18px;
  position: relative;
}

.process-step > span {
  width: 34px;
  height: 34px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 800;
}

.step-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border: 1px solid var(--border);
  background: var(--soft-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.cta-section {
  padding: 18px 0 80px;
}

.cta-card {
  text-align: center;
  background:
    radial-gradient(circle at 85% 30%, rgba(18,98,243,.12), transparent 30%),
    linear-gradient(135deg, #eef5ff, #ffffff);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 54px 24px;
}

.cta-card p {
  margin-bottom: 22px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  background: #fbfdff;
}

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

.footer h4 {
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.footer a {
  display: block;
  color: var(--muted);
  margin: 9px 0;
}

.footer a:hover {
  color: var(--primary);
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
}

.copyright {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
  }

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

  .hero-visual {
    min-height: auto;
  }

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

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

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

  .section {
    padding: 62px 0;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: 42px;
  }

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

  .btn {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .features {
    grid-template-columns: 1fr;
  }

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

  .dashboard aside {
    display: none;
  }

  .dash-main {
    padding: 20px;
  }

  .stats {
    flex-direction: column;
    align-items: stretch;
  }

  .laptop-screen {
    border-width: 8px;
  }

  .footer-grid {
    gap: 28px;
  }
}
