:root {
  color-scheme: dark;
  --navy-950: #04111f;
  --navy-900: #071427;
  --navy-800: #0d2038;
  --navy-700: #123052;
  --white: #ffffff;
  --ink-soft: #c6d5e8;
  --muted: #8ea3ba;
  --cyan: #2ee8ff;
  --blue: #2f7cff;
  --green: #47e6a1;
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 124, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 42%, #f6f9fd 42%, #f6f9fd);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 100;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--navy-950);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(4, 17, 31, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 17, 31, 0.94);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 232, 255, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(46, 232, 255, 0.18), rgba(47, 124, 255, 0.34));
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.nav-menu a:hover,
.contact-links a:hover {
  color: var(--cyan);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 0 1rem;
  background: rgba(46, 232, 255, 0.1);
  border: 1px solid rgba(46, 232, 255, 0.38);
}

.button {
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #02101d;
  box-shadow: 0 14px 36px rgba(46, 232, 255, 0.24);
}

.button.hero-primary {
  min-height: 54px;
  padding-inline: 1.45rem;
  box-shadow: 0 18px 48px rgba(46, 232, 255, 0.34);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

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

.hero {
  overflow: hidden;
  padding: clamp(3.4rem, 6vw, 6rem) 0 clamp(2.5rem, 5vw, 4.25rem);
}

.hero-grid,
.section,
.trust-band,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 7vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  color: inherit;
  font-size: 1.17rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 1.75rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
}

.trust-chips li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.65rem 0.8rem;
}

.trust-chips li {
  border-color: rgba(46, 232, 255, 0.22);
  background: rgba(46, 232, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.dashboard-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.main-panel {
  position: absolute;
  inset: 70px 0 auto auto;
  width: min(100%, 480px);
  padding: 1.35rem;
}

.panel-top,
.metric-row,
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-top {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.panel-top strong,
.case-header strong {
  color: var(--green);
}

.metric-row {
  margin: 1rem 0;
}

.metric-row div {
  width: 100%;
  min-height: 112px;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-row span,
.metric-row strong {
  display: block;
}

.metric-row span,
.floating-card small,
.case-card p {
  color: var(--muted);
}

.metric-row strong {
  margin-top: 0.4rem;
  color: var(--white);
  font-size: 2.3rem;
}

.workflow {
  display: grid;
  gap: 0.65rem;
}

.workflow span {
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(46, 232, 255, 0.18);
  border-radius: 8px;
  background: rgba(46, 232, 255, 0.08);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
}

.call-card {
  top: 14px;
  left: 6px;
  width: min(88%, 330px);
  animation: float 5s ease-in-out infinite;
}

.chat-card {
  right: 12px;
  bottom: 36px;
  width: min(82%, 300px);
  animation: float 5s ease-in-out 900ms infinite;
}

.pulse-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(71, 230, 161, 0.12);
}

.signal-ring {
  position: absolute;
  inset: 100px 20px auto auto;
  width: 420px;
  max-width: 80vw;
  aspect-ratio: 1;
  border: 1px solid rgba(46, 232, 255, 0.12);
  border-radius: 999px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  margin-bottom: clamp(4rem, 7vw, 5.5rem);
}

.trust-band div {
  padding: 1.15rem;
  background: rgba(7, 20, 39, 0.96);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 1.35rem;
}

.trust-band span {
  color: var(--muted);
}

.section {
  padding: clamp(5rem, 9vw, 7rem) 0;
  color: var(--navy-950);
}

.section:first-of-type {
  padding-top: clamp(4rem, 7vw, 6rem);
}

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

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

.section-heading p:not(.eyebrow),
.demo-copy p,
.contact-copy p,
.price-card p,
.service-card p,
.outcome-card p {
  color: #55677b;
}

.service-grid,
.pricing-grid,
.outcome-grid,
.system-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.price-card,
.outcome-card,
.case-card,
.industry-card,
.quote-form {
  border: 1px solid #dce5ef;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(8, 31, 56, 0.08);
}

.outcome-section {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}

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

.outcome-card,
.service-card {
  padding: 1.25rem;
}

.outcome-card {
  background: var(--white);
}

.outcome-card h3,
.service-card h3 {
  margin-bottom: 0.7rem;
}

.icon,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  background: #eaf7ff;
  color: #0769d7;
}

.service-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: #34485e;
}

.service-card li + li {
  margin-top: 0.4rem;
}

.split-section,
.demo-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.workflow-diagram {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.75rem;
}

.workflow-diagram article {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 1rem;
  border: 1px solid #dce5ef;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-950);
  font-weight: 800;
  text-align: center;
}

.workflow-diagram article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.56rem;
  width: 0.38rem;
  height: 0.38rem;
  border-top: 2px solid #2f7cff;
  border-right: 2px solid #2f7cff;
  transform: translateY(-50%) rotate(45deg);
  background: #f6f9fd;
  z-index: 2;
}

.demo-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max)) / 2));
  background: var(--navy-900);
  color: var(--white);
}

.demo-section h2,
.contact-section h2 {
  color: inherit;
}

.demo-copy p {
  color: var(--ink-soft);
}

.case-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.case-card h3 {
  color: var(--white);
  margin-bottom: 0.65rem;
}

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

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

.industry-card {
  display: grid;
  gap: 0.7rem;
  min-height: 132px;
  padding: 1.15rem;
  background: var(--white);
}

.industry-card span {
  color: #0769d7;
  font-size: 0.78rem;
  font-weight: 800;
}

.industry-card strong {
  color: var(--navy-950);
  font-size: 1.05rem;
  line-height: 1.25;
}

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

.compact-section {
  padding-block: clamp(4rem, 7vw, 5.5rem);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
}

.price-card strong {
  display: block;
  margin-top: auto;
  color: #0769d7;
  font-size: 1.45rem;
}

.price-card.featured {
  background: var(--navy-900);
  border-color: rgba(47, 124, 255, 0.34);
  color: var(--white);
  transform: translateY(-10px);
}

.price-card.featured p {
  color: var(--ink-soft);
}

.price-card.featured strong {
  color: var(--cyan);
}

.badge {
  align-self: flex-start;
  padding: 0.25rem 0.55rem;
  background: rgba(46, 232, 255, 0.12);
  color: var(--cyan);
  font-size: 0.78rem;
}

.pricing-note {
  margin: 1.5rem 0 0;
  color: #55677b;
  text-align: center;
}

.tech-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
}

.tech-section .section-heading {
  max-width: 820px;
}

.contact-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max)) / 2));
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.contact-copy p {
  color: var(--ink-soft);
}

.contact-links {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  min-width: 210px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(46, 232, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-weight: 750;
}

.quote-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--white);
}

.quote-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 10, 20, 0.54);
  color: var(--white);
  padding: 0.82rem 0.9rem;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 232, 255, 0.14);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0;
  color: #66788d;
}

.site-footer p {
  margin: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  body {
    background:
      radial-gradient(circle at 10% 0%, rgba(47, 124, 255, 0.2), transparent 24rem),
      linear-gradient(180deg, var(--navy-950), var(--navy-900) 34%, #f6f9fd 34%, #f6f9fd);
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 17, 31, 0.98);
  }

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

  .nav-menu a {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .split-section,
  .demo-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 410px;
  }

  .main-panel {
    inset: 64px 0 auto 0;
    width: 100%;
  }

  .service-grid,
  .outcome-grid,
  .system-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-diagram {
    grid-template-columns: 1fr;
  }

  .workflow-diagram article {
    min-height: 82px;
  }

  .workflow-diagram article:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -0.56rem;
    transform: translateX(50%) rotate(135deg);
    background: var(--white);
  }

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

@media (max-width: 720px) {
  .nav,
  .hero-grid,
  .section,
  .trust-band,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-top: 3rem;
  }

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

  .service-grid,
  .pricing-grid,
  .outcome-grid,
  .system-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 370px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 0.75rem;
  }

  .main-panel {
    position: relative;
    inset: auto;
  }

  .metric-row {
    flex-direction: column;
  }

  .signal-ring {
    display: none;
  }

  .price-card.featured {
    transform: none;
  }

  .contact-button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
