:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #13213c;
  --muted: #657086;
  --line: rgba(19, 33, 60, 0.12);
  --primary: #1d67ff;
  --primary-dark: #0f4bd3;
  --accent: #19c3b3;
  --accent-soft: rgba(25, 195, 179, 0.14);
  --shadow: 0 24px 70px rgba(15, 35, 77, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 16px;
  background: var(--text);
  color: #fff;
  border-radius: 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 14px 30px rgba(15, 35, 77, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 24px rgba(29, 103, 255, 0.24);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

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

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

.header-phone {
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 35, 77, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.4;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: rgba(29, 103, 255, 0.14);
  top: -120px;
  right: 6%;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: rgba(25, 195, 179, 0.18);
  left: -90px;
  bottom: 20px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 7px var(--accent-soft);
}

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

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

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.hero-lead,
.section-heading p,
.lead-copy p,
.about-card p {
  font-size: 18px;
  color: var(--muted);
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 32px;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 34px rgba(29, 103, 255, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 44px rgba(29, 103, 255, 0.32);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trust-row span::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

.hero-card {
  position: relative;
}

.dashboard-card {
  position: relative;
  padding: 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: -100px -90px auto auto;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: rgba(29, 103, 255, 0.09);
}

.dashboard-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.dashboard-top strong {
  margin-left: auto;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #d4d9e6;
}

.dot:nth-child(1) {
  background: #ff7e74;
}

.dot:nth-child(2) {
  background: #ffd166;
}

.dot:nth-child(3) {
  background: #19c3b3;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.pipeline div {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface-2);
}

.pipeline span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.pipeline strong {
  font-size: 30px;
  letter-spacing: -0.04em;
}

.automation-list {
  position: relative;
  display: grid;
  gap: 14px;
}

.automation-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.automation-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eff3fb;
  color: var(--muted);
  font-weight: 900;
}

.automation-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.automation-item.is-active span {
  background: var(--accent-soft);
  color: #0d877d;
}

.automation-item.is-active p {
  color: var(--text);
}

.section {
  padding: 84px 0;
}

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

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

.cards,
.service-grid,
.pricing-grid,
.results-grid,
.about-grid,
.lead-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.service-card,
.price-card,
.about-card,
.checklist,
.lead-form,
.metric-card,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 35, 77, 0.06);
}

.card {
  padding: 28px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--primary-dark);
  font-weight: 900;
}

.card p,
.service-card p,
.price-card p,
.timeline-item p,
.faq-item p,
.footer-grid p,
.checklist li {
  color: var(--muted);
}

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

.service-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -52px;
  bottom: -52px;
  border-radius: 999px;
  background: rgba(29, 103, 255, 0.08);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 42px;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #0d877d;
  font-size: 13px;
  font-weight: 900;
}

.process-section {
  background: #101c34;
  color: #fff;
}

.process-section .section-heading p,
.process-section .timeline-item p {
  color: rgba(255, 255, 255, 0.68);
}

.timeline {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.timeline-item h3,
.timeline-item p {
  margin-bottom: 0;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: rgba(29, 103, 255, 0.35);
  box-shadow: 0 24px 70px rgba(29, 103, 255, 0.16);
}

.badge {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #0d877d;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card ul,
.checklist ul {
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.price-card li,
.checklist li {
  position: relative;
  padding-left: 28px;
}

.price-card li::before,
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.price-card .btn {
  margin-top: auto;
}

.results-section {
  background: linear-gradient(135deg, #eaf2ff 0%, #f9fbff 58%, #eafbf8 100%);
}

.results-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  align-items: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.metric-card {
  padding: 26px;
}

.metric-card strong {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 10px;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
}

.about-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
  align-items: stretch;
}

.about-card,
.checklist {
  padding: 34px;
}

.checklist {
  background: #101c34;
  color: #fff;
}

.checklist li {
  color: rgba(255, 255, 255, 0.74);
}

.faq-section {
  padding-top: 30px;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 24px;
  margin: 0;
}

.lead-section {
  padding: 86px 0;
  background: #101c34;
  color: #fff;
}

.lead-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.74fr);
  align-items: start;
}

.lead-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.lead-form {
  padding: 28px;
  color: var(--text);
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.lead-form label span {
  font-size: 14px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f9fbff;
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(29, 103, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(29, 103, 255, 0.11);
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.is-success {
  color: #0d877d;
  font-weight: 800;
}

.form-note.is-error {
  color: #b42318;
  font-weight: 800;
}

.site-footer {
  padding: 34px 0;
  background: #0b1427;
  color: #fff;
}

.footer-grid {
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.footer-grid p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-small {
  font-size: 12px;
}

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

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

@media (max-width: 1020px) {
  .header-phone {
    display: none;
  }

  .hero-grid,
  .results-grid,
  .about-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 640px;
  }

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

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

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-width: auto;
  }

  .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 68px 14px auto 14px;
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

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

  .main-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 48px 0 54px;
  }

  .section,
  .lead-section {
    padding: 58px 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead,
  .section-heading p,
  .lead-copy p,
  .about-card p {
    font-size: 16px;
  }

  .three-columns,
  .service-grid,
  .pricing-grid,
  .metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item > span {
    width: 48px;
    height: 48px;
  }

  .lead-form,
  .about-card,
  .checklist,
  .price-card,
  .card,
  .service-card {
    padding: 22px;
  }
}
