/* === RESET & GLOBALS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0A0A0A;
  --text-light: #F0F0F0;
  --accent-primary: #00FFFF;
  --accent-secondary: #5E1FEE;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-weight: 700;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
p, label, input, button, a {
  font-size: 1rem;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.cta-btn {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-dark);
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  transition: 0.3s;
}

/* === BUTTONS === */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-dark);
}

.btn-primary:hover {
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

/* === FORM INPUTS === */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(94, 31, 238, 0.4);
  border-radius: 6px;
  color: var(--text-light);
  outline: none;
  transition: border-color 0.3s;
}

.form-input:focus {
  border-color: var(--accent-primary);
}

/* === CARDS & WIDGETS === */
.card {
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(94, 31, 238, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-4px);
}

/* === DATA TABLE === */
.table-container {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-light);
}

th, td {
  padding: 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
  background: rgba(0, 255, 255, 0.06);
  color: var(--accent-primary);
}

tr:nth-child(even) {
  background: rgba(30, 30, 30, 0.3);
}

/* === SIDEBAR === */
.sidebar {
  width: 240px;
  background: rgba(15, 15, 15, 0.95);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 5rem;
  border-right: 1px solid rgba(94, 31, 238, 0.2);
}

.sidebar a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.sidebar a:hover, .sidebar a.active {
  background: rgba(94, 31, 238, 0.2);
  color: var(--accent-primary);
}

.main-content {
  margin-left: 240px;
  padding: 2rem;
}

/* === LAYOUT UTILITIES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

/* === FOOTER === */
.footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    flex-direction: column;
    padding: 1rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .sidebar, .main-content {
    margin-left: 0;
    width: 100%;
    position: relative;
    height: auto;
    padding: 1rem;
  }

  .sidebar {
    position: static;
    height: auto;
    padding-top: 1rem;
    border: none;
    background: rgba(20, 20, 20, 0.8);
  }

  .main-content {
    padding: 4rem 1rem 2rem;
  }
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: .3s;
    border-radius: 12px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
    input:checked + .slider {
        background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    }
    input:checked + .slider:before {
        transform: translateX(24px);
    }