:root {
  --ink: #073042;
  --deep: #06283d;
  --panel: #0b4f6c;
  --teal: #38bdf8;
  --teal-dark: #0284c7;
  --mint: #bae6fd;
  --lime: #7dd3fc;
  --amber: #f7b733;
  --paper: #f0fbff;
  --white: #ffffff;
  --muted: #557486;
  --line: #d6effb;
  --shadow: 0 18px 50px rgba(6, 40, 61, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 250, 248, 0.92);
  border-bottom: 1px solid rgba(214, 239, 251, 0.85);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--deep);
  background: var(--lime);
  border: 1px solid rgba(6, 40, 61, 0.18);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #2c5870;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--teal-dark);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--deep);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 84px max(24px, calc((100vw - 1180px) / 2)) 72px;
  color: var(--white);
  background:
    linear-gradient(rgba(6, 40, 61, 0.58), rgba(6, 40, 61, 0.82)),
    repeating-linear-gradient(90deg, rgba(186, 230, 253, 0.18) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(186, 230, 253, 0.12) 0 1px, transparent 1px 72px),
    linear-gradient(135deg, #06283d 0%, #075985 52%, #06283d 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 86px;
  background: linear-gradient(0deg, var(--paper), rgba(246, 250, 248, 0));
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.signal {
  position: absolute;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
}

.signal-one {
  top: 24%;
  left: 56%;
  transform: rotate(28deg);
}

.signal-two {
  top: 57%;
  left: 12%;
  transform: rotate(-18deg);
}

.signal-three {
  top: 72%;
  right: 8%;
  transform: rotate(8deg);
}

.hero-content,
.automation-panel {
  position: relative;
  z-index: 1;
}

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

.hero .eyebrow {
  color: var(--mint);
}

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

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 690px;
  color: #e0f7ff;
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.button-primary {
  color: var(--deep);
  background: var(--lime);
  box-shadow: 0 12px 30px rgba(125, 211, 252, 0.28);
}

.button-primary:hover {
  background: #a5e4ff;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.hero-metrics strong {
  display: block;
  color: var(--lime);
  font-size: 1.3rem;
}

.hero-metrics span {
  display: block;
  color: #c5eafb;
  font-size: 0.9rem;
}

.automation-panel {
  width: min(100%, 460px);
  justify-self: end;
  color: var(--white);
  border: 1px solid rgba(186, 230, 253, 0.32);
  border-radius: 8px;
  background: rgba(5, 18, 17, 0.76);
  box-shadow: var(--shadow);
}

.panel-top,
.panel-footer {
  display: flex;
  align-items: center;
  border-color: rgba(255, 255, 255, 0.12);
}

.panel-top {
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.panel-top span:nth-child(2) {
  background: var(--lime);
}

.panel-top span:nth-child(3) {
  background: var(--teal);
}

.workflow {
  padding: 24px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.workflow-item.active {
  border-color: rgba(125, 211, 252, 0.58);
  background: rgba(125, 211, 252, 0.14);
}

.workflow-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--deep);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 800;
}

.workflow-item p {
  margin: 4px 0 0;
  color: #b7ddea;
  font-size: 0.92rem;
}

.connector {
  width: 2px;
  height: 24px;
  margin-left: 40px;
  background: var(--teal);
}

.panel-footer {
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0f7ff;
}

.panel-footer strong {
  color: var(--lime);
  font-size: 1.4rem;
}

.section,
.results-trust,
.final-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.final-cta p,
.results p,
.trust p {
  color: var(--muted);
}

.problem-grid,
.solution-grid,
.client-grid {
  display: grid;
  gap: 16px;
}

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

.problem-grid article,
.solution-card,
.client-grid article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.problem-grid article {
  padding: 24px;
}

.problem-grid span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 10px;
  color: var(--teal-dark);
  background: #e0f7ff;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.solutions {
  padding-top: 28px;
}

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

.solution-card {
  padding: 26px;
  box-shadow: 0 12px 32px rgba(6, 40, 61, 0.07);
}

.solution-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(6, 40, 61, 0.92), rgba(56, 189, 248, 0.84)),
    var(--panel);
}

.solution-card.featured p {
  color: #e0f7ff;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--deep);
  background: var(--lime);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.solution-card.featured .card-icon {
  margin-bottom: 0;
}

.client-types {
  padding-top: 34px;
}

.client-grid {
  grid-template-columns: repeat(4, 1fr);
}

.client-grid article {
  padding: 24px;
  border-top: 5px solid var(--teal);
}

.client-grid article:nth-child(2) {
  border-top-color: var(--lime);
}

.client-grid article:nth-child(3) {
  border-top-color: var(--amber);
}

.client-grid article:nth-child(4) {
  border-top-color: var(--ink);
}

.process {
  padding-top: 36px;
}

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

.timeline article {
  padding: 24px 20px;
  position: relative;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
  font-weight: 800;
}

.results-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 30px 0 92px;
}

.results,
.trust {
  padding: 34px;
  border-radius: 8px;
}

.results {
  color: var(--white);
  background: var(--deep);
}

.results .eyebrow {
  color: var(--mint);
}

.results p,
.results li {
  color: #e0f7ff;
}

.results ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.trust {
  background: #e9f8ff;
  border: 1px solid var(--line);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.trust-list span {
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: start;
  margin-bottom: 70px;
  padding: 46px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 40, 61, 0.98), rgba(2, 132, 199, 0.92)),
    var(--deep);
  border-radius: 8px;
}

.final-cta .eyebrow {
  color: var(--mint);
}

.final-cta p {
  color: #e0f7ff;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #e0f7ff;
  font-weight: 700;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(125, 211, 252, 0.32);
  border-color: var(--lime);
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(24px, calc((100vw - 1180px) / 2));
  color: #c5eafb;
  background: var(--deep);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--mint);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 68px;
  }

  .automation-panel {
    justify-self: start;
  }

  .problem-grid,
  .solution-grid,
  .client-grid,
  .timeline,
  .results-trust,
  .final-cta {
    grid-template-columns: 1fr 1fr;
  }

  .solution-card.featured {
    grid-column: span 2;
  }

  .timeline {
    gap: 16px;
  }
}

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

  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding: 56px 16px 64px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .hero-metrics,
  .problem-grid,
  .solution-grid,
  .client-grid,
  .timeline,
  .results-trust,
  .final-cta,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .automation-panel {
    width: 100%;
  }

  .workflow {
    padding: 18px;
  }

  .workflow-item {
    grid-template-columns: 42px 1fr;
    padding: 14px;
  }

  .workflow-icon {
    width: 38px;
    height: 38px;
  }

  .connector {
    margin-left: 33px;
  }

  .section {
    padding: 64px 0;
  }

  .solution-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .solution-card.featured .card-icon {
    margin-bottom: 18px;
  }

  .results,
  .trust,
  .final-cta {
    padding: 28px 20px;
  }

  .final-cta {
    margin-bottom: 42px;
  }

  .footer {
    display: grid;
  }
}

