:root {
  --bg: #06132d;
  --ink: #d7ebff;
  --ink-soft: #9db8d9;
  --surface: #0c1c3f;
  --surface-muted: #11264d;
  --line: #27476f;
  --brand: #34daf8;
  --brand-strong: #8b52ff;
  --brand-soft: rgba(139, 82, 255, 0.2);
  --accent: #4ce4ff;
  --ok: #5ae0aa;
  --focus: #6aeaff;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 26px 64px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.62;
  background:
    radial-gradient(900px 420px at 98% -2%, rgba(139, 82, 255, 0.28), transparent 60%),
    radial-gradient(760px 360px at 0% 20%, rgba(52, 218, 248, 0.22), transparent 58%),
    linear-gradient(180deg, #081a3b 0%, #06132d 55%, #050f24 100%);
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 7px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.container {
  width: min(100% - 2.2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 35, 72, 0.72), rgba(10, 24, 52, 0.84));
  border-block: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-strong);
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.05rem, 6vw, 3.7rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.45rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(5, 14, 34, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 94, 145, 0.55);
}

.nav {
  min-height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  letter-spacing: -0.02em;
}

.logo span {
  line-height: 1;
  background: linear-gradient(90deg, #38e6ff 0%, #2fd4ff 45%, #a45dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(56, 230, 255, 0.28), 0 0 26px rgba(164, 93, 255, 0.2);
}

.logo img {
  height: 48px;
  width: auto;
  mix-blend-mode: screen;
  border-radius: 6px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.45rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.nav-menu {
  position: absolute;
  top: 4.7rem;
  left: 1rem;
  right: 1rem;
  display: none;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 0.7rem;
}

.nav-menu.open {
  display: grid;
}

.nav-menu a {
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 0.62rem 0.7rem;
  font-weight: 600;
}

.nav-menu a:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.nav-menu a.btn-primary {
  color: #07152f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0.72rem 1.04rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn-sm {
  padding: 0.5rem 0.82rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #07152f;
  box-shadow: 0 8px 18px rgba(52, 218, 248, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(139, 82, 255, 0.34);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(15, 35, 72, 0.72);
}

.btn-ghost:hover {
  background: rgba(26, 51, 96, 0.9);
}

.hero {
  padding-top: 5.7rem;
  padding-bottom: 3.4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy-wrap {
  position: relative;
}

.hero-copy {
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin: 1.35rem 0;
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-list li {
  border: 1px solid rgba(52, 218, 248, 0.36);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
}

.hero-stats {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.65rem;
}

.hero-stats article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(11, 27, 58, 0.78);
  padding: 0.68rem 0.75rem;
}

.hero-stats strong {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-right: 0.35rem;
}

.hero-stats span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-panel {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 35, 72, 0.92), rgba(8, 20, 44, 0.94)),
    linear-gradient(135deg, #122c5c 0%, #0c1f42 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-visuals {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding: 0.95rem;
  padding-bottom: 15rem;
}

.hero-visual-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0a1a37;
  box-shadow: 0 6px 16px rgba(9, 23, 40, 0.08);
}

.hero-visual-main {
  grid-column: span 2;
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pulse {
  position: absolute;
  border: 1px solid rgba(52, 218, 248, 0.35);
  border-radius: 999px;
  animation: pulse 4.3s ease-in-out infinite;
}

.pulse-1 {
  width: 220px;
  height: 220px;
  right: -55px;
  top: -55px;
}

.pulse-2 {
  width: 160px;
  height: 160px;
  left: -30px;
  bottom: 10px;
  animation-delay: 0.8s;
}

.pulse-3 {
  width: 120px;
  height: 120px;
  right: 44%;
  bottom: -45px;
  animation-delay: 1.3s;
}

.panel-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 20, 44, 0.92);
  padding: 0.95rem;
}

.panel-card p,
.panel-card small {
  margin: 0;
}

.panel-card p {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.panel-card strong {
  display: block;
  margin: 0.18rem 0;
  font-size: 1rem;
}

.trust-strip {
  padding-top: 1rem;
  padding-bottom: 1.2rem;
}

.trust-strip p {
  margin: 0 0 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-strip-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-strip-grid div {
  border: 1px solid var(--line);
  background: rgba(12, 28, 61, 0.86);
  border-radius: 10px;
  padding: 0.62rem 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.section-head {
  margin-bottom: 1.7rem;
}

.section-head h2 {
  max-width: 27ch;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(12, 28, 61, 0.9);
  box-shadow: var(--shadow-sm);
  padding: 1.05rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chip-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-list li {
  border: 1px solid rgba(52, 218, 248, 0.26);
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  font-size: 0.79rem;
  font-weight: 600;
  color: #9ac8f5;
  background: rgba(15, 35, 72, 0.95);
}

.link-arrow {
  font-weight: 700;
  color: var(--brand-strong);
  margin-top: 0.4rem;
}

.link-arrow::after {
  content: " ->";
}

.outcomes-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.metric-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
}

.metric-card h3 {
  margin-bottom: 0.5rem;
}

.metric-card p {
  margin: 0;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(12, 28, 61, 0.86);
  padding: 1rem;
}

.process-step span {
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.42rem;
}

.process-step h3 {
  margin-bottom: 0.34rem;
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
}

.testimonials-ticker {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  padding-block: 0.15rem;
}

.testimonials-ticker::before,
.testimonials-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  pointer-events: none;
  z-index: 2;
}

.testimonials-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #06132d, transparent);
}

.testimonials-ticker::after {
  right: 0;
  background: linear-gradient(270deg, #06132d, transparent);
}

.ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}

.testimonials-ticker:hover .ticker-track,
.testimonials-ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

.quote-card {
  width: min(88vw, 390px);
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.quote {
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.quote-meta {
  margin-top: auto;
  font-size: 0.88rem;
}

.testimonials-note {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.icon {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(52, 218, 248, 0.3);
  border-radius: 10px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0.72rem;
}

.icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--brand-strong);
}

.about-grid {
  display: grid;
  gap: 1.2rem;
}

.values-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.values-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem;
  background: rgba(12, 28, 61, 0.86);
  font-weight: 700;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  gap: 1.45rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.86rem;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #081936;
  color: var(--ink);
  font: inherit;
  padding: 0.62rem 0.72rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.form-message {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

.form-message.error {
  color: #ff8bb3;
}

.form-message.success {
  color: var(--ok);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 18, 40, 0.84);
}

.footer-grid {
  min-height: 4.2rem;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

@media (min-width: 700px) {
  .products-grid,
  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

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

  .trust-strip-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

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

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.18rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: 1.16fr 1fr;
    align-items: center;
    gap: 2.3rem;
  }

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

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

  .footer-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.48;
  }
  50% {
    transform: scale(1.09);
    opacity: 0.18;
  }
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse,
  .ticker-track {
    animation: none;
  }

  .btn {
    transition: none;
  }
}

/* ─── Industry tier badges ─────────────────────────────────────────── */
.industry-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.industry-badge {
  border: 1px solid rgba(139, 82, 255, 0.4);
  border-radius: 999px;
  background: rgba(139, 82, 255, 0.12);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
}

/* ─── ICP "Who Is This For" section ────────────────────────────────── */
.icp-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .icp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ─── Active nav state ─────────────────────────────────────────────── */
.nav-menu a.nav-active {
  color: var(--brand);
  background: rgba(52, 218, 248, 0.08);
}

/* ─── Per-field inline form errors ─────────────────────────────────── */
.field-error {
  color: #ff8bb3;
  font-size: 0.84rem;
  margin-top: 0.25rem;
  display: block;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ff8bb3;
  outline-color: #ff8bb3;
}

/* ─── Form success panel ────────────────────────────────────────────── */
.form-success-panel {
  display: none;
  border: 1px solid var(--ok);
  border-radius: var(--radius-sm);
  background: rgba(90, 224, 170, 0.08);
  padding: 1.5rem;
  text-align: center;
  margin-top: 0.5rem;
}

.form-success-panel.visible {
  display: block;
}

.contact-form.submitted {
  display: none;
}

/* ─── Breadcrumb navigation (subpages) ──────────────────────────────── */
.breadcrumb {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--brand-strong);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* ─── Screen reader only ────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Footer meta line ──────────────────────────────────────────────── */
.footer-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

/* ─── Product card dual CTA actions ────────────────────────────────── */
.product-card-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.product-card-actions .link-arrow {
  margin-top: 0;
}

/* ─── Subpage hero (platform pages) ────────────────────────────────── */
.page-hero {
  padding: 4rem 0 2.5rem;
}

.page-hero h1 {
  max-width: 22ch;
  font-size: clamp(1.7rem, 4.5vw, 2.9rem);
}

/* ─── CTA banner (subpages) ─────────────────────────────────────────── */
.cta-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15, 35, 72, 0.9), rgba(10, 24, 52, 0.95));
  padding: 2.5rem;
  text-align: center;
}

.cta-banner h2 {
  max-width: 32ch;
  margin-inline: auto;
}

.cta-banner .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.2rem;
}

/* ─── Related modules (subpages) ────────────────────────────────────── */
.related-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ─── Legal pages ───────────────────────────────────────────────────── */
.legal-content {
  max-width: 72ch;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.legal-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}
