/* =========================================================
   Deception Detection LLC — Design System
   Futuristic · Modern · Credibility Assessment
   ========================================================= */

:root {
  /* Core palette */
  --bg-deep: #05080f;
  --bg-base: #0a0f1a;
  --bg-elevated: #0f1628;
  --bg-card: rgba(15, 24, 45, 0.72);
  --bg-glass: rgba(18, 28, 52, 0.55);

  --border: rgba(100, 180, 255, 0.12);
  --border-strong: rgba(0, 212, 255, 0.35);

  --text: #e8eef8;
  --text-muted: #8b9bb8;
  --text-dim: #5a6a85;

  --accent: #00d4ff;
  --accent-2: #3b82f6;
  --accent-3: #8b5cf6;
  --accent-glow: rgba(0, 212, 255, 0.45);
  --success: #22d3a5;
  --warn: #f59e0b;

  --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #3b82f6 45%, #8b5cf6 100%);
  --gradient-text: linear-gradient(120deg, #00e5ff 0%, #60a5fa 50%, #a78bfa 100%);
  --gradient-card: linear-gradient(160deg, rgba(0, 212, 255, 0.08), rgba(59, 130, 246, 0.04) 50%, transparent);

  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Orbitron", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);

  --nav-h: 76px;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--gradient-hero);
  color: #041018;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-sent-banner {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 165, 0.35);
  background: rgba(34, 211, 165, 0.1);
  color: var(--success);
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-sent-banner[hidden] { display: none !important; }
.form-sent-banner a { color: var(--accent); text-decoration: underline; }

body.page-legal .bg-photo,
body.page-legal .bg-photo { opacity: 0.2; }
.legal-prose {
  max-width: 760px;
}
.legal-prose .card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.legal-prose h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--accent);
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p,
.legal-prose li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-prose ul {
  margin: 0.75rem 0 0.75rem 1.2rem;
  list-style: disc;
}
.legal-prose li { margin-bottom: 0.4rem; }
.legal-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}
button { cursor: pointer; }

/* Ambient background */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 100, 200, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(139, 92, 246, 0.12), transparent 50%),
    radial-gradient(ellipse 35% 35% at 10% 70%, rgba(0, 212, 255, 0.08), transparent 50%),
    var(--bg-deep);
}

/* Converus high-tech photo layer (EyeDetect reticle eye) — subtle, fixed */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.55) 0%, rgba(5, 8, 15, 0.78) 45%, rgba(5, 8, 15, 0.92) 100%),
    radial-gradient(ellipse 70% 60% at 70% 25%, rgba(0, 40, 80, 0.15), transparent 60%),
    url("/assets/images/bg/ambient-eye.jpg") center 20% / cover no-repeat;
  opacity: 0.38;
  mix-blend-mode: screen;
}
.bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.65) 0%, transparent 40%, transparent 60%, rgba(5, 8, 15, 0.55) 100%),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 15, 0.4) 100%);
}

/* Page-specific photo intensity */
body.page-home .bg-photo { opacity: 0.42; }
body.page-technology .bg-photo {
  opacity: 0.45;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0.5) 0%, rgba(5, 8, 15, 0.82) 50%, rgba(5, 8, 15, 0.94) 100%),
    url("/assets/images/bg/ambient-demo.jpg") center 30% / cover no-repeat;
  mix-blend-mode: luminosity;
}
body.page-technology .bg-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/bg/ambient-eye.jpg") 85% 15% / 55% auto no-repeat;
  opacity: 0.35;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 50% 50% at 80% 20%, black, transparent);
}
body.page-about .bg-photo,
body.page-media .bg-photo,
body.page-faq .bg-photo { opacity: 0.28; }
body.page-contact .bg-photo { opacity: 0.22; }
body.page-serve .bg-photo { opacity: 0.32; }

/* FAQ accordion */
.faq-layout {
  max-width: 820px;
}
.faq-category {
  font-size: 1.15rem;
  margin: 2.5rem 0 1rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 500;
}
.faq-category:first-child { margin-top: 0; }
.faq-list {
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.08);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
  background: rgba(0, 212, 255, 0.1);
}
.faq-item summary:hover {
  color: var(--accent);
}
.faq-answer {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid transparent;
}
.faq-item[open] .faq-answer {
  border-top-color: var(--border);
  padding-top: 1rem;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer strong { color: var(--text); font-weight: 600; }
.faq-disclaimer {
  font-size: 0.85rem;
  color: var(--text-dim);
  border-left: 2px solid var(--border-strong);
  padding-left: 1rem;
  margin-top: 2.5rem;
}

/* Sources / citations block */
.sources-block {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(5, 8, 15, 0.45);
}
.sources-block h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 600;
}
.sources-list {
  list-style: decimal;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.sources-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sources-list a:hover { color: var(--text); }
.sources-list em { color: var(--text-muted); font-style: italic; }
.sources-note {
  margin-top: 1.15rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}
.bg-orbs::before,
.bg-orbs::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}
.bg-orbs::before {
  width: 420px;
  height: 420px;
  top: 10%;
  right: -5%;
  background: rgba(59, 130, 246, 0.25);
  animation: float 18s ease-in-out infinite;
}
.bg-orbs::after {
  width: 320px;
  height: 320px;
  bottom: 15%;
  left: -5%;
  background: rgba(0, 212, 255, 0.18);
  animation: float 22s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

/* Section with embedded Converus imagery */
.section-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  min-height: 280px;
  isolation: isolate;
}
.section-visual__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s var(--ease);
}
.section-visual:hover .section-visual__media {
  transform: scale(1.08);
}
.section-visual__media--eye {
  background-image: url("/assets/images/bg/panel-eye.jpg");
}
.section-visual__media--demo {
  background-image: url("/assets/images/bg/ambient-demo.jpg");
}
.section-visual__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(5, 8, 15, 0.92) 0%, rgba(5, 8, 15, 0.78) 42%, rgba(5, 8, 15, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(0, 212, 255, 0.08) 100%);
}
.section-visual__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 3.25rem);
  max-width: 34rem;
}
.section-visual__content p { color: var(--text-muted); }

/* Typography */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 54ch;
}
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}
.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-header.center {
  text-align: center;
  margin-inline: auto;
}
.section-header.center .lead {
  margin-inline: auto;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  z-index: 110;
}
.logo-img {
  height: 58px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent;
}
.logo-img.logo-img-footer {
  height: 80px;
  max-width: 240px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 0 24px var(--accent-glow);
  flex-shrink: 0;
}
.logo-mark svg {
  width: 22px;
  height: 22px;
  color: #fff;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text span:first-child { color: var(--text); }
.logo-text span:last-child {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(0, 212, 255, 0.08);
}
.nav-cta { margin-left: 0.5rem; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  place-items: center;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient-hero);
  color: #041018;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(0, 212, 255, 0.05);
}
.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent);
}
.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}
.btn-icon svg {
  width: 16px;
  height: 16px;
}

/* Partner badge */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 212, 255, 0.06);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.partner-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.card > * { position: relative; z-index: 1; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent);
  margin-bottom: 1.15rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card h3 { margin-bottom: 0.65rem; }

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { margin-top: 1.25rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero visual — radar + chip row (same structure desktop & mobile) */
.hero-visual {
  /* Use length units only — % height resolves differently than % width and squashes the circle on desktop */
  --radar-size: 380px;
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 0.85rem 0.65rem;
  align-items: start;
  justify-items: stretch;
  overflow: visible;
  z-index: 1;
}
.hero-visual::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  inset: auto;
  width: min(var(--radar-size), 100%);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(5, 8, 15, 0.15) 0%,
      rgba(5, 8, 15, 0.45) 42%,
      rgba(5, 8, 15, 0.75) 68%,
      rgba(5, 8, 15, 0.95) 88%,
      var(--bg-deep) 100%
    ),
    url("/assets/images/bg/hero-eye.jpg") center / cover no-repeat;
  opacity: 0.42;
  filter: saturate(0.85) brightness(0.62);
  box-shadow: none;
  z-index: 0;
  flex-shrink: 0;
  /* Soft dissolve into page background */
  -webkit-mask-image: radial-gradient(
    circle at center,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.75) 48%,
    rgba(0, 0, 0, 0.35) 65%,
    transparent 78%
  );
  mask-image: radial-gradient(
    circle at center,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.75) 48%,
    rgba(0, 0, 0, 0.35) 65%,
    transparent 78%
  );
}
.hero-visual .radar,
.hero-visual .float-chip,
.hero-visual .radar-core {
  z-index: 1;
}
.radar {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  inset: auto;
  width: min(var(--radar-size), 100%);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
  border-radius: 50%;
  border: none;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 212, 255, 0.06) 0%,
      rgba(5, 8, 15, 0.08) 40%,
      transparent 72%
    ),
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 42px,
      rgba(0, 212, 255, 0.045) 43px,
      transparent 44px
    );
  box-shadow:
    inset 0 0 80px rgba(0, 212, 255, 0.04),
    0 0 100px rgba(0, 40, 80, 0.15);
  overflow: hidden;
  backdrop-filter: none;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  /* Gradual edge immersion — rings fade before the hard circle boundary */
  -webkit-mask-image: radial-gradient(
    circle at center,
    #000 0%,
    #000 32%,
    rgba(0, 0, 0, 0.85) 52%,
    rgba(0, 0, 0, 0.4) 68%,
    transparent 82%
  );
  mask-image: radial-gradient(
    circle at center,
    #000 0%,
    #000 32%,
    rgba(0, 0, 0, 0.85) 52%,
    rgba(0, 0, 0, 0.4) 68%,
    transparent 82%
  );
}
.radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0, 212, 255, 0.04) 12deg,
    rgba(0, 212, 255, 0.22) 32deg,
    rgba(0, 180, 255, 0.08) 55deg,
    transparent 90deg
  );
  animation: scan 5.5s linear infinite;
  opacity: 0.85;
  /* Soften sweep at outer rim */
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 40%, transparent 76%);
  mask-image: radial-gradient(circle at center, #000 0%, #000 40%, transparent 76%);
}
.radar::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 212, 255, 0.12);
  opacity: 0.7;
  box-shadow:
    0 0 0 28px rgba(0, 212, 255, 0.03),
    inset 0 0 40px rgba(0, 212, 255, 0.04);
}
@keyframes scan {
  to { transform: rotate(360deg); }
}
.radar-core {
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.28) 0%,
    rgba(59, 130, 246, 0.12) 45%,
    transparent 78%
  );
  border: 1px solid rgba(0, 212, 255, 0.18);
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow:
    0 0 36px rgba(0, 212, 255, 0.18),
    inset 0 0 20px rgba(0, 212, 255, 0.08);
}
.radar-core span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(232, 238, 248, 0.78);
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}
.float-chip {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  grid-row: 2;
  width: 100%;
  z-index: 3;
  padding: 0.75rem 0.7rem;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-card);
  animation: chip 6s ease-in-out infinite;
}
.float-chip strong {
  display: block;
  color: var(--text);
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}
.float-chip.c1 {
  grid-column: 1;
  animation-delay: 0s;
}
.float-chip.c2 {
  grid-column: 2;
  animation-delay: 1.2s;
}
.float-chip.c3 {
  grid-column: 3;
  animation-delay: 0.6s;
}
@keyframes chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-strip article {
  background: var(--bg-elevated);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.feature-strip .value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.feature-strip p {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  counter-increment: step;
}
.step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 212, 255, 0.45);
  margin-bottom: 0.75rem;
  line-height: 1;
}
.step .num::before {
  content: "0" counter(step);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #041018;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.3);
}
.team-card .role {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Audience pills / service cards */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.service-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}
.service-card .icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  display: grid;
  place-items: center;
}
.service-card .icon-wrap svg { width: 20px; height: 20px; }

/* Media grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.media-card {
  padding: 0;
  overflow: hidden;
  display: block;
}
.media-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0f1628, #1a2744);
  position: relative;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.media-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.media-card:hover .media-thumb-img {
  opacity: 0.9;
  transform: scale(1.04);
}
.media-thumb .play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: transform 0.25s, background 0.25s;
  z-index: 1;
  backdrop-filter: blur(6px);
}
.media-card:hover .play {
  transform: scale(1.08);
  background: rgba(0, 212, 255, 0.28);
}
.media-body {
  padding: 1.25rem 1.35rem 1.5rem;
}
.media-body h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.media-body p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.media-card-summary {
  margin-top: 0.5rem !important;
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.5;
}

/* News / reviews article list */
.media-updated-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin-top: 1.25rem;
}
.media-updated-line time {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
}
.media-article-list {
  display: grid;
  gap: 1rem;
}
.media-article {
  display: block;
  padding: 1.35rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.media-article:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.media-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.65rem;
}
.media-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
}
.media-article-meta time {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.media-article h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.media-source {
  font-size: 0.8rem !important;
  color: var(--accent) !important;
  opacity: 0.85;
  margin-bottom: 0.45rem !important;
}
.media-article > p:last-child {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: var(--nav-h);
  bottom: 0;
  width: min(42vw, 480px);
  pointer-events: none;
  opacity: 0.22;
  background:
    radial-gradient(ellipse 80% 70% at 70% 40%, transparent 20%, rgba(5, 8, 15, 0.9) 75%),
    url("/assets/images/bg/panel-eye.jpg") right center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, black 30%);
}
body.page-technology .page-hero::after {
  opacity: 0.28;
  background:
    radial-gradient(ellipse 80% 70% at 70% 40%, transparent 15%, rgba(5, 8, 15, 0.88) 75%),
    url("/assets/images/bg/ambient-demo.jpg") right center / cover no-repeat;
}
@media (max-width: 720px) {
  .page-hero::after { opacity: 0.12; width: 70vw; }
}
.page-hero h1 { max-width: 18ch; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* Tech comparison table */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.tech-table th,
.tech-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tech-table th {
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tech-table tr:last-child td { border-bottom: none; }
.tech-table td { color: var(--text-muted); background: var(--bg-card); }
.tech-table td:first-child { color: var(--text); font-weight: 500; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.contact-info .info-row {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .info-row:last-child { border-bottom: none; }
.contact-info .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info .info-icon svg { width: 18px; height: 18px; }
.contact-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.contact-info a:hover { color: var(--accent); }
.form-card label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.form-card .field { margin-bottom: 1.15rem; }
.form-card .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(5, 8, 15, 0.6);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.form-card textarea { min-height: 140px; resize: vertical; }
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--success);
  display: none;
}
.form-status.show { display: block; }

/* CTA band */
.cta-band {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(139, 92, 246, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(0, 212, 255, 0.15), transparent 50%),
    var(--bg-elevated);
  padding: clamp(2.5rem, 6vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-glow);
}
.cta-band h2 { margin-bottom: 0.5rem; max-width: 16ch; }
.cta-band p { color: var(--text-muted); max-width: 40ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
  background: rgba(5, 8, 15, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 32ch;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom a:hover { color: var(--accent); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.list-check {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.list-check li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.list-check li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat,
    rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
}
.highlight-box {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .team-grid,
  .steps,
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4,
  .feature-strip {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid > *:first-child {
    position: relative;
    z-index: 2;
  }
  .hero-visual {
    --radar-size: min(280px, 70vw);
    max-width: min(420px, 100%);
    margin-top: 1.75rem;
    gap: 0.65rem 0.45rem;
  }
  .float-chip {
    padding: 0.55rem 0.45rem;
    font-size: 0.65rem;
  }
  .float-chip strong {
    font-size: 0.72rem;
  }
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 2rem;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.15rem;
    padding: 0.85rem 1.25rem;
  }
  .nav-cta { margin-left: 0; margin-top: 0.75rem; }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .team-grid,
  .steps,
  .media-grid,
  .service-list,
  .feature-strip,
  .form-card .field-row {
    grid-template-columns: 1fr;
  }
  .logo-img { height: 48px; }
  .hero-meta { gap: 1rem; }
  .hero-visual {
    --radar-size: min(260px, 74vw);
    max-width: min(420px, 100%);
    gap: 0.55rem 0.35rem;
  }
  .float-chip {
    padding: 0.5rem 0.35rem;
    font-size: 0.62rem;
    border-radius: 10px;
  }
  .float-chip strong {
    font-size: 0.68rem;
  }
}

/* Very narrow phones: stack chips so text inside frames stays readable */
@media (max-width: 380px) {
  .hero-visual {
    grid-template-columns: 1fr;
    grid-template-rows: var(--radar-size) auto auto auto;
    max-width: var(--radar-size);
  }
  .float-chip.c1,
  .float-chip.c2,
  .float-chip.c3 {
    grid-column: 1;
    text-align: left;
    padding: 0.55rem 0.75rem;
  }
  .float-chip strong { font-size: 0.8rem; }
  .float-chip { font-size: 0.72rem; }
}
