/* ==========================================================================
   ZynVoss · YEAR 3000 / LIQUID GLASS
   Additive theme — does not remove layout or content
   ========================================================================== */

:root {
  --y3k-void: #020617;
  --y3k-deep: #06101f;
  --y3k-navy: #0a1a33;
  --y3k-plasma: #22d3ee;
  --y3k-plasma-2: #67e8f9;
  --y3k-nova: #a78bfa;
  --y3k-ember: #f0abfc;
  --y3k-teal: #2dd4bf;
  --y3k-btn: linear-gradient(135deg, #06b6d4 0%, #22d3ee 42%, #67e8f9 100%);
  --y3k-btn-shadow: 0 0 0 1px rgba(103, 232, 249, 0.35),
    0 10px 40px rgba(34, 211, 238, 0.35),
    0 0 60px rgba(167, 139, 250, 0.18);
  --glass-fill: rgba(255, 255, 255, 0.14);
  --glass-fill-strong: rgba(255, 255, 255, 0.22);
  --glass-fill-soft: rgba(255, 255, 255, 0.08);
  --glass-stroke: rgba(255, 255, 255, 0.28);
  --glass-stroke-soft: rgba(255, 255, 255, 0.14);
  --glass-blur: blur(28px) saturate(180%);
  --glass-blur-sm: blur(18px) saturate(160%);
  --text-on-void: rgba(241, 245, 249, 0.94);
  --text-muted-void: rgba(203, 213, 225, 0.78);
  --ease-starburst: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Cosmic page canvas ---- */
html {
  background: var(--y3k-void);
}

body {
  color: var(--text-on-void) !important;
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(167, 139, 250, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(34, 211, 238, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(45, 212, 191, 0.12), transparent 55%),
    linear-gradient(165deg, #020617 0%, #071525 40%, #0b1c36 100%) !important;
  min-height: 100vh;
}

/* Floating aurora + star dust (pure CSS, no WebGL required) */
.ambient {
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.5px 1.5px at 64% 32%, rgba(165,243,252,0.8), transparent),
    radial-gradient(1px 1px at 81% 58%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 44% 88%, rgba(233,213,255,0.6), transparent),
    radial-gradient(1px 1px at 90% 12%, rgba(255,255,255,0.5), transparent),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(99, 102, 241, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 35% at 80% 70%, rgba(34, 211, 238, 0.12), transparent 70%),
    transparent !important;
  animation: ambientDrift 28s ease-in-out infinite alternate;
  opacity: 1;
  z-index: 0;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.ambient::before {
  background:
    conic-gradient(from 120deg at 30% 40%, transparent 0deg, rgba(34,211,238,0.08) 40deg, transparent 90deg),
    conic-gradient(from 280deg at 70% 60%, transparent 0deg, rgba(167,139,250,0.07) 50deg, transparent 110deg);
  animation: ambientSpin 48s linear infinite;
  opacity: 0.85;
}

.ambient::after {
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(2, 6, 23, 0.35) 100%);
}

@keyframes ambientDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -18px, 0) scale(1.03); }
}

@keyframes ambientSpin {
  to { transform: rotate(360deg); }
}

/* Subtle scanline shimmer over site (very light) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.012) 3px,
    rgba(255, 255, 255, 0.012) 4px
  );
  mix-blend-mode: soft-light;
}

.site-wrap { position: relative; z-index: 1; }

/* ---- Liquid glass surfaces (Apple-like translucency) ---- */
.site-header {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border-bottom: 1px solid var(--glass-stroke) !important;
  box-shadow: 0 8px 40px rgba(2, 6, 23, 0.25);
}

.nav-links a {
  color: rgba(241, 245, 249, 0.9) !important;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--y3k-plasma-2) !important;
}
.nav-links a.active::after {
  background: linear-gradient(90deg, var(--y3k-plasma), var(--y3k-nova)) !important;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}

.menu-toggle {
  background: var(--glass-fill) !important;
  border-color: var(--glass-stroke) !important;
  backdrop-filter: var(--glass-blur-sm);
}
.menu-toggle span { background: #e2e8f0 !important; }

@media (max-width: 760px) {
  .nav-links {
    background: rgba(8, 18, 36, 0.72) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border-bottom-color: var(--glass-stroke) !important;
  }
  .nav-links a {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }
}

/* Glass cards / boxes */
.card,
.process-step,
.stat,
a.stat-link,
.form-card,
.thanks-card,
.unlock-card,
.value-item,
.field-block,
.award-inline,
.chat-panel,
.modal-dialog,
.product-option,
.work-card {
  background: var(--glass-fill) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-stroke) !important;
  box-shadow:
    0 8px 32px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  color: var(--text-on-void) !important;
}

.card:hover,
.process-step:hover,
.stat:hover,
a.stat-link:hover,
.work-card:hover {
  background: var(--glass-fill-strong) !important;
  border-color: rgba(103, 232, 249, 0.45) !important;
  box-shadow:
    0 16px 48px rgba(2, 6, 23, 0.4),
    0 0 40px rgba(34, 211, 238, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-6px);
}

.card h3,
.process-step h3,
.section-header h2,
.prose h2,
.form-card h2,
.unlock-card h1,
.stat strong,
.form-card .lead,
.field label,
.field-block > label,
.field-block > .block-title {
  color: #f8fafc !important;
  text-shadow: 0 0 24px rgba(103, 232, 249, 0.15);
}

.card p,
.process-step p,
.section-header p,
.prose p,
.prose li,
.stat span,
.unlock-note,
.field-block .hint,
.form-card .lead {
  color: var(--text-muted-void) !important;
}

.section-header h2,
.prose h2 {
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #f8fafc 10%, #a5f3fc 50%, #e9d5ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: none;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    transparent !important;
}

/* Hero / bands — deeper space glass */
.hero,
.page-hero,
.cta-band {
  background:
    radial-gradient(ellipse 80% 70% at 85% 15%, rgba(167, 139, 250, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(34, 211, 238, 0.2), transparent 50%),
    linear-gradient(145deg, rgba(2, 6, 23, 0.55) 0%, rgba(7, 21, 37, 0.4) 50%, rgba(12, 34, 64, 0.5) 100%) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--glass-stroke-soft);
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before,
.cta-band::before {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px) !important;
  background-size: 42px 42px !important;
}

.hero::after {
  background: linear-gradient(to bottom, transparent, rgba(2, 6, 23, 0.85)) !important;
}

.hero-card {
  background: var(--glass-fill) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-stroke) !important;
  box-shadow:
    0 20px 60px rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.hero-card img {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid var(--glass-stroke-soft);
}

.hero h1,
.page-hero h1,
.cta-band h2 {
  background: linear-gradient(105deg, #ffffff 0%, #a5f3fc 45%, #ddd6fe 80%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: holoShift 8s ease infinite;
  filter: drop-shadow(0 0 28px rgba(34, 211, 238, 0.25));
}

@keyframes holoShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.eyebrow {
  color: var(--y3k-plasma-2) !important;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
}
.eyebrow::before {
  background: linear-gradient(90deg, var(--y3k-plasma), var(--y3k-nova)) !important;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.hero-lead,
.page-hero p,
.cta-band p,
.hero-meta {
  color: rgba(226, 232, 240, 0.85) !important;
}

/* Founder / contact navy panels → liquid space glass */
.founder-card,
.contact-info {
  background:
    linear-gradient(160deg, rgba(7, 21, 37, 0.55), rgba(12, 34, 64, 0.4)) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-stroke) !important;
  box-shadow:
    0 24px 60px rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.contact-list a,
.contact-list div {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--glass-stroke-soft) !important;
  backdrop-filter: blur(12px);
}

/* ---- UNIFIED FUTURISTIC BUTTONS (all same color system) ---- */
.btn,
.btn-primary,
.btn-teal,
.btn-outline,
.btn-outline-dark,
.contact-actions a,
.contact-actions a.primary-contact,
.chat-launcher,
.zi-send,
.zi-formsubmit .zi-submit,
.dl-list button,
.dl-list a.btn,
#unlock-btn {
  background: var(--y3k-btn) !important;
  color: #042f2e !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: var(--y3k-btn-shadow) !important;
  font-weight: 750 !important;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s var(--ease-starburst),
    box-shadow 0.22s ease,
    filter 0.22s ease !important;
}

.btn::after,
.contact-actions a::after,
.chat-launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn:hover::after,
.contact-actions a:hover::after,
.chat-launcher:hover::after {
  transform: translateX(120%);
}

.btn:hover,
.btn-primary:hover,
.btn-teal:hover,
.btn-outline:hover,
.btn-outline-dark:hover,
.contact-actions a:hover,
.chat-launcher:hover {
  transform: translateY(-3px) scale(1.02) !important;
  filter: brightness(1.08) saturate(1.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 14px 48px rgba(34, 211, 238, 0.45),
    0 0 80px rgba(167, 139, 250, 0.28) !important;
  color: #022c22 !important;
}

.btn:active {
  transform: translateY(0) scale(0.98) !important;
}

/* Forms on glass */
.field input,
.field select,
.field textarea,
.zi-formsubmit .form-control,
.zi-input,
.unlock-card input[type="password"] {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid var(--glass-stroke) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(12px);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(203, 213, 225, 0.55);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--y3k-plasma) !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2), 0 0 30px rgba(34, 211, 238, 0.15) !important;
}

.chip {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--glass-stroke) !important;
  color: #e2e8f0 !important;
  backdrop-filter: blur(10px);
}
.chip:has(input:checked),
.chip.active,
.steps-bar span.on {
  background: rgba(34, 211, 238, 0.18) !important;
  border-color: var(--y3k-plasma) !important;
  color: #a5f3fc !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15), 0 0 24px rgba(34, 211, 238, 0.2);
}

.tag {
  background: rgba(34, 211, 238, 0.14) !important;
  color: #a5f3fc !important;
  border: 1px solid rgba(103, 232, 249, 0.3);
}

.card-icon {
  background: rgba(34, 211, 238, 0.15) !important;
  color: #67e8f9 !important;
  border: 1px solid rgba(103, 232, 249, 0.35);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

/* Footer glass void */
.site-footer {
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.85)),
    rgba(2, 6, 23, 0.6) !important;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-stroke-soft);
  color: rgba(226, 232, 240, 0.75) !important;
}
.footer-brand img {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(8px);
}
.footer-col h4 { color: #f8fafc !important; }
.footer-col a:hover { color: var(--y3k-plasma-2) !important; text-shadow: 0 0 12px rgba(34,211,238,0.5); }

/* Chat liquid orb */
.chat-launcher {
  border-radius: 999px !important;
  width: 64px !important;
  height: 64px !important;
}
.chat-panel {
  background: rgba(255, 255, 255, 0.12) !important;
}
.chat-head {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(167, 139, 250, 0.35)) !important;
  border-bottom: 1px solid var(--glass-stroke-soft);
}
.zi-thread {
  background: rgba(2, 6, 23, 0.25) !important;
}
.zi-bot .zi-bubble {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: var(--glass-stroke) !important;
  color: #f1f5f9 !important;
}
.zi-user .zi-bubble {
  background: var(--y3k-btn) !important;
  color: #042f2e !important;
}
.zi-compose {
  background: rgba(255, 255, 255, 0.06) !important;
  border-top-color: var(--glass-stroke-soft) !important;
}

/* Compliance / notes */
.compliance-note,
.unlock-note {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid var(--glass-stroke) !important;
  backdrop-filter: blur(16px);
  color: var(--text-muted-void) !important;
}
.compliance-note strong { color: #f8fafc !important; }
.compliance-note a,
.unlock-note a,
.prose a {
  color: var(--y3k-plasma-2) !important;
}

/* Process step numbers glow */
.process-step::before {
  color: var(--y3k-plasma) !important;
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.7);
}

/* Work visuals holographic */
.work-visual {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.75), rgba(99, 102, 241, 0.75)) !important;
}

/* Ad slot calm glass divider */
.ad-slot {
  border-color: var(--glass-stroke-soft) !important;
}
.ad-slot .ad-label { color: rgba(148, 163, 184, 0.7) !important; }

/* Modal glass */
.modal-backdrop {
  background: rgba(2, 6, 23, 0.72) !important;
  backdrop-filter: blur(14px);
}
.modal-dialog {
  background: rgba(255, 255, 255, 0.12) !important;
}
.modal-close {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: var(--glass-stroke) !important;
  color: #f8fafc !important;
}
.modal-hero h2,
.modal-columns h3 {
  color: #f8fafc !important;
}
.modal-hero-text p,
.check-list li,
.example-list p {
  color: var(--text-muted-void) !important;
}

/* Status messages */
.unlock-status.ok {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #a7f3d0 !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
  backdrop-filter: blur(10px);
}
.unlock-status.err {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #fecaca !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
  backdrop-filter: blur(10px);
}

/* Selection */
::selection {
  background: rgba(34, 211, 238, 0.35);
  color: #fff;
}

/* Reveal with holographic rise */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.8s var(--ease-starburst),
    transform 0.8s var(--ease-starburst),
    filter 0.8s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ==========================================================================
   STARBURST TRANSITION OVERLAY
   ========================================================================== */
#y3k-starburst {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  display: grid;
  place-items: center;
  mix-blend-mode: screen;
}

#y3k-starburst.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#y3k-starburst .y3k-burst-core {
  position: absolute;
  width: min(140vmax, 1600px);
  height: min(140vmax, 1600px);
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 0.0) 0deg 6deg,
      rgba(165, 243, 252, 0.55) 6deg 7deg,
      rgba(255, 255, 255, 0.0) 7deg 14deg,
      rgba(196, 181, 253, 0.45) 14deg 15deg
    ),
    radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(103,232,249,0.55) 12%, rgba(167,139,250,0.25) 28%, transparent 55%);
  transform: scale(0.05);
  opacity: 0;
  filter: blur(0.5px);
}

#y3k-starburst .y3k-burst-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.55) 0%, rgba(6,182,212,0.35) 25%, rgba(2,6,23,0.92) 70%);
  opacity: 0;
}

#y3k-starburst .y3k-burst-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(165, 243, 252, 0.9);
  box-shadow:
    0 0 40px rgba(34, 211, 238, 0.8),
    0 0 80px rgba(167, 139, 250, 0.5),
    inset 0 0 30px rgba(255, 255, 255, 0.4);
  transform: scale(0.2);
  opacity: 0;
}

#y3k-starburst.is-enter .y3k-burst-core {
  animation: burstExpand 1.05s var(--ease-starburst) forwards;
}
#y3k-starburst.is-enter .y3k-burst-veil {
  animation: veilFlash 1.05s var(--ease-starburst) forwards;
}
#y3k-starburst.is-enter .y3k-burst-ring {
  animation: ringPulse 1.05s var(--ease-starburst) forwards;
}

#y3k-starburst.is-exit .y3k-burst-core {
  animation: burstExpand 0.72s var(--ease-starburst) forwards;
}
#y3k-starburst.is-exit .y3k-burst-veil {
  animation: veilOut 0.72s var(--ease-starburst) forwards;
}
#y3k-starburst.is-exit .y3k-burst-ring {
  animation: ringPulse 0.72s var(--ease-starburst) forwards;
}

@keyframes burstExpand {
  0% { transform: scale(0.04) rotate(0deg); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: scale(1.35) rotate(48deg); opacity: 0; }
}

@keyframes veilFlash {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes veilOut {
  0% { opacity: 0; }
  35% { opacity: 0.95; }
  100% { opacity: 1; }
}

@keyframes ringPulse {
  0% { transform: scale(0.15); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: scale(28); opacity: 0; }
}

/* Page content entrance after starburst */
body.y3k-booting .page-fade {
  opacity: 0;
  filter: blur(12px) brightness(1.4);
  transform: scale(1.04);
}
body.page-ready .page-fade {
  animation: y3kPageIn 0.85s var(--ease-starburst) 0.35s both;
}

@keyframes y3kPageIn {
  from {
    opacity: 0;
    filter: blur(10px) brightness(1.5);
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Floating holographic accent dots */
.y3k-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.y3k-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
.y3k-orbs span:nth-child(1) {
  width: 280px; height: 280px; left: -40px; top: 20%;
  background: rgba(34, 211, 238, 0.35);
}
.y3k-orbs span:nth-child(2) {
  width: 320px; height: 320px; right: -60px; top: 55%;
  background: rgba(167, 139, 250, 0.3);
  animation-delay: -4s;
}
.y3k-orbs span:nth-child(3) {
  width: 200px; height: 200px; left: 40%; bottom: 5%;
  background: rgba(244, 114, 182, 0.18);
  animation-delay: -7s;
}
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(24px, -30px, 0); }
}

/* Logo slight glow */
.logo-link img {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 0 28px rgba(34, 211, 238, 0.25);
  border-radius: 10px;
}

/* Prose on dark */
.prose strong { color: #f1f5f9 !important; }

/* Stats link accent */
a.stat-link strong {
  color: var(--y3k-plasma-2) !important;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ambient,
  .ambient::before,
  .y3k-orbs span,
  .hero h1,
  .page-hero h1,
  .cta-band h2 {
    animation: none !important;
  }
  #y3k-starburst { display: none !important; }
  body.page-ready .page-fade {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Fallback when backdrop-filter unsupported — still translucent-ish */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .stat, .form-card, .unlock-card, .site-header, .chat-panel, .modal-dialog {
    background: rgba(15, 30, 55, 0.88) !important;
  }
}

/* ==========================================================================
   Y3K v2 — logo cursor, 3D tilt, bugfixes
   ========================================================================== */

/* Never trap content invisible longer than boot */
body.y3k-booting .page-fade {
  opacity: 0.001;
  pointer-events: none;
}

/* Readable body text on cosmic glass */
body {
  color: rgba(241, 245, 249, 0.92) !important;
}
.prose,
.card p,
.section-header p {
  color: rgba(226, 232, 240, 0.86) !important;
}

/* Inputs stay usable with custom cursor mode */
body.y3k-cursor-on,
body.y3k-cursor-on * {
  cursor: none !important;
}
body.y3k-cursor-on input,
body.y3k-cursor-on textarea,
body.y3k-cursor-on select,
body.y3k-cursor-on option,
body.y3k-cursor-on [contenteditable="true"] {
  cursor: text !important;
}

#y3k-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  z-index: 100001;
  pointer-events: none;
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.2s ease;
  mix-blend-mode: normal;
}
#y3k-cursor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow:
    0 0 0 2px rgba(165, 243, 252, 0.85),
    0 0 22px rgba(34, 211, 238, 0.65),
    0 8px 24px rgba(2, 6, 23, 0.45);
  background: rgba(7, 21, 37, 0.6);
}
#y3k-cursor .y3k-cursor-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
  opacity: 0.85;
}
#y3k-cursor.is-hot .y3k-cursor-ring {
  transform: scale(1.35);
  border-color: rgba(103, 232, 249, 0.95);
  opacity: 1;
}
#y3k-cursor.is-down {
  filter: brightness(1.15);
}
#y3k-cursor.is-down .y3k-cursor-ring {
  transform: scale(0.85);
}
#y3k-cursor.is-text {
  opacity: 0;
}
#y3k-cursor.is-hidden {
  opacity: 0;
}

/* 3D tilt cards */
.y3k-tilt {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition: transform 0.18s ease-out, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.y3k-tilt.is-tilting {
  transition: transform 0.06s linear, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow:
    0 22px 50px rgba(2, 6, 23, 0.45),
    0 0 40px rgba(34, 211, 238, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  background-image:
    radial-gradient(
      circle at var(--tilt-px, 50%) var(--tilt-py, 50%),
      rgba(255, 255, 255, 0.22),
      transparent 42%
    ) !important;
}
/* Override flat hover translate that fought tilt */
.card.y3k-tilt:hover,
.process-step.y3k-tilt:hover,
.stat.y3k-tilt:hover,
a.stat-link.y3k-tilt:hover,
.work-card.y3k-tilt:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px) !important;
}

/* Starburst above cursor, block double-clicks cleanly */
#y3k-starburst {
  z-index: 100010;
}
#y3k-starburst.is-active {
  pointer-events: all;
  cursor: none;
}

/* Fix: form labels/fields on glass remain high-contrast */
.field label,
.unlock-card label,
.zi-formsubmit label {
  color: rgba(248, 250, 252, 0.95) !important;
}
.field input,
.field select,
.field textarea,
.unlock-card input[type="password"] {
  color: #f8fafc !important;
  caret-color: #67e8f9;
}

/* Fix: outline buttons readable (unified plasma already applied) */
.btn,
.btn-primary,
.btn-teal,
.btn-outline,
.btn-outline-dark {
  -webkit-tap-highlight-color: transparent;
}

/* Fix: skip-link still usable with custom cursor */
.skip-link:focus {
  cursor: pointer !important;
}

/* Touch: never hide system cursor */
@media (hover: none), (pointer: coarse) {
  body.y3k-cursor-on,
  body.y3k-cursor-on * {
    cursor: auto !important;
  }
  #y3k-cursor { display: none !important; }
  .y3k-tilt {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #y3k-cursor { display: none !important; }
  body.y3k-cursor-on,
  body.y3k-cursor-on * { cursor: auto !important; }
  .y3k-tilt { transform: none !important; }
}
