@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --bg-main: #14151a;
  --bg-secondary: #1a1c23;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --text-main: #d1d5db;
  --text-muted: #8b929e;
  --accent-primary: #818cf8;
  --accent-secondary: #6366f1;
  --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(129, 140, 248, 0.3);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Outfit', sans-serif;
}

/* Typography Enhancements */
.text-muted {
  color: var(--text-muted) !important;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Navbar */
.navbar {
  background: rgba(6, 7, 10, 0.7) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: var(--text-main) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--accent-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Buttons */
.btn-primary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main) !important;
  font-weight: 500;
  border-radius: 8px;
  padding: 10px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Form Controls */
.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--border-focus);
  color: var(--text-main);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Custom Underline styling replacement */
.underline_vc {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.underline_vc::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0.5;
}

/* Icons */
.bs-icon {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--accent-primary) !important;
  border: 1px solid var(--border-light);
  box-shadow: none;
}

.icon-tabler {
  stroke: var(--accent-primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-primary);
}

/* Custom Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.hero-img {
  animation: float 6s ease-in-out infinite;
}

.glow-box {
  position: relative;
}

.glow-box::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: var(--accent-gradient);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.15;
  border-radius: inherit;
  transition: opacity 0.3s ease;
}

.glow-box:hover::before {
  opacity: 0.25;
}
