@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

:root {
  --bg: #080808;
  --bg-alt: #0d0d0d;
  --surface: rgba(16, 16, 16, 0.92);
  --gold: #d4af37;
  --gold-soft: #f1d9a3;
  --cream: #fdf8f0;
  --muted: #b9b1a5;
  --accent: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(212, 175, 55, 0.18);

  /* Section accent colors */
  --section-midnight: #080c18;
  --section-navy: #090e1e;
  --section-forest: #070f0c;
  --section-warm: #0e0b06;
  --section-slate: #0a0c10;
  --teal: #2dd4bf;
  --teal-soft: #99f6e4;
  --blue: #3b82f6;
  --blue-soft: #93c5fd;
  --green: #22c55e;
  --green-soft: #86efac;
  --red-soft: #fca5a5;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px 500px at 50% -5%, rgba(212, 175, 55, 0.10), transparent),
    linear-gradient(180deg, #0a0a0a 0%, #080808 100%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.saas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px max(32px, calc((100vw - 1136px) / 2));
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.saas-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.93rem;
}

.saas-nav-main,
.saas-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.saas-nav-main {
  flex-wrap: wrap;
}

.saas-nav-actions {
  margin-left: auto;
}

/* Mobile nav: native selects — hidden on desktop */
.saas-mobile-actions {
  display: none;
}

.saas-nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.65);
  color: var(--cream);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.saas-nav a {
  color: var(--muted);
  line-height: 1.2;
  transition: color 0.2s ease;
}

.saas-nav a:hover {
  color: var(--cream);
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-toggle::after {
  content: "v";
  font-size: 0.65rem;
  color: var(--muted);
}

.lang-toggle:hover,
.lang-toggle:focus {
  color: var(--cream);
  border-color: rgba(201, 164, 107, 0.5);
  outline: none;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(12, 12, 14, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 64px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.lang-menu a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-menu a:hover {
  color: var(--cream);
  background: rgba(201, 164, 107, 0.12);
}

.lang-menu .is-active {
  color: var(--cream);
  background: rgba(201, 164, 107, 0.2);
  border: 1px solid rgba(201, 164, 107, 0.4);
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-switch.is-open .lang-toggle::after {
  content: "^";
}

/* ── Currency picker ─────────────────────────────────────── */
.currency-switch {
  position: relative;
}

.currency-toggle {
  min-width: 72px;
}

.currency-toggle::after {
  content: none; /* hide chevron from lang-toggle — has own indicator */
}

.currency-menu {
  min-width: 90px;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.currency-option {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  text-align: left;
}

.currency-option:hover {
  color: var(--cream);
  background: rgba(201, 164, 107, 0.12);
}

.currency-option.is-active {
  color: var(--cream);
  background: rgba(201, 164, 107, 0.2);
  border: 1px solid rgba(201, 164, 107, 0.4);
}

/* Currency disclaimer below prices */
.price-currency-note {
  font-size: 0.68rem;
  opacity: 0.5;
  display: block;
  margin-top: 4px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b37a2c);
  color: #1a1206;
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(212, 162, 76, 0.4);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.08);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.02);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-lux {
  align-items: stretch;
  padding: 30px 0 20px;
}

.hero-panel h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin: 12px 0 20px;
  text-transform: none;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-soft);
}

.hero-actions {
  margin: 26px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stat-chip {
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 14px 18px;
  border-radius: 16px;
  display: grid;
  gap: 6px;
  min-height: 84px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.stat-chip span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.stat-chip small {
  display: block;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  gap: 20px;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 32px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 60%);
  pointer-events: none;
}

.lux-card {
  position: relative;
  background: linear-gradient(155deg, rgba(24, 24, 24, 0.96), rgba(12, 12, 12, 0.96));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.lux-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.lux-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.lux-card-alt {
  border-style: solid;
  background: rgba(16, 16, 16, 0.9);
}

.lux-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.lux-metrics strong {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-soft);
}

.lux-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.pill {
  background: rgba(212, 162, 76, 0.2);
  color: var(--gold-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.card-body ul {
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
  margin: 0 -8vw;
  padding: 80px 8vw;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}

.section-title h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}

.section-title::after {
  content: "";
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 6px;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 32px;
}

.feature-grid article,
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--glow);
}

.module-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.link-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.link-chip:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.08);
}

.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.billing-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.7);
  box-shadow: var(--glow);
  margin-top: 16px;
}

.billing-toggle .billing-option {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-toggle .billing-option.is-active {
  background: linear-gradient(135deg, var(--gold), #9b6a22);
  color: #120c04;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

.billing-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  display: grid;
  gap: 14px;
  min-height: 320px;
  box-shadow: var(--glow);
}

.pricing-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 0;
}

.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
}

.pricing-card .price span {
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-card.featured {
  border-color: rgba(212, 162, 76, 0.45);
  box-shadow: 0 26px 70px rgba(212, 175, 55, 0.25);
  background: linear-gradient(145deg, rgba(26, 24, 18, 0.98), rgba(14, 14, 14, 0.96));
}

.pricing-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.promo-row {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.promo-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.promo-input input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.7);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
}

.promo-input input::placeholder {
  color: rgba(226, 217, 204, 0.5);
}

.promo-feedback {
  font-size: 0.8rem;
  color: var(--muted);
}

.promo-feedback.is-error {
  color: #f2a7a7;
}

.promo-feedback.is-success {
  color: var(--gold-soft);
}

.timeline {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--glow);
}

.step span {
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 1.2rem;
}

.signup-wrapper {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 32px;
}

.signup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: var(--glow);
}

.advanced-details {
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(12, 12, 12, 0.55);
}

.advanced-details summary {
  cursor: pointer;
  list-style: none;
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.advanced-details summary::-webkit-details-marker {
  display: none;
}

.advanced-details summary::after {
  content: "v";
  color: var(--muted);
  font-size: 0.9rem;
}

.advanced-details[open] summary::after {
  content: "^";
}

.advanced-details .details-body {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.field .field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.8);
  color: var(--cream);
}

.profile-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-choice {
  position: relative;
  display: block;
}

.profile-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 16, 0.75);
  color: var(--cream);
  font-size: 0.92rem;
  text-align: center;
}

.profile-choice input:checked + span {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-soft);
}

/* Mode choices (full_site vs embed) */
.mode-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mode-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.mode-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-choice span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 16, 0.75);
  color: var(--cream);
  text-align: center;
  gap: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.mode-choice span strong {
  font-size: 0.95rem;
}

.mode-choice span small {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}

.mode-choice input:checked + span {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.12);
}

.mode-choice input:checked + span strong {
  color: var(--gold-soft);
}

/* Brief textarea */
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.8);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  min-height: 70px;
}

.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.signup-result {
  margin-top: 8px;
  font-size: 0.95rem;
}

.signup-result-card {
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(14, 18, 23, 0.95);
  padding: 24px;
  border-radius: 16px;
  display: grid;
  gap: 14px;
  text-align: center;
}

.signup-result-card .result-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.signup-result-card .result-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

.signup-result-card .result-generation-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 10px;
  color: var(--gold-soft);
  font-size: 0.9rem;
}

.gen-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: gen-spin 0.8s linear infinite;
}

@keyframes gen-spin {
  to { transform: rotate(360deg); }
}

.signup-result-card input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.7);
  color: var(--cream);
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.form-note-ai {
  color: var(--gold-soft);
  opacity: 0.85;
}

.signup-result.success {
  color: var(--gold-soft);
}

.signup-result.error {
  color: #ff8a7a;
}

.signup-info ul {
  padding-left: 18px;
  color: var(--muted);
}

.note-card {
  margin-top: 20px;
  background: rgba(212, 162, 76, 0.08);
  border: 1px dashed rgba(212, 162, 76, 0.5);
  padding: 18px;
  border-radius: 18px;
}

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

.hero-content,
.hero-card,
.section {
  animation: fade-up 0.7s ease both;
}

.saas-footer {
  padding: 40px max(32px, calc((100vw - 1136px) / 2));
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.hp-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

@media (max-width: 900px) {
  .saas-header {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }

  .brand {
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .brand-tagline {
    font-size: 0.76rem;
  }

  .saas-nav-toggle {
    display: inline-flex;
    margin-left: auto;
    align-self: center;
  }

  .saas-nav {
    display: none;
    flex: 1 0 100%;
    margin-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
  }

  .saas-header.is-nav-open .saas-nav {
    display: flex;
  }

  /* Mobile: show native-select actions, hide complex desktop dropdowns */
  .saas-nav-actions {
    display: none !important;
  }

  .saas-mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .saas-mobile-link {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    word-break: break-word;
  }

  .saas-mobile-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--cream);
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* Custom caret */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
  }

  .saas-mobile-select:focus {
    outline: 2px solid rgba(201,164,107,0.5);
    outline-offset: 2px;
  }

  .saas-mobile-select option {
    background: #141414;
    color: #e8e3d9;
  }

  .saas-mobile-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 14px;
    font-size: 0.95rem;
  }

  .saas-nav-main {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
    overflow-x: hidden;
  }

  .saas-nav a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    word-break: break-word;
  }

  main {
    padding: 24px 16px 56px;
  }

  .section {
    padding: 56px 0;
  }

  .section-alt {
    margin: 0 -16px;
    padding: 56px 16px;
  }

  .pricing-card,
  .signup-card {
    padding: 20px;
  }

  .profile-choices {
    grid-template-columns: 1fr;
  }

  .mode-choices {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 18px;
  }

  .saas-footer {
    padding: 24px 16px;
  }
}

@media (max-width: 560px) {
  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 0.92rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   RTL OVERRIDES — Arabic  (html[dir="rtl"])
   Applied automatically when /ar/ layout sets dir="rtl" on <html>.
   ═══════════════════════════════════════════════════════════════════ */

/* ── <ul> list indentation (standard browser list markers) ── */
[dir="rtl"] .lux-card ul,
[dir="rtl"] .card-body ul,
[dir="rtl"] .pricing-card ul,
[dir="rtl"] .signup-info ul {
  padding-left: 0;
  padding-right: 18px;
}

/* ── Nav: push saas-nav to the correct end in RTL flex row ── */
[dir="rtl"] .saas-nav {
  margin-left: 0;
  margin-right: auto;
}

/* ── Language dropdown: align to left edge of toggle in RTL ── */
[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}
