/* Global Styles */
body {
  font-family: "Inter", sans-serif;
  background-color: #020617;
  color: #f8fafc;
}

/* Common Components */
.glass {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
  background: linear-gradient(to right, #38bdf8, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-animate {
  background: linear-gradient(-45deg, #0c4a6e, #1e1b4b, #4c1d95, #1e293b);
  background-size: 400% 400%;
  animation: gradient-x 15s ease infinite;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: -1;
  filter: blur(60px);
}

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #38bdf8;
  transition: width 0.3s ease;
}

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

/* Cards & Interactivity */
.card-hover:hover {
  transform: translateY(-10px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px -20px rgba(14, 165, 233, 0.3);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Features Page Specific */
.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-5px);
}

.feature-card {
  transition: all 0.3s ease;
}

/* Security Page Specific */
.security-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

/* Dashboard Page Specific */
.chart-bar {
  transition: height 1s ease-in-out;
}

/* Contact Page Specific */
input,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  width: 100%;
  color: white;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  background: rgba(255, 255, 255, 0.08);
}
