:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --accent-color: #ef4444;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --background-light: #f9fafb;
  --white: #ffffff;
  --border-color: #e5e7eb;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 2rem 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.logo {
  width: 60px;
  height: 60px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  font-weight: 500;
}

.back-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.content-section {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.content-section h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.highlight-box {
  background-color: var(--background-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.contact-info {
  background-color: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.contact-info h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-text {
  max-width: 400px;
}

.footer-phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-phone:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 2px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cookie-banner-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.cookie-banner-text a:hover {
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-btn-accept {
  background-color: var(--primary-color);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: var(--primary-dark);
}

.cookie-btn-reject {
  background-color: var(--text-gray);
  color: var(--white);
}

.cookie-btn-reject:hover {
  background-color: #4b5563;
}

.cookie-btn-customize {
  background-color: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.cookie-btn-customize:hover {
  background-color: var(--background-light);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-gray);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: var(--text-dark);
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.2s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.cookie-slider.disabled {
  background-color: #e5e7eb;
  cursor: not-allowed;
}

.cookie-category-description {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0;
}

.cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .main-content {
    padding: 2rem 0;
  }
  
  .content-section {
    padding: 1.5rem;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-modal {
    padding: 1rem;
  }
  
  .cookie-modal-content {
    padding: 1.5rem;
  }
  
  .cookie-modal-actions {
    flex-direction: column;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.75rem;
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
  
  .content-section {
    padding: 1rem;
  }
  
  .highlight-box {
    padding: 1rem;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}