:root {
  --bg-color: #F5F7FA;
  --bg-secondary: #EEF2F7;
  --header-footer: #12355B;
  --primary-brand: #2A6F97;
  --accent: #FFB703;
  --accent-secondary: #6D597A;
  --success: #2A9D8F;
  --warning: #E76F51;
  --card-bg: #FFFFFF;
  --border: #D6E4F0;
  --border-hover: #2A6F97;
  --highlight-bg: #EAF4FB;
  --highlight-sec: #FFF8E8;
  --text-main: #1F2937;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;

  --btn-primary: #2A6F97;
  --btn-hover: #1F5A7C;
  --btn-secondary: #FFFFFF;
  --btn-sec-border: #BFD3E6;
  --btn-sec-hover: #FFB703;

  --radius: 20px;
  --shadow: 0 10px 30px rgba(18, 53, 91, 0.08);
  --shadow-hover: 0 15px 40px rgba(42, 111, 151, 0.15);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #000;
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

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

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--btn-hover);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 4rem 0;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

/* Header & Nav */
header {
  background-color: var(--header-footer);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-links a {
  color: #fff;
  font-weight: 500;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--btn-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--btn-hover);
  color: #fff;
}

.btn-secondary {
  background-color: var(--btn-secondary);
  color: var(--primary-brand);
  border: 1px solid var(--btn-sec-border);
}

.btn-secondary:hover {
  border-color: var(--btn-sec-hover);
  color: var(--text-main);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--header-footer);
}

.btn-accent:hover {
  background-color: #e5a500;
}

/* Hero */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--header-footer) 0%, var(--primary-brand) 100%);
  color: #fff;
  text-align: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Disclosures */
.disclosure-bar {
  background-color: var(--highlight-sec);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* Glass & Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--header-footer);
}

/* Comparison Table */
.table-responsive {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--card-bg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

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

.comparison-table th {
  background-color: var(--highlight-bg);
  color: var(--header-footer);
  font-weight: 600;
}

.comparison-table tr:hover td {
  background-color: var(--bg-secondary);
}

.icon-yes {
  color: var(--success);
  font-weight: bold;
}

.icon-no {
  color: var(--warning);
  font-weight: bold;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-dedicated { background: var(--highlight-bg); color: var(--primary-brand); }
.badge-general { background: var(--bg-secondary); color: var(--text-secondary); }

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--header-footer);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-brand);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--header-footer);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding-top: 1rem;
  margin-bottom: 0;
}

.faq-item.active .faq-content {
  max-height: 500px; /* Arbitrary large number for animation */
}

/* Footer */
footer {
  background-color: var(--header-footer);
  color: #fff;
  padding: 4rem 0 2rem;
  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: #fff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  padding: 1.5rem;
  z-index: 2000;
  transition: bottom 0.4s ease-in-out;
  border-top: 1px solid var(--border);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  flex: 1 1 300px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-btns {
  display: flex;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-footer);
    padding: 1rem 20px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  h1 { font-size: 2rem; }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-btns {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btns button {
    width: 100%;
  }
}

/* Content Pages Formatting */
.content-section {
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  margin-top: 2rem;
}

.content-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.content-section li {
  margin-bottom: 0.5rem;
}

.review-header {
  background: var(--highlight-bg);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.review-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.alert-box {
  background: var(--highlight-sec);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Print Styles */
@media print {
  header, footer, .cookie-banner, .hero, .btn {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .container {
    width: 100%;
    padding: 0;
  }
}