/* =============================================
   CyberToolkit Pro — Shared Stylesheet
   Used by: index.php, privacy.php, terms.php
   ============================================= */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0b0f1c;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e8edf2;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Focus States (Accessibility) --- */
a:focus-visible,
button:focus-visible,
.btn-primary-glow:focus-visible,
.btn-outline-light:focus-visible,
.tool-link:focus-visible,
.nav-links a:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.navbar-bordered {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 50px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: white;
  text-decoration: none;
}

.logo i {
  font-size: 1.6rem;
  color: #3b82f6;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.logo-large {
  font-size: 1.8rem;
}

.logo-large i {
  font-size: 2rem;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.6));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
}

.nav-links a {
  color: #b0c4de;
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: white;
}

.back-link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s;
}

.back-link:hover {
  color: white;
}

/* --- Buttons --- */
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 22px;
  border-radius: 40px;
  color: white;
  background: transparent;
  font-weight: 600;
  transition: 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-primary-glow {
  background: #2563eb;
  border: none;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
  transition: all 0.25s;
  letter-spacing: 0.3px;
}

.btn-primary-glow:hover {
  background: #3b82f6;
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.6);
  transform: translateY(-1px);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #6b7280;
  font-size: 0.9rem;
}

.footer-centered {
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer a {
  color: #9ca3af;
  text-decoration: none;
  margin: 0 6px;
}

.footer a:hover {
  color: white;
}

/* --- Page Content (Privacy / Terms) --- */
.page-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.last-updated {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.page-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #f1f5f9;
}

.page-content p,
.page-content li {
  color: #b0c4de;
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content a {
  color: #93c5fd;
  text-decoration: underline;
}

/* --- Highlight Box (Terms warning) --- */
.highlight-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
}

.highlight-box p {
  color: #fca5a5;
  margin-bottom: 0;
  font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .page-content h1 {
    font-size: 1.7rem;
  }

  .navbar {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}