:root {
  --navy: #004767;
  --navy-2: #073247;
  --cyan: #03bfcb;
  --mint: #52e6d4;
  --ink: #102431;
  --muted: #5f7180;
  --line: #dbe7ec;
  --soft: #eef6f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(3, 30, 44, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(0, 71, 103, 0.94);
  box-shadow: 0 12px 40px rgba(0, 27, 39, 0.18);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 166px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  opacity: 0.88;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 7vw, 96px) 64px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 26, 38, 0.96) 0%, rgba(0, 39, 58, 0.8) 40%, rgba(0, 50, 69, 0.34) 100%),
    radial-gradient(circle at 30% 20%, rgba(3, 191, 203, 0.22), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions,
.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.tab,
.copy-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.tab:hover,
.copy-email:hover {
  transform: translateY(-2px);
}

.primary {
  color: #002d3d;
  background: var(--cyan);
  box-shadow: 0 14px 36px rgba(3, 191, 203, 0.28);
}

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

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 71, 103, 0.38);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel strong {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
  line-height: 1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section-pad {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 86px);
}

.section-head {
  width: min(780px, 100%);
  margin-bottom: 38px;
}

.section-head h2,
.platform-copy h2,
.contact h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.platform-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.intro {
  background: var(--white);
}

.intro-grid,
.capability-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.capability-grid article,
.security-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(14, 52, 68, 0.07);
}

.marker,
.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 6px;
  color: var(--navy);
  background: rgba(3, 191, 203, 0.14);
  font-size: 0.75rem;
  font-weight: 900;
}

.intro-grid h3,
.capability-grid h3,
.security-grid h3,
.timeline h3 {
  color: var(--navy);
  font-size: 1.18rem;
}

.intro-grid p,
.capability-grid p,
.security-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.solutions {
  background: linear-gradient(180deg, var(--soft), #ffffff);
}

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

.tab.is-active {
  color: #002d3d;
  border-color: var(--cyan);
  background: var(--cyan);
}

.solution-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 42px;
}

.solution-copy h3 {
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.06;
}

.solution-copy p,
.solution-copy li {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.solution-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.solution-copy li {
  position: relative;
  padding-left: 28px;
}

.solution-copy li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(3, 191, 203, 0.14);
}

.dashboard-figure {
  position: relative;
  min-height: 420px;
  padding: 28px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(82, 230, 212, 0.24), transparent 30%),
    linear-gradient(145deg, var(--navy-2), #061821);
  box-shadow: var(--shadow);
}

.dashboard-figure::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.dash-top,
.dash-grid {
  position: relative;
  z-index: 1;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
}

.dash-top strong {
  color: var(--cyan);
}

.dash-chart {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 16px;
  height: 190px;
  margin: 48px 0 34px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dash-chart span {
  display: block;
  min-height: 24px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--mint), var(--cyan));
  box-shadow: 0 0 30px rgba(3, 191, 203, 0.24);
  transition: height 0.4s ease;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dash-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.dash-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.platform {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  background: var(--white);
}

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

.automation {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: stretch;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(0, 71, 103, 0.96), rgba(4, 31, 45, 0.98)),
    radial-gradient(circle at 85% 15%, rgba(3, 191, 203, 0.3), transparent 34%);
}

.automation .section-head h2,
.automation .section-head p {
  color: var(--white);
}

.automation .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.calculator,
.calculator-result {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.compact {
  margin-bottom: 26px;
}

.calculator label {
  display: block;
  margin: 18px 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--cyan);
}

.calculator-result {
  display: grid;
  align-content: center;
}

.calculator-result span {
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
}

.calculator-result strong {
  margin: 14px 0;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}

.calculator-result p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.security {
  background: var(--soft);
}

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #002d3d;
  background: var(--cyan);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(238, 246, 248, 0.8), #ffffff 70%);
}

.copy-email {
  margin-top: 18px;
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.copy-feedback {
  display: block;
  min-height: 24px;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfe;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 44px 20px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  background: var(--navy-2);
}

.site-footer img {
  width: 92px;
  max-height: 70px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

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

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0, 71, 103, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .intro-grid,
  .security-grid,
  .timeline,
  .platform,
  .automation,
  .contact,
  .solution-stage {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand img {
    width: 138px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-panel,
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 18px;
  }

  .dashboard-figure {
    min-height: 360px;
    padding: 22px;
  }

  .dash-chart {
    gap: 9px;
    height: 150px;
    padding-inline: 4px;
  }

  .calculator,
  .calculator-result,
  .contact-form {
    padding: 22px;
  }
}
