:root {
  --bg: #060a14;
  --bg-soft: #0b1327;
  --surface: rgba(15, 24, 46, 0.72);
  --surface-strong: #111b35;
  --surface-hover: rgba(23, 35, 70, 0.92);
  --text: #edf2ff;
  --text-muted: #aab9dd;
  --brand: #4d86ff;
  --brand-soft: #77abff;
  --accent: #8ec5ff;
  --border: rgba(169, 193, 255, 0.22);
  --border-strong: rgba(176, 201, 255, 0.36);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 22px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -20%, rgba(91, 148, 255, 0.22), transparent 34%),
    radial-gradient(circle at 10% 5%, rgba(63, 117, 255, 0.16), transparent 28%),
    radial-gradient(circle at 50% 115%, rgba(38, 77, 177, 0.18), transparent 36%),
    var(--bg);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section {
  padding: 6.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 21, 41, 0.7), rgba(8, 14, 30, 0.78));
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.01rem;
}

.section-lead {
  max-width: 760px;
  font-size: 1.05rem;
}

.section-lead--tight {
  margin-top: 0.75rem;
}

.prose-stack {
  max-width: 860px;
  margin-top: 0.9rem;
}

.prose-stack p {
  font-size: 1.02rem;
  line-height: 1.65;
}

.prose-stack p + p {
  margin-top: 1rem;
}

.prose-stack strong {
  color: var(--text);
  font-weight: 600;
}

.subsection-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

#solutions .subsection-title:first-of-type {
  margin-top: 1.35rem;
}

.card-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.65);
  border-bottom: 1px solid rgba(122, 155, 238, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(6, 10, 20, 0.9);
  border-bottom-color: rgba(136, 170, 255, 0.24);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #6ea6ff, #3a6ff0 62%, #2150d2);
  box-shadow: 0 12px 26px rgba(49, 105, 246, 0.42);
}

.brand-text {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: #c5d5fe;
  font-weight: 500;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.56rem 0.98rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(72, 122, 255, 0.16);
  color: #dce8ff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(78, 128, 255, 0.28);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
}

.hero {
  padding-top: 8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  color: #95b8ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(150, 186, 255, 0.25), rgba(150, 186, 255, 1));
}

.hero-subtext {
  max-width: 620px;
  margin-bottom: 2.1rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin-bottom: 1.15rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.74rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: #dce7ff;
  font-weight: 600;
  background: rgba(18, 29, 57, 0.8);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(24, 38, 72, 0.92);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #d0deff;
  background: rgba(18, 30, 58, 0.74);
  border: 1px solid rgba(144, 173, 255, 0.2);
}

.hero-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, #95c0ff, #6f9eff);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.4rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(135deg, #649fff, #3b73f1 62%, #2c5ce0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(47, 98, 244, 0.42);
  filter: saturate(1.1);
}

.hero-panel {
  position: relative;
  min-height: 320px;
}

.panel-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(80, 141, 255, 0.35), transparent 52%),
    radial-gradient(circle at 80% 85%, rgba(100, 139, 255, 0.23), transparent 45%);
  filter: blur(2px);
}

.status-card {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(20, 33, 62, 0.76), rgba(11, 19, 38, 0.88)),
    rgba(13, 20, 40, 0.88);
  backdrop-filter: blur(9px);
  padding: 1.65rem;
  box-shadow: var(--shadow);
}

.status-card ul {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  color: #c8d8ff;
}

.status-card li + li {
  margin-top: 0.6rem;
}

.metrics-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric {
  border-radius: 12px;
  border: 1px solid rgba(154, 182, 255, 0.22);
  background: rgba(12, 20, 38, 0.74);
  padding: 0.7rem 0.8rem;
}

.metric strong {
  display: block;
  color: #eaf1ff;
  font-size: 0.92rem;
  margin-bottom: 0.18rem;
}

.metric span {
  color: #afc2ef;
  font-size: 0.8rem;
}

.card-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.feature-card,
.tech-item,
.compliance-item {
  background:
    linear-gradient(150deg, rgba(20, 31, 60, 0.8), rgba(14, 23, 44, 0.82)),
    rgba(17, 26, 51, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.tech-item:hover,
.compliance-item:hover {
  transform: translateY(-6px);
  border-color: rgba(147, 177, 255, 0.52);
  background: var(--surface-hover);
  box-shadow: 0 20px 38px rgba(3, 10, 28, 0.45);
}

.icon {
  font-size: 1.2rem;
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  background: rgba(75, 127, 254, 0.2);
  margin-bottom: 0.75rem;
}

.sectors-panel {
  margin-top: 0.35rem;
  padding: 1.45rem 1.5rem 1.55rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(120, 154, 230, 0.28);
  background:
    radial-gradient(ellipse 90% 80% at 100% -20%, rgba(77, 134, 255, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(38, 88, 200, 0.12), transparent 48%),
    linear-gradient(168deg, rgba(14, 22, 44, 0.97), rgba(8, 13, 28, 0.94));
  box-shadow:
    0 22px 56px rgba(2, 8, 22, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.sectors-lead {
  margin: 0 0 1.2rem;
  max-width: 48rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.sectors-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.sector-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.75rem;
  padding: 0.95rem 1rem 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(118, 152, 236, 0.22);
  background: linear-gradient(155deg, rgba(18, 30, 58, 0.72), rgba(11, 18, 36, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.sector-tile__accent {
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-soft), rgba(77, 134, 255, 0.35));
  box-shadow: 0 0 14px rgba(100, 159, 255, 0.35);
}

.sector-tile__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8eeff;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sector-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(165, 195, 255, 0.45);
  background: linear-gradient(155deg, rgba(24, 38, 72, 0.82), rgba(14, 24, 46, 0.92));
  box-shadow:
    0 14px 32px rgba(3, 12, 32, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 1100px) {
  .sectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sectors-panel {
    padding: 1.2rem 1.15rem 1.35rem;
  }
}

@media (max-width: 420px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

.tech-grid,
.compliance-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tech-stack {
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(20, 31, 60, 0.8), rgba(14, 23, 44, 0.82));
  padding: 1.2rem;
}

.tech-stack h3 {
  margin-bottom: 0.85rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(153, 184, 255, 0.4);
  color: #dee8ff;
  background: rgba(58, 109, 235, 0.18);
  font-size: 0.86rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tech-badge:hover {
  transform: translateY(-2px);
  background: rgba(58, 109, 235, 0.3);
  border-color: rgba(153, 184, 255, 0.62);
}

.compliance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(20, 32, 60, 0.7), rgba(12, 19, 37, 0.9)),
    rgba(17, 26, 51, 0.86);
  backdrop-filter: blur(9px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-bottom: 0.9rem;
}

.contact-line {
  color: #c9d7fb;
}

.contact-line + .contact-line {
  margin-top: 0.65rem;
}

.contact-line strong {
  color: #f0f5ff;
}

.site-footer {
  border-top: 1px solid rgba(132, 161, 235, 0.22);
  padding: 1.55rem 0;
  background: rgba(6, 10, 20, 0.94);
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: #a6b9ea;
  font-size: 0.92rem;
}

.footer-link {
  margin-left: 0.7rem;
  color: #d5e3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.privacy-page .policy-hero {
  padding-bottom: 2.2rem;
}

.privacy-page .section {
  padding: 2.2rem 0;
}

.privacy-page .section-alt {
  background: transparent;
}

.policy-container {
  width: min(900px, 92%);
}

.policy-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(20, 32, 60, 0.72), rgba(12, 20, 38, 0.9)),
    rgba(15, 24, 46, 0.72);
  padding: 1.45rem 1.5rem;
  box-shadow: 0 16px 36px rgba(2, 8, 22, 0.35);
}

.policy-block h2 {
  margin-bottom: 0.65rem;
}

.privacy-page .section-lead {
  max-width: 100%;
}

.privacy-page .tech-badges {
  margin-top: 0.85rem;
}

.privacy-page .contact-card {
  margin-top: 0.7rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6.8rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .compliance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.5rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 4%;
    width: min(290px, 92%);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(10, 16, 32, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-trust {
    gap: 0.4rem;
  }

  .hero-trust span {
    font-size: 0.76rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .policy-block {
    padding: 1.2rem;
  }
}

/* ---- Motion (additive; does not alter layout or component structure) ---- */

@keyframes header-settle {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nav-item-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.03);
  }
}

@keyframes status-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.site-header {
  animation: header-settle 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 761px) {
  .nav-links li {
    animation: nav-item-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .nav-links li:nth-child(1) {
    animation-delay: 0.05s;
  }

  .nav-links li:nth-child(2) {
    animation-delay: 0.1s;
  }

  .nav-links li:nth-child(3) {
    animation-delay: 0.15s;
  }

  .nav-links li:nth-child(4) {
    animation-delay: 0.2s;
  }

  .nav-links li:nth-child(5) {
    animation-delay: 0.25s;
  }

  .nav-links li:nth-child(6) {
    animation-delay: 0.3s;
  }

  .nav-links li:nth-child(7) {
    animation-delay: 0.35s;
  }
}

.nav-cta {
  animation: nav-item-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.panel-glow {
  animation: glow-breathe 7s ease-in-out infinite;
}

/* Float on inner card only — avoids conflicting with .hero-panel.reveal transform */
.hero-panel .status-card {
  animation: status-card-float 9s ease-in-out infinite;
}

.reveal {
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-grid .feature-card.reveal.visible:nth-child(1),
.tech-grid .tech-item.reveal.visible:nth-child(1),
.compliance-grid .compliance-item.reveal.visible:nth-child(1) {
  transition-delay: 0s;
}

.card-grid .feature-card.reveal.visible:nth-child(2),
.tech-grid .tech-item.reveal.visible:nth-child(2),
.compliance-grid .compliance-item.reveal.visible:nth-child(2) {
  transition-delay: 0.06s;
}

.card-grid .feature-card.reveal.visible:nth-child(3),
.tech-grid .tech-item.reveal.visible:nth-child(3),
.compliance-grid .compliance-item.reveal.visible:nth-child(3) {
  transition-delay: 0.12s;
}

.card-grid .feature-card.reveal.visible:nth-child(4),
.tech-grid .tech-item.reveal.visible:nth-child(4),
.compliance-grid .compliance-item.reveal.visible:nth-child(4) {
  transition-delay: 0.18s;
}

.card-grid .feature-card.reveal.visible:nth-child(5),
.tech-grid .tech-item.reveal.visible:nth-child(5),
.compliance-grid .compliance-item.reveal.visible:nth-child(5) {
  transition-delay: 0.24s;
}

.card-grid .feature-card.reveal.visible:nth-child(6),
.tech-grid .tech-item.reveal.visible:nth-child(6),
.compliance-grid .compliance-item.reveal.visible:nth-child(6) {
  transition-delay: 0.3s;
}

.card-grid .feature-card.reveal.visible:nth-child(7),
.compliance-grid .compliance-item.reveal.visible:nth-child(7) {
  transition-delay: 0.36s;
}

.card-grid .feature-card.reveal.visible:nth-child(8),
.compliance-grid .compliance-item.reveal.visible:nth-child(8) {
  transition-delay: 0.42s;
}

.btn-primary:active,
.btn-secondary:active,
.nav-cta:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-links li,
  .nav-cta {
    animation: none !important;
  }

  .panel-glow,
  .hero-panel .status-card {
    animation: none !important;
  }

  .reveal {
    transition-duration: 0.01ms !important;
  }

  .card-grid .feature-card.reveal.visible,
  .tech-grid .tech-item.reveal.visible,
  .compliance-grid .compliance-item.reveal.visible {
    transition-delay: 0s !important;
  }

  .btn-primary:active,
  .btn-secondary:active,
  .nav-cta:active {
    transform: none;
  }
}
