:root {
  --venx-bg: #03060d;
  --venx-bg-2: #07111f;
  --venx-line: rgba(95, 170, 255, 0.16);
  --venx-node: rgba(119, 188, 255, 0.9);
  --venx-glow: rgba(58, 140, 255, 0.22);
  --venx-glow-2: rgba(0, 212, 255, 0.14);
  --venx-white: rgba(255, 255, 255, 0.92);
  --venx-text: rgba(235, 242, 255, 0.86);
  --venx-muted: rgba(210, 222, 245, 0.64);
  --venx-border: rgba(255, 255, 255, 0.11);
  --venx-border-strong: rgba(120, 180, 255, 0.24);
  --venx-card: rgba(10, 18, 32, 0.48);
  --venx-card-2: rgba(8, 15, 28, 0.62);
  --venx-shadow: 0 10px 40px rgba(0, 0, 0, 0.34);
  --venx-blur: blur(18px);
  --venx-radius: 22px;
  --venx-radius-sm: 16px;
  --venx-transition: 320ms ease;
}

html,
body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  color: var(--venx-text);
  background:
    radial-gradient(circle at 20% 15%, rgba(55, 120, 255, 0.10), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #030816 0%, #050b18 48%, #030714 100%);
}

/* Full page three.js canvas */
#siteBgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
  filter: contrast(1.08) brightness(1.1);
}

/* Ambient css layer */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.75;
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(100, 170, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 170, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 95%);
}

.bg-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.7;
}

.bg-glow-1 {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 10%;
  background: rgba(42, 120, 255, 0.18);
}

.bg-glow-2 {
  width: 380px;
  height: 380px;
  right: -100px;
  top: 18%;
  background: rgba(0, 208, 255, 0.14);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: radial-gradient(rgba(255,255,255,0.16) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
}

/* Content above background */
.site-header,
main,
.site-footer,
header,
footer,
nav,
section,
.container,
.hero-section,
.section,
.cta-section,
.navbar,
.hero-copy,
.hero-visual,
.cards-grid,
.split-layout,
.footer-row {
  position: relative;
  z-index: 3;
}

/* Keep wrappers transparent */
main,
.site-shell,
.page-wrap,
.site-content {
  background: transparent;
}

/* Container helper */
.container,
.section-container,
.nav-container,
.hero-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* Premium glass */
.glass,
.glass-card,
.glass-panel,
.glass-nav,
.glass-btn,
.navbar,
.hero-video-shell,
.visual-panel,
.metric-card,
.feature-item,
.split-panel,
.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, var(--venx-card), var(--venx-card-2));
  border: 1px solid rgba(150, 205, 255, 0.14);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 30px rgba(80, 150, 255, 0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform var(--venx-transition),
    border-color var(--venx-transition),
    box-shadow var(--venx-transition),
    background var(--venx-transition);
}

.glass-card::before,
.glass-panel::before,
.glass-nav::before,
.glass-btn::before,
.navbar::before,
.hero-video-shell::before,
.visual-panel::before,
.metric-card::before,
.feature-item::before,
.split-panel::before,
.cta-card::before,
.btn::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -38%;
  width: 42%;
  height: 320%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.20),
    rgba(255,255,255,0.04),
    transparent
  );
  transition: left 0.9s ease;
  pointer-events: none;
}

.glass-card:hover::before,
.glass-panel:hover::before,
.glass-nav:hover::before,
.glass-btn:hover::before,
.navbar:hover::before,
.hero-video-shell:hover::before,
.visual-panel:hover::before,
.metric-card:hover::before,
.feature-item:hover::before,
.split-panel:hover::before,
.cta-card:hover::before,
.btn:hover::before {
  left: 118%;
}

.glass-card::after,
.glass-panel::after,
.glass-nav::after,
.navbar::after,
.hero-video-shell::after,
.visual-panel::after,
.metric-card::after,
.feature-item::after,
.split-panel::after,
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    inset 0 0 24px rgba(56, 135, 255, 0.04);
}

.glass-card:hover,
.glass-panel:hover,
.hero-video-shell:hover,
.visual-panel:hover,
.metric-card:hover,
.feature-item:hover,
.split-panel:hover,
.cta-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 190, 255, 0.30);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(60, 145, 255, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 0 34px rgba(80, 150, 255, 0.05);
}

/* Navbar */
.glass-nav,
.navbar.glass-card {
  border-radius: 999px;
}

/* Buttons */
.glass-btn,
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(140, 189, 255, 0.18);
  color: var(--venx-white);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(10, 20, 36, 0.54);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}

.glass-btn:hover,
.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(130, 194, 255, 0.28);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(56, 142, 255, 0.18);
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(45, 110, 255, 0.78), rgba(16, 42, 86, 0.88));
  border-color: rgba(132, 192, 255, 0.28);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.26),
    0 0 24px rgba(78, 161, 255, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.btn-primary:hover {
  border-color: rgba(154, 210, 255, 0.42);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.30),
    0 0 28px rgba(78, 161, 255, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-secondary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    rgba(9, 18, 32, 0.58);
  border-color: rgba(150, 205, 255, 0.16);
}

.btn-secondary:hover {
  border-color: rgba(183, 214, 255, 0.30);
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--venx-white);
  letter-spacing: -0.02em;
}

p {
  color: var(--venx-muted);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0 0 12px;
}

.section-heading p {
  max-width: 760px;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(220, 235, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(78, 161, 255, 0.72),
    rgba(214, 179, 106, 0.42)
  );
}

/* Sections */
section {
  position: relative;
  padding: 90px 0;
}

.hero,
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.glow-border {
  border: 1px solid rgba(125, 181, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 0 24px rgba(58, 138, 255, 0.08);
}

/* Footer */
.venx-footer {
  padding-top: 18px;
  padding-bottom: 36px;
}

.footer-line {
  height: 1px;
  width: 100%;
  margin-bottom: 18px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(110, 180, 255, 0.18),
    rgba(214, 179, 106, 0.12),
    transparent
  );
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 26px;
  border-radius: 28px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #dff4ff, #4ea1ff 62%, #1f5fff 100%);
  box-shadow:
    0 0 18px rgba(78, 161, 255, 0.34),
    0 0 28px rgba(78, 161, 255, 0.14);
}

.footer-brand-block h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--venx-white);
}

.footer-brand-block p {
  margin: 0;
}

.footer-brand-text {
  max-width: 680px;
  line-height: 1.7;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--venx-white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer-col a {
  position: relative;
  width: fit-content;
  color: var(--venx-muted);
  text-decoration: none;
  transition:
    color 240ms ease,
    transform 240ms ease,
    text-shadow 240ms ease;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(78, 161, 255, 0.9),
    rgba(214, 179, 106, 0.9)
  );
  transition: width 240ms ease;
}

.footer-col a:hover {
  color: var(--venx-white);
  transform: translateX(4px);
  text-shadow: 0 0 14px rgba(78, 161, 255, 0.18);
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-bottom {
  padding-top: 18px;
}

.footer-disclaimer {
  margin: 0 0 16px;
  color: var(--venx-muted);
  line-height: 1.75;
  font-size: 0.94rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--venx-muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .glass-nav,
  .navbar.glass-card {
    border-radius: 20px;
    padding: 12px 16px;
  }

  .glass-card,
  .glass-panel {
    border-radius: 18px;
  }

  .bg-grid {
    background-size: 42px 42px;
    opacity: 0.10;
  }

  .bg-glow-1 {
    width: 280px;
    height: 280px;
  }

  .bg-glow-2 {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 680px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    padding: 20px;
    border-radius: 22px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
