/* ======================= */
/*        Root & Base       */
/* ======================= */
:root {
  --primary: #010101;
  --secondary: #ffffff;
  --accent: #4f46e5;
  --text: #010101;
  --text-light: #666666;
  --bg: #fcfafa;
  --bg-light: #f8f8f8;
  --bg-dark: #1a1a1a;
  --border: #dddddd;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
/* ============================================
   FORM STATUS MESSAGES
============================================ */
.error-message {
  display: none;
  color: #d9534f; /* Bootstrap red */
  font-size: 0.9rem;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid #d9534f;
  border-radius: 4px;
  background-color: #f9d6d5;
}

.error-message.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.success-message {
  display: none;
  color: #28a745; /* Bootstrap green */
  font-size: 0.9rem;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid #28a745;
  border-radius: 4px;
  background-color: #d4edda;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

/* ======================= */
/*         Navbar          */
/* ======================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  cursor: pointer;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

/* Mobile menu toggle */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 30px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: all 0.3s ease;
  position: relative;
}

.hamburger::before {
  content: '';
  top: -8px;
  left: 0;
}

.hamburger::after {
  content: '';
  top: 8px;
  left: 0;
}

#menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

#menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

/* ======================= */
/*         Footer          */
/* ======================= */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 3rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--secondary);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer-section a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* ======================= */
/*      Status Messages     */
/* ======================= */
.success-message,
.error-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
  animation: slideIn 0.3s ease;
}

.success-message {
  background: #10b981;
  color: #fff;
}

.error-message {
  background: #EF4444;
  color: #fff;
}

.success-message.show,
.error-message.show {
  display: block;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======================= */
/*      Responsive          */
/* ======================= */
@media (max-width: 768px) {
  #menu-toggle {
    display: flex;
  }

  .nav-links { 
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }

  .nav-right {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Focus visibility for accessibility */
*:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* General Container */
.lead-magnet-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #2c2c2c; /* Charcoal-black */
  border-radius: 8px;
  padding: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-family: "Segoe UI", Arial, sans-serif;
  color: #ffffff; /* Default text white */
}

/* Left Column (Banner) */
.banner-column {
  flex: 1 1 45%;
  padding: 1rem;
}

.banner-column h2 {
  font-size: 1.8rem;
  color: #f1c40f; /* Yellow title */
  margin-bottom: 1rem;
}

.banner-column .guide-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff; /* White text */
  margin-bottom: 1rem;
}

.banner-column p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.banner-column .highlight {
  color: #f1c40f; /* Yellow highlight */
  font-weight: bold;
}

/* Right Column (Form) */
.form-column {
  flex: 1 1 45%;
  background: #1c1c1c; /* Darker charcoal for contrast */
  padding: 1.5rem;
  border-radius: 8px;
}

.form-column h3 {
  font-size: 1.4rem;
  color: #f1c40f; /* Yellow title */
  margin-bottom: 1rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

input[type="email"] {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #333;
  color: #ffffff;
  transition: border-color 0.3s ease;
}

input[type="email"]::placeholder {
  color: #bbbbbb;
}

input[type="email"]:focus {
  border-color: #f1c40f;
  outline: none;
}

/* Consent Label */
.consent-label {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.4;
}

.privacy-link {
  color: #f1c40f;
  text-decoration: none;
  font-weight: 600;
}

.privacy-link:hover {
  text-decoration: underline;
}


/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 0.8rem;
  background: #f1c40f; /* Yellow button */
  color: #ffffff; /* White text */
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #d4ac0d; /* Slightly darker yellow on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .lead-magnet-container {
    flex-direction: column;
  }

  .banner-column,
  .form-column {
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
  }
}

