/* Design system for Veinbit - Futuristic Premium Tech */

:root {
  --neon-blue: #00E5FF;
  --electric-purple: #7B61FF;
  --deep-black: #050505;
  --dark-gray: #0a0a0a;
  --glass-bg: rgba(10, 10, 10, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --soft-cyan: rgba(0, 229, 255, 0.2);
  --soft-purple: rgba(123, 97, 255, 0.2);
  --font-heading: 'Orbitron', sans-serif; /* Futuristic tech font */
  --font-body: 'Inter', sans-serif; /* Clean modern sans-serif */
}

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

body {
  background-color: var(--deep-black);
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.glow-text {
  transition: text-shadow 0.3s ease;
}

.glow-text:hover {
  text-shadow: 0 0 15px var(--neon-blue), 0 0 30px var(--soft-cyan);
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
  color: #d1d1d1;
}

/* Glassmorphism */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Layout */
section {
  min-height: 100vh;
  padding: 8rem 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(90deg, var(--neon-blue), var(--electric-purple));
  color: #fff;
  box-shadow: 0 0 15px var(--soft-cyan);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px var(--neon-blue), 0 0 50px var(--electric-purple);
}

.btn-outline {
  background: transparent;
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.btn-outline:hover {
  background: var(--neon-blue);
  color: var(--deep-black);
  box-shadow: 0 0 20px var(--neon-blue);
}

/* Grid system for Core Tech */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* Animations Utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* Specific Section Styles */
#hero {
  text-align: center;
  background-image: 
    radial-gradient(circle at center, transparent 0%, var(--deep-black) 90%),
    url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, var(--deep-black) 100%);
  pointer-events: none;
}

.hero-content h1 {
  font-size: 4rem;
  background: linear-gradient(90deg, #fff, var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

/* Timeline */
.timeline-container {
  position: relative;
  padding: 4rem 0;
  display: flex;
  align-items: center;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%; /* Will animate from JS */
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--electric-purple));
  box-shadow: 0 0 10px var(--neon-blue);
}

.timeline-nodes {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  width: 15%;
}

.node-dot {
  width: 20px;
  height: 20px;
  background: var(--deep-black);
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-blue);
  transition: all 0.3s ease;
}

.timeline-node:hover .node-dot {
  transform: scale(1.5);
  background: var(--neon-blue);
  box-shadow: 0 0 30px var(--neon-blue);
}

.node-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-align: center;
  color: #fff;
}

/* Use Case Carousel */
.carousel-container {
  overflow: hidden;
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  width: fit-content;
}

.use-case-card {
  width: 300px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  transition: all 0.5s ease;
  cursor: pointer;
}

.use-case-card:hover {
  transform: scale(1.1) translateY(-10px);
  border-color: var(--neon-blue);
  box-shadow: 0 10px 40px var(--soft-cyan);
}

/* Form Elements */
.form-group {
  width: 100%;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus, 
.form-group textarea:focus {
  border-color: var(--neon-blue);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--deep-black);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease;
}

#loader::after {
  content: "VEINBIT";
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--neon-blue);
  letter-spacing: 5px;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.3; text-shadow: 0 0 5px var(--neon-blue); }
  100% { opacity: 1; text-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue); }
}

.tech-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.icon-box {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid var(--soft-cyan);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  transition: all 0.3s ease;
}

.tech-card:hover .icon-box {
  box-shadow: 0 0 40px var(--neon-blue);
  background: rgba(123, 97, 255, 0.2);
}

.icon-box img {
  filter: drop-shadow(0 0 10px var(--neon-blue));
}
