:root {
  --primary: #0F766E;
  --secondary: #16324F;
  --accent: #F59E0B;
  --bg: #F1F7FA;
  --card: #FFFFFF;
  --border: #B7D7E8;
  --text: #102033;
  --shadow: 0 4px 6px -1px rgba(16, 32, 51, 0.1), 0 2px 4px -1px rgba(16, 32, 51, 0.06);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  color: var(--secondary);
  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;
}

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

.section {
  padding: 4rem 0;
}

/* Header */
.site-header {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #0b5a54;
  color: #fff;
}

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

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

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

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

/* Hero Section */
.hero {
  background-color: var(--secondary);
  background-image: linear-gradient(rgba(22, 50, 79, 0.85), rgba(22, 50, 79, 0.95)), url('images/dark-blue-abstract-digital-pattern.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
}

.hero-text {
  flex: 1;
}

.hero-image-wrapper {
  flex: 1;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Image Utilities */
.hero-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.feature-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.review-header-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.content-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsible Box */
.responsible-box {
  background-color: #E0F2FE;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  color: var(--secondary);
  font-size: 0.95rem;
}

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

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(16, 32, 51, 0.1);
}

.card-title {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg);
  color: var(--secondary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Dashboard & Tables */
.dashboard-wrapper {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow-x: auto;
  margin-bottom: 3rem;
}

.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);
}

.comparison-table th {
  background-color: #F8FAFC;
  color: var(--secondary);
  font-weight: 600;
}

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

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

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 20px;
  cursor: pointer;
  color: var(--text);
}

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

/* Forms */
.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);
  border-radius: 8px;
  font-family: inherit;
}

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

/* Article List */
.article-list {
  list-style: none;
}

.article-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.article-list a {
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary);
  color: #fff;
  padding: 1.5rem;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.cookie-content h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

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

/* Footer */
.site-footer {
  background-color: #0F172A;
  color: #E2E8F0;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid #334155;
}

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

.footer-brand,
.footer-heading {
  color: #38BDF8;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.footer-subtitle {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #E2E8F0;
}

.footer-col p {
  color: #E2E8F0;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #E2E8F0;
}

.footer-col a:hover {
  color: #F59E0B;
}

.footer-legal-area {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #334155;
}

.legal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.legal-card {
  background-color: rgba(15, 23, 42, 0.5);
  border: 1px solid #334155;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.legal-card:hover {
  border-color: #38BDF8;
}

.legal-card h5 {
  color: #38BDF8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.legal-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-card ul li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-card ul li:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: #E2E8F0;
  text-decoration: none;
  transition: var(--transition);
}

.legal-card a:hover {
  color: #F59E0B;
}

.footer-disclosure {
  border: 1px solid #334155;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  font-size: 0.9rem;
  color: #E2E8F0;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  color: #E2E8F0;
}

.footer-bottom-links {
  margin-top: 1rem;
}

.footer-bottom-links a {
  color: #E2E8F0;
  margin: 0 0.5rem;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #F59E0B;
}

.editorial-disclosure {
  background: var(--card);
  border: 1px dashed var(--border);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text h1, .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .comparison-table {
    display: block;
    width: 100%;
  }
  
  .cookie-banner {
    flex-direction: column;
  }
}