

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.98);
  border-top: 2px solid var(--c-accent);
  padding: var(--space-4) var(--space-3);
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-fg);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  flex: 1;
  max-width: 600px;
}

.cookie-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-1);
  letter-spacing: 0.05em;
}

.cookie-text {
  color: var(--c-muted);
  margin-bottom: var(--space-2);
}

.cookie-text a {
  color: var(--c-accent);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-text a:hover {
  opacity: 0.8;
}

.cookie-controls {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--c-accent);
  background: transparent;
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.cookie-btn:hover {
  background: var(--c-accent);
  color: var(--c-bg);
}

.cookie-btn.primary {
  background: var(--c-accent);
  color: var(--c-bg);
  border-color: var(--c-accent);
}

.cookie-btn.primary:hover {
  background: transparent;
  color: var(--c-accent);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: var(--space-3);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-content {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-fg);
  margin-bottom: var(--space-3);
  letter-spacing: 0.05em;
}

.cookie-category {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--c-border);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  cursor: pointer;
}

.cookie-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--c-accent);
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-category-name {
  font-weight: 700;
  color: var(--c-fg);
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-left: 28px;
  line-height: 1.5;
}

.cookie-modal-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.cookie-modal-actions button {
  flex: 1;
  min-width: 120px;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--c-accent);
  background: transparent;
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.cookie-modal-actions button:hover {
  background: var(--c-accent);
  color: var(--c-bg);
}

.cookie-modal-actions button.primary {
  background: var(--c-accent);
  color: var(--c-bg);
  border-color: var(--c-accent);
}

.cookie-modal-actions button.primary:hover {
  background: transparent;
  color: var(--c-accent);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
  }

  .cookie-controls {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-modal-content {
    padding: var(--space-3);
    max-width: 90vw;
  }

  .cookie-modal-title {
    font-size: 1.2rem;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-actions button {
    min-width: unset;
  }
}


/* wh-elem-contrast */
/* Auto: element text failed 4.5:1 against its resolved background. */
.legal-notice > strong { color: #81819f !important; }
.intro-point > span { color: #55556c !important; }
.intro-point strong { color: #55556c !important; }
.timeline-content > p { color: #545457 !important; }
.timeline-content strong { color: #545457 !important; }
.blog-card .blog-excerpt { color: #81819f !important; }

/* wh-img-fill */
.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* wh-elem-contrast */
/* Auto: element text failed 4.5:1 against its resolved background. */
.legal-notice > strong { color: #81819f !important; }
.intro-point > span { color: #55556c !important; }
.intro-point strong { color: #55556c !important; }
.product-card .product-desc { color: #81819f !important; }
.pricing-card .pricing-desc { color: #81819f !important; }
.blog-card .blog-date { color: #81819f !important; }
.timeline-content > p { color: #545457 !important; }
.timeline-content strong { color: #545457 !important; }
.blog-card .blog-excerpt { color: #81819f !important; }
