/* ========== css/style.css ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0c1a;
  color: #e0e5f0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Dark tech grid overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* ===== GLASSMORPHISM & CARDS ===== */
.glass-dark {
  background: rgba(10, 20, 40, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(0, 255, 255, 0.2);
}

.glass-card {
  background: rgba(15, 25, 45, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 230, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 20px 30px -12px #00000080, 0 0 0 1px rgba(0, 255, 255, 0.1) inset;
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: #00f7ff;
  box-shadow: 0 25px 40px -12px #00ffff40, 0 0 25px #00e0ff40;
  transform: translateY(-6px);
}

/* ===== TYPOGRAPHY & GLOW ===== */
.glow-text {
  text-shadow: 0 0 10px cyan, 0 0 20px #00b7ff, 0 0 30px #0044ff;
  color: #fff;
}

.neon-border {
  border: 1px solid #00ffff;
  box-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(8, 12, 25, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #a5f0ff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.8rem;
}

.nav-link {
  color: #cdd9ff !important;
  font-weight: 500;
  margin: 0 8px;
  transition: all 0.2s;
  position: relative;
}

.nav-link:hover {
  color: #00f2ff !important;
  text-shadow: 0 0 8px cyan;
}

.nav-link.active {
  color: #00f2ff !important;
  text-shadow: 0 0 8px cyan;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: cyan;
  border-radius: 50%;
  box-shadow: 0 0 10px cyan;
}

.dropdown-menu {
  background: #0f172a;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.dropdown-item {
  color: #b1c5ff;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: #1e2b4a;
  color: white;
  padding-left: 25px;
}

/* ===== BUTTONS ===== */
.btn-glow {
  background: transparent;
  border: 1px solid #00ffff;
  color: #00ffff;
  box-shadow: 0 0 15px #00ffff80;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-glow:hover {
  background: #00ffff;
  color: #0a0c1a;
  box-shadow: 0 0 30px cyan, 0 0 60px cyan;
  transform: translateY(-3px);
}

.btn-glow::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;
}

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

.btn-outline-info {
  border-color: #00ffff;
  color: #00ffff;
}

.btn-outline-info:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: #00ffff;
  box-shadow: 0 0 20px cyan;
}

/* ===== HERO SECTION ===== */
.hero-bg {
  background: radial-gradient(circle at 30% 40%, #1a2f5f 0%, #030615 100%);
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Floating particles */
.floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: cyan;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 10s infinite ease-in-out;
  box-shadow: 0 0 15px cyan;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-30px) translateX(-10px); }
  75% { transform: translateY(-15px) translateX(5px); }
}

/* ===== WORKFLOW ===== */
.workflow-preview .badge {
  background: rgba(0, 20, 40, 0.8) !important;
  border: 1px solid rgba(0, 255, 255, 0.3);
  font-size: 1rem;
  padding: 15px 20px !important;
  border-radius: 50px;
  transition: all 0.3s;
}

.workflow-preview .badge:hover {
  border-color: cyan;
  box-shadow: 0 0 20px cyan;
  transform: scale(1.05);
}

/* Pulse dot for workflow page */
.pulse-dot {
  width: 16px;
  height: 16px;
  background: #0ff;
  border-radius: 50%;
  box-shadow: 0 0 20px #0ff;
  animation: pulse 1.8s infinite;
  margin: 0 auto;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* ===== TECH BADGES ===== */
.tech-badge {
  background: rgba(0, 30, 50, 0.7);
  backdrop-filter: blur(5px);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s;
  cursor: default;
}

.tech-badge:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: cyan;
  box-shadow: 0 0 20px cyan;
  transform: scale(1.05);
}

/* ===== TEAM CARDS ===== */
.team-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid cyan;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
  transition: all 0.3s;
}

.team-img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px cyan;
}

/* ===== FORMS ===== */
.form-control {
  background: rgba(10, 20, 30, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: white;
  border-radius: 15px;
  padding: 12px 20px;
}

.form-control:focus {
  background: rgba(20, 30, 50, 0.9);
  border-color: cyan;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  color: white;
}

.form-control::placeholder {
  color: rgba(200, 220, 255, 0.5);
}

/* ===== FOOTER ===== */
.footer-bg {
  background: #030514;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .display-2 {
    font-size: 3rem;
  }
  
  .workflow-preview {
    flex-direction: column;
    align-items: center !important;
  }
  
  .workflow-preview .badge {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  
  .glass-card {
    border-radius: 20px;
  }
}

@media (max-width: 576px) {
  .display-2 {
    font-size: 2.5rem;
  }
  
  .btn-lg {
    padding: 10px 20px !important;
    font-size: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

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

::-webkit-scrollbar-track {
  background: #0a0c1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00ffff, #0044ff);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #00ffff, #8800ff);
}