/* ═══ NeoVision FX Layer ═══ */

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(12px, -18px) scale(1.05); }
  66% { transform: translate(-8px, 10px) scale(0.97); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ring-spin-reverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes scan {
  0% { top: -2px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes hud-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.75; }
}

/* Global noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* Header glow line */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-violet), transparent);
  opacity: 0.6;
}

.site-header {
  position: sticky;
}

.nav-desktop a {
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

/* Hero */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
  top: -10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 70%);
  bottom: 10%;
  right: 25%;
  animation-delay: -3s;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(163, 230, 53, 0.1) 0%, transparent 70%);
  top: 30%;
  left: 60%;
  animation-delay: -5s;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
  animation: scan 6s linear infinite;
  opacity: 0.5;
}

.grid-bg {
  animation: grid-pulse 4s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-holo {
  position: relative;
  width: min(380px, 90vw);
  height: min(380px, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid transparent;
}

.hero-ring--1 {
  width: 100%;
  height: 100%;
  border-color: rgba(0, 240, 255, 0.25);
  border-style: dashed;
  animation: ring-spin 20s linear infinite;
}

.hero-ring--2 {
  width: 78%;
  height: 78%;
  border: 1px solid rgba(124, 58, 237, 0.35);
  animation: ring-spin-reverse 15s linear infinite;
}

.hero-ring--3 {
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.15), inset 0 0 30px rgba(0, 240, 255, 0.05);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-eye {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
}

.hero-eye svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

.hero-hud {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.hero-hud span {
  padding: 4px 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 4px;
  animation: hud-blink 3s ease-in-out infinite;
}

.hero-hud span:nth-child(2) { animation-delay: 0.5s; }
.hero-hud span:nth-child(3) { animation-delay: 1s; }

.glass-card > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-glow 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* Stats as neon cards */
.stat-item {
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.06) 0%, rgba(124, 58, 237, 0.04) 100%);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  opacity: 0.7;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.15);
}

.stat-value {
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* Data ticker */
.data-ticker {
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 240, 255, 0.03);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.ticker-track span.ticker-accent {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.ticker-wrap {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

/* Section headers */
.section-head {
  position: relative;
  margin-bottom: 48px;
}

.section-head .section-desc {
  margin-bottom: 0;
}

.section-line {
  width: 80px;
  height: 3px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet), transparent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 4px;
}

.section-label::before {
  content: '//';
  color: var(--accent-violet);
  font-weight: 800;
}

/* Enhanced glass cards */
.glass-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), rgba(124, 58, 237, 0.2), rgba(0, 240, 255, 0.1));
  background-size: 200% 200%;
  animation: border-flow 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(0, 240, 255, 0.5);
  border-left: 2px solid rgba(0, 240, 255, 0.5);
  border-radius: 2px 0 0 0;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 240, 255, 0.12);
}

/* Buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00f0ff 0%, #00a8b8 50%, #7c3aed 100%);
  background-size: 200% 200%;
  animation: border-flow 4s ease infinite;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.btn-outline:hover {
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 240, 255, 0.08);
}

/* Trust bar */
.trust-bar {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.8), rgba(10, 14, 23, 0.9));
  position: relative;
}

.trust-item {
  padding: 12px 24px;
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.03);
  transition: all 0.3s ease;
}

.trust-item:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.1);
}

.trust-icon {
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

/* About visual */
.about-visual {
  border: none;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.1);
}

.about-visual::before {
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(124, 58, 237, 0.2)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 240, 255, 0.03) 2px, rgba(0, 240, 255, 0.03) 4px);
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-pillar {
  text-align: center;
  padding: 20px 12px;
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-md);
}

.about-pillar-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.about-pillar-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Science cards */
.science-card {
  text-align: left;
  padding-top: 48px !important;
  position: relative;
}

.science-icon {
  position: absolute;
  top: 24px;
  left: 32px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.science-card .science-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 240, 255, 0.08);
  line-height: 1;
}

/* Nutrition */
.nutrition-card::before {
  z-index: 2;
}

.nutrition-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.nutrition-card .tag {
  border: 1px solid rgba(0, 240, 255, 0.25);
}

/* Lutevid */
.lutevid-section {
  position: relative;
  overflow: hidden;
}

.lutevid-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.lutevid-image {
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.15), 0 0 120px rgba(124, 58, 237, 0.1);
}

.lutevid-image::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet), var(--accent-cyan));
  background-size: 200% 200%;
  animation: border-flow 5s ease infinite;
  z-index: -1;
  opacity: 0.6;
}

.lutevid-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-lime);
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: 4px;
}

/* Timeline */
.step-num {
  position: relative;
}

.step-num::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.3);
  animation: ring-spin 12s linear infinite;
}

.timeline-step:hover .step-num {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Comparison */
.comparison-wrap {
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table th {
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.12), rgba(0, 240, 255, 0.04));
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* FAQ */
.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 0 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
}

.faq-question {
  padding: 20px 0;
}

/* Testimonials */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: rgba(0, 240, 255, 0.12);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--bg-deep);
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

/* Contact section */
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 240, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.form-input,
.form-textarea {
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.15);
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15), 0 0 24px rgba(0, 240, 255, 0.1);
}

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-surface) 0%, #080b12 100%);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-violet), transparent);
}

/* Section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), rgba(124, 58, 237, 0.3), transparent);
  margin: 0;
  border: none;
}

/* Ad banner */
.ad-banner {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), rgba(0, 240, 255, 0.1), rgba(124, 58, 237, 0.2));
  letter-spacing: 0.2em;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-holo {
    width: min(280px, 80vw);
    height: min(280px, 80vw);
  }

  .ticker-track {
    animation-duration: 20s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
