@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Rajdhani:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600&display=swap");

/* ===== CSS VARIABLES ===== */
:root {
  --black: #0a0b0d;
  --dark: #111318;
  --dark2: #181b22;
  --dark3: #1f2330;
  --panel: #232837;
  --border: #2e3448;
  --gold: #d4a017;
  --gold2: #f0c040;
  --gold-dim: #7a5c0d;
  --red: #c0392b;
  --red2: #e74c3c;
  --text: #c8cdd8;
  --text-dim: #6b7490;
  --white: #f0f2f8;
  --cyan: #00d4ff;
  --cyan2: #00d5ffb9;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: bold; /* or 700 */
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  /* background-color: var(--black); */
  background-image: url("/assets/HelpScreen.png");
  background-size: cover;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
}
ul {
  list-style: none;
}

/* ===== NOISE TEXTURE OVERLAY ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* background: rgba(10, 11, 13, 0.92); */
  background-image: url("/assets/HelpScreen.png");
  background-size: cover;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span {
  color: var(--white);
}
.nav-logo img {
  color: var(--red2);
  width: 240px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  padding: 6px 16px;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  border-radius: 3px;
  border-bottom: none !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
  color: #ffff !important;
}

.btnSignIn {
  background: var(--red2) !important;
  padding: 5px 18px !important;
}
.btnSignIn:hover {
  background: var(--red) !important;
  color: var(--text) !important;
}

.btnSignUp {
  background: var(--cyan) !important;
  padding: 5px 30px !important;
}
.btnSignUp:hover {
  background: var(--cyan2) !important;
  color: var(--text) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  display: block;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  text-align: center;
}
.section-title .accent {
  color: var(--gold);
}
.section-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-align: center;
}
.divider {
  width: 100%;
  height: 3px;
  background: var(--gold);
  margin: 14px 0 40px;
}

/* ===== BUTTONS ===== */
.btn {
  /* display: inline-flex; */
  align-items: center;
  gap: 8px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 2px;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(212, 160, 23, 0.1);
}
.btn-red {
  background: var(--red2);
  color: #fff;
}
.btn-red:hover {
  background: #c0392b;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  margin-top: 80px;
  /* background: var(--dark); */
  background: transparent;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .brand-name {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 280px;
}
.footer-col h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2ecc71;
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  z-index: 9000;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 360px;
}
.toast.show {
  transform: translateX(0);
}
.toast.error {
  border-left-color: var(--red2);
}
.toast.success {
  border-left-color: #2ecc71;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
    border-bottom: none;
    border-top: 1px solid var(--border);
    width: 100%;
  }
  .hamburger {
    display: flex;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
