:root {
  --navy: #071d3a;
  --navy-2: #0b2a4d;
  --blue: #1464ff;
  --blue-soft: #eaf2ff;
  --teal: #10a7ad;
  --teal-soft: #e7fbfb;
  --ink: #172133;
  --muted: #647084;
  --line: #dce6f2;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(7, 29, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 230, 242, 0.85);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(7, 29, 58, 0.08);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-logo.is-missing {
  display: none;
}

.brand-fallback {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue) 58%, var(--teal));
  border-radius: 8px;
  font-weight: 800;
}

.brand-logo.is-missing + .brand-fallback {
  display: grid;
}

.brand-text {
  font-size: 1.1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #324052;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a {
  transition: color 180ms ease;
}

.nav-menu a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 56px;
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-copy,
.section-heading p,
.split-section p,
.about-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy {
  max-width: 630px;
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 28px rgba(20, 100, 255, 0.24);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 660px;
}

.hero-stats div {
  padding: 18px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: 1.1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.dashboard-visual {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 100, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(16, 167, 173, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #f9fcff, #ffffff);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  box-shadow: inset 0 0 0 1px var(--line);
}

.dashboard-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-card {
  inset: 64px 42px auto 42px;
  height: 300px;
  padding: 24px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 700;
}

.card-topline strong {
  color: var(--teal);
}

.line-chart {
  position: relative;
  height: 130px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 100, 255, 0.04), rgba(16, 167, 173, 0.02));
}

.line-chart::before {
  content: "";
  position: absolute;
  inset: 22% 0 16% 0;
  background: linear-gradient(115deg, transparent 0 12%, var(--blue) 12% 14%, transparent 14% 30%, var(--teal) 30% 32%, transparent 32% 52%, var(--blue) 52% 54%, transparent 54% 71%, var(--teal) 71% 73%, transparent 73%);
  opacity: 0.75;
}

.line-chart span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(20, 100, 255, 0.22);
  transform: translate(-50%, -50%);
}

.bar-row,
.mini-bars {
  display: flex;
  align-items: end;
  gap: 12px;
}

.bar-row {
  height: 84px;
  margin-top: 22px;
}

.bar-row span,
.mini-bars span {
  flex: 1;
  min-width: 16px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.side-card {
  right: -18px;
  bottom: 88px;
  width: 190px;
  padding: 20px;
}

.score-card {
  left: -18px;
  bottom: 52px;
  width: 180px;
  padding: 20px;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.side-card strong {
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1;
}

.mini-bars {
  height: 64px;
  margin-top: 18px;
}

.mini-bars span:nth-child(1) { height: 58%; }
.mini-bars span:nth-child(2) { height: 84%; }
.mini-bars span:nth-child(3) { height: 46%; }
.mini-bars span:nth-child(4) { height: 72%; }

.radial {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin: 10px auto 0;
  color: var(--navy);
  font-weight: 800;
  background: conic-gradient(var(--teal) 0 96%, var(--blue-soft) 96% 100%);
  border-radius: 50%;
}

.radial::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
}

.radial {
  position: relative;
}

.radial {
  isolation: isolate;
}

.radial::after {
  content: "96%";
  position: relative;
  z-index: 1;
}

.radial {
  font-size: 0;
}

.radial::after {
  font-size: 1.25rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.service-card,
.solution-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 29, 58, 0.06);
}

.service-card p,
.solution-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.capability-list span {
  padding: 9px 12px;
  color: var(--navy);
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.icon {
  display: grid;
  place-items: end center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  position: relative;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.chart-icon::before {
  inset: 12px 10px;
  background: linear-gradient(90deg, var(--navy) 0 18%, transparent 18% 30%, var(--blue) 30% 48%, transparent 48% 60%, var(--teal) 60% 82%);
}

.model-icon::before {
  width: 27px;
  height: 27px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.model-icon::after {
  width: 16px;
  height: 16px;
  right: 8px;
  bottom: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.automation-icon::before {
  width: 26px;
  height: 16px;
  border: 3px solid var(--blue);
  border-left-color: var(--teal);
  border-radius: 14px;
}

.marketing-icon::before {
  width: 28px;
  height: 22px;
  border-left: 4px solid var(--navy);
  border-bottom: 4px solid var(--navy);
}

.marketing-icon::after {
  width: 24px;
  height: 3px;
  background: var(--teal);
  transform: rotate(-32deg);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-list {
  display: grid;
  gap: 16px;
}

.why-list div {
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: #f8fbff;
  border-radius: var(--radius);
}

.why-list strong,
.why-list span {
  display: block;
}

.why-list strong {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.08rem;
}

.why-list span {
  color: var(--muted);
}

.solutions {
  padding-bottom: 70px;
}

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

.solution-grid article {
  position: relative;
  overflow: hidden;
}

.solution-grid article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border: 18px solid rgba(16, 167, 173, 0.12);
  border-radius: 50%;
}

.solution-grid span {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--blue);
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.about-panel {
  padding: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius);
}

.about-panel h2,
.about-panel p {
  color: var(--white);
}

.about-panel .eyebrow {
  color: #63e0e0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

.analytics-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.pipeline-step {
  position: relative;
  padding: 18px 18px 18px 52px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.pipeline-step::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 50%;
  transform: translateY(-50%);
}

.pipeline-step.active {
  border-color: rgba(16, 167, 173, 0.55);
  box-shadow: 0 12px 26px rgba(16, 167, 173, 0.14);
}

.pipeline-step.active::before {
  background: var(--teal);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(20, 100, 255, 0.16);
  border-color: var(--blue);
}

.hidden {
  display: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(20px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: var(--navy);
}

.footer div,
.footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .about,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .dashboard-visual {
    min-height: 460px;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .section {
    width: min(100% - 28px, 1160px);
    padding: 64px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-stats,
  .service-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-visual {
    min-height: 420px;
  }

  .main-card {
    inset: 40px 18px auto 18px;
  }

  .side-card,
  .score-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(50% - 12px);
    display: inline-block;
    margin-top: 356px;
    margin-left: 18px;
    vertical-align: top;
  }

  .score-card {
    margin-left: 8px;
  }

  .about-panel,
  .analytics-panel,
  .contact-form {
    padding: 24px;
  }

  .footer,
  .footer div,
  .footer nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.8rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dashboard-visual {
    display: none;
  }

  .brand-text {
    font-size: 1rem;
  }
}
