:root {
  --primary-blue: #345884;
  --black: #000000;
  --white: #ffffff;
  --quicksilver: #a6a6a6;
  --neon-blue: #00d4ff;
  --electric-purple: #6366f1;
  --cyber-green: #10b981;
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.1s;
  mix-blend-mode: difference;
}

.cursor-trail {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
}

/* Holographic Background */
.holo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      radial-gradient(circle at 20% 80%, var(--electric-purple) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, var(--neon-blue) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, var(--cyber-green) 0%, transparent 50%);
  opacity: 0.05;
  animation: holo-shift 20s ease-in-out infinite;
  z-index: 2;
}

@keyframes holo-shift {
  0%, 100% { transform: rotate(0deg) scale(1); }
  33% { transform: rotate(120deg) scale(1.1); }
  66% { transform: rotate(240deg) scale(0.9); }
}

/* Main Container */
.main-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 10;
}

/* Cinematic Logo Assembly */
.logo-assembly {
  position: relative;
  margin-bottom: 4rem;
  perspective: 1000px;
}

.logo-container {
  position: relative;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  animation: logo-float 9s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: rotateY(0deg) rotateX(5deg); }
  50% { transform: rotateY(360deg) rotateX(-5deg); }
}

.logo-hexagon {
  position: absolute;
  width: 200px;
  height: 173px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
      filter: brightness(1.3);
  }
  50% { 
      filter: brightness(1.8);
  }
}
.logo-hexagon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(0.1);
}

.logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 20px var(--neon-blue);
  letter-spacing: 0.2em;
}

.logo-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  animation: orbit-spin linear infinite;
}

.orbit-1 {
  width: 250px;
  height: 250px;
  margin: -125px 0 0 -125px;
  animation-duration: 20s;
}

.orbit-2 {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 350px;
  height: 350px;
  margin: -175px 0 0 -175px;
  animation-duration: 40s;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--neon-blue);
}

.orbit-1 .orbit-dot { top: -4px; left: 50%; margin-left: -4px; }
.orbit-2 .orbit-dot { top: 50%; right: -4px; margin-top: -4px; }
.orbit-3 .orbit-dot { bottom: -4px; left: 50%; margin-left: -4px; }

/* Brand Identity */
.brand-signature {
  text-align: center;
  margin-bottom: 3rem;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.8em;
  color: var(--quicksilver);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--neon-blue);
  opacity: 0.8;
  letter-spacing: 0.1em;
}

/* Cinematic Title Sequence */
.title-sequence {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.main-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--white), var(--neon-blue), var(--electric-purple));
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
  position: relative;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.subtitle {
  font-size: 1.3rem;
  color: var(--quicksilver);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

/* Futuristic Form Interface */
.interface-panel {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  box-shadow: 
      0 25px 50px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.1);
}

.interface-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.1), transparent);
  animation: scanner 3s linear infinite;
}

@keyframes scanner {
  0% { left: -100%; }
  100% { left: 100%; }
}

.panel-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.panel-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--neon-blue);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-subtitle {
  font-size: 0.9rem;
  color: var(--quicksilver);
  opacity: 0.8;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.input-group {
  position: relative;
}

.input-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--neon-blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cyber-input {
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(163, 163, 163, 0.3);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  color: var(--white);
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.6s ease;
  position: relative;
}

.cyber-input:focus {
  outline: none;
  border-color: var(--neon-blue);
  background: rgba(0,0,0,0.8);
  box-shadow: 
      0 0 20px rgba(0,212,255,0.3),
      inset 0 0 20px rgba(0,212,255,0.05);
  transform: translateY(-2px);
}

.cyber-input::placeholder {
  color: rgba(163, 163, 163, 0.5);
}

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

.quantum-button {
  width: 100%;
  background: linear-gradient(45deg, var(--primary-blue), var(--neon-blue));
  border: none;
  border-radius: 15px;
  padding: 1.2rem 2rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.quantum-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,212,255,0.4);
}

.quantum-button:hover::before {
  left: 100%;
}

.quantum-button:active {
  transform: translateY(-1px);
}

/* Terminal Output */
.terminal-output {
  background: rgba(0,0,0,0.9);
  border: 1px solid var(--cyber-green);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  display: none;
}

.terminal-line {
  margin: 0.2rem 0;
  opacity: 0;
  animation: terminal-type 0.5s ease-out forwards;
}

.terminal-line.success {
  color: var(--cyber-green);
}

.terminal-line.error {
  color: #ef4444;
}

@keyframes terminal-type {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Particle System */
.particle-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon-blue);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s linear infinite;
}

@keyframes particle-float {
  0% {
      opacity: 0;
      transform: translateY(100vh) translateX(0) scale(0);
  }
  10% {
      opacity: 1;
      transform: translateY(90vh) translateX(10px) scale(1);
  }
  90% {
      opacity: 1;
      transform: translateY(10vh) translateX(-10px) scale(1);
  }
  100% {
      opacity: 0;
      transform: translateY(0) translateX(0) scale(0);
  }
}

/* Loading State */
.loading .quantum-button {
  background: var(--quicksilver);
  cursor: not-allowed;
}

.loading .quantum-button::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .input-row {
      grid-template-columns: 1fr;
  }

  .interface-panel {
      padding: 2rem;
      margin: 0 1rem;
  }

  .logo-container {
      width: 150px;
      height: 150px;
  }

  .logo-hexagon {
      width: 150px;
      height: 130px;
  }

  .logo-text {
      font-size: 1.8rem;
  }

  .orbit-1, .orbit-2, .orbit-3 {
      width: 200px;
      height: 200px;
      margin: -100px 0 0 -100px;
  }
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitch-1 2s infinite;
  color: var(--neon-blue);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 2s infinite;
  color: #ef4444;
  z-index: -2;
}

@keyframes glitch-1 {
  0%, 14%, 15%, 49%, 50%, 99%, 100% {
      transform: translate(0);
  }
  15%, 49% {
      transform: translate(-2px, 2px);
  }
}

@keyframes glitch-2 {
  0%, 20%, 21%, 62%, 63%, 99%, 100% {
      transform: translate(0);
  }
  21%, 62% {
      transform: translate(2px, -2px);
  }
}


/* Vendors Portal */
.vendors-portal {
    position: relative;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.portal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(0,212,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: portal-pulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes portal-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.vendors-button {
    position: relative;
    display: block;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(52,88,132,0.4) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0,212,255,0.4);
    border-radius: 20px;
    padding: 1.5rem 2.5rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.1);
    z-index: 10;
}

.vendors-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), transparent);
    transition: left 0.6s ease;
}

.vendors-button:hover::before {
    left: 100%;
}

.vendors-button:hover {
    transform: translateY(-8px) rotateX(10deg);
    border-color: var(--neon-blue);
    box-shadow: 
        0 25px 50px rgba(0,212,255,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.button-icon {
    font-size: 2rem;
    animation: icon-float 2s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.sub-text {
    font-size: 0.9rem;
    color: var(--neon-blue);
    opacity: 0.8;
    font-weight: 300;
}

.button-arrow {
    font-size: 1.5rem;
    color: var(--neon-blue);
    transition: transform 0.3s ease;
}

.vendors-button:hover .button-arrow {
    transform: translateX(5px);
}

.button-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 18px;
}

.button-particles::before,
.button-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particle-dance 3s linear infinite;
}

.button-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.button-particles::after {
    top: 60%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes particle-dance {
    0%, 100% { 
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% { 
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .vendors-button {
        padding: 1.2rem 2rem;
    }

    .button-content {
        gap: 1rem;
    }

    .main-text {
        font-size: 1rem;
    }

    .sub-text {
        font-size: 0.8rem;
    }

    .button-icon {
        font-size: 1.5rem;
    }
}