:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-card: #ffffff;
  --surface-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --fg: #0f172a;
  --heading-fg: #0f172a;
  --muted: #64748b;
  --muted-dark: #94a3b8;
  --input-bg: #ffffff;
  --accent: #6366f1;
  --accent-light: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --accent-glow: rgba(99, 102, 241, 0.15);
  --ok: #10b981;
  --ok-bg: rgba(16, 185, 129, 0.1);
  --warn: #f59e0b;
  --warn-bg: rgba(245, 158, 11, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 12px 36px -4px rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] {
  --bg: #0b0f19;
  --surface: #111827;
  --surface-card: #161e2e;
  --surface-hover: #1f293d;
  --border: #243047;
  --border-subtle: #1a2336;
  --fg: #f3f4f6;
  --heading-fg: #ffffff;
  --muted: #9ca3af;
  --muted-dark: #6b7280;
  --input-bg: #090d16;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --accent-glow: rgba(99, 102, 241, 0.25);
  --shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-fg);
  letter-spacing: -0.5px;
}
.nav-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: var(--shadow-glow);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.nav-link:hover {
  color: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}
.btn-secondary {
  background: var(--surface-hover);
  color: var(--fg) !important;
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border);
  border-color: var(--muted-dark);
}
.btn-outline {
  background: transparent;
  color: var(--fg) !important;
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  position: relative;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--heading-fg);
  letter-spacing: -1.5px;
  max-width: 900px;
  margin: 0 auto 24px;
}
.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero Visual Card */
.hero-visual {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-card);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  position: relative;
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
}
.window-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.slideshow-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}
.slide-item {
  display: none;
  width: 100%;
  text-align: center;
  position: relative;
}
.slide-item.active {
  display: block;
  animation: slideFade 0.4s ease-in-out;
}
@keyframes slideFade {
  from { opacity: 0.5; }
  to { opacity: 1; }
}
.slide-img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.slide-caption-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: var(--surface-card);
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--heading-fg);
  flex-wrap: wrap;
  gap: 10px;
}
.slide-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.25s ease;
}
.slide-dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 12px;
}
.slide-nav-btn {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}
.slide-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.slide-nav-btn.prev { left: 16px; }
.slide-nav-btn.next { right: 16px; }

/* Trust Bar / Metrics */
.metrics-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  margin: 70px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.metric-value {
  font-size: 36px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}
.metric-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Feature Sections */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--heading-fg);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--heading-fg);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Interactive Tabs */
.tabs-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-top: 40px;
}
.tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 28px;
  overflow-x: auto;
}
.tab-btn {
  cursor: pointer;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  background: var(--surface-hover);
  border: 1px solid transparent;
  color: var(--muted);
  white-space: nowrap;
}
.tab-btn.active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
  border-color: rgba(99, 102, 241, 0.3);
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.pricing-card.featured::before {
  content: 'CONSIGLIATO';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}
.pricing-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-fg);
  margin-bottom: 8px;
}
.pricing-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.pricing-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--heading-fg);
  margin-bottom: 24px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.pricing-features li {
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 800;
}

/* Tab Content Layouts */
.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.tab-content-grid.mcp-grid {
  grid-template-columns: 1.15fr 0.85fr;
}
@media (max-width: 860px) {
  .tab-content-grid, .tab-content-grid.mcp-grid {
    grid-template-columns: 1fr;
  }
}
.tab-pane-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--heading-fg);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.tab-pane-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.tab-feature-list {
  list-style: none;
  font-size: 14px;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.starter-tags-box {
  background: var(--surface-hover);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.starter-tags-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--heading-fg);
  margin-bottom: 12px;
}
.starter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.starter-tag {
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
}
.flowchart-box {
  background: var(--surface-hover);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--fg);
}
.flowchart-trigger {
  color: var(--accent);
  font-weight: 700;
}
.flowchart-branch {
  margin-left: 20px;
  border-left: 2px dashed var(--muted);
  padding-left: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.flowchart-yes { color: var(--ok); font-weight: 600; }
.flowchart-no { color: var(--warn); font-weight: 600; }

.analytics-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.analytics-card {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}
.analytics-card-num {
  font-size: 28px;
  font-weight: 800;
}
.analytics-card-num.accent { color: var(--accent); }
.analytics-card-num.ok { color: var(--ok); }
.analytics-card-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

.mcp-command-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mcp-command-row {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  background: var(--surface-hover);
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--fg);
}
.mcp-command-row code {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.mcp-tools-card {
  background: var(--surface-hover);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.mcp-tools-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mcp-tools-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--fg);
}
.mcp-tools-list div {
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Contact Modal / Section */
.contact-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 60px auto;
  box-shadow: var(--shadow);
  max-width: 760px;
}
.contact-inner {
  text-align: center;
}
.contact-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: var(--heading-fg);
  margin-bottom: 10px;
}
.contact-subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.contact-success-banner {
  background: var(--ok-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--ok);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}
.contact-form {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group-full {
  grid-column: 1 / -1;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-fg);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea {
  resize: vertical;
  min-height: 90px;
}
.form-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-checkbox-text {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.form-checkbox-text a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.form-submit-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s ease;
}
.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(99, 102, 241, 0.4);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
}
.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  display: none;
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 60px 0 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
}
.footer-col-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--heading-fg);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Language Switcher Dropdown */
#konta-lang-dropdown-wrapper {
  position: relative;
}
.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 99px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  color: var(--heading-fg);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.lang-dropdown-btn:hover {
  background: var(--surface-card);
  border-color: var(--accent);
  color: var(--accent);
}
.lang-flag {
  font-size: 15px;
  line-height: 1;
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 175px;
  padding: 6px;
  margin: 0;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
  backdrop-filter: blur(12px);
}
.lang-dropdown-header {
  padding: 5px 8px 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}
.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-dropdown-item:hover {
  background: var(--surface-hover);
  color: var(--accent);
}
.lang-dropdown-item.active {
  background: var(--surface-hover);
  color: var(--heading-fg);
}
.lang-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-check {
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

/* Theme Toggle Dual-Icon Pill */
.theme-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 99px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.theme-toggle-pill:hover {
  border-color: var(--accent);
}
.theme-toggle-pill .theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .theme-toggle-pill .sun-icon,
:root:not([data-theme="dark"]) .theme-toggle-pill .sun-icon {
  background: var(--surface-card);
  color: #f59e0b;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}
[data-theme="dark"] .theme-toggle-pill .moon-icon {
  background: var(--surface-card);
  color: #818cf8;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}
[data-theme="light"] .theme-toggle-pill .moon-icon,
:root:not([data-theme="dark"]) .theme-toggle-pill .moon-icon {
  color: var(--muted);
  background: transparent;
  box-shadow: none;
}
[data-theme="dark"] .theme-toggle-pill .sun-icon {
  color: var(--muted);
  background: transparent;
  box-shadow: none;
}

/* Legacy inline lang-switcher (used in footer / secondary pages) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 99px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-btn:hover {
  color: var(--fg);
}
.lang-btn.active {
  background: var(--surface-card);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Security & Compliance Badges */
.security-badges-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 24px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-align: center;
}
.security-badges-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.security-badges-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.security-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
  border-radius: 6px;
}
.security-badge-link:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 4px 14px rgba(99, 102, 241, 0.25));
}
.security-badge-img-internetnl {
  height: 48px;
  width: auto;
  display: block;
}
.security-badge-img-ssllabs {
  height: 28px;
  width: auto;
  display: block;
  border-radius: 4px;
}
