/*
 * Nivara-Style Design System
 * Replicating getnivara.com aesthetics
 */

/* ========================================
   BASE & RESET
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Increase paragraph font size by 20% */
p {
  font-size: 1.2em;
}

/* Override Tailwind text-base to use 1.2rem */
.text-base {
  font-size: 1.2rem;
}

/* ========================================
   PAGE LOAD ANIMATION
   ======================================== */
.page-load-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.loaded .page-load-animation {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */
.nivara-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #676B71;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nivara-nav-link:hover {
  color: #000000;
}

/* Mobile Menu Toggle */
.nivara-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.nivara-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #000000;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nivara-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nivara-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nivara-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nivara-mobile-menu {
  display: none;
  background: #F9F9F9;
}

.nivara-mobile-menu.active {
  display: block;
}

/* ========================================
   BADGE STYLES
   ======================================== */
.nivara-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 5px 16px;
  background: #FAFAFA;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 100px;
  box-shadow: 0 1px 3px rgba(10, 10, 10, 0.04);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #676B71;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.nivara-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 20px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nivara-btn-primary:hover {
  background: #333333;
  transform: translateY(-1px);
}

.nivara-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 20px;
  background: transparent;
  color: #000000;
  border: 1px solid #E6E6E6;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nivara-btn-secondary:hover {
  background: #FAFAFA;
  border-color: #000000;
}

/* ========================================
   FEATURE CARD STYLES
   ======================================== */
.nivara-feature-card {
  background: #FFFFFF;
  border: 1.5px solid #E6E6E6;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
}

.nivara-feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.nivara-feature-card:hover {
  border-color: #CCCCCC;
  box-shadow: 0 10px 40px rgba(10, 10, 10, 0.06);
}

/* ========================================
   FOOTER LINK STYLES
   ======================================== */
.nivara-footer-link {
  font-size: 14px;
  font-weight: 400;
  color: #676B71;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nivara-footer-link:hover {
  color: #000000;
}

/* ========================================
   IMAGE STYLES
   ======================================== */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* SVG rendering optimization for mobile */
img[src$=".svg"],
img[src*=".svg"],
.logo-svg {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  perspective: 1000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Specific optimization for logo SVG */
.logo-svg {
  max-width: 114px;
  height: auto;
}

/* ========================================
   LOGO DARK GRAY OVERLAY
   ======================================== */
.logo-dark-gray {
  filter: brightness(0) saturate(100%) invert(0);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo-dark-gray:hover {
  opacity: 0.8;
}

/* ========================================
   SECTION DARK STYLES
   ======================================== */
.section-dark {
  background-color: #132d30;
}

.section-dark-text {
  color: #FFFFFF;
}

.section-dark-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.section-dark-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

/* When nivara-feature-card has section-dark-card, apply dark background */
.nivara-feature-card.section-dark-card {
  background-color: #132d30;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.section-dark-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nivara-feature-card.section-dark-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.section-dark-card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation for cards */
.nivara-feature-card:nth-child(1) {
  transition-delay: 0ms;
}

.nivara-feature-card:nth-child(2) {
  transition-delay: 100ms;
}

.nivara-feature-card:nth-child(3) {
  transition-delay: 200ms;
}

.nivara-feature-card:nth-child(4) {
  transition-delay: 300ms;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 1024px) {
  .nivara-feature-card {
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .nivara-feature-card {
    border-radius: 20px;
  }

  .nivara-badge {
    height: 28px;
    padding: 4px 12px;
    font-size: 14px;
  }

  .nivara-btn-primary,
  .nivara-btn-secondary {
    height: 36px;
    padding: 6px 16px;
    font-size: 13px;
  }
}

/* ========================================
   SELECTION STYLES
   ======================================== */
::selection {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
}

/* ========================================
   SCROLLBAR STYLES (Webkit)
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F9F9F9;
}

::-webkit-scrollbar-thumb {
  background: #E6E6E6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #CCCCCC;
}

/* ========================================
   FOCUS STYLES (Accessibility)
   ======================================== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

/* ========================================
   CONTACT MODAL STYLES
   ======================================== */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.contact-modal.active {
  display: flex;
}

.contact-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.contact-modal-content {
  position: relative;
  background: #FFFFFF;
  border-radius: 30px;
  border: 1.5px solid #E6E6E6;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  z-index: 1;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #676B71;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 10;
}

.contact-modal-close:hover {
  color: #000000;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E6E6E6;
  border-radius: 12px;
  font-size: 16px;
  font-family: "Raleway", system-ui, sans-serif;
  color: #000000;
  background: #FFFFFF;
  transition: all 0.3s ease;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

.form-consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #132d30;
}

.form-consent-label {
  flex: 1;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #676B71;
  margin: 0;
}

.form-consent-text {
  flex: 1;
  line-height: 1.5;
}

.form-consent-text a {
  color: #aad1d3;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.form-consent-text a:hover {
  color: #132d30;
}

.contact-success-message {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  animation: scaleIn 0.4s ease;
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Modal responsive adjustments */
@media (max-width: 640px) {
  .contact-modal-content {
    padding: 1.5rem;
    border-radius: 24px;
    max-height: 95vh;
  }

  .contact-modal-close {
    top: 1rem;
    right: 1rem;
  }

  .form-input,
  .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ========================================
   LANGUAGE SELECTOR STYLES
   ======================================== */
.language-selector {
  position: relative;
}

.language-toggle {
  cursor: pointer;
  user-select: none;
}

.language-toggle svg {
  transition: transform 0.3s ease;
}

.language-selector.active .language-toggle svg {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1.5px solid #E6E6E6;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(10, 10, 10, 0.1);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: #676B71;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid #F9F9F9;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: #FAFAFA;
  color: #000000;
}

.language-option.active {
  background: #FAFAFA;
  color: #000000;
}

.language-code {
  font-size: 12px;
  font-weight: 600;
  color: #676B71;
  opacity: 0.7;
}

.language-option.active .language-code {
  opacity: 1;
}

/* Mobile Language Selector */
.language-selector-mobile {
  border-top: 1px solid #E6E6E6;
  margin-top: 8px;
  padding-top: 12px;
}

.language-toggle-mobile {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.language-toggle-mobile svg {
  transition: transform 0.3s ease;
}

.language-selector-mobile.active .language-toggle-mobile svg {
  transform: rotate(180deg);
}

.language-dropdown-mobile {
  padding-left: 16px;
}

.language-option-mobile {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.language-option-mobile:hover,
.language-option-mobile.active {
  color: #000000;
  font-weight: 500;
}

/* ========================================
   BEFORE & AFTER COMPARISON SLIDER
   ======================================== */
.before-after-comparison {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  cursor: col-resize;
}

@media (min-width: 1024px) {
  .comparison-container {
    height: 650px;
  }
}

.comparison-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-before {
  z-index: 1;
}

.comparison-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #FFFFFF;
  z-index: 3;
  transform: translateX(-50%);
  cursor: col-resize;
  transition: background-color 0.2s ease;
}

.comparison-slider:hover {
  background: rgba(255, 255, 255, 0.9);
}

.comparison-slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #FFFFFF;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.comparison-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #132d30;
  user-select: none;
}

.comparison-slider-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.comparison-slider-handle {
  flex-direction: row;
  gap: 2px;
}

.comparison-slider-handle svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
  flex-shrink: 0;
}

/* Arrow indicators */
.comparison-slider-handle::before,
.comparison-slider-handle::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  pointer-events: none;
}

.comparison-slider-handle::before {
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 8px 6px 0;
  border-color: transparent #132d30 transparent transparent;
}

.comparison-slider-handle::after {
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #132d30;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .comparison-container {
    height: 300px;
  }

  .comparison-slider-handle {
    width: 40px;
    height: 40px;
  }

  .comparison-slider-handle svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-load-animation {
    opacity: 1;
    transform: none;
  }

  .nivara-feature-card {
    opacity: 1;
    transform: none;
  }

  .contact-modal-overlay,
  .contact-modal-content,
  .success-icon {
    animation: none;
  }

  .comparison-slider-handle {
    transition: none;
  }
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #FFFFFF;
  border-top: 1px solid #E6E6E6;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}

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

.cookie-consent-content {
  max-width: 1400px;
  margin: 0 auto;
}

.cookie-consent-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cookie-consent-title {
  font-family: "Richmond", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  color: #132d30;
  margin: 0;
  line-height: 1.2;
}

.cookie-consent-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #676B71;
  transition: color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.cookie-consent-close:hover {
  color: #132d30;
}

.cookie-consent-description {
  font-size: 16px;
  line-height: 1.5;
  color: #676B71;
  margin-bottom: 24px;
}

.cookie-consent-categories {
  margin-bottom: 24px;
}

.cookie-consent-category {
  padding: 16px;
  background: #F9F9F9;
  border: 1px solid #E6E6E6;
  border-radius: 12px;
  margin-bottom: 12px;
}

.cookie-consent-category:last-child {
  margin-bottom: 0;
}

.cookie-consent-category-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-consent-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-consent-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E6E6E6;
  transition: 0.3s;
  border-radius: 28px;
}

.cookie-consent-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-consent-checkbox:checked + .cookie-consent-toggle-slider {
  background-color: #aad1d3;
}

.cookie-consent-checkbox:checked + .cookie-consent-toggle-slider:before {
  transform: translateX(20px);
}

.cookie-consent-checkbox:disabled + .cookie-consent-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-consent-category-info {
  flex: 1;
}

.cookie-consent-category-name {
  display: block;
  font-family: "Richmond", Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
  color: #132d30;
  margin-bottom: 4px;
}

.cookie-consent-category-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #676B71;
  margin: 0;
}

.cookie-consent-required-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #132d30;
  background: #f4f2dc;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-consent-links {
  margin-bottom: 24px;
}

.cookie-consent-link {
  color: #aad1d3;
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.2s ease;
}

.cookie-consent-link:hover {
  color: #132d30;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-consent-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Raleway", system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  flex: 1;
  min-width: 120px;
}

.cookie-consent-btn-primary {
  background-color: #132d30;
  color: #FFFFFF;
  border-color: #132d30;
}

.cookie-consent-btn-primary:hover {
  background-color: #1a3d42;
  border-color: #1a3d42;
}

.cookie-consent-btn-secondary {
  background-color: #FFFFFF;
  color: #132d30;
  border-color: #E6E6E6;
}

.cookie-consent-btn-secondary:hover {
  background-color: #F9F9F9;
  border-color: #132d30;
}

/* Cookie Consent Modal */
.cookie-consent-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

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

.cookie-consent-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.cookie-consent-modal-content {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUpModal 0.3s ease-out;
}

@keyframes slideUpModal {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.cookie-consent-modal-title {
  font-family: "Richmond", Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 600;
  color: #132d30;
  margin: 0;
  line-height: 1.2;
}

.cookie-consent-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #676B71;
  transition: color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.cookie-consent-modal-close:hover {
  color: #132d30;
}

.cookie-consent-modal-description {
  font-size: 16px;
  line-height: 1.5;
  color: #676B71;
  margin-bottom: 32px;
}

.cookie-consent-modal-categories {
  margin-bottom: 32px;
}

.cookie-consent-modal-category {
  padding: 20px;
  background: #F9F9F9;
  border: 1px solid #E6E6E6;
  border-radius: 12px;
  margin-bottom: 16px;
}

.cookie-consent-modal-category:last-child {
  margin-bottom: 0;
}

.cookie-consent-modal-category-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-consent-modal-category-info {
  flex: 1;
}

.cookie-consent-modal-category-name {
  display: block;
  font-family: "Richmond", Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  color: #132d30;
  margin-bottom: 6px;
}

.cookie-consent-modal-category-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #676B71;
  margin: 0;
}

.cookie-consent-modal-links {
  margin-bottom: 32px;
}

.cookie-consent-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cookie Settings Link */
.cookie-settings-link {
  color: #aad1d3;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 14px;
}

.cookie-settings-link:hover {
  color: #132d30;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 20px 16px;
  }

  .cookie-consent-title {
    font-size: 20px;
  }

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

  .cookie-consent-btn {
    width: 100%;
  }

  .cookie-consent-modal-content {
    padding: 24px 20px;
  }

  .cookie-consent-modal-title {
    font-size: 24px;
  }

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

  .cookie-consent-modal-actions .cookie-consent-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .cookie-consent-category-header {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-consent-toggle {
    align-self: flex-start;
  }

  .cookie-consent-modal-category-header {
    flex-direction: column;
    gap: 12px;
  }
}
