/* --- Variables & Reset --- */
:root {
  --primary-color: #6366f1; /* Indigo */
  --text-main: #f8fafc;
  --bg-glass: rgba(15, 23, 42, 0.8); /* Dark slate with transparency */
  --transition: all 0.3s ease;
  --accent-color: #00ffcc; /* Sleek tech accent color */
}

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

/* --- Base Styles --- */
body {
  background-color: #0a0a0a; /* Deep dark background */
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  position: relative;
}

/* Subtle background glow for depth */
body::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 204, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(10px); /* The "Glass" effect */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
}

.code-bracket {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

/* --- Base / Deselected State --- */
/* --- Navigation Links (Same in ALL files) --- */
.nav-link {
  display: inline-block;
  padding: 0.5rem 0; /* Remove horizontal padding, handled by min-width */
  min-width: 100px;  /* Forces every button box to be the exact same width */
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600; 
  
  /* The "Invisible Box" skeleton */
  border: 1px solid transparent; 
  background: transparent;
  
  color: var(--text-main);
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* --- Hover State --- */
.nav-link:not(.active):hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- The Active State (Standardized) --- */
.nav-link.active {
  opacity: 1 !important;
  color: var(--primary-color) !important;
  background: rgba(99, 102, 241, 0.1); 
  border: 1px solid var(--primary-color) !important; 
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-cta {
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

/* --- Hero / Main Container --- */
.container {
  padding: 20px;
  max-width: 600px;
  animation: fadeIn 1.5s ease-in-out;
}

.status-tag {
  display: inline-block;
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffffff, #888888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 1.2rem;
  color: #a0a0a0;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* --- Links Section --- */
.links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid #333;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.links a:hover {
  background-color: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

/* --- Animations & Media Queries --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Add a hamburger menu logic here */
  }
}