/* CSS Variables for Light and Dark Modes */
:root {
  /* Light mode colors */
  --primary: #008aff;
  --primary-text: #1d1d1f;
  --secondary-text: #86868b;
  --surface: #f2f2f7;
  --card-background: #ffffff;
  --elevated-background: #ffffff;
  --border-color: #e0e0e0;
  --pressed-overlay: rgba(0, 0, 0, 0.05);
  --hover-overlay: rgba(0, 0, 0, 0.03);
  --hero-gradient: linear-gradient(135deg, #008aff 0%, #0a84ff 100%);
  --navbar-gradient: linear-gradient(
    135deg,
    #008aff 0%,
    #0a84ff 100%
  );
  --download-gradient: linear-gradient(
    135deg,
    #1976d2 0%,
    #008aff 100%
  );
}

[data-theme='dark'] {
  /* Dark mode colors based on provided hints */
  --primary: #0a84ff;
  --primary-text: #ffffff;
  --secondary-text: #0a84ff;
  --surface: #000000;
  --card-background: #1c1c1e;
  --elevated-background: #2c2c2e;
  --border-color: #2c2c2e;
  --pressed-overlay: rgba(255, 255, 255, 0.1);
  --hover-overlay: rgba(255, 255, 255, 0.05);
  --hero-gradient: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
  --navbar-gradient: linear-gradient(
    135deg,
    #1c1c1e 0%,
    #2c2c2e 100%
  );
  --download-gradient: linear-gradient(
    135deg,
    #1c1c1e 0%,
    #2c2c2e 100%
  );
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--primary-text);
  background-color: var(--surface);
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Header and Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: var(--navbar-gradient);
  color: white;
  z-index: 1000;
  padding: 20px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.hero {
  background: var(--hero-gradient);
  color: white;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Hero Content */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: white;
  color: #008aff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Dark mode button adjustments */
[data-theme='dark'] .btn-primary {
  background: var(--card-background);
  color: var(--primary);
  border: 1px solid var(--border-color);
}

[data-theme='dark'] .btn-primary:hover {
  background: var(--elevated-background);
  box-shadow: 0 8px 25px rgba(0, 138, 255, 0.2);
  border-color: var(--primary);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--elevated-background);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--primary-text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background: var(--card-background);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 138, 255, 0.15);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  color: var(--primary);
}

.feature-icon img {
  width: 3rem;
  height: 3rem;
  filter: invert(47%) sepia(99%) saturate(4613%) hue-rotate(203deg)
    brightness(100%) contrast(101%);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-text);
  font-weight: 600;
}

.feature-card p {
  color: var(--secondary-text);
  line-height: 1.6;
  font-size: 1rem;
}

/* Screenshots Section */
.screenshots {
  padding: 100px 0;
  background: var(--surface);
}

.screenshots h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--primary-text);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.screenshot-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  width: 100%;
}

.screenshot-placeholder {
  background: linear-gradient(
    135deg,
    var(--card-background) 0%,
    var(--elevated-background) 100%
  );
  border: 2px dashed var(--primary);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.screenshot-placeholder:hover {
  background: var(--hero-gradient);
  color: white;
}

.screenshot-item p {
  color: var(--secondary-text);
  font-size: 1rem;
  line-height: 1.5;
}

/* Screenshot images for iPhone screenshots (1320 × 2868) */
.screenshot-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  aspect-ratio: 1320 / 2868; /* Maintain iPhone aspect ratio */
  object-fit: cover;
}

.screenshot-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 138, 255, 0.2);
}

/* Fallback styling when images don't load */
.screenshot-image.fallback {
  background: linear-gradient(
    135deg,
    var(--card-background) 0%,
    var(--elevated-background) 100%
  );
  border: 2px dashed var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  min-height: 600px; /* Proportional to iPhone aspect ratio */
  padding: 20px;
}

.screenshot-image.fallback:hover {
  background: var(--hero-gradient);
  color: white;
}

/* Screenshot expansion modal */
.screenshot-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.screenshot-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: zoomIn 0.3s ease;
}

.screenshot-modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-modal-caption {
  color: white;
  text-align: center;
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 500;
}

.screenshot-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

/* Mobile close button positioning */
@media (max-width: 768px) {
  .screenshot-modal-close {
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
  }
  
  .screenshot-modal-content {
    padding: 0 20px;
  }
  
  .screenshot-modal-caption {
    font-size: 1rem;
    margin-top: 15px;
    padding: 0 10px;
  }
}

.screenshot-modal-close:hover,
.screenshot-modal-close:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

/* Screenshot click indicator */
.screenshot-image {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.screenshot-image:hover,
.screenshot-image:focus {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 138, 255, 0.2);
}

.screenshot-image:focus {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

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

@keyframes zoomIn {
  from { 
    opacity: 0;
    transform: scale(0.5);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}

/* Download Section */
.download {
  padding: 100px 0;
  background: var(--download-gradient);
  color: white;
  text-align: center;
}

.download h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.download p {
  font-size: 1.3rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.download-btn img {
  width: 40px;
  height: 40px;
}

.download-btn div {
  text-align: left;
}

.download-btn span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
}

.download-btn strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--elevated-background);
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-text);
}

.contact > .container > p {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 60px;
  color: var(--secondary-text);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.contact-item {
  background: var(--card-background);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 138, 255, 0.15);
  border-color: var(--primary);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
  color: var(--primary);
}

.contact-icon img {
  width: 3rem;
  height: 3rem;
  filter: invert(47%) sepia(99%) saturate(4613%) hue-rotate(203deg)
    brightness(100%) contrast(101%);
}

.contact-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-text);
  font-weight: 600;
}

.contact-item p {
  color: var(--secondary-text);
  line-height: 1.6;
  font-size: 1rem;
}

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

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

/* Language Selector */
.language-selector {
  margin-left: 20px;
}

.language-selector.mobile-lang {
  display: none;
  margin-left: 0;
  margin-right: 15px;
}

/* Legal Pages */
.legal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.language-selector.legal-page {
  margin-left: 0;
}

@media (max-width: 768px) {
  .language-selector.legal-page {
    display: block !important;
  }
}

/* Legal page content styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--card-background);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  margin-bottom: 40px;
}

.legal-content h1 {
  color: var(--primary-text);
  margin-bottom: 30px;
  font-size: 2.5rem;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.legal-content h3 {
  color: var(--primary-text);
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content li {
  color: var(--primary-text);
  line-height: 1.7;
  margin-bottom: 15px;
}

.legal-content ul {
  margin-left: 20px;
}

.back-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 36px;
  box-sizing: border-box;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-toggle.legal-page {
  background: var(--surface);
  color: var(--primary-text);
  border: 1px solid var(--border-color);
}

.language-toggle.legal-page:hover {
  background: var(--elevated-background);
}

.globe-icon {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.language-toggle.legal-page .globe-icon {
  filter: invert(0);
}

.language-selector select {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.language-selector select:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-selector option {
  background: #008aff;
  color: white;
}

/* Footer */
footer {
  background: #1d1d1f;
  color: #86868b;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-main {
  flex: 1;
  max-width: 600px;
}

.footer-main p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-main a {
  color: #008aff;
  text-decoration: none;
}

.footer-main a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #86868b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #008aff;
}

.footer-bottom {
  border-top: 1px solid #2c2c2e;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #636366;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    min-width: 200px;
  }

  .features h2,
  .screenshots h2,
  .download h2,
  .contact h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    justify-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Mobile Navigation */
  .navbar .container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .language-selector {
    display: none;
  }

  .theme-toggle {
    display: block;
    margin-right: 10px;
    order: 2;
  }

  .theme-toggle span {
    display: none;
  }

  .language-selector.mobile-lang {
    display: block;
    margin-left: 0;
    margin-right: 15px;
    order: 1;
  }

  .language-selector.mobile-lang span {
    display: none;
  }

  .mobile-menu-toggle {
    order: 3;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navbar-gradient);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .navbar .container {
    position: relative;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .screenshot-placeholder {
    height: 300px;
    font-size: 1rem;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 320px;
    margin: 0 auto;
    justify-items: center;
  }

  .screenshot-image {
    max-width: 200px;
    margin-bottom: 12px;
  }

  .screenshot-image.fallback {
    min-height: 420px;
    font-size: 0.85rem;
    padding: 12px;
  }

  .screenshot-item {
    max-width: 200px;
  }

  .screenshot-item p {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-top: 8px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0056b3;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  background: #0a84ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.scroll-to-top.show {
  display: flex;
}

/* Focus states for accessibility */
.btn:focus,
.nav-links a:focus,
.download-btn:focus,
.scroll-to-top:focus {
  outline: 2px solid #34c759;
  outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
  .feature-card {
    border-width: 2px;
  }

  .screenshot-placeholder {
    border-width: 3px;
  }
}

/* Legal Pages Banner */
.legal-banner {
  background: var(--navbar-gradient);
  color: white;
  padding: 20px 0;
}

.banner-content {
  display: flex;
  align-items: center;
}

.legal-banner .back-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
  flex: 1;
}

.legal-banner .back-link:hover {
  opacity: 0.8;
}

.banner-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.controls-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  justify-content: flex-end;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.legal-banner .language-selector {
  margin-left: 0;
}

.legal-banner .language-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.legal-banner .language-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .banner-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .legal-banner .back-link {
    order: 1;
    align-self: flex-start;
  }

  .controls-container {
    order: 1;
    align-self: flex-end;
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    gap: 10px;
  }

  .banner-logo {
    order: 2;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .legal-banner .language-selector {
    display: block !important;
  }

  .legal-banner .language-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .legal-banner .language-selector span {
    display: none;
  }
}

/* Dark Mode Toggle */

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 36px;
  box-sizing: border-box;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.theme-toggle.legal-page {
  background: var(--surface);
  color: var(--primary-text);
  border: 1px solid var(--border-color);
}

.theme-toggle.legal-page:hover {
  background: var(--elevated-background);
}

.theme-icon {
  width: 16px;
  height: 16px;
  color: inherit;
}
