/* ==========================================================================
   Base & Resets
   ========================================================================== */
:root {
  --primary: #331A73;
  --primary-hover: #4A2BAD;
  --secondary: #ECECFA;
  --bg-light: #F7F5FC;
  --bg-gradient: linear-gradient(180deg, #F7F5FC 0%, #FFFFFF 100%);
  --bg-white: #FFFFFF;
  --text-main: #1D182A;
  --text-muted: #6A6575;
  --border-color: #E6E4F0;
  --border-light: #F0EDF6;
  --success: #2E7D32;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(51, 26, 115, 0.05);
  --shadow-md: 0 8px 24px rgba(51, 26, 115, 0.08);
  --shadow-lg: 0 16px 48px rgba(51, 26, 115, 0.12);
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-inter);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  margin-bottom: 0.5em;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

p {
  margin: 0 0 1rem 0;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

.w-full { width: 100%; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.p-6 { padding: 1.5rem; }
.p-12 { padding: 3rem; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.border { border: 1px solid var(--border-light); }
.border-t { border-top: 1px solid var(--border-light); }
.rounded-md { border-radius: var(--radius-md); }
.block { display: block; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.tracking-widest { letter-spacing: 0.1em; }


/* ==========================================================================
   Typography
   ========================================================================== */
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; letter-spacing: -0.02em; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* ==========================================================================
   Layout Utils
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-light {
  background-color: var(--bg-light);
}
.bg-gradient {
  background: var(--bg-gradient);
}
.bg-white { background-color: var(--bg-white); }


.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ==========================================================================
   Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-align: center;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(51, 26, 115, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(51, 26, 115, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
}
.btn-secondary:hover {
  background-color: #DFD7F0;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
}
.badge-light {
  background-color: white;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ==========================================================================
   Specific Sections
   ========================================================================== */
/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(226, 223, 235, 0.5);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding-top: 60px;
  padding-bottom: 100px;
}
.hero-info-box {
  background-color: var(--secondary);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}
.hero-translation {
  display: flex;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
  max-width: 500px;
}
.translation-icon {
  color: var(--primary);
  background: white;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.translation-text strong {
  display: block;
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.translation-text span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}
.hero-visual {
  position: relative;
}
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--bg-light);
  background-image: url('assets/images/hero-image.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(51, 26, 115, 0.1);
}

.office-hours-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}
.muted-text { display: block; color: var(--text-muted); font-size: 0.75rem; font-weight: 600; margin-bottom: 4px; }

/* Process Section */
.process-container {
  max-width: 900px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.process-step {
  display: flex;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.3s;
  border: 1px solid transparent;
}
.process-step:hover {
  transform: translateX(10px);
  background: white;
  box-shadow: var(--shadow-sm);
  border-color: var(--border-color);
}
.step-icon {
  background: var(--secondary);
  color: var(--primary);
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing Section */
.plans-grid {
  align-items: stretch;
}
.plan-card {
  display: flex;
  flex-direction: column;
}
.plan-card-featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  z-index: 10;
}
.plan-card-featured:hover {
  transform: scale(1.06);
}
.plan-features {
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 500;
}
.plan-features svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.feature-info {
  background: var(--bg-light);
  padding: 12px;
  border-radius: 8px;
  color: var(--text-muted);
  align-items: center !important;
}

/* Payment Section */
.payment-card {
  background: var(--bg-light);
  border: none;
}
.payment-methods {
  opacity: 0.6;
  transition: all 0.3s;
}
.payment-methods:hover {
  opacity: 1;
}
.icon-box {
  width: 60px;
  height: 40px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--text-main);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* FAQ Preview */
.faq-preview-item {
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.faq-preview-item:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
}
.faq-preview-item:hover h4 {
  color: var(--primary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;
  background: var(--bg-white);
}

/* FAQ Styles */
.faq-search-large {
  position: relative;
  max-width: 800px;
  margin-top: 32px;
}
.faq-search-large input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  outline: none;
  transition: all 0.3s;
}
.faq-search-large input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(51, 26, 115, 0.1);
}
.faq-search-large svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0 24px;
}
.faq-category-title svg {
  color: var(--primary);
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover {
  border-color: var(--border-color);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-header svg {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-header svg {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-item.active .faq-body {
  padding: 0 24px 24px;
  max-height: 500px;
}

.support-cta {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}
.support-buttons {
  display: flex;
  gap: 16px;
}
.support-buttons .btn {
  gap: 8px;
  padding: 14px 28px;
}
.btn-white {
  background: white;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-white:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile Navigation */
.hamburger-btn {
  display: none;
  color: var(--text-main);
  padding: 8px;
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  z-index: 40;
}
.mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease forwards;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-links a:last-child {
  border-bottom: none;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header Search (Small) */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search input {
  padding: 8px 16px 8px 36px;
  border-radius: 4px;
  border: none;
  background: var(--bg-light);
  font-size: 0.85rem;
  width: 200px;
}
.header-search svg {
  position: absolute;
  left: 10px;
  color: var(--text-muted);
  width: 14px;
  height: 14px;
}
.user-avatar {
  width: 36px;
  height: 36px;
  background: #F3D5C0;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Booking Layout */
.booking-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.booking-main {
  flex: 1;
}
.booking-sidebar {
  width: 380px;
  position: sticky;
  top: 100px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--primary);
}

.step-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 24px;
}
.step-number {
  background: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Plan Selection */
.booking-plan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.booking-plan-item:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}
.booking-plan-item.selected {
  border: 2px solid var(--primary);
  background: var(--bg-light);
}
.plan-radio {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.radio-circle {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.booking-plan-item.selected .radio-circle {
  border-color: var(--primary);
}
.booking-plan-item.selected .radio-circle::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
}
.plan-details h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}
.plan-details p {
  margin: 0;
  font-size: 0.95rem;
}
.plan-price-badge {
  font-weight: 700;
  color: var(--text-main);
}
.booking-plan-item.selected .plan-price-badge {
  color: var(--primary);
}

/* Date & Time Selection */
.datetime-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 16px;
}
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button { padding: 4px; color: var(--text-muted); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}
.calendar-day-header {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calendar-day {
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
}
.calendar-day:hover {
  background: var(--bg-light);
}
.calendar-day.selected {
  background: var(--primary);
  color: white;
  font-weight: 600;
}
.time-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.time-slot {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
}
.time-slot:hover { border-color: var(--primary); }
.time-slot.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.time-slot.unavailable {
  color: #ccc;
  border-color: #eee;
  text-decoration: line-through;
  pointer-events: none;
}
.time-note {
  grid-column: 1 / -1;
  background: #FFF9F0;
  border: 1px solid #F5E6CA;
  border-radius: 4px;
  padding: 12px;
  font-size: 0.8rem;
  color: #8D5A25;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-light);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Booking Summary Sidebar */
.summary-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.summary-header {
  background: var(--primary);
  color: white;
  padding: 24px;
}
.summary-header h3 { margin: 0; color: white; }
.summary-body { padding: 24px; }
.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.summary-item p { margin: 0; color: var(--text-main); font-weight: 600; }
.summary-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.summary-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.summary-detail svg { color: var(--primary); }
.summary-total {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.total-label { font-size: 1.1rem; font-weight: 600; }
.total-amount { font-size: 1.75rem; font-weight: 800; color: var(--text-main); }
.summary-terms {
  font-size: 0.7rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.4;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(51, 26, 115, 0.4);
  border-radius: 50px;
  font-size: 1.1rem;
  padding: 16px 32px;
}
.floating-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(51, 26, 115, 0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero { padding-top: 40px; }
  .text-5xl { font-size: 2.5rem; }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .plan-card-featured { transform: scale(1); }
  .plan-card-featured:hover { transform: translateY(-4px); }
  
  .booking-layout { flex-direction: column; }
  .booking-sidebar { width: 100%; position: static; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-cols-2 { grid-template-columns: 1fr; }
  .grid-cols-3 { grid-template-columns: 1fr; }
  .text-5xl { font-size: 2.25rem; }
  .text-4xl { font-size: 2rem; }
  .nav-links.desktop-nav { display: none; }
  .hamburger-btn { display: block; }
  .hero-translation { max-width: 100%; }
  .process-step { flex-direction: column; align-items: center; text-align: center; }
  .footer .grid-cols-3, .footer .grid-cols-4 { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  
  .datetime-container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .booking-plan-item { flex-direction: column; gap: 16px; align-items: flex-start; }
  .floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* Language Switcher */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  margin-left: 16px;
  border-left: 1px solid var(--border-light);
  padding-left: 16px;
  align-items: center;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.lang-dropdown-btn:hover {
  color: var(--primary);
}
.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 12px;
  background: white;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  padding: 8px 0;
  min-width: 140px;
  z-index: 100;
}

/* Invisible bridge to keep hover state active */
.lang-dropdown-content::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}
.lang-dropdown-wrapper:hover .lang-dropdown-content,
.lang-dropdown-btn:focus + .lang-dropdown-content,
.lang-dropdown-content:hover {
  display: block;
}
.lang-dropdown-content a {
  display: block;
  padding: 8px 16px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}
.lang-dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}
.mobile-lang-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.mobile-lang-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: bold;
}
.mobile-lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-lang-links a {
  padding: 6px 12px !important;
  font-size: 0.85rem !important;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  display: inline-block;
  border-bottom: none !important;
}
.mobile-lang-links a:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}
