/*
Theme Name:        Veralix
Theme URI:         https://veralix.org
Author:            Veralix
Author URI:        https://veralix.org
Description:       Cinematic dark-mode theme for Veralix — AI Evidence Integrity & Blockchain Forensics. V2 features pure-CSS 3D effects, Canvas 2D starfield, animated SVG architecture diagrams, scanning radar compliance UI, terminal-style contact form, number counters, and zero-dependency rendering. Built for digital justice.
Version:           2.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:           GPL v2 or later
Text Domain:       veralix
*/

/* =====================================================================
   1. RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #04060a;
  color: #e5e7eb;
  min-height: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #00d4ff; text-decoration: none; transition: color .2s; }
a:hover { color: #5eeaff; }
::selection { background: rgba(0,212,255,.3); color: #fff; }

/* =====================================================================
   2. TYPOGRAPHY
   ===================================================================== */
h1, h2, h3, h4 {
  font-family: 'Orbitron', 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 .6em;
  color: #fff;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; line-height: 1.02; letter-spacing: .04em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); font-family: 'Space Grotesk', sans-serif; font-weight: 500; }
p  { margin: 0 0 1em; color: #9ca3af; }
.mono { font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace; }

.text-chrome {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 45%, #00d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 50px rgba(0,212,255,.25);
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .3em;
  color: #00d4ff;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-left: 24px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, #00d4ff);
}

/* =====================================================================
   3. LAYOUT
   ===================================================================== */
.veralix-wrap   { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.veralix-narrow { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.veralix-section { padding: 120px 0; position: relative; }
@media (max-width: 768px) {
  .veralix-section { padding: 80px 0; }
}

/* =====================================================================
   4. STARFIELD CANVAS BG
   ===================================================================== */
#veralix-starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(0,212,255,.10) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 80% 100%, rgba(16,185,129,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124,58,237,.04) 0%, transparent 70%),
    #04060a;
}
#veralix-starfield canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* =====================================================================
   5. NOISE OVERLAY (subtle film grain)
   ===================================================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .035;
  mix-blend-mode: overlay;
}

/* =====================================================================
   6. GLASS / SURFACE PRIMITIVES
   ===================================================================== */
.glass {
  background: linear-gradient(180deg, rgba(17,24,39,.55) 0%, rgba(10,14,20,.7) 100%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(0,212,255,.18);
  border-radius: 14px;
  position: relative;
  transition: border-color .3s ease, transform .4s ease, box-shadow .3s ease;
}
.glass::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.7), transparent);
  opacity: .7;
}
.glass:hover {
  border-color: rgba(0,212,255,.5);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px -20px rgba(0,212,255,.25);
}

/* hex micro-grid for hero/featured sections */
.hex-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(60deg, transparent 0 32px, rgba(0,212,255,.05) 32px 33px),
    repeating-linear-gradient(-60deg, transparent 0 32px, rgba(0,212,255,.05) 32px 33px),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(0,212,255,.05) 32px 33px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 25%, transparent 70%);
  opacity: .5;
}

/* corner brackets — HUD decoration */
.bracket {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0,212,255,.55);
}
.bracket.tl { top: 8px; left: 8px;  border-right: 0; border-bottom: 0; }
.bracket.tr { top: 8px; right: 8px; border-left:  0; border-bottom: 0; }
.bracket.bl { bottom: 8px; left: 8px;  border-right: 0; border-top: 0; }
.bracket.br { bottom: 8px; right: 8px; border-left:  0; border-top: 0; }

/* =====================================================================
   7. BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(0,212,255,.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: rgba(0,212,255,.10);
  color: #00d4ff;
  border-color: rgba(0,212,255,.5);
}
.btn-primary:hover {
  background: rgba(0,212,255,.18);
  box-shadow: 0 0 30px rgba(0,212,255,.4), inset 0 0 20px rgba(0,212,255,.1);
  transform: translateY(-2px);
}
.btn-ghost {
  color: #9ca3af;
  border-color: transparent;
}
.btn-ghost:hover { color: #00d4ff; }

/* =====================================================================
   8. HEADER + NAV
   ===================================================================== */
.veralix-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4,6,10,.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(0,212,255,.12);
}
.veralix-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.veralix-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: .22em;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.veralix-logo-img {
  width: 36px;
  height: 46px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.55));
  transition: filter .35s ease, transform .35s ease;
}
.veralix-logo:hover .veralix-logo-img {
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.9));
  transform: scale(1.04);
}
.veralix-logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: .22em;
  color: #fff;
  position: relative;
  display: inline-block;
}
.veralix-logo-text::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,212,255,.6) 50%, transparent 95%);
  opacity: 0;
  transition: opacity .3s ease;
}
.veralix-logo:hover .veralix-logo-text::after { opacity: 1; }

/* Subtle pulse on logo glow — hero-only emphasis */
@keyframes logo-breathe {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5)); }
  50%      { filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.85)); }
}
.veralix-header .veralix-logo-img {
  animation: logo-breathe 4s ease-in-out infinite;
}

.veralix-nav { display: flex; gap: 32px; align-items: center; }
.veralix-nav a {
  font-size: 13px;
  color: #9ca3af;
  text-decoration: none;
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}
.veralix-nav a:hover, .veralix-nav a.current { color: #00d4ff; }
.veralix-nav a.current::after {
  content: '';
  position: absolute;
  left: 50%; right: 0;
  bottom: -10px;
  height: 1.5px;
  width: 60%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.veralix-header-cta { display: flex; gap: 14px; align-items: center; }
.lang-switch { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #64748b; letter-spacing: .15em; }
.lang-switch a { color: #64748b; padding: 0 6px; }
.lang-switch a.current { color: #00d4ff; }
.lang-switch a:hover { color: #fff; }

.menu-toggle { display: none; background: transparent; border: 1px solid rgba(0,212,255,.3); color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 14px; cursor: pointer; }

@media (max-width: 980px) {
  .veralix-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(4,6,10,.95); backdrop-filter: blur(20px); border-top: 1px solid rgba(0,212,255,.15); padding: 8px 24px; }
  .veralix-nav.open { display: flex; }
  .veralix-nav a { padding: 14px 0; border-bottom: 1px solid rgba(0,212,255,.08); }
  .menu-toggle { display: inline-flex; }
}

/* =====================================================================
   9. HERO — Full-bleed court image background
   ===================================================================== */
.veralix-hero {
  position: relative;
  min-height: 92vh;
  padding: 120px 0 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Court image as full-bleed background */
.veralix-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: court-zoom-bg 30s ease-in-out infinite alternate;
}
@keyframes court-zoom-bg {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.10); }
}

/* Dark gradient overlay for text readability */
.veralix-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.92) 0%, rgba(4, 6, 10, 0.7) 35%, rgba(4, 6, 10, 0.35) 65%, rgba(4, 6, 10, 0.2) 100%),
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(4, 6, 10, 0.85) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .veralix-hero::before {
    background-image: var(--hero-bg-mobile);
  }
  .veralix-hero::after {
    background:
      linear-gradient(180deg, rgba(4, 6, 10, 0.55) 0%, rgba(4, 6, 10, 0.85) 50%, rgba(4, 6, 10, 0.95) 100%);
  }
}

.veralix-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
  width: 100%;
}

/* The hero text block — sits on left half */
.veralix-hero-content {
  max-width: 640px;
}
@media (max-width: 980px) {
  .veralix-hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
}

/* HUD scan line on top */
.veralix-hero .hud-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.7), transparent);
  z-index: 2;
  opacity: 0.6;
  animation: scanline-drop 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanline-drop {
  0%   { top: 0%; opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* HUD corner brackets on hero */
.hero-corner {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  z-index: 3;
}
.hero-corner.tl { top: 24px; left: 24px;  border-right: 0; border-bottom: 0; }
.hero-corner.tr { top: 24px; right: 24px; border-left:  0; border-bottom: 0; }
.hero-corner.bl { bottom: 24px; left: 24px;  border-right: 0; border-top: 0; }
.hero-corner.br { bottom: 24px; right: 24px; border-left:  0; border-top: 0; }
@media (max-width: 768px) { .hero-corner { display: none; } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .3em;
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,.4);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}
.hero-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,212,255,.8);
  animation: dot-blink 1.4s ease-in-out infinite;
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}

.hero-sub {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 36em;
  margin: 0 0 36px;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
@media (max-width: 980px) { .hero-sub { margin-left: auto; margin-right: auto; } }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
@media (max-width: 980px) { .hero-cta { justify-content: center; } }

/* Override primary button for legibility on photo */
.veralix-hero .btn-primary {
  background: rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.veralix-hero .btn-ghost {
  color: #e5e7eb;
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 540px;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(4, 6, 10, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 8px;
  padding: 22px 24px;
}
@media (max-width: 980px) { .hero-stats { margin: 0 auto; } }
@media (max-width: 480px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.hero-stat {
  position: relative;
  padding: 4px 0 4px 14px;
  border-left: 1px solid rgba(0,212,255,.4);
}
.hero-stat-v {
  font-size: 1.7rem;
  color: #fff;
  font-weight: 500;
  line-height: 1;
}
.hero-stat-l {
  font-size: 9.5px;
  color: #94a3b8;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* =====================================================================
   10. HERO COURT (Photographic court image, panoramic)
   ===================================================================== */
.hero-stage {
  position: relative;
  width: 100%;
  height: 460px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 212, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #04060a;
}
@media (max-width: 980px) { .hero-stage { height: 360px; } }
@media (max-width: 600px) { .hero-stage { height: 280px; } }

/* The actual court photo */
.crystal-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  animation: court-zoom 24s ease-in-out infinite alternate;
  filter: saturate(1.05);
}
@keyframes court-zoom {
  0%   { transform: scale(1)    translateX(0); }
  100% { transform: scale(1.08) translateX(-2%); }
}

/* Soft cyan halo behind */
.crystal-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center,
    rgba(0, 212, 255, 0.30) 0%,
    rgba(16, 185, 129, 0.15) 35%,
    transparent 70%);
  filter: blur(50px);
  z-index: 1;
  animation: crystal-glow-pulse 7s ease-in-out infinite;
}
@keyframes crystal-glow-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%      { transform: scale(1.10); opacity: 0.95; }
}

/* HUD bracket corners on court frame */
.hero-stage::before, .hero-stage::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 1.5px solid rgba(0, 212, 255, 0.6);
  z-index: 5;
  pointer-events: none;
}
.hero-stage::before {
  top: 12px; left: 12px;
  border-right: 0; border-bottom: 0;
}
.hero-stage::after {
  bottom: 12px; right: 12px;
  border-left: 0; border-top: 0;
}

/* Bottom gradient overlay for depth */
.hero-stage > .crystal-photo + * { /* placeholder, no-op */ }
.hero-stage img.crystal-photo {
  /* handled above */
}

/* Subtle vignette + scan line on top */
.hero-stage > .crystal-glow ~ * {
  /* particles already z-indexed */
}

/* Add a horizontal scan line animation that travels across */
.hero-stage > .crystal-photo {
  /* image already animated */
}

/* floating particles around court image */
.hero-particle {
  position: absolute;
  width: 4px; height: 4px;
  background: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,212,255,.9), 0 0 4px rgba(0,212,255,1);
  animation: particle-orbit 8s ease-in-out infinite;
  z-index: 4;
}

@keyframes particle-orbit {
  0%, 100% { transform: translate(0, 0); opacity: .8; }
  25%      { transform: translate(40px, -30px); opacity: 1; }
  50%      { transform: translate(0, -60px); opacity: .6; }
  75%      { transform: translate(-40px, -30px); opacity: 1; }
}

/* =====================================================================
   11. SECTION TITLE
   ===================================================================== */
.section-title { text-align: center; margin-bottom: 64px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p  { max-width: 38em; margin: 18px auto 0; }

/* =====================================================================
   12. PILLAR / FEATURE CARDS — full HUD style
   ===================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.pillar-card .pillar-icon {
  position: relative;
  width: 56px; height: 56px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.3);
  color: #00d4ff;
}
.pillar-card .pillar-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 16px;
  animation: icon-pulse 3s ease-in-out infinite;
}
@keyframes icon-pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%      { transform: scale(1.12); opacity: 0; }
}
.pillar-card svg { width: 28px; height: 28px; }
.pillar-card h3 { font-size: 1.15rem; color: #fff; margin: 0 0 10px; font-weight: 500; }
.pillar-card p { font-size: .9rem; color: #94a3b8; line-height: 1.7; margin: 0 0 16px; }
.pillar-card .pillar-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #10b981;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pillar-card .pillar-meta::before {
  content: '';
  width: 6px; height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: dot-blink 1.6s ease-in-out infinite;
}

/* mouse-follow light */
.pillar-card { --mx: 50%; --my: 50%; }
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 280px at var(--mx) var(--my), rgba(0,212,255,.15), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.pillar-card:hover::before { opacity: 1; }

/* =====================================================================
   13. SHIELD ROW (Compliance pills)
   ===================================================================== */
.shield-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.shield {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #cbd5e1;
  background: rgba(10,14,20,.6);
  border: 1px solid rgba(0,212,255,.25);
  padding: 10px 16px;
  border-radius: 4px;
  letter-spacing: .12em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .25s, background .25s, transform .25s;
}
.shield:hover {
  border-color: rgba(0,212,255,.6);
  background: rgba(0,212,255,.06);
  transform: translateY(-2px);
}
.shield .check {
  color: #10b981;
  font-weight: bold;
  font-size: 13px;
}

/* =====================================================================
   14. ARCHITECTURE — animated SVG diagrams
   ===================================================================== */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .arch-grid { grid-template-columns: 1fr; } }

.arch-figure {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.arch-svg {
  width: 100%;
  display: block;
  background: linear-gradient(180deg, rgba(8,12,18,.85), rgba(4,6,10,.95));
  border-bottom: 1px solid rgba(0,212,255,.15);
  aspect-ratio: 16 / 10;
}
.arch-figure-body { padding: 24px 28px 28px; }
.arch-figure h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}
.arch-figure p {
  font-size: .87rem;
  margin: 0;
  color: #94a3b8;
  line-height: 1.7;
}
.arch-figure .figure-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  color: #00d4ff;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

/* SVG animation keyframes */
@keyframes svg-flow {
  to { stroke-dashoffset: -100; }
}
@keyframes svg-pulse {
  0%, 100% { opacity: 1; r: var(--r, 4); }
  50%      { opacity: .4; r: calc(var(--r, 4) * 1.6); }
}
@keyframes svg-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* =====================================================================
   15. RADAR (Compliance page)
   ===================================================================== */
.radar-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.radar-stage svg { width: 100%; height: 100%; display: block; }
.radar-sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 50%;
  transform-origin: 0 0;
  background: conic-gradient(from 0deg, rgba(0,212,255,.45) 0deg, transparent 60deg);
  -webkit-mask: radial-gradient(circle at 0 0, #000 0, #000 100%, transparent 100%);
          mask: radial-gradient(circle at 0 0, #000 0, #000 100%, transparent 100%);
  border-radius: 0 0 0 100%;
  animation: radar-sweep 4s linear infinite;
}
@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* =====================================================================
   16. COMPLIANCE TABLE
   ===================================================================== */
.compliance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compliance-table th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: #00d4ff;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0,212,255,.25);
  padding: 18px 22px;
}
.compliance-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,212,255,.08);
  color: #cbd5e1;
}
.compliance-table tr { transition: background .25s; }
.compliance-table tr:hover td { background: rgba(0,212,255,.04); }
.compliance-table .standard-name {
  color: #fff;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
}

/* =====================================================================
   17. TERMINAL / CONTACT FORM
   ===================================================================== */
.terminal {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(4,6,10,.85);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 8px;
  overflow: hidden;
}
.terminal-bar {
  background: rgba(0,212,255,.06);
  border-bottom: 1px solid rgba(0,212,255,.18);
  padding: 10px 16px;
  font-size: 11px;
  color: #64748b;
  letter-spacing: .12em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.terminal-bar::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}
.terminal-body { padding: 28px 32px; }

.veralix-form { display: flex; flex-direction: column; gap: 18px; }
.veralix-form label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.veralix-form label::before { content: '> '; color: #00d4ff; }
.veralix-form input,
.veralix-form select,
.veralix-form textarea {
  width: 100%;
  background: rgba(4,6,10,.6);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 6px;
  padding: 13px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.veralix-form input:focus,
.veralix-form select:focus,
.veralix-form textarea:focus {
  outline: none;
  border-color: rgba(0,212,255,.6);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.veralix-form textarea { resize: vertical; min-height: 140px; }
.veralix-form button[type=submit] {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(0,212,255,.15);
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,.5);
  padding: 14px 30px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
}
.veralix-form button[type=submit]:hover {
  background: rgba(0,212,255,.25);
  box-shadow: 0 0 24px rgba(0,212,255,.3);
}

.cursor-blink::after {
  content: '_';
  animation: cursor-blink 1s steps(1) infinite;
  color: #00d4ff;
}
@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* =====================================================================
   18. ABOUT — orbit principles
   ===================================================================== */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 768px) { .principle-grid { grid-template-columns: 1fr; } }
.principle {
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.principle-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #00d4ff;
  letter-spacing: .25em;
  margin-bottom: 12px;
}
.principle-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #fff;
  letter-spacing: .15em;
  margin-bottom: 12px;
}

/* =====================================================================
   19. FOOTER
   ===================================================================== */
.veralix-footer {
  background: rgba(4,6,10,.85);
  border-top: 1px solid rgba(0,212,255,.15);
  padding: 64px 0 28px;
  margin-top: 100px;
  position: relative;
}
.veralix-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,212,255,.5) 50%, transparent 90%);
}
.veralix-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
@media (max-width: 768px) { .veralix-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .veralix-footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #cbd5e1;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: #64748b; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #00d4ff; }
.footer-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #475569;
  letter-spacing: .15em;
  margin-top: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(0,212,255,.08);
  padding: 20px 24px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #475569;
  letter-spacing: .15em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================================
   20. ANIMATIONS — global
   ===================================================================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fade-up .9s cubic-bezier(.2,.8,.2,1) both; }
.reveal-d1 { animation-delay: .1s; }
.reveal-d2 { animation-delay: .2s; }
.reveal-d3 { animation-delay: .3s; }
.reveal-d4 { animation-delay: .4s; }
.reveal-d5 { animation-delay: .5s; }

/* gradient line — separator */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(0,212,255,.4) 50%, transparent 90%);
  margin: 0;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================================
   21. WP DEFAULTS
   ===================================================================== */
.alignleft   { float: left;  margin: 0 1em 1em 0; }
.alignright  { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption  { max-width: 100%; }
.screen-reader-text { position: absolute; left: -9999px; }
