
:root {
  --color-bg: #050816;
  --color-surface: #0b1020;
  --color-surface-alt: #0f1526;
  --color-primary: #3478f6;
  --color-accent: #5ffece;
  --color-border: #22273b;
  --color-text: #f5f7ff;
  --color-muted: #aeb4bc;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111633 0, #050816 45%, #020308 100%);
  color: var(--color-text);
  line-height: 1.6;
}

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

.section-image {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #03040c;
  object-fit: cover;
}

.hero-image {
  width: 100%;
  min-height: 220px;
}

.pillar-image {
  width: 100%;
  max-height: 120px;
  margin-bottom: 0.7rem;
  object-fit: cover;
}

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 21, 0.96), rgba(5, 8, 21, 0.82));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, var(--color-accent), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 24px rgba(52, 120, 246, 0.75);
}

.logo-text {
  letter-spacing: 0.03em;
  font-size: 1.1rem;
}
.logo-text span {
  color: var(--color-muted);
  font-weight: 500;
}

/* Nav */

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.4rem 0.1rem;
  position: relative;
  color: var(--color-muted);
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--color-primary), var(--color-accent));
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a:hover {
  color: #e8ecff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: none;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #4f9bff);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(52, 120, 246, 0.6);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(52, 120, 246, 0.8);
}

.btn-ghost {
  background: rgba(10, 16, 39, 0.7);
  border: 1px solid rgba(168, 179, 214, 0.35);
  color: var(--color-text);
}
.btn-ghost:hover {
  background: rgba(168, 179, 214, 0.08);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(168, 179, 214, 0.55);
  color: var(--color-text);
}
.btn-outline:hover {
  background: rgba(168, 179, 214, 0.14);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-light {
  background: #f5f7ff;
  color: #141527;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.btn-light:hover {
  background: #ffffff;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 34px;
  height: 30px;
  border: none;
  background: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--color-text);
}

/* Hero */

.hero {
  padding-block: 3.5rem 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  margin-bottom: 1rem;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--color-accent), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--color-muted);
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
}
.hero-meta span {
  border-radius: 999px;
  border: 1px solid rgba(168, 179, 214, 0.3);
  padding: 0.35rem 0.8rem;
  color: var(--color-muted);
}

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

.floating-card {
  position: absolute;
  padding: 1rem 1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #151b3a, #050816 75%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  max-width: 260px;
}

.grid-card {
  top: 0.4rem;
  left: 0.4rem;
}
.neural-card {
  bottom: 0.4rem;
  left: 12%;
}
.escape-card {
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.floating-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
}
.floating-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Pillars & Sections */

.pillars {
  padding-block: 2.75rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.pillar {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  background: radial-gradient(circle at top left, #171d36, #050816 70%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.pillar h2 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.pillar p {
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.pillar ul {
  padding-left: 1.1rem;
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.text-link {
  font-size: 0.86rem;
  color: var(--color-accent);
}

/* Highlight */

.highlight {
  padding-block: 2.75rem;
}

.highlight-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
}

.highlight-text h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.highlight-text p {
  font-size: 0.94rem;
  color: var(--color-muted);
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.9rem;
  margin-bottom: 1rem;
}
.check-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.escape-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at top, #151b3a, #050816);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
}
.escape-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  padding: 0.7rem 0.9rem;
  font-weight: 600;
}
.escape-body {
  padding: 1rem 1rem 1.2rem;
  color: var(--color-muted);
}
.escape-body ul {
  padding-left: 1.1rem;
  margin-top: 0.4rem;
}

/* Video section */

.video-section {
  padding-block: 2.4rem 2.8rem;
}

.video-section h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.video-section .subtitle {
  max-width: 640px;
}

.video-frame {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Trust */

.trust {
  padding-block: 2rem 2.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.logo-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* CTA band */

.cta-band {
  padding-block: 2.4rem 2.9rem;
}

.cta-band-inner {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #32427a, #11152b);
  padding: 1.6rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.cta-band-inner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.cta-band-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: #dde2ff;
}

/* Page generic */

.page-hero {
  padding-block: 2.8rem 2.3rem;
}

.page-hero h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.9rem;
  margin-bottom: 0.3rem;
}

.page-hero .subtitle {
  font-size: 0.98rem;
  color: var(--color-muted);
  max-width: 640px;
}

.page-hero-media {
  margin-top: 1.1rem;
}

/* Grid-2 sections */

.grid-2 {
  padding-block: 2.5rem;
}

.grid-2.alt {
  padding-top: 0.5rem;
  padding-bottom: 2.8rem;
}

.grid-2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.card-visual .stacked-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem;
  background: radial-gradient(circle at top, #181f3a, #050816);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.stacked-card h3 {
  margin-top: 0;
  font-size: 1rem;
}
.stacked-card ul {
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* Case studies / Legal content layout reuse */

.case-list {
  padding-block: 2.3rem 2.8rem;
}

.case-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #181f3a, #050816);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.6rem;
}

.case-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

/* Contact */

.contact-section {
  padding-block: 2.4rem 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.4rem;
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  background: radial-gradient(circle at top, #181f3a, #050816);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(160, 171, 207, 0.5);
  background: rgba(6, 9, 25, 0.9);
  color: var(--color-text);
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(95, 254, 206, 0.2);
}

.contact-side h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.contact-side p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.contact-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.contact-list li {
  margin-bottom: 0.35rem;
}

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

/* Escape room hero */

.escape-hero {
  background: radial-gradient(circle at top, #2a2346, transparent 70%);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 1.6rem 2rem;
  margin-top: 1.4rem;
  background: #050816;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.footer-logo {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.footer-bottom {
  margin: 0.2rem 0 0;
}

/* Responsive */

@media (max-width: 860px) {
  .hero-inner,
  .highlight-inner,
  .grid-2-inner,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-visual {
    order: -1;
    min-height: 220px;
    margin-bottom: 0.5rem;
  }

  .cta-band-inner {
    align-items: flex-start;
  }

  .site-footer {
    margin-top: 2.2rem;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset-inline: 0;
    top: 58px;
    background: #050816;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.8rem 1.25rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

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

  .nav-toggle {
    display: flex;
  }

  .pillars {
    padding-top: 1.8rem;
  }

  .cta-band-inner {
    padding: 1.3rem 1.2rem;
  }
}
