:root {
  --bg-dark: #0A0A0F;
  --surface: #13131D;
  --surface-alt: #1A1A27;
  --border: #262638;
  --border-light: rgba(255, 255, 255, 0.08);
  --accent: #FF3366;
  --accent-hover: #FF527D;
  --accent-gradient: linear-gradient(135deg, #FF3366 0%, #FF6584 100%);
  --accent-glow: rgba(255, 51, 102, 0.25);
  --text-primary: #FFFFFF;
  --text-secondary: #A2A2BC;
  --text-muted: #6C6C86;
  --radius: 18px;
  --radius-sm: 10px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background Atmosphere Glow */
body::before {
  content: "";
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.13) 0%, rgba(10, 10, 15, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Header & Sticky Navbar */
header.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  z-index: 1001;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.brand span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.btn-nav-action {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: var(--transition);
}

.btn-nav-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.4);
}

/* Mobile Hamburger Button */
.menu-toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  transition: var(--transition);
}

.menu-toggle:hover {
  border-color: var(--accent);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-primary);
  transition: var(--transition);
}

/* Mobile Menu Backdrop & Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 71px;
  left: 0;
  right: 0;
  background: #11111B;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 30px;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.85);
  animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-drawer.open {
  display: flex;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.mobile-link:active,
.mobile-link:hover,
.mobile-link.active {
  background: rgba(255, 51, 102, 0.1);
  color: #fff;
  border-color: rgba(255, 51, 102, 0.3);
}

.mobile-link .icon {
  font-size: 18px;
}

/* Container */
.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 80px;
  flex: 1;
}

/* Content Card */
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}

/* Typography in documents */
h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.25;
}

.subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: #fff;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.68;
}

ul, ol {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

strong {
  color: #fff;
}

/* Responsive Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 500px;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--surface-alt);
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
}

td {
  color: var(--text-secondary);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

input, select, textarea {
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
  transition: var(--transition);
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.15);
}

/* Alert Boxes */
.alert-box {
  background: rgba(255, 51, 102, 0.08);
  border: 1px solid rgba(255, 51, 102, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 14px;
  color: #FF94B0;
  line-height: 1.55;
}

.alert-box.success {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
  color: #86EFAC;
}

/* Buttons */
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(255, 51, 102, 0.45);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  background: rgba(10, 10, 15, 0.5);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 13px;
}

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

/* ==========================================================================
   MOBILE RESPONSIVE BREAKPOINT (Max-Width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide horizontal desktop links */
  }

  .menu-toggle {
    display: flex; /* Show modern hamburger */
  }

  .navbar {
    padding: 14px 18px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    font-size: 20px;
  }

  .container {
    padding: 24px 14px 60px;
  }

  .content-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
    margin: 26px 0 10px;
  }

  p, ul, ol {
    font-size: 14.5px;
  }

  .footer-links {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }
}
