:root {
  --color-primary: #c00;
  --color-primary-dark: #900;
  --color-secondary: #ffc107;
  --color-text: #222;
  --color-bg-alt: #f8f9fa;
  --max-width: 72rem;
  --transition: 0.3s ease;
}

/* Reset & Basics */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; line-height: 1.6; color: var(--color-text); overflow-x: hidden; }

/* Header & Nav: NON-STICKY and proper layering */
header { 
  background: #fff; 
  border-bottom: 2px solid var(--color-primary); 
  position: relative; /* Fixed: Not sticky as requested */
  z-index: 2000; 
}
.header-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 1rem; }
.site-logo { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); text-decoration: none; }

/* Mobile Menu Toggle + Close Icon */
.menu-toggle { display: none; }
.burger-icon { cursor: pointer; font-size: 1.5rem; display: none; user-select: none; }
.menu-toggle:checked ~ .burger-icon::before { content: "✕"; } /* Close Icon */
.menu-toggle:not(:checked) ~ .burger-icon::before { content: "☰"; } /* Hamburger Icon */

.nav-list { display: flex; list-style: none; gap: 1.5rem; }
.nav-link { font-weight: 600; text-decoration: none; color: var(--color-text); }
.nav-link:hover { color: var(--color-primary); }

/* Mobile Overlay Logic */
@media (max-width: 768px) {
  .burger-icon { display: block; position: relative; z-index: 2001; }
  .nav-list {
    display: none; position: absolute; top: 70px; left: 0; width: 100%;
    background: white; flex-direction: column; padding: 1.5rem; border-bottom: 1px solid #ddd;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); z-index: 1999;
  }
  .menu-toggle:checked ~ .nav-list { display: flex; }
}

/* Main Content & Hero Section */
main { max-width: var(--max-width); margin: 0 auto; padding: 2.5rem 1rem; position: relative; z-index: 1; }
.hero { 
  background: var(--color-bg-alt); padding: 4rem 2rem; text-align: center; border-radius: 8px; margin-bottom: 3rem;
  border-left: 8px solid var(--color-primary); position: relative; z-index: 1; 
}
.hero .cta-button { 
  display: inline-block; background: var(--color-primary); color: #fff; 
  padding: 0.8rem 2rem; border-radius: 4px; text-decoration: none; font-weight: bold; margin-top: 1rem;
}

/* Breadcrumbs */
.breadcrumbs { font-size: 0.9rem; margin-bottom: 1.5rem; color: #666; }
.breadcrumbs a { color: var(--color-primary); text-decoration: none; }
.breadcrumbs span { margin: 0 0.5rem; opacity: 0.5; }

/* Comparison Table */
.table-container { overflow-x: auto; margin: 2rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 1rem; border: 1px solid #ddd; text-align: left; }
th { background: #f4f4f4; font-weight: bold; }

/* Callouts */
.callout { padding: 1.5rem; margin: 2rem 0; border-radius: 4px; border-left: 5px solid; }
.callout.tip { background: #e7f3ef; border-color: #28a745; }
.callout.warning { background: #fff4e5; border-color: var(--color-secondary); }

/* Interactive Tabs */
.tabs { display: flex; flex-wrap: wrap; margin: 2rem 0; }
.tabs label { order: 1; padding: 1rem 2rem; cursor: pointer; background: #eee; margin-right: 0.2rem; font-weight: bold; border-radius: 4px 4px 0 0; }
.tabs .tab-content { order: 2; width: 100%; display: none; padding: 2rem; border: 1px solid #eee; background: #fff; }
.tabs input[type="radio"] { display: none; }
.tabs input[type="radio"]:checked + label { background: #fff; border: 1px solid #eee; border-bottom: 2px solid #fff; color: var(--color-primary); margin-bottom: -1px; z-index: 2; }
.tabs input[type="radio"]:checked + label + .tab-content { display: block; }

/* Checklist */
.checklist { list-style: none; }
.checklist li::before { content: "✓"; color: #28a745; font-weight: bold; margin-right: 1rem; }

/* ... (Keep your existing :root and Reset & Basics) ... */

/* DROPDOWN LOGIC */
.dropdown { position: relative; }
.dropdown-check { display: none; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0.5rem 0;
  border-top: 2px solid var(--color-primary);
  z-index: 3000;
}
.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.95rem;
  transition: background var(--transition);
}
.dropdown-menu li a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

/* Desktop Hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu { display: block; }
  .dropdown label { cursor: default; }
}

/* Mobile Dropdown Click */
@media (max-width: 768px) {
  .dropdown-menu { position: static; box-shadow: none; border-left: 2px solid #eee; margin-left: 1rem; }
  .dropdown-check:checked ~ .dropdown-menu { display: block; }
  .dropdown label { cursor: pointer; display: block; width: 100%; }
}

/* FOOTER STYLING */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 5rem 1rem 2rem;
  margin-top: 5rem;
  border-top: 4px solid var(--color-primary);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Emphasis on brand mission */
  gap: 4rem;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

footer strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}
footer p { color: #aaa; font-size: 0.95rem; line-height: 1.7; }

.footer-nav ul { list-style: none; }
.footer-nav a {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}