:root {
  --neon-green: #00FF41;
  --toxic-green: #ccff00;
  /* New highlight accent */
  --deep-green: #001a00;
  --bg-dark: #020202;
  /* Deeper black */
  --bg-card: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  /* Thinner, more subtle */
  --text-white: #F0F0F0;
  --text-muted: #888888;

  --font-display: 'Orbitron', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;

  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-mono);
  overflow-x: hidden;
  line-height: 1.7;
  /* subtle grain or noise could be added here if desired */
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-green);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--toxic-green);
}

/* Selection Styling */
::selection {
  background: var(--neon-green);
  color: #000;
}

#app {
  position: relative;
  z-index: 1;
}

/* Accessibility Focus */
:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 4px;
}

/* Button Tactile Feedback */
.btn-primary:active {
  transform: scale(0.95);
}

/* --- Global Glows & Atmospherics --- */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 80, 0, 0.15), transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(0, 255, 65, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 65, 0.05), transparent 40%);
  filter: blur(80px);
  z-index: -2;
  animation: bg-drift 30s ease-in-out infinite alternate;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 255, 65, 0.02) 3px,
      rgba(0, 255, 65, 0.02) 4px);
  z-index: -1;
  pointer-events: none;
}

@keyframes bg-drift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-5%, -5%);
  }
}

/* --- Navbar --- */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 2, 2, 0.6);
  /* More transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s ease, transform 0.3s ease;
  transform: translateY(0);
}

#navbar.navbar-hidden {
  transform: translateY(-100%);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 120px;
  /* adjusted slightly */
  margin: -30px 0;
  filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.3));
  transition: filter 0.3s;
}

.logo-img:hover {
  filter: drop-shadow(0 0 25px rgba(0, 255, 65, 0.6));
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  margin-left: 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--neon-green);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon-green);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  /* Pill shape */
  color: var(--neon-green) !important;
  font-size: 0.8rem !important;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-nav:hover {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.btn-nav::after {
  display: none;
}

/* --- Hero Section --- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  z-index: 2;
  pointer-events: none;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  z-index: -1;
  /* Mask removed to show full shader */
  opacity: 0.6;
  /* Increased opacity slightly */
}

/* Hero HyperText Effect */
.hyper-text {
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.hyper-letter {
  display: inline-block;
  transition: all 0.1s ease;
  opacity: 1;
  background: linear-gradient(to bottom, #ffffff 30%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hyper-letter.space {
  min-width: 0.5em;
}

.hero-content {
  width: 55%;
  flex-shrink: 0;
  z-index: 2;
  padding-top: 5rem;
}

.glitch-text {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subline {
  color: var(--neon-green);
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  letter-spacing: 4px;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-subline::after {
  content: '';
  height: 1px;
  width: 50px;
  background: var(--neon-green);
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 550px;
  color: var(--text-white);
  font-weight: 300;
  line-height: 1.8;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Premium Buttons */
button {
  cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  padding: 1rem 2.5rem;
  background: var(--neon-green);
  color: #000;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-elastic);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: 0.5s;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

/* Visualization */
.hero-visual {
  position: relative;
  width: 45%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  /* Ensure above gradient overlay */
}

/* Organic Glow behind glasses */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.floating-glasses {
  width: 180%;
  /* JS handles transparency, Shadow restored */
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  animation: float 8s ease-in-out infinite;
  transform: perspective(1000px) rotateY(-10deg);
}

.hologram-card-canvas {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  /* mix-blend-mode removed */
}

@keyframes float {

  0%,
  100% {
    transform: perspective(1000px) translateY(0) rotateY(-10deg);
  }

  50% {
    transform: perspective(1000px) translateY(-20px) rotateY(-5deg);
  }
}

/* --- Sections Common --- */
section {
  padding: 8rem 8%;
  position: relative;
}

h2 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 4rem;
  letter-spacing: -1px;
  text-align: center;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '.';
  color: var(--neon-green);
}

/* --- Value Grid (Services) --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 2px;
  /* Sharper corners for tech feel */
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Corner Accents */
.value-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-top: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  transition: all 0.3s;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.value-card:hover::after {
  width: 40px;
  height: 40px;
  border-color: var(--neon-green);
}

.icon-holo {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--neon-green);
  width: 100px;
  height: 100px;
  background: rgba(0, 59, 0, 0.2);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.1), inset 0 0 20px rgba(0, 255, 65, 0.05);
  transition: all 0.4s ease;
  position: relative;
}

.icon-holo::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 255, 65, 0.3);
  animation: spin 10s linear infinite;
}

.value-card:hover .icon-holo {
  transform: scale(1.1);
  background: rgba(0, 59, 0, 0.4);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.4), inset 0 0 20px rgba(0, 255, 65, 0.2);
  border-color: var(--neon-green);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.sub-val {
  font-size: 0.75rem;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: block;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Features --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns */
  gap: 1px;
  background: var(--glass-border);
  /* Grid lines effect */
  border: 1px solid var(--glass-border);
}

.feature-item {
  background: var(--bg-dark);
  /* Fills gap */
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  transition: background 0.3s;
  position: relative;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Spotlight Glow Effect */
.feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%),
      rgba(0, 255, 65, 0.1),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}

.feature-item:hover::after {
  opacity: 1;
}

.feature-item>* {
  position: relative;
  z-index: 1;
}

/* Green dot indicator on hover */
.feature-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 6px;
  height: 6px;
  background: var(--toxic-green);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px var(--toxic-green);
  transition: opacity 0.3s;
}

.feature-item:hover::before {
  opacity: 1;
}

.f-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  transition: all 0.3s;
}

.feature-item:hover .f-icon {
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.f-icon svg {
  stroke-width: 1.5;
}

.feature-item h4 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-demo {
  width: 100%;
  margin-top: 1.5rem;
  border-radius: 16px;
  /* Rounder corners */
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
  aspect-ratio: 16 / 9;
  /* Enforce 16:9 */
}

.feature-gif {
  width: 100%;
  height: 100%;
  /* Fill container */
  display: block;
  object-fit: cover;
  background: rgba(0, 255, 65, 0.05);
}


/* --- How It Works (Steps) --- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4rem;
  counter-reset: step-counter;
}

.step {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  transition: border-color 0.3s;
}

.step:hover {
  border-color: var(--neon-green);
}

.step-num {
  position: absolute;
  top: -1.7rem;
  left: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.15);
  /* Solid grey, plainly visible */
  -webkit-text-stroke: 0;
  font-weight: 700;
  transition: all 0.3s;
  /* Mask line */
  padding-right: 1rem;
}

.step:hover .step-num {
  color: var(--neon-green);
  -webkit-text-stroke: 0px;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Interactive Model Section --- */
#interactive-model {
  padding: 10rem 8%;
  /* Bigger breathing room */
  background: radial-gradient(circle at center, rgba(0, 40, 0, 0.4) 0%, #000 90%);
  text-align: center;
  border-bottom: 1px solid rgba(0, 255, 65, 0.1);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  /* Larger text */
  color: var(--text-white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subline {
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.model-visual {
  width: 100%;
  max-width: 1000px;
  /* Wider for rectangular view */
  aspect-ratio: 16 / 9;
  /* Default Desktop: Rectangular */
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  /* Much lighter glass */
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  /* For HUD */
}

@media (max-width: 768px) {
  .model-visual {
    aspect-ratio: 1 / 1;
    /* Square on mobile */
    border-radius: 12px;
  }
}

/* Immersive Elements */
.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.4) 100%),
    /* Lighter vignette */
    linear-gradient(rgba(0, 255, 65, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Let clicks pass through to canvas */
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

.hud-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--neon-green);
  opacity: 0.6;
}

.hud-corner.top-left {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.hud-corner.top-right {
  top: 20px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

.hud-corner.bottom-left {
  bottom: 20px;
  left: 20px;
  border-right: none;
  border-top: none;
}

.hud-corner.bottom-right {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.tech-stats {
  position: absolute;
  bottom: 25px;
  left: 70px;
  /* Offset from corner */
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
  opacity: 0.8;
  display: flex;
  gap: 20px;
}

.status-offline {
  color: #ff3333;
  text-shadow: 0 0 10px rgba(255, 51, 51, 0.4);
}

#load-3d-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  padding: 1.2rem 2.5rem;
  background: rgba(0, 20, 0, 0.3);
  /* More transparent */
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  /* Stronger blur */
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

#load-3d-btn:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
  text-shadow: 0 0 10px var(--neon-green);
  border-color: var(--toxic-green);
}

#load-3d-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.blink {
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hologram-card {
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.hologram-card-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Prebook --- */
#prebook {
  background: var(--bg-dark);
  padding: 8rem 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#matrix-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

.prebook-content.centered-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Horizontal Benefits for Centered Layout */
.benefits-grid.horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.prebook-form {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 600px;
  /* Wider to accommodate 2 columns */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.cyber-input.full-width {
  width: 100%;
}

.justified-text {
  text-align: justify;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.status-panel.centered-panel {
  max-width: 600px;
  width: 100%;
  margin-top: 3rem;
}

/* Prebook Button Sizing */
#prebook .btn-primary {
  max-width: 600px;
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1rem;
  background: rgba(0, 255, 65, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 255, 65, 0.5);
  color: var(--neon-green);
  box-shadow: 0 8px 32px 0 rgba(0, 255, 65, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#prebook .btn-primary:hover {
  background: rgba(0, 255, 65, 0.25);
  border-color: var(--neon-green);
  box-shadow: 0 8px 32px 0 rgba(0, 255, 65, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: scan 3s linear infinite;
  opacity: 0.5;
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* --- Pre-book Form --- */
.prebook-form {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  /* Fill container to match button */
}

.cyber-input {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-left: 2px solid var(--glass-border);
  /* Tech accent */
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 1px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  /* Strict tech look */
  /* text-transform: uppercase;  REMOVED for email compatibility */
}

.cyber-input:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  padding-left: 1.8rem;
  /* Slide effect */
}

.cyber-input:focus {
  border-color: var(--neon-green);
  border-left: 4px solid var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
  background: rgba(0, 59, 0, 0.2);
  padding-left: 2rem;
}

.cyber-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  text-transform: uppercase;
  /* Keep visual style for labels */
}

/* Status Panel */
.status-panel {
  font-family: var(--font-mono);
}

.status-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.status-live {
  color: var(--toxic-green);
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  border-radius: 3px;
}

.status-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-white);
}

/* Right Content */
.prebook-content {
  text-align: left;
}

.prebook-content .glitch-text {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.prebook-content .subline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.5rem;
  /* Increased padding for button-like feel */
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Subtle glass border */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
  transform: translateY(-2px);
}

.check {
  color: var(--neon-green);
  font-weight: bold;
}

.pulsing-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}

.btn-shine {
  position: absolute;
  background: white;
  opacity: 0.4;
  width: 50px;
  height: 100%;
  top: 0;
  left: -100px;
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {

  0%,
  80% {
    left: -100px;
  }

  100% {
    left: 120%;
  }
}

.terms {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- Glowing Border Effect --- */
.glow-effect {
  position: relative;
  --angle: 0deg;
  --opacity: 0;
  border: 1px solid var(--glass-border);
  /* Fallback */
  overflow: hidden;
  /* Clean corners */
}

/* The Glowing Border */
.glow-effect::before {
  content: '';
  position: absolute;
  inset: -2px;
  /* Slightly larger than border */
  border-radius: inherit;
  padding: 2px;
  /* Border width */
  background: conic-gradient(from var(--angle),
      transparent 0deg,
      rgba(0, 255, 65, 0.8) 40deg,
      var(--text-white) 60deg,
      /* White tip for brightness */
      rgba(0, 255, 65, 0.8) 80deg,
      transparent 120deg);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: var(--opacity);
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

/* Apply to cards */
.value-card,
.feature-item {
  position: relative;
  /* Ensure existing border styles don't conflict, allowing the glow to sit on top or replace it */
}

/* Override existing Prebook layout from mobile styles if conflict */
@media (max-width: 900px) {
  .prebook-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .prebook-content {
    text-align: center;
  }

  .benefits-grid {
    text-align: left;
  }

  .hologram-card img {
    max-width: 200px;
  }
}


/* --- Virtual Try-On Overlay --- */
.tryon-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.tryon-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.tryon-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
}

.output_canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  /* Mirror effect */
}

.btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 10px 20px;
  cursor: pointer;
  z-index: 1001;
  font-family: var(--font-mono);
}

.loading-scrim {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 10;
  display: none;
  /* Toggled via JS */
}

.face-guide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

.face-oval {
  width: 200px;
  height: 280px;
  border: 3px solid var(--neon-green);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(0, 255, 65, 0.3),
    inset 0 0 20px rgba(0, 255, 65, 0.1);
  animation: pulse-guide 2s ease-in-out infinite;
}

.guide-text {
  margin-top: 1rem;
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

@keyframes pulse-guide {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* --- Philosophy --- */
#philosophy {
  padding: 10rem 10%;
  background: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

/* Background detail */
#philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.philo-header {
  position: relative;
}

.decorative-mark {
  font-family: var(--font-display);
  font-size: 10rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -6rem;
  left: -2rem;
  pointer-events: none;
}

.philo-header h2 {
  font-size: 4.5rem;
  line-height: 1.1;
  text-align: left;
  margin-bottom: 0;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.philo-header h2::after {
  content: none;
  /* Removing the dot from global h2 style */
}

.philo-content {
  border-left: 1px solid var(--glass-border);
  padding-left: 4rem;
}

.manifesto-line {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 2rem;
  line-height: 1.4;
  font-weight: 300;
}

.highlight {
  color: var(--text-muted);
  text-decoration: line-through;
}

.highlight-green {
  color: var(--neon-green);
  font-weight: bold;
}

.separator {
  width: 50px;
  height: 2px;
  background: var(--neon-green);
  margin-bottom: 2rem;
}

.manifesto-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  max-width: 500px;
}

.evolution-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-white);
  margin-top: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .philosophy-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .philo-content {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--glass-border);
    padding-top: 3rem;
  }

  .philo-header h2 {
    text-align: center;
    font-size: 3rem;
  }

  .decorative-mark {
    left: 50%;
    transform: translateX(-50%);
  }

  .separator {
    margin: 0 auto 2rem auto;
  }

  .manifesto-text {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Footer --- */
/* --- Footer --- */
footer {
  background: rgba(2, 2, 2, 0.8);
  padding: 4rem 5%;
  border-top: 1px solid rgba(0, 255, 65, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 40px rgba(0, 255, 65, 0.02);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-left .footer-logo {
  height: 80px;
  /* Increased size */
  margin: 0;
  /* Reset margins */
  filter: none;
  /* Show original colors (Green O) */
  opacity: 1;
  /* Always fully visible */
  display: block;
}

/* Removed hover effect on logo */

.footer-center {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.footer-center a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  letter-spacing: 1px;
  position: relative;
}

.footer-center a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

.footer-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}

.social-icon:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(0, 255, 65, 0.05);
}

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 200;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  #navbar {
    padding: 0.6rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    min-height: 60px;
    /* Enforce slim height */
  }

  .logo-img {
    height: 60px;
    /* Significantly smaller */
    margin: -10px 0;
  }

  .hamburger {
    display: flex;
    /* Visible on mobile */
  }

  .nav-links {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(2, 2, 2, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    /* Reduced padding */
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    margin-top: 0;
    visibility: visible;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    margin: 0.8rem 0;
    /* Reduced margin */
    font-size: 1rem;
    width: auto;
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-links .btn-nav {
    margin: 0.8rem 0;
    padding: 0.8rem 2rem;
    font-size: 0.9rem !important;
    white-space: normal;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-center {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-left .footer-logo {
    height: 60px;
  }

  #navbar {
    padding: 1rem;
  }

  .logo-img {
    height: 90px;
    margin: -25px 0;
  }

  .nav-links {
    display: none;
  }

  #hero {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    width: 100%;
    /* Override 55% */
    max-width: 100%;
    margin-bottom: 2rem;
    padding-top: 0;
  }

  .hyper-text,
  .glitch-text {
    font-size: 2.2rem;
    /* Fix overflow */
    word-break: break-word;
  }

  .hero-subline {
    justify-content: center;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    padding: 0 1rem;
  }

  .cta-group button {
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

  .btn-primary {
    width: 100%;
  }

  .btn-secondary {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    /* Let height act naturally or capped */
    height: 45vh;
    margin-top: 2rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2rem;
  }

  /* Force 2 columns for steps on mobile with more breathing room */
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1rem;
    /* More vertical space */
  }

  .step {
    padding-top: 2.5rem;
    /* More clearance for number */
  }

  .step-num {
    font-size: 2rem;
    top: -1.5rem;
    /* Adjust number position */
  }

  /* Interactive Section Mobile Fixes */
  #interactive-model .section-title {
    font-size: 1.8rem;
    /* Smaller to prevent stacking */
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  #interactive-model .section-subline {
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    padding: 0 1rem;
    /* Prevent edge touching */
  }

  #interactive-model {
    padding: 4rem 1rem;
    /* Less padding */
  }

  /* Center align features on mobile */
  .feature-item {
    align-items: center;
    text-align: center;
  }
}

/* Form Feedback Styles */
.form-message {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 600px;
  letter-spacing: 0.5px;
}

.form-message.hidden {
  display: none;
  opacity: 0;
}

.form-message.success {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.form-message.error {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff3333;
  color: #ff3333;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* Invalid Input Shake Animation */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.input-error {
  border-color: #ff3333 !important;
  animation: shake 0.4s ease-in-out;
  background: rgba(255, 0, 0, 0.05);
}

.input-error:focus {
  border-color: #ff3333 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2) !important;
}

/* Loading State for Button */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin-btn 0.8s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin-btn {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Success View Styles */
.success-view {
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeIn 0.8s ease-out;
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--neon-green);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  color: var(--neon-green);
  margin-bottom: 1.5rem;
  animation: pulse-green 2s infinite;
}

.success-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.success-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.status-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--neon-green);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.4));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.8));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(0, 255, 65, 0.4));
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-glasses {
    animation: none;
  }

  .icon-holo::before {
    animation: none;
  }

  .btn-shine {
    animation: none;
  }

  .blink {
    animation: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure hidden works clearly */
.hidden {
  display: none !important;
}

/* Fix for Autofill Backgrounds causing white inputs */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #080808 inset !important;
  -webkit-text-fill-color: var(--text-white) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Ensure Email Input matches others specifically */
input[type="email"].cyber-input {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
}

input[type="email"].cyber-input:focus {
  border-color: var(--neon-green);
  background: rgba(0, 59, 0, 0.2);
}