/* ============================================================
   styles.css — Queuvo Landing Page
   Dark theme matching the app exactly
   ============================================================ */

/* ── Variables ── */
:root {
  --bg: #0d0d0d;
  --surface: #111111;
  --border: #1e1e1e;
  --text: #ffffff;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent: #4C6EF5;
  --accent-hover: #5C7CFA;
  --radius: 10px;
  --max-w: 1100px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout helpers ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
  /* Tabler/Bootstrap adds padding to .navbar; zero it so .container controls spacing */
  padding: 0 !important;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* Bootstrap's .navbar sets flex-wrap:wrap and .navbar .container inherits it.
     Force nowrap so the right-side controls never fall below the logo. */
  flex-wrap: nowrap;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.navbar-logo {
  height: 28px;
  width: 28px;
  object-fit: contain;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px rgba(76, 110, 245, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  font-size: 18px;
  padding: 18px 36px;
  height: 56px;
}

/* ── Hero Section ── */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.hero-headline {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-cta-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Section base ── */
section {
  padding: 96px 0;
}

.section-headline {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 560px;
}

/* ── Pain Section ── */
.pain {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pain .section-headline {
  text-align: center;
  margin-bottom: 56px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}

.pain-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(76, 110, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pain-card-icon i {
  font-size: 24px;
  color: var(--accent);
}

.pain-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.pain-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* ── How It Works ── */
.how {
  background: var(--bg);
}

.how-header {
  margin-bottom: 72px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: var(--border);
}

.how-step {
  padding: 0 32px;
  position: relative;
}

.how-step:first-child {
  padding-left: 0;
}

.how-step:last-child {
  padding-right: 0;
}

.how-step-number {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.how-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(76, 110, 245, 0.1);
  border: 1px solid rgba(76, 110, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.how-step-icon i {
  font-size: 26px;
  color: var(--accent);
}

.how-step-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.how-step-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

.how-step-body em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}

/* ── Features ── */
.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header {
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(76, 110, 245, 0.3);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(76, 110, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card-icon i {
  font-size: 22px;
  color: var(--accent);
}

.feature-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Pricing ── */
.pricing {
  background: var(--bg);
  text-align: center;
}

.pricing-header {
  margin-bottom: 56px;
}

.pricing-header .section-sub {
  margin: 12px auto 0;
}

.pricing-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 56px;
  min-width: 360px;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.pricing-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  width: 100%;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.pricing-meta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Final CTA ── */
.final-cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 120px 0;
}

.final-cta .section-headline {
  font-size: 52px;
  margin-bottom: 16px;
}

.final-cta .section-sub {
  margin: 0 auto 40px;
  text-align: center;
}

/* ── Footer ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 260px;
  font-weight: 300;
  margin: 0;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-made {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-headline {
    font-size: 52px;
  }

  .hero-demo {
    align-items: flex-start;
  }

  .how-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .how-steps::before {
    display: none;
  }

  .how-step {
    padding: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 17px;
  }

  section {
    padding: 64px 0;
  }

  .section-headline {
    font-size: 32px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-width: unset;
    width: 100%;
    padding: 36px 28px;
  }

  .final-cta .section-headline {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand-col {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================================
   New additions — homepage expansion + features/pricing pages
   ============================================================ */

/* ── Secondary button ── */
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: rgba(76, 110, 245, 0.5);
  background: rgba(76, 110, 245, 0.06);
  transform: translateY(-1px);
}

/* ── Hero CTA — two buttons side by side ── */
.hero-cta {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-reassurance {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-style: italic;
}

/* ── Navbar nav links ── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Loop section ── */
.loop-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.loop-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.loop-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loop-step-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
  font-weight: 300;
  padding-top: 6px;
}

/* ── Next Move section ── */
.next-move-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.next-move-mockup {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  max-width: 360px;
  margin-top: 40px;
}

.next-move-task-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.next-move-task-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.next-move-step-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fcc419;
  margin-bottom: 8px;
}

.next-move-step-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
}

.next-move-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ── Coming soon strips ── */
.strips-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.coming-soon-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 12px;
}

.coming-soon-strip:last-child {
  margin-bottom: 0;
}

.coming-soon-strip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(76, 110, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coming-soon-strip-icon i {
  font-size: 17px;
  color: var(--accent);
}

.coming-soon-strip-body {
  flex: 1;
}

.coming-soon-strip-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.coming-soon-strip-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.coming-soon-strip-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.coming-soon-strip-link:hover {
  color: var(--accent-hover);
}

/* ── Page header (features + pricing pages) ── */
.page-header {
  padding: 80px 0 64px;
  text-align: center;
  background: var(--bg);
}

.page-header .section-sub {
  margin: 12px auto 0;
  text-align: center;
}

/* ── Feature band ── */
.feature-band {
  margin-bottom: 80px;
}

.feature-band:last-child {
  margin-bottom: 0;
}

.feature-band-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.feature-band-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
}

.feature-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* ── Feature card muted ── */
.feature-card--muted {
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.feature-card--muted:hover {
  opacity: 0.8;
}

/* ── Availability badge ── */
.availability-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 14px;
}

.availability-badge--free {
  background: rgba(47, 158, 68, 0.15);
  color: #69db7c;
  border: 1px solid rgba(47, 158, 68, 0.25);
}

.availability-badge--soon {
  background: rgba(245, 159, 0, 0.12);
  color: #fcc419;
  border: 1px solid rgba(245, 159, 0, 0.25);
}

.availability-badge--q3 {
  background: rgba(76, 110, 245, 0.12);
  color: #748ffc;
  border: 1px solid rgba(76, 110, 245, 0.25);
}

/* ── Billing toggle ── */
.billing-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 48px;
}

.billing-toggle__btn {
  padding: 8px 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: 'Inter', sans-serif;
}

.billing-toggle__btn--active {
  background: var(--accent);
  color: #fff;
}

/* ── Pricing grid (3 plans) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.pricing-grid .pricing-card {
  min-width: unset;
  width: 100%;
  align-items: flex-start;
  padding: 36px 32px;
}

.pricing-plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-plan-status {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing-plan-price-amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-plan-price-symbol {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  align-self: flex-start;
  padding-top: 4px;
}

.pricing-plan-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-card--muted {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.pricing-card--muted:hover {
  opacity: 0.9;
}

/* ── Price toggle ── */
.price-yearly { display: none; }
body.show-yearly .price-monthly { display: none; }
body.show-yearly .price-yearly  { display: block; }

/* ── FAQ ── */
.faq-section {
  padding-top: 80px;
}

.faq-section .section-headline {
  text-align: center;
  margin-bottom: 0;
}

.faq-list {
  max-width: 680px;
  margin: 48px auto 0;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Legal pages ── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-content h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-content .legal-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--text);
  font-weight: 500;
}

/* ── Responsive: new additions ── */
@media (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .loop-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .feature-band-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .btn.nav-cta {
    font-size: 13px;
    padding: 7px 14px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .coming-soon-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============================================================
   Navbar right group
   ============================================================ */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0; /* Never compress the controls — let the brand shrink instead */
}

/* ── Nav CTA button size ── */
.btn.nav-cta {
  font-size: 14px;
  padding: 8px 18px;
  height: auto;
}

/* ============================================================
   Language switcher — custom dropdown (landing page)
   ============================================================ */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.lang-chevron {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  padding: 4px;
  z-index: 200;
}

.lang-switcher.open .lang-dropdown {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, color 0.12s;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.lang-option.active {
  color: var(--accent);
}

.lang-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-name {
  flex: 1;
}

.lang-check {
  font-size: 14px;
  color: var(--accent);
  margin-left: auto;
}

/* ── Mobile: collapse trigger to icon + chevron only; CTA to arrow icon only ── */
@media (max-width: 480px) {
  .lang-btn-label {
    display: none;
  }

  /* Hide CTA text — arrow icon alone is enough on small screens */
  .nav-cta-text {
    display: none;
  }

  .btn.nav-cta {
    padding: 7px 10px;
    gap: 0;
  }
}

/* ============================================================
   Legal notice banner (non-English legal pages)
   ============================================================ */
.legal-notice-banner {
  background: rgba(76, 110, 245, 0.08);
  border: 1px solid rgba(76, 110, 245, 0.25);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-notice-banner .ti {
  flex-shrink: 0;
  color: var(--accent);
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 16px 24px; box-shadow: 0 -4px 24px rgba(0,0,0,.3);
}
.cookie-banner__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1; min-width: 200px; font-size: 14px;
  color: var(--text-secondary); line-height: 1.5; margin: 0;
}
.cookie-banner__link { color: var(--accent); text-decoration: none; }
.cookie-banner__link:hover { text-decoration: underline; }
.cookie-banner__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cookie-banner__btn { font-size: 14px; padding: 8px 16px; }
@media (max-width: 639px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner__actions { width: 100%; flex-direction: column; gap: 8px; }
  .cookie-banner__btn { width: 100%; justify-content: center; }
}
