/* Atoll Architect Design System - Static Pages */

:root {
  /* Atoll Theme - Primary: Deep Ocean (#0F2742), Secondary: Reef Teal (#21B6A8) */
  
  /* Primary Colors */
  --aa-primary: #0F2742;
  --aa-primary-light: #173b63;
  --aa-primary-lighter: #1e4573;
  --aa-primary-hover: #173b63;
  --aa-primary-active: #0c1f35;
  
  /* Secondary/Highlight Colors */
  --aa-secondary: #21B6A8;
  --aa-secondary-hover: #1a9286;
  --aa-secondary-light: #34D6C8;
  
  /* Neutral Colors */
  --aa-bg: #f8fafc;
  --aa-text: #0f172a;
  --aa-muted: #64748b;
  --aa-accent: #21B6A8;
  --aa-border: #e2e8f0;
  --aa-surface: #ffffff;

  /* Semantic Colors */
  --aa-success: #22c55e;
  --aa-warning: #f59e0b;
  --aa-error: #ef4444;
  --aa-info: #21B6A8;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--aa-text);
  background: var(--aa-bg);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--aa-primary);
  color: white;
  padding: 0.5rem;
  text-decoration: none;
  border-radius: 0.25rem;
  z-index: 100;
  font-size: 0.875rem;
  font-weight: 500;
}

.skip-link:focus {
  top: 6px;
}

/* Focus Styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--aa-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--aa-primary-hover);
  text-decoration: underline;
}

/* Selection */
::selection {
  background: rgba(14, 116, 144, 0.2);
  color: var(--aa-text);
}

::-moz-selection {
  background: rgba(14, 116, 144, 0.2);
  color: var(--aa-text);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--aa-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--aa-border);
  border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--aa-muted);
}

/* Legal Pages Styles */
.legal-page {
  padding: 10rem 0 4rem;
  min-height: 100vh;
  background: #111827;
  color: #e2e8f0;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #21B6A8; /* Reef Teal from theme */
}

.last-updated {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4rem;
  font-size: 0.9rem;
}

.legal-content {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #1f2937; /* Dark text color */
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0F2742; /* Deep Ocean from theme */
}

.legal-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #0F2742; /* Deep Ocean from theme */
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #1f2937; /* Dark text color */
}

.legal-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.legal-section li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #1f2937; /* Dark text color */
}

.legal-section a {
  color: var(--aa-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--aa-secondary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-page {
    padding: 8rem 0 3rem;
  }

  .legal-container {
    padding: 0 1.5rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding: 7rem 0 2rem;
  }

  .legal-container {
    padding: 0 1rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .legal-content {
    padding: 1.25rem;
    border-radius: 0.5rem;
  }

  .legal-section {
    margin-bottom: 2rem;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }

  .legal-section h3 {
    font-size: 1rem;
  }
}

/* Main Page Styles */
:root {
  --section-padding: 5rem 0;
  --section-padding-mobile: 3rem 0;
}

/* Header/Navigation */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--aa-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aa-text);
  letter-spacing: -0.025em;
  text-decoration: none;
  display: inline-block;
}

.logo-wordmark:focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--aa-text);
}

.logo-image {
  height: 32px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.logo-link:focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--aa-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--aa-primary);
  background: var(--aa-primary-contrast);
}

.nav-link:focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

.nav-button {
  background: var(--aa-primary);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-button:hover {
  background: var(--aa-primary-hover);
}

.nav-button:focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

/* Hero Section */
.hero {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    var(--aa-bg) 0%,
    rgba(240, 253, 250, 0.5) 100%
  );
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(15, 39, 66, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(33, 182, 168, 0.08) 0%,
      transparent 50%
    );
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--aa-text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--aa-primary), var(--aa-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-1 {
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--aa-primary);
  line-height: 1.625;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle-2 {
  font-size: 1.25rem;
  color: var(--aa-muted);
  line-height: 1.625;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn-primary {
  background: var(--aa-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--aa-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--aa-primary-dark);
  outline-offset: 2px;
}

.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.875rem;
  color: var(--aa-muted);
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--aa-border);
}

/* Content Sections */
.section {
  padding: var(--section-padding);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--aa-text);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--aa-muted);
  line-height: 1.625;
}

.features-grid,
.integrations-grid,
.pricing-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card,
.integration-card,
.pricing-card {
  background: white;
  border: 1px solid var(--aa-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.feature-card:hover,
.integration-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aa-primary);
}

.feature-icon,
.integration-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--aa-primary),
    var(--aa-secondary)
  );
  color: white;
  font-size: 2rem;
}

.feature-icon i,
.integration-icon i {
  display: block;
}

.feature-card h3,
.integration-card h3,
.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--aa-text);
}

.feature-card p,
.integration-card p {
  color: var(--aa-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.feature-list,
.integration-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.feature-list li,
.integration-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--aa-text);
  line-height: 1.5;
}

.feature-list li:last-child,
.integration-features li:last-child {
  margin-bottom: 0;
}

.check-icon {
  color: var(--aa-success);
  margin-top: 2px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check-icon i {
  font-size: 0.875rem;
}

/* Pricing Section */
.pricing-card {
  position: relative;
  min-height: auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--aa-text);
}

.price-currency {
  font-size: 1rem;
  color: var(--aa-muted);
  margin-left: 0.25rem;
}

.price-period {
  color: var(--aa-muted);
  font-size: 1rem;
}

.pricing-card.popular {
  border: 2px solid var(--aa-primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--aa-secondary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  letter-spacing: 0.05em;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex-grow: 1;
  border-top: 1px solid var(--aa-border);
  border-bottom: 1px solid var(--aa-border);
  padding: 1.5rem 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--aa-text);
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-button {
  margin-top: auto;
  background: transparent;
  color: var(--aa-primary);
  border: 2px solid var(--aa-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pricing-button:hover {
  background: var(--aa-primary);
  color: white;
}

.pricing-button:focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

.pricing-card.popular .pricing-button {
  background: var(--aa-primary);
  color: white;
  border-color: var(--aa-primary);
}

.pricing-card.popular .pricing-button:hover {
  background: var(--aa-primary-hover);
  border-color: var(--aa-primary-hover);
}

.pro-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--aa-secondary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coming-soon-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--aa-secondary-light);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.integration-card.coming-soon {
  opacity: 0.7;
}

.integration-card.coming-soon:hover {
  transform: none;
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    var(--aa-text) 0%,
    rgba(15, 23, 42, 0.95) 100%
  );
  color: white;
  padding: var(--section-padding);
  margin-top: var(--section-padding);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-section a {
  color: var(--aa-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 1rem;
}

.footer-section a:hover {
  color: var(--aa-primary);
}

.footer-section a:focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-image {
  height: 40px;
  width: auto;
  margin-bottom: 0.5rem;
  display: block;
}

.logo-wordmark-footer {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-description {
  color: var(--aa-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 300px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--aa-muted);
  margin: 0;
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--aa-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--aa-primary);
  background: rgba(255, 255, 255, 0.1);
}

.social-links a:focus-visible {
  outline: 2px solid var(--aa-primary);
  outline-offset: 2px;
}

/* Responsive - Tablet and below */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header nav {
    padding: 0 1.5rem;
  }

  .hero {
    padding: var(--section-padding-mobile);
    min-height: 80vh;
  }

  .hero-title {
    font-size: 2rem;
  }

    .hero-subtitle-1 {
      font-size: 1rem;
    }

  .hero-subtitle-2 {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .trust-badges {
    gap: 1rem;
  }

  .section {
    padding: var(--section-padding-mobile);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .features-grid,
  .integrations-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section nav {
    align-items: center;
  }

  .logo-section {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .legal-page {
    padding: 8rem 0 3rem;
  }

  .legal-container {
    padding: 0 1.5rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.3rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
  .section {
    padding: 2rem 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle-1 {
    font-size: 0.9375rem;
  }

.hero-subtitle-2 {
  font-size: 0.9375rem;
}
  .section-title {
    font-size: 1.5rem;
  }

  .btn-primary {
    width: 100%;
  }

  .legal-page {
    padding: 7rem 0 2rem;
  }

  .legal-container {
    padding: 0 1rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .legal-content {
    padding: 1.25rem;
    border-radius: 0.5rem;
  }

  .legal-section {
    margin-bottom: 2rem;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }

  .legal-section h3 {
    font-size: 1rem;
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  .legal-page {
    background: white;
    color: black;
  }

  .legal-section a {
    color: black;
    text-decoration: underline;
  }

  .legal-section a::after {
    content: " (" attr(href) ")";
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 39, 66, 0.8);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  color: var(--aa-muted);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--aa-primary);
}

/* HubSpot form styling adjustments */
.hs-form-frame {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 1.5rem;
    max-height: 85vh;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 39, 66, 0.98);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9998;
  display: flex;
  justify-content: center;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner-content {
  max-width: 1280px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner-text {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn-primary,
.cookie-btn-secondary {
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--aa-secondary);
  color: white;
}

.cookie-btn-primary:hover {
  background: var(--aa-secondary-hover);
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Settings Modal */
.cookie-modal-content {
  max-width: 600px;
}

.cookie-section {
  margin: 1.5rem 0;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--aa-border);
}

.cookie-option:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-option-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-option h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--aa-text);
}

.cookie-option p {
  font-size: 0.875rem;
  color: var(--aa-muted);
  margin: 0;
  line-height: 1.5;
}

/* Cookie Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-switch 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.3s;
  border-radius: 26px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--aa-secondary);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
}

.cookie-switch input:disabled + .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--aa-border);
}

.cookie-modal-actions .cookie-btn-primary,
.cookie-modal-actions .cookie-btn-secondary {
  flex: 1;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.cookie-modal-actions .cookie-btn-primary {
  background: var(--aa-primary);
}

.cookie-modal-actions .cookie-btn-primary:hover {
  background: var(--aa-primary-hover);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    width: 100%;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }
}
