/**
 * Modern Landing Page Styles
 * Flashy, animated, commercial design for MyCompanyDesk
 */

/* ============================================
 * FOUC (Flash of Untranslated Content) PREVENTION
 * Hide translatable content until i18n is applied.
 * The i18n-ready class is added by landing-i18n.js.
 * CSS-only fallback: if JS never adds the class, the
 * fouc-reveal animation guarantees visibility after 1.5s.
 * ============================================ */
html:not(.i18n-ready) [data-i18n],
html:not(.i18n-ready) [data-i18n-placeholder] {
  opacity: 0;
  animation: fouc-reveal 0.01s 1.5s forwards;
}
@keyframes fouc-reveal {
  to { opacity: 1; }
}
html.i18n-ready [data-i18n],
html.i18n-ready [data-i18n-placeholder] {
  opacity: 1;
  animation: none;
}

/* ============================================
 * CSS CUSTOM PROPERTIES FOR LANDING
 * ============================================ */
:root {
  /* Shared */
  --landing-transition: cubic-bezier(0.4, 0, 0.2, 1);
  --landing-nav-height: 76px;

  /* Accent colors - blue primary, green secondary */
  --landing-accent: #2563eb;
  --landing-accent-2: #059669;
  --landing-accent-3: #f59e0b;

  /* Gradients (decorative, used in hero etc.) */
  --landing-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --landing-gradient-2: linear-gradient(135deg, var(--landing-accent) 0%, #0ea5e9 100%);
  --landing-gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --landing-gradient-4: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

  /* Light theme (default) */
  --landing-gradient-hero: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #f0fdf4 70%, #f8fafc 100%);
  --landing-glow: 0 0 60px rgba(37, 99, 235, 0.12);
  --landing-glow-purple: 0 0 60px rgba(5, 150, 105, 0.10);

  /* Theme-aware surface colors */
  --landing-bg-deep: #f4f8fd;
  --landing-bg-section: #ffffff;
  --landing-bg-section-alt: #f3f8ff;
  --landing-bg-card: rgba(255, 255, 255, 0.94);
  --landing-bg-card-hover: rgba(255, 255, 255, 1);
  --landing-bg-subtle: rgba(0, 0, 0, 0.02);
  --landing-bg-subtle-hover: rgba(0, 0, 0, 0.04);

  /* Text */
  --landing-text: #0f172a;
  --landing-text-secondary: #1e293b;
  --landing-text-muted: #64748b;
  --landing-text-faint: #94a3b8;

  /* Borders */
  --landing-border: rgba(15, 23, 42, 0.08);
  --landing-border-hover: rgba(15, 23, 42, 0.14);
  --landing-border-accent: rgba(37, 99, 235, 0.25);

  /* Shadows */
  --landing-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --landing-shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  --landing-shadow-hero-img: 0 32px 64px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --landing-shadow-footer: 0 -8px 30px rgba(0, 0, 0, 0.04);

  /* Nav */
  --landing-nav-bg: rgba(255, 255, 255, 0.86);
  --landing-nav-bg-scrolled: rgba(255, 255, 255, 0.95);
  --landing-nav-border: rgba(15, 23, 42, 0.08);
  --landing-nav-link-color: #334155;
  --landing-nav-link-hover-bg: rgba(0, 0, 0, 0.04);

  /* Stats section gradient */
  --landing-stats-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0ea5e9 100%);

  /* CTA */
  --landing-cta-gradient: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);

  /* Footer */
  --landing-footer-bg: #f3f7fc;
  --landing-footer-border: rgba(15, 23, 42, 0.08);
  --landing-footer-text: #475569;
  --landing-footer-text-faint: #64748b;
  --landing-footer-heading: #0f172a;

  /* Cookie banner */
  --landing-cookie-bg: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  --landing-cookie-border: rgba(255, 255, 255, 0.1);
  --landing-cookie-text: rgba(255, 255, 255, 0.85);
  --landing-cookie-btn-secondary-bg: rgba(255, 255, 255, 0.1);
  --landing-cookie-btn-secondary-text: rgba(255, 255, 255, 0.9);
  --landing-cookie-btn-secondary-border: rgba(255, 255, 255, 0.2);

  /* Button */
  --landing-btn-primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --landing-btn-primary-text: #ffffff;
  --landing-btn-primary-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  --landing-btn-primary-shadow-hover: 0 8px 24px rgba(37, 99, 235, 0.35);
  --landing-btn-secondary-bg: transparent;
  --landing-btn-secondary-text: #1e293b;
  --landing-btn-secondary-border: rgba(0, 0, 0, 0.12);
  --landing-btn-secondary-hover-bg: rgba(0, 0, 0, 0.04);
  --landing-btn-secondary-hover-border: rgba(0, 0, 0, 0.2);

  /* Feature icon backgrounds (these accent-colored icons work in both themes) */
  --landing-feature-icon-blue-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 100%);
  --landing-feature-icon-blue-color: #2563eb;
  --landing-feature-icon-green-bg: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(5, 150, 105, 0.04) 100%);
  --landing-feature-icon-green-color: #059669;
  --landing-feature-icon-purple-bg: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(124, 58, 237, 0.04) 100%);
  --landing-feature-icon-purple-color: #7c3aed;
  --landing-feature-icon-orange-bg: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
  --landing-feature-icon-orange-color: #d97706;
  --landing-feature-icon-pink-bg: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(236, 72, 153, 0.04) 100%);
  --landing-feature-icon-pink-color: #db2777;

  /* Particle & decorative */
  --landing-particle-color: rgba(37, 99, 235, 0.3);
  --landing-hero-glow-1: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  --landing-hero-glow-2: radial-gradient(ellipse, rgba(5, 150, 105, 0.05) 0%, transparent 60%);

  /* Showcase */
  --landing-showcase-bg: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);

  /* Testimonials */
  --landing-testimonials-bg: #f8fafc;

  /* Section badge */
  --landing-section-badge-bg: rgba(5, 150, 105, 0.08);
  --landing-section-badge-border: rgba(5, 150, 105, 0.2);
  --landing-section-badge-color: #059669;

  /* Title gradient for hero text */
  --landing-title-gradient: linear-gradient(135deg, #2563eb 0%, #059669 50%, #0ea5e9 100%);

  /* Language selector */
  --landing-lang-bg: rgba(15, 23, 42, 0.03);
  --landing-lang-border: rgba(15, 23, 42, 0.1);
  --landing-lang-text: #334155;
  --landing-selector-focus-ring: rgba(37, 99, 235, 0.2);
  --landing-lang-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* Nav links pill bg */
  --landing-nav-pill-bg: rgba(0, 0, 0, 0.02);
  --landing-nav-pill-border: rgba(0, 0, 0, 0.05);
  --landing-nav-active-bg: rgba(37, 99, 235, 0.08);
  --landing-nav-active-color: #2563eb;

  /* Screenshot card */
  --landing-screenshot-border: rgba(0, 0, 0, 0.06);

  /* Hero badge */
  --landing-hero-badge-bg: rgba(37, 99, 235, 0.06);
  --landing-hero-badge-border: rgba(37, 99, 235, 0.15);

  /* CTA glow */
  --landing-cta-glow: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, transparent 60%);

  /* Legal + FAQ readability */
  --landing-meta-text: #64748b;
  --landing-contact-text: #334155;
  --landing-faq-item-bg: rgba(255, 255, 255, 0.72);
  --landing-faq-item-border: rgba(15, 23, 42, 0.11);
  --landing-faq-item-border-hover: rgba(37, 99, 235, 0.3);
  --landing-faq-question-text: #0f172a;
  --landing-faq-answer-text: #334155;
}

/* ============================================
 * DARK THEME OVERRIDES
 * ============================================ */
[data-theme="dark"] {
  --landing-accent: #60a5fa;
  --landing-accent-2: #34d399;
  --landing-accent-3: #fbbf24;

  --landing-gradient-hero: linear-gradient(160deg, #0a0f1e 0%, #111936 40%, #0d1526 70%, #0a0f1e 100%);
  --landing-glow: 0 0 60px rgba(96, 165, 250, 0.2);
  --landing-glow-purple: 0 0 60px rgba(52, 211, 153, 0.15);

  --landing-bg-deep: #080d1a;
  --landing-bg-section: #0a0f1e;
  --landing-bg-section-alt: #0f1629;
  --landing-bg-card: rgba(15, 22, 41, 0.8);
  --landing-bg-card-hover: rgba(22, 32, 56, 0.9);
  --landing-bg-subtle: rgba(255, 255, 255, 0.03);
  --landing-bg-subtle-hover: rgba(255, 255, 255, 0.06);

  --landing-text: #f1f5f9;
  --landing-text-secondary: #e2e8f0;
  --landing-text-muted: #94a3b8;
  --landing-text-faint: #64748b;

  --landing-border: rgba(255, 255, 255, 0.06);
  --landing-border-hover: rgba(255, 255, 255, 0.12);
  --landing-border-accent: rgba(96, 165, 250, 0.25);

  --landing-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --landing-shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(96, 165, 250, 0.08);
  --landing-shadow-hero-img: 0 32px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --landing-shadow-footer: 0 -8px 30px rgba(0, 0, 0, 0.3);

  --landing-nav-bg: rgba(10, 15, 30, 0.80);
  --landing-nav-bg-scrolled: rgba(10, 15, 30, 0.92);
  --landing-nav-border: rgba(255, 255, 255, 0.06);
  --landing-nav-link-color: rgba(255, 255, 255, 0.65);
  --landing-nav-link-hover-bg: rgba(255, 255, 255, 0.06);

  --landing-stats-gradient: linear-gradient(135deg, #1e3a5f 0%, #1e40af 50%, #0c4a6e 100%);
  --landing-cta-gradient: linear-gradient(180deg, #0a0f1e 0%, #111936 100%);

  --landing-footer-bg: #080d1a;
  --landing-footer-border: rgba(255, 255, 255, 0.06);
  --landing-footer-text: rgba(255, 255, 255, 0.55);
  --landing-footer-text-faint: rgba(255, 255, 255, 0.4);
  --landing-footer-heading: #f1f5f9;

  --landing-cookie-bg: linear-gradient(180deg, rgba(10, 15, 30, 0.95) 0%, rgba(8, 13, 26, 0.98) 100%);
  --landing-cookie-border: rgba(255, 255, 255, 0.08);
  --landing-cookie-text: rgba(255, 255, 255, 0.85);
  --landing-cookie-btn-secondary-bg: rgba(255, 255, 255, 0.08);
  --landing-cookie-btn-secondary-text: rgba(255, 255, 255, 0.9);
  --landing-cookie-btn-secondary-border: rgba(255, 255, 255, 0.15);

  --landing-btn-primary-gradient: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --landing-btn-primary-text: #ffffff;
  --landing-btn-primary-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  --landing-btn-primary-shadow-hover: 0 8px 24px rgba(59, 130, 246, 0.4);
  --landing-btn-secondary-bg: transparent;
  --landing-btn-secondary-text: #f1f5f9;
  --landing-btn-secondary-border: rgba(255, 255, 255, 0.15);
  --landing-btn-secondary-hover-bg: rgba(255, 255, 255, 0.06);
  --landing-btn-secondary-hover-border: rgba(255, 255, 255, 0.3);

  --landing-feature-icon-blue-bg: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(96, 165, 250, 0.05) 100%);
  --landing-feature-icon-blue-color: #60a5fa;
  --landing-feature-icon-green-bg: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(52, 211, 153, 0.05) 100%);
  --landing-feature-icon-green-color: #34d399;
  --landing-feature-icon-purple-bg: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(167, 139, 250, 0.05) 100%);
  --landing-feature-icon-purple-color: #a78bfa;
  --landing-feature-icon-orange-bg: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
  --landing-feature-icon-orange-color: #fbbf24;
  --landing-feature-icon-pink-bg: linear-gradient(135deg, rgba(244, 114, 182, 0.15) 0%, rgba(244, 114, 182, 0.05) 100%);
  --landing-feature-icon-pink-color: #f472b6;

  --landing-particle-color: rgba(96, 165, 250, 0.4);
  --landing-hero-glow-1: radial-gradient(ellipse, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
  --landing-hero-glow-2: radial-gradient(ellipse, rgba(52, 211, 153, 0.06) 0%, transparent 60%);

  --landing-showcase-bg: linear-gradient(180deg, #111936 0%, #0a0f1e 100%);
  --landing-testimonials-bg: #0a0f1e;

  --landing-section-badge-bg: rgba(52, 211, 153, 0.1);
  --landing-section-badge-border: rgba(52, 211, 153, 0.25);
  --landing-section-badge-color: #34d399;

  --landing-title-gradient: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #a78bfa 100%);

  --landing-lang-bg: rgba(255, 255, 255, 0.05);
  --landing-lang-border: rgba(255, 255, 255, 0.1);
  --landing-lang-text: #f1f5f9;
  --landing-selector-focus-ring: rgba(96, 165, 250, 0.3);
  --landing-lang-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f1f5f9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  --landing-nav-pill-bg: rgba(255, 255, 255, 0.03);
  --landing-nav-pill-border: rgba(255, 255, 255, 0.06);
  --landing-nav-active-bg: rgba(96, 165, 250, 0.1);
  --landing-nav-active-color: #60a5fa;

  --landing-screenshot-border: rgba(255, 255, 255, 0.06);

  --landing-hero-badge-bg: rgba(96, 165, 250, 0.1);
  --landing-hero-badge-border: rgba(96, 165, 250, 0.2);

  --landing-cta-glow: radial-gradient(ellipse at center, rgba(96, 165, 250, 0.06) 0%, transparent 60%);

  --landing-meta-text: rgba(255, 255, 255, 0.6);
  --landing-contact-text: rgba(255, 255, 255, 0.85);
  --landing-faq-item-bg: rgba(255, 255, 255, 0.03);
  --landing-faq-item-border: rgba(255, 255, 255, 0.08);
  --landing-faq-item-border-hover: rgba(96, 165, 250, 0.35);
  --landing-faq-question-text: #ffffff;
  --landing-faq-answer-text: rgba(255, 255, 255, 0.7);
}

.landing-meta-text {
  color: var(--landing-meta-text);
}

.landing-contact-copy {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--landing-contact-text);
  line-height: 1.8;
}

/* ============================================
 * KEYFRAME ANIMATIONS
 * ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--landing-accent) 38%, transparent); }
  50% { box-shadow: 0 0 40px color-mix(in srgb, var(--landing-accent) 62%, transparent); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes particle-float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

@keyframes ledger-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-1deg); }
}

@keyframes coin-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-5px) scale(1.05); }
  70% { transform: translateY(0) scale(0.97); }
}

@keyframes growth-rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes bell-sway {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(8deg); }
  40% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
  80% { transform: rotate(-3deg); }
}

@keyframes orbit-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

/* ============================================
 * MODERN NAVIGATION BAR
 * ============================================ */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--landing-nav-height);
  background: var(--landing-nav-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--landing-nav-border);
  z-index: 1000;
  transition: all 0.3s var(--landing-transition);
}

.landing-nav.scrolled {
  background: var(--landing-nav-bg-scrolled);
  box-shadow: var(--landing-shadow-card);
}

.landing-nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(22px, 2.6vw, 44px);
  padding: 0 clamp(24px, 3vw, 44px);
}

.landing-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-nav-logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.landing-nav-logo:hover {
  transform: scale(1.05);
}

.landing-nav-title {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--landing-text) 0%, var(--landing-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  max-width: min(900px, 100%);
  gap: clamp(4px, 0.6vw, 10px);
  flex-wrap: nowrap;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--landing-nav-pill-border);
  background: var(--landing-nav-pill-bg);
  overflow: hidden;
}

.landing-nav-link {
  padding: 10px 14px;
  color: var(--landing-nav-link-color);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
  min-inline-size: clamp(72px, 5.5ch + 2vw, 120px);
  line-height: 1.15;
  white-space: nowrap;
}

.landing-nav-link:hover {
  color: var(--landing-text);
  background: var(--landing-nav-link-hover-bg);
}

.landing-nav-link.active {
  color: var(--landing-accent);
  background: var(--landing-nav-active-bg);
}

.landing-nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.landing-nav-cta .landing-btn {
  min-inline-size: clamp(118px, 10.5ch, 142px);
  padding-inline: clamp(14px, 1.1vw, 20px);
}



@media (max-width: 1200px) {
  .landing-nav-inner {
    padding: 0 20px;
    column-gap: 12px;
  }

  .landing-nav-title {
    font-size: 18px;
  }

  .landing-nav-link {
    padding: 9px 10px;
    font-size: 13px;
    min-inline-size: clamp(64px, 4.5ch + 2vw, 100px);
  }

  .landing-nav-links {
    max-width: min(720px, 100%);
    padding: 4px;
  }

  .landing-nav-cta {
    gap: 8px;
  }

  .landing-nav-cta .landing-btn {
    padding: 9px 14px;
    font-size: 13px;
    min-inline-size: 108px;
  }
}

@media (min-width: 1025px) and (max-width: 1320px) {
  .landing-nav-inner {
    column-gap: clamp(12px, 1.6vw, 22px);
  }

  .landing-nav-links {
    gap: 4px;
    padding: 4px;
  }

  .landing-nav-link {
    min-inline-size: clamp(60px, 4ch + 2vw, 96px);
    padding-inline: 10px;
    font-size: 13px;
  }

  .landing-nav-cta {
    gap: 8px;
  }
}

/* ============================================
 * LANGUAGE SELECTOR
 * ============================================ */
.language-selector {
  display: flex;
  align-items: center;
  /* Reserve space to prevent layout shift when JS populates the select */
  min-width: 90px;
  min-height: 38px;
}

.language-select {
  background: var(--landing-lang-bg);
  border: 1px solid var(--landing-lang-border);
  color: var(--landing-lang-text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--landing-lang-chevron);
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.language-select:hover {
  background-color: var(--landing-nav-link-hover-bg);
  border-color: var(--landing-border-hover);
}

.language-select:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px var(--landing-selector-focus-ring);
}

.language-select option {
  background: var(--landing-bg-section);
  color: var(--landing-text);
  padding: 8px;
}

/* ─── Flag-based language dropdown ─── */

.language-selector-wrapper {
  position: relative;
  display: inline-block;
}

.language-select-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background-image: none;
  padding-right: 12px;
}

.language-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.language-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: var(--landing-bg-section, #fff);
  border: 1px solid var(--landing-lang-border, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 140px;
  max-height: 320px;
  overflow-y: auto;
}

.language-dropdown.open {
  display: block;
}

/* Footer dropdown opens upward to avoid clipping at page bottom */
.landing-footer .language-dropdown {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 4px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  color: var(--landing-text, inherit);
}

.language-option:hover {
  background: var(--landing-nav-link-hover-bg, #f1f5f9);
}

/* Mobile language selector */
.nav-mobile-drawer .language-selector {
  padding: 12px 0;
  width: 100%;
  min-width: 0;
}

.nav-mobile-drawer .language-select {
  width: 100%;
  padding: 14px 44px 14px 16px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
  min-height: 48px;
  background-position: right 14px center;
}

.nav-mobile-theme-item .theme-selector {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
}

.nav-mobile-theme-item .theme-selector-group {
  width: 100%;
  justify-content: space-between;
  border-radius: 12px;
  padding: 4px;
}

.nav-mobile-theme-item .theme-select-btn {
  flex: 1;
  justify-content: center;
  min-height: 40px;
  font-size: 13px;
}

/* Keep landing mobile drawer aligned with landing nav height */
.landing-nav ~ .nav-mobile-overlay,
.landing-nav ~ .nav-mobile-drawer {
  top: var(--landing-nav-height);
}

.landing-nav ~ .nav-mobile-drawer {
  height: calc(100dvh - var(--landing-nav-height));
}

@supports not (height: 100dvh) {
  .landing-nav ~ .nav-mobile-drawer {
    height: calc(100vh - var(--landing-nav-height));
  }
}

.landing-nav ~ .nav-mobile-drawer .nav-mobile-drawer-content {
  min-height: 0;
}

.landing-nav ~ .nav-mobile-drawer .nav-mobile-footer {
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

/* ============================================
 * MODERN BUTTONS
 * ============================================ */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s var(--landing-transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.landing-btn-primary {
  background: var(--landing-btn-primary-gradient);
  color: var(--landing-btn-primary-text);
  box-shadow: var(--landing-btn-primary-shadow);
}

.landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--landing-btn-primary-shadow-hover);
}

.landing-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.landing-btn-primary:hover::before {
  transform: translateX(100%);
}

.landing-btn-secondary {
  background: var(--landing-btn-secondary-bg);
  color: var(--landing-btn-secondary-text);
  border: 2px solid var(--landing-btn-secondary-border);
}

.landing-btn-secondary:hover {
  background: var(--landing-btn-secondary-hover-bg);
  border-color: var(--landing-btn-secondary-hover-border);
  transform: translateY(-2px);
}

.landing-btn-large {
  padding: 16px 40px;
  font-size: 17px;
}

.landing-btn-icon {
  font-size: 1.2em;
}

/* ============================================
 * HERO SECTION
 * ============================================ */
.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background: var(--landing-gradient-hero);
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 80%;
  height: 150%;
  background: var(--landing-hero-glow-1);
  animation: rotate-slow 60s linear infinite;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 100%;
  background: var(--landing-hero-glow-2);
  animation: rotate-slow 80s linear infinite reverse;
}

.landing-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--landing-particle-color);
  border-radius: 50%;
  animation: particle-float 15s linear infinite;
}

.landing-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.landing-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.landing-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.landing-particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 17s; }
.landing-particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 21s; }
.landing-particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 19s; }
.landing-particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 23s; }
.landing-particle:nth-child(8) { left: 80%; animation-delay: 0.5s; animation-duration: 16s; }
.landing-particle:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 20s; }
.landing-particle:nth-child(10) { left: 15%; animation-delay: 4.5s; animation-duration: 18s; }

.landing-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.landing-hero-content {
  animation: slide-in-left 1s var(--landing-transition);
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--landing-hero-badge-bg);
  border: 1px solid var(--landing-hero-badge-border);
  border-radius: 50px;
  color: var(--landing-accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.landing-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--landing-accent);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.landing-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--landing-text);
  min-height: 2.3em;
}

.landing-hero-title-gradient {
  background: var(--landing-title-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

.landing-hero-subtitle {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--landing-text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
  min-height: 4.8em;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.landing-hero-stats {
  display: flex;
  gap: 48px;
}

.landing-hero-stat {
  text-align: left;
}

.landing-hero-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--landing-text);
  margin-bottom: 4px;
}

.landing-hero-stat-label {
  font-size: 14px;
  color: var(--landing-text-muted);
}

/* Hero visual / screenshot */
.landing-hero-visual {
  position: relative;
  animation: slide-in-right 1s var(--landing-transition);
}

.landing-hero-screenshot {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--landing-shadow-hero-img);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.landing-hero-screenshot:hover {
  transform: scale(1.02);
}

.landing-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: var(--landing-hero-glow-1);
  pointer-events: none;
  z-index: -1;
}

/* ============================================
 * FEATURE SECTIONS
 * ============================================ */
.landing-section {
  padding: 120px 24px;
  position: relative;
}

.landing-section-dark {
  background: var(--landing-bg-section);
}

.landing-section-gradient {
  background: var(--landing-cta-gradient);
}

.landing-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-section-header {
  text-align: center;
  margin-bottom: 64px;
  animation: slide-up 0.8s var(--landing-transition);
}

.landing-section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--landing-section-badge-bg);
  border: 1px solid var(--landing-section-badge-border);
  border-radius: 20px;
  color: var(--landing-section-badge-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.landing-section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--landing-text);
  margin-bottom: 16px;
}

.landing-section-subtitle {
  font-size: 18px;
  color: var(--landing-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Feature Grid */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* Why MyCompanyDesk Grid — 5 cards: 3 top, 2 bottom centered */
.landing-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-why-grid .landing-feature-card:nth-child(4),
.landing-why-grid .landing-feature-card:nth-child(5) {
  grid-column: auto;
}

/* Center the bottom row of 2 cards */
.landing-why-grid::after {
  content: '';
  display: none;
}

@media (min-width: 769px) {
  .landing-why-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .landing-why-grid .landing-feature-card:nth-child(1) { grid-column: 1 / 3; }
  .landing-why-grid .landing-feature-card:nth-child(2) { grid-column: 3 / 5; }
  .landing-why-grid .landing-feature-card:nth-child(3) { grid-column: 5 / 7; }
  .landing-why-grid .landing-feature-card:nth-child(4) { grid-column: 2 / 4; }
  .landing-why-grid .landing-feature-card:nth-child(5) { grid-column: 4 / 6; }
}

.landing-feature-card {
  position: relative;
  padding: 32px;
  background: var(--landing-bg-card);
  border: 1px solid var(--landing-border);
  border-radius: 20px;
  transition: all 0.4s var(--landing-transition);
  overflow: hidden;
}

.landing-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--landing-accent), var(--landing-accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.landing-feature-card:hover {
  background: var(--landing-bg-card-hover);
  border-color: var(--landing-border-accent);
  transform: translateY(-8px);
  box-shadow: var(--landing-shadow-card-hover);
}

.landing-feature-card:hover::before {
  opacity: 1;
}

.landing-feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 28px;
}


.landing-icon,
.landing-inline-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  stroke: currentColor;
}

.landing-inline-icon {
  vertical-align: -0.125em;
}

.landing-feature-icon .landing-icon {
  width: 34px;
  height: 34px;
}

.landing-hero-stat-value .landing-icon,
.landing-stat-value .landing-icon {
  width: clamp(34px, 5vw, 54px);
  height: clamp(34px, 5vw, 54px);
}

.landing-hero-badge .landing-inline-icon,
.landing-section-badge .landing-inline-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.landing-feature-card:hover .landing-icon {
  animation-duration: 1.2s;
}

.landing-motion-ledger { animation: ledger-drift 3.2s ease-in-out infinite; }
.landing-motion-cash { animation: coin-bounce 2.6s ease-in-out infinite; }
.landing-motion-growth { animation: growth-rise 2.8s ease-in-out infinite; }
.landing-motion-ring { animation: bell-sway 3s ease-in-out infinite; transform-origin: top center; }
.landing-motion-pulse { animation: icon-pulse 2.4s ease-in-out infinite; }
.landing-motion-bob { animation: bounce-subtle 3s ease-in-out infinite; }
.landing-motion-glide { animation: float 4.5s ease-in-out infinite; }
.landing-motion-orbit { animation: orbit-slow 10s linear infinite; transform-origin: center; }
.landing-motion-spin { animation: rotate-slow 8s linear infinite; }
.landing-motion-launch { animation: slide-up 0.8s var(--landing-transition), bounce-subtle 2.8s ease-in-out infinite 0.8s; }

/* Disable perpetual icon animations on legal/formal pages */
.page-privacy [class*="landing-motion-"],
.page-terms [class*="landing-motion-"],
.page-cookies [class*="landing-motion-"],
.page-impressum [class*="landing-motion-"] {
  animation: none;
}

.landing-feature-icon-blue {
  background: var(--landing-feature-icon-blue-bg);
  color: var(--landing-feature-icon-blue-color);
}

.landing-feature-icon-purple {
  background: var(--landing-feature-icon-purple-bg);
  color: var(--landing-feature-icon-purple-color);
}

.landing-feature-icon-orange {
  background: var(--landing-feature-icon-orange-bg);
  color: var(--landing-feature-icon-orange-color);
}

.landing-feature-icon-green {
  background: var(--landing-feature-icon-green-bg);
  color: var(--landing-feature-icon-green-color);
}

.landing-feature-icon-pink {
  background: var(--landing-feature-icon-pink-bg);
  color: var(--landing-feature-icon-pink-color);
}

.landing-feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--landing-text);
  margin-bottom: 12px;
}

.landing-feature-description {
  font-size: 15px;
  color: var(--landing-text-muted);
  line-height: 1.7;
}

/* ============================================
 * SCREENSHOT SHOWCASE
 * ============================================ */
.landing-showcase {
  padding: 120px 24px;
  background: var(--landing-showcase-bg);
  overflow: hidden;
}

.landing-showcase-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.landing-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  align-items: center;
}

.landing-showcase-content {
  animation: slide-in-left 0.8s var(--landing-transition);
}

.landing-showcase-visual {
  position: relative;
  animation: slide-in-right 0.8s var(--landing-transition);
}

.landing-showcase-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--landing-shadow-hero-img);
  transition: transform 0.4s ease;
}

.landing-showcase-image:hover {
  transform: scale(1.03) rotate(-1deg);
}

.landing-showcase-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--landing-text);
  margin-bottom: 20px;
}

.landing-showcase-text {
  font-size: 17px;
  color: var(--landing-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.landing-showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--landing-text-secondary);
  border-bottom: 1px solid var(--landing-border);
}

.landing-showcase-list li:last-child {
  border-bottom: none;
}

.landing-showcase-check {
  width: 24px;
  height: 24px;
  background: linear-gradient(
    135deg,
    var(--landing-accent) 0%,
    color-mix(in srgb, var(--landing-accent) 52%, var(--landing-accent-2) 48%) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-btn-primary-text);
  font-size: 14px;
  flex-shrink: 0;
}

.landing-showcase-check .landing-icon {
  width: 16px;
  height: 16px;
}

/* ============================================
 * SCREENSHOT GRID
 * ============================================ */
.landing-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.landing-screenshot-card {
  margin: 0;
  padding: 14px;
  background: var(--landing-bg-card);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.landing-screenshot-card:hover {
  transform: translateY(-6px);
  border-color: var(--landing-border-accent);
  box-shadow: var(--landing-shadow-card-hover);
}

.landing-screenshot-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--landing-screenshot-border);
  display: block;
}

.landing-screenshot-caption {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--landing-text-secondary);
}

/* ============================================
 * STATISTICS SECTION
 * ============================================ */
.landing-stats-section {
  padding: 100px 24px;
  background: var(--landing-stats-gradient);
  position: relative;
  overflow: hidden;
}

.landing-stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.landing-stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.landing-stat-item {
  text-align: center;
  animation: scale-in 0.6s var(--landing-transition);
}

.landing-stat-value {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.landing-stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ============================================
 * TESTIMONIALS / SOCIAL PROOF
 * ============================================ */
.landing-testimonials {
  padding: 120px 24px;
  background: var(--landing-testimonials-bg);
}

.landing-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-testimonial-card {
  padding: 32px;
  background: var(--landing-bg-card);
  border: 1px solid var(--landing-border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.landing-testimonial-card:hover {
  background: var(--landing-bg-card-hover);
  transform: translateY(-4px);
}

.landing-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--landing-accent-3);
  font-size: 18px;
}

.landing-testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--landing-text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.landing-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.landing-testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--landing-text);
}

.landing-testimonial-role {
  font-size: 13px;
  color: var(--landing-text-faint);
}

/* ============================================
 * CTA SECTION
 * ============================================ */
.landing-cta {
  padding: 120px 24px;
  background: var(--landing-cta-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.landing-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: var(--landing-cta-glow);
}

.landing-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.landing-cta-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--landing-text);
  margin-bottom: 20px;
}

.landing-cta-subtitle {
  font-size: 18px;
  color: var(--landing-text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.landing-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
 * FOOTER
 * ============================================ */
.landing-footer {
  padding: 80px 24px 40px;
  background: var(--landing-footer-bg);
  border-top: 1px solid var(--landing-footer-border);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--landing-footer-border) 30%, transparent);
}

.landing-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.landing-footer-brand p {
  font-size: 15px;
  color: var(--landing-footer-text);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.landing-footer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--landing-footer-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.landing-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-footer-links li {
  margin-bottom: 12px;
}

.landing-footer-links a {
  color: var(--landing-footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.landing-footer-links a:hover {
  color: var(--landing-accent);
}

.landing-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--landing-footer-border);
}

.landing-footer-copyright {
  font-size: 14px;
  color: var(--landing-footer-text-faint);
}

.landing-footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-footer-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-selector {
  display: flex;
  align-items: center;
  min-width: 196px;
}

.theme-selector-group {
  display: inline-flex;
  align-items: center;
  background: var(--landing-lang-bg);
  border: 1px solid var(--landing-lang-border);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.theme-select-btn {
  border: none;
  background: transparent;
  color: var(--landing-lang-text);
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.theme-select-btn i {
  width: 14px;
  height: 14px;
}

.theme-select-btn:hover {
  background: var(--landing-nav-link-hover-bg);
}

.theme-select-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--landing-selector-focus-ring);
}

.theme-select-btn.is-active {
  background: color-mix(in srgb, var(--landing-accent) 18%, transparent);
  color: var(--landing-text);
}

.theme-select-label {
  white-space: nowrap;
}


.landing-footer-legal a {
  font-size: 14px;
  color: var(--landing-footer-text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer-legal a:hover {
  color: var(--landing-accent);
}

/* Footer selectors */
.landing-footer-controls .language-selector {
  min-width: 90px;
}

.landing-footer-controls .language-select,
.landing-footer-controls .theme-selector-group {
  background: var(--landing-lang-bg);
  border: 1px solid var(--landing-lang-border);
  font-size: 13px;
}

/* ============================================
 * RESPONSIVE DESIGN
 * ============================================ */
@media (max-width: 1024px) {
  .landing-nav-links {
    display: none;
  }

  .landing-nav-cta {
    display: none;
  }

  .landing-nav .nav-mobile-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .landing-nav ~ .nav-mobile-drawer {
    display: flex;
    width: min(360px, 85vw);
  }

  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .landing-hero-content {
    order: 1;
  }
  
  .landing-hero-visual {
    order: 2;
  }
  
  .landing-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    min-height: 0;
  }

  .landing-hero-title {
    min-height: 0;
  }
  
  .landing-hero-actions {
    justify-content: center;
  }
  
  .landing-hero-stats {
    justify-content: center;
  }
  
  .landing-showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .landing-showcase-list li {
    justify-content: center;
  }
  
  .landing-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .landing-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-nav-inner {
    gap: 10px;
    padding: 0 16px;
  }

  .landing-nav-title {
    font-size: 17px;
  }
  
  .landing-hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }
  
  .landing-hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .landing-hero-stat {
    text-align: center;
  }
  
  .landing-section {
    padding: 80px 16px;
  }
  
  .landing-features-grid {
    grid-template-columns: 1fr;
  }

  .landing-why-grid {
    grid-template-columns: 1fr;
  }

  .landing-showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .landing-stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .landing-testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .landing-footer {
    padding: 56px 16px 28px;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .landing-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
  }

  .landing-footer-legal {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  
  .landing-btn-large {
    padding: 14px 28px;
    font-size: 15px;
  }

  .landing-screenshot-image {
    aspect-ratio: auto;
    max-height: 70vh;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .landing-hero-title {
    font-size: 28px;
  }
  
  .landing-hero-subtitle {
    font-size: 16px;
  }
  
  .landing-hero-actions {
    flex-direction: column;
  }
  
  .landing-btn {
    width: 100%;
  }
  
  .landing-feature-card {
    padding: 24px;
  }
  
  .landing-cta-buttons {
    flex-direction: column;
  }
}

/* ============================================
 * SCROLL ANIMATIONS (using Intersection Observer)
 * Progressive enhancement: elements are visible by default
 * and animate in when JS is available
 * ============================================ */
.landing-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS is ready, hide elements initially */
.js-ready .landing-animate {
  opacity: 0;
  transform: translateY(30px);
}

.js-ready .landing-animate.visible,
.landing-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-animate-delay-1 { transition-delay: 0.1s; }
.landing-animate-delay-2 { transition-delay: 0.2s; }
.landing-animate-delay-3 { transition-delay: 0.3s; }
.landing-animate-delay-4 { transition-delay: 0.4s; }
.landing-animate-delay-5 { transition-delay: 0.5s; }

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .landing-animate,
  .js-ready .landing-animate {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================
 * COOKIE CONSENT BANNER
 * ============================================ */
body.has-cookie-banner .landing-footer {
  padding-bottom: 120px;
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 16px;
  background: var(--landing-cookie-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid var(--landing-cookie-border);
  box-shadow: var(--landing-shadow-footer);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-consent-banner.cookie-consent-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-banner.cookie-consent-hiding {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 280px;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--landing-cookie-text);
}

.cookie-consent-link {
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cookie-consent-link:hover {
  color: var(--landing-text);
  text-decoration: underline;
}

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

.cookie-consent-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.cookie-consent-btn-primary {
  background: var(--landing-btn-primary-gradient);
  color: var(--landing-btn-primary-text);
  box-shadow: var(--landing-btn-primary-shadow);
}

.cookie-consent-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--landing-btn-primary-shadow-hover);
}

.cookie-consent-btn-secondary {
  background: var(--landing-cookie-btn-secondary-bg);
  color: var(--landing-cookie-btn-secondary-text);
  border: 1px solid var(--landing-cookie-btn-secondary-border);
}

.cookie-consent-btn-secondary:hover {
  background: var(--landing-bg-subtle-hover);
  border-color: var(--landing-border-hover);
}

@media (max-width: 640px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-text {
    min-width: 0;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-consent-btn {
    flex: 1;
    max-width: 160px;
    white-space: normal;
  }
}

/* ============================================
 * PLANS PAGE
 * ============================================ */

.landing-plans-grid {
  grid-template-columns: repeat(4, 1fr);
}

.landing-plan-card {
  display: flex;
  flex-direction: column;
}

.landing-plan-card--highlighted {
  border: 2px solid var(--landing-accent, #6c5ce7);
  position: relative;
}

.landing-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--landing-accent, #6c5ce7);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.landing-plan-price {
  margin-bottom: 4px;
}

.landing-plan-price-value {
  font-size: 2rem;
  font-weight: 700;
}

.landing-plan-price-period {
  opacity: 0.7;
}

.landing-plan-yearly {
  font-size: 0.85rem;
  opacity: 0.6;
  margin: 0 0 12px 0;
}

.landing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}

.landing-plan-features li {
  padding: 6px 0;
  font-size: 0.95rem;
}

.landing-plan-features li span:first-child {
  margin-right: 8px;
}

.landing-plan-cta {
  display: block;
  text-align: center;
  margin-top: auto;
}

.landing-plans-guarantee {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 32px 0 0;
  padding: 0 16px;
}

.landing-plans-guarantee a {
  color: var(--landing-accent);
  text-decoration: none;
  font-weight: 500;
}

.landing-plans-guarantee a:hover {
  text-decoration: underline;
}

.landing-plans-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
}

.landing-plans-table thead tr {
  background: rgba(108, 92, 231, 0.08);
}

.landing-plans-table th {
  text-align: center;
  padding: 14px 16px;
  font-weight: 600;
  border-bottom: 2px solid rgba(108, 92, 231, 0.15);
}

.landing-plans-table th:first-child {
  text-align: left;
}

.landing-plans-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(108, 92, 231, 0.07);
  text-align: center;
}

.landing-plans-table td:first-child {
  text-align: left;
}

.landing-plans-table .landing-plans-group td {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

@media (max-width: 1024px) {
  .landing-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
 * TRUST BADGES
 * ============================================ */
.landing-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}

.landing-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--landing-text-muted);
  letter-spacing: 0.01em;
}

.landing-trust-badge-icon {
  font-size: 1rem;
  line-height: 1;
}

/* CTA sub-text (benefit line below CTA buttons) */
.landing-cta-subtext {
  font-size: 0.875rem;
  color: var(--landing-text-muted);
  margin-top: 12px;
  letter-spacing: 0.01em;
}

.landing-cta .landing-cta-subtext {
  text-align: center;
}

.landing-demo-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--landing-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.landing-demo-link:hover {
  color: var(--landing-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .landing-trust-badges {
    justify-content: center;
    gap: 12px 20px;
  }

  .landing-cta-subtext {
    text-align: center;
  }
}
