/* Lean stylesheet for public marketing pages only (no Bootstrap / full site.css). */
:root {
  --va-bg: #0b0f1a;
  --va-bg-soft: #111827;
  --va-surface: #fff;
  --va-border: #e2e8f0;
  --va-text: #0f172a;
  --va-text-muted: #475569;
  --va-primary: #6366f1;
  --va-gradient: linear-gradient(135deg, #6366f1 0%, #14b8a6 55%, #22d3ee 100%);
  --va-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --va-radius-lg: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body.marketing-page {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--va-bg);
  color: #e2e8f0;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 12px;
}

.position-relative { position: relative; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}

.row.align-items-center { align-items: center; }

.g-4 > * { padding: 12px; }
.g-5 > * { padding: 16px; }

.col-lg-6, .col-md-6, .col-lg-3 {
  width: 100%;
  padding-inline: 12px;
}

@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-6 { width: 50%; }
  .col-lg-3 { width: 25%; }
}

.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--va-text-muted) !important; }
.small { font-size: 0.875em; }
.list-unstyled { list-style: none; padding: 0; margin: 0; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.display-6 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-4 { padding-block: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; border-radius: 0.75rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.875rem; border-radius: 0.5rem; }
.btn-link { background: none; border: none; }
.w-100 { width: 100%; }

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 0.375rem;
}
.bg-light { background: #f8fafc; }
.text-dark { color: #0f172a !important; }
.border { border: 1px solid var(--va-border) !important; }

/* Nav */
.va-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar { padding: 0.75rem 0; }
.navbar > .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.navbar-brand { font-weight: 700; font-size: 1.25rem; color: #fff; letter-spacing: -0.02em; }
.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.55rem;
  background: transparent;
  border: 0;
}
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background: center/100% no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-collapse { display: none; width: 100%; }
.navbar-collapse.show { display: block; }
.navbar-nav { list-style: none; margin: 0; padding: 0.75rem 0 0; }
.nav-item { margin-bottom: 0.25rem; }
.nav-link { color: rgba(255, 255, 255, 0.75); font-weight: 500; padding: 0.35rem 0; display: inline-block; }

@media (min-width: 992px) {
  .navbar-toggler { display: none; }
  .navbar-collapse {
    display: flex !important;
    width: auto;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
  }
  .navbar-nav { display: flex; gap: 1rem; padding: 0; margin-inline-start: 1rem; }
  .navbar-nav.va-nav-auth { gap: 0.5rem; margin-inline-start: 0; }
  .nav-item { margin: 0; }
}

.bd-brand-icon { flex-shrink: 0; }

.bd-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
}

.bd-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.bd-lang-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.bd-lang-btn.active { color: #0b0f1a; background: #fff; }

/* Hero */
.va-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}

.va-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(99, 102, 241, 0.35), transparent),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(20, 184, 166, 0.25), transparent);
  pointer-events: none;
}

.va-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
}

.va-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1rem;
}

.va-gradient-text {
  background: var(--va-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.va-hero-lead {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 540px;
  line-height: 1.7;
}

.va-btn-primary {
  background: var(--va-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.32);
}

.va-btn-primary:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(99, 102, 241, 0.4); }

.va-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-weight: 600;
}

.va-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); color: #fff; }

.va-nav-auth { padding-top: 0.75rem; }
@media (min-width: 992px) {
  .va-nav-auth { padding-top: 0; }
}
@media (max-width: 991px) {
  .va-nav-auth { width: 100%; }
  .va-nav-auth .nav-item { width: 100%; }
  .va-nav-auth .btn { width: 100%; }
}

.va-hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--va-radius-lg);
  padding: 1.5rem;
}

.va-hero-card pre {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.8rem;
  color: #a5f3fc;
  margin: 0;
  white-space: pre-wrap;
}

/* Sections */
.va-section {
  padding: 5rem 0;
  background: #fff;
  color: var(--va-text);
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.va-section-dark {
  background: var(--va-bg-soft);
  color: #e2e8f0;
}

.va-feature-card {
  background: #fff;
  border: 1px solid var(--va-border);
  border-radius: var(--va-radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.va-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(20, 184, 166, 0.15));
}

.va-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.va-step { text-align: center; padding: 1.5rem; }

.va-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--va-gradient);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.va-footer {
  background: var(--va-bg);
  color: #94a3b8;
  font-size: 0.9rem;
}

.va-section .text-muted,
.va-feature-card .text-muted {
  color: var(--va-text-muted) !important;
}

/* Auth modal (minimal styles without full Bootstrap CSS) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.55);
}

.modal.show { display: block; }

.modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
  padding: 0 1rem;
}

.modal-dialog-centered {
  min-height: calc(100% - 3.5rem);
  display: flex;
  align-items: center;
}

.modal-content {
  width: 100%;
  background: #fff;
  border-radius: var(--va-radius-lg);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
  color: var(--va-text);
}

.modal-header, .modal-body, .modal-footer { padding: 1.25rem; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 0; padding-bottom: 0; }
.modal-title { margin: 0; font-size: 1.1rem; }
.btn-close {
  border: 0;
  background: transparent;
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.55;
  cursor: pointer;
  border-radius: 0.35rem;
  flex-shrink: 0;
  background: center/1rem no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f172a'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}
.btn-close:hover { opacity: 0.85; background-color: #f1f5f9; }

.bd-auth-tabs.nav-pills { gap: 0.35rem; margin-bottom: 1.25rem; }
.bd-auth-tabs .nav-link {
  flex: 1;
  border: 0;
  background: #f1f5f9;
  color: var(--va-text-muted);
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.bd-auth-tabs .nav-link:hover { color: var(--va-text); background: #e2e8f0; }
.bd-auth-tabs .nav-link.active { background: var(--va-primary); color: #fff; }
.bd-auth-tabs .nav-link.active:hover { color: #fff; }

.nav-pills { display: flex; list-style: none; padding: 0; margin: 0 0 1rem; gap: 0.35rem; }
.nav-pills .nav-link {
  flex: 1;
  border: 0;
  background: #f1f5f9;
  color: var(--va-text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
}
.nav-pills .nav-link.active { background: var(--va-primary); color: #fff; }
.tab-pane { display: none; }
.tab-pane.active,
.tab-pane.show.active { display: block; }

.form-label { display: block; margin-bottom: 0.35rem; font-weight: 500; }
.form-control {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--va-border);
  border-radius: 0.5rem;
  font: inherit;
}

.form-check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.form-check-input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--va-primary); }
.form-check-label { font-size: 0.9rem; color: var(--va-text-muted); }
.form-text { font-size: 0.8rem; color: var(--va-text-muted); margin-top: 0.35rem; line-height: 1.4; }

.bd-auth-modal .btn-primary {
  width: 100%;
  background: var(--va-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.72rem 1.25rem;
  border-radius: 0.65rem;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.28);
}

.bd-auth-modal .btn-primary:hover:not(:disabled) {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.38);
}

.bd-auth-modal .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.bd-register-selection {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.bd-register-selection-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 0.25rem;
}

.bd-register-selection-plan {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.bd-register-selection-meta {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.15rem;
}

.alert { padding: 0.65rem 0.85rem; border-radius: 0.5rem; }
.alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.d-none { display: none !important; }
.bd-text-subtle { color: var(--va-text-muted); }

@media (max-width: 767px) {
  .va-hero { padding: 3rem 0 4rem; }
}

/* Pricing */
.va-section-pricing {
  background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, transparent 100%);
  padding: 5rem 0;
  color: #e2e8f0;
}

.va-section-pricing .display-6,
.va-section-pricing h2 {
  color: #f8fafc;
}

.va-section-pricing .text-muted,
.va-section-pricing .va-pricing-lead,
.va-section-pricing .va-pricing-note {
  color: #94a3b8 !important;
}

.va-pricing-lead { max-width: 42rem; }

.va-pricing-interval-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.billing-interval-switch {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  gap: 0.15rem;
}

.billing-interval-btn {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.billing-interval-btn:hover:not(:disabled) {
  color: #f8fafc;
}

.billing-interval-btn.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.va-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.va-pricing-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
}

@media (max-width: 991px) {
  .va-pricing-grid { grid-template-columns: 1fr; max-width: 28rem; margin-inline: auto; }
}

.va-price-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.va-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.45);
  box-shadow: 0 24px 48px rgba(15,23,42,0.35);
}

.va-price-card--featured {
  border-color: rgba(20,184,166,0.55);
  background: linear-gradient(160deg, rgba(99,102,241,0.18), rgba(20,184,166,0.12));
  box-shadow: 0 20px 50px rgba(99,102,241,0.2);
}

.va-price-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(99,102,241,0.2);
  color: #c7d2fe;
  margin-bottom: 1rem;
  width: fit-content;
}

.va-price-badge--accent { background: rgba(20,184,166,0.25); color: #99f6e4; }

.va-price-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #f8fafc;
}

.va-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  background: var(--va-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.va-price-amount span { font-size: 1rem; font-weight: 600; color: #94a3b8; -webkit-text-fill-color: #94a3b8; }

.va-price-savings {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin: -0.25rem 0 0.85rem;
  width: fit-content;
  max-width: 100%;
  line-height: 1.35;
}

.va-price-amount--custom { font-size: 1.75rem; color: #e2e8f0; -webkit-text-fill-color: #e2e8f0; }

.va-price-desc { color: #94a3b8; font-size: 0.95rem; margin-bottom: 1.25rem; }

.va-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.va-price-features li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.va-price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #14b8a6;
  font-weight: 700;
}

.va-pricing-note { color: #94a3b8; }

.w-100 { width: 100%; }
.mx-auto { margin-inline: auto; }
.mt-4 { margin-top: 1.5rem; }
