/* BASE STYLES */
:root {
  --primary-color: #1A365D;
  --secondary-color: #2B6CB0;
  --accent-color: #E2E8F0;
  --text-main: #2D3748;
  --text-light: #718096;
  --bg-main: #F7FAFC;
  --bg-white: #FFFFFF;
  --border-color: #EDF2F7;
  --danger: #E53E3E;
  --success: #38A169;
  --warning: #DD6B20;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

/* HEADER & NAVIGATION */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 45px;
  width: auto;
  display: block;
}

.brand-logo:hover {
  opacity: 0.9;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

/* HERO SECTION */
.hero {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: var(--accent-color);
}

/* DISCLOSURE & RESPONSIBLE NOTES */
.disclosure-bar {
  background-color: var(--accent-color);
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.responsible-note {
  background-color: #FEFCBF;
  border-left: 4px solid var(--warning);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.responsible-note h3 {
  color: var(--warning);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* COMPARISON TABLE */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--bg-main);
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--accent-color);
  color: var(--text-main);
}

.tag.specific { background-color: #C6F6D5; color: #22543D; }
.tag.general { background-color: #BEE3F8; color: #2A4365; }

/* GRID LAYOUTS (CARDS) */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin: 2rem 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2rem 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 2rem 0; }

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-light); flex-grow: 1; }
.card-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border-color); }

/* SECTIONS */
.section { padding: 4rem 0; }
.section-alt { background-color: var(--bg-white); padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* FILTERS */
.filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

.filter-btn.active {
  background: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

/* ARTICLE LIST */
.article-list { list-style: none; }
.article-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.article-list li:last-child { border-bottom: none; }
.article-list a {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* CONTACT FORM */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
textarea.form-control { resize: vertical; min-height: 150px; }

/* CONTENT PAGES */
.content-page { padding: 4rem 0; max-width: 800px; margin: 0 auto; }
.content-page h2 { margin-top: 2rem; }
.content-page ul { margin-left: 1.5rem; margin-bottom: 1rem; color: var(--text-light); }
.content-page li { margin-bottom: 0.5rem; }

/* FOOTER */
footer {
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 { color: var(--bg-white); margin-bottom: 1rem; }
.footer-logo { max-width: 220px; margin-bottom: 1rem; display: block; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--accent-color); }
.footer-col a:hover { color: var(--bg-white); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text p { margin: 0; font-size: 0.875rem; color: var(--text-light); }

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  }
  
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2rem; }
  
  .cookie-content { align-items: center; text-align: center; }
  .cookie-buttons { justify-content: center; }
}