/* ── Codrax Order Form — Dark Theme ── */
:root {
  --bg-deep: #060d1a;
  --bg-card: #0c1a2e;
  --bg-card-hover: #112240;
  --bg-input: #0a1628;
  --border: rgba(74, 158, 255, 0.12);
  --border-gold: rgba(245, 166, 35, 0.35);
  --gold: #f5a623;
  --gold-light: #ffc857;
  --gold-dark: #c47f0a;
  --blue: #4a9eff;
  --blue-dim: #2d6cb5;
  --text: #e8edf5;
  --text-muted: #8ba3c7;
  --text-dim: #5a7499;
  --success: #34d399;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: auto;
  background: var(--bg-deep);
}

body {
  font-family: var(--font);
  position: relative;
  background:
    radial-gradient(circle at -120px -120px, rgba(74, 158, 255, 0.16) 0%, rgba(74, 158, 255, 0.06) 28%, transparent 48%),
    radial-gradient(circle at calc(100% + 160px) calc(100% + 160px), rgba(245, 166, 35, 0.12) 0%, rgba(245, 166, 35, 0.05) 28%, transparent 50%),
    var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
}

/* Background effects — no CSS filter blur (causes scroll jank/black flashes) */
.bg-grid {
  position: absolute;
  inset: 0;
  min-height: 100%;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(74, 158, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 158, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  display: none;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.header__logo { width: 40px; height: 40px; object-fit: contain; }
.header__name { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }

.header__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  color: #07111f;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header__price:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.36);
}
.header__price-label { font-size: 0.75rem; opacity: 0.85; }
.header__price-value { font-size: 1rem; }
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Main */
.main {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* Hero */
.hero { text-align: center; margin-bottom: 2rem; }

.hero__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__title--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps */
.steps { margin-bottom: 2rem; }

.steps__track {
  height: 3px;
  background: rgba(74, 158, 255, 0.1);
  border-radius: 99px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.steps__fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  transition: width 0.4s ease;
}

.steps__list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.steps__item--active,
.steps__item--done { opacity: 1; }

.steps__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
}

.steps__item--active .steps__dot {
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold);
}

.steps__item--done .steps__dot {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg-deep);
}

.steps__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 500px) {
  .steps__label { display: none; }
}

/* Form card */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-step { display: none; animation: fadeIn 0.35s ease; }
.form-step--active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-step__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Fields */
.field { margin-bottom: 1.1rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.phone-input {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
  gap: 0.65rem;
}

.phone-input__code {
  min-width: 0;
  padding-left: 0.65rem;
  padding-right: 0.35rem;
}

.phone-input__number {
  min-width: 0;
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.field__label span { color: var(--gold); }

.field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__input::placeholder { color: var(--text-dim); }

.field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

.field__input.field--error { border-color: #f87171; }

.field__textarea { resize: vertical; min-height: 80px; }

.field__error {
  color: #f87171;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.field__hint {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 0.45rem;
}

.cv-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.cv-upload__name {
  flex: 1;
  min-width: 10rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  word-break: break-word;
}

.cv-upload__pick,
.cv-upload__remove {
  margin-left: 0;
}

.cv-preview {
  margin-top: 0.85rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-input);
}

.cv-preview__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 26, 46, 0.9);
}

.cv-preview__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
}

.cv-preview__frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  background: #1a2433;
}

.cv-preview__frame--modal {
  height: min(78vh, 760px);
}

.modal__dialog--cv {
  width: min(960px, 96vw);
  max-height: 92vh;
}

.modal__body--cv {
  padding: 0.75rem;
}

/* Feature cards */
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; }

.feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.feature-card:hover { background: var(--bg-card-hover); }

.feature-card:has(input:checked) {
  border-color: var(--border-gold);
  background: rgba(245, 166, 35, 0.05);
}

.feature-card input { position: absolute; opacity: 0; width: 0; height: 0; }

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__icon svg { width: 22px; height: 22px; color: var(--bg-deep); }

.feature-card__body { flex: 1; }

.feature-card__title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-card__desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.feature-card__check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-dim);
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
}

.feature-card:has(input:checked) .feature-card__check {
  background: var(--gold);
  border-color: var(--gold);
}

.feature-card:has(input:checked) .feature-card__check::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-deep);
}

.feature-card--included { opacity: 0.7; cursor: default; }

.feature-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(245, 166, 35, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

/* Theme grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.theme-card {
  position: relative;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.06s linear, transform 0.12s ease, box-shadow 0.12s ease;
  background: var(--bg-input);
  contain: paint;
}

.theme-card:hover {
  border-color: rgba(74, 158, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.theme-card--selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 24px rgba(245, 166, 35, 0.15);
}

.theme-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(10, 22, 40, 0.95), rgba(17, 34, 64, 0.9));
}

.theme-card__loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(8, 16, 30, 0.92);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.theme-card__loader-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(12, 26, 46, 0.2) 8%,
    rgba(245, 166, 35, 0.14) 18%,
    rgba(255, 200, 87, 0.22) 28%,
    rgba(12, 26, 46, 0.2) 40%
  );
  background-size: 220% 100%;
  animation: themeShimmer 1.35s ease-in-out infinite;
}

.theme-card__loader-spinner {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(245, 166, 35, 0.18);
  border-top-color: var(--gold-light);
  animation: themeSpin 0.75s linear infinite;
}

.theme-card__img-wrap--loaded .theme-card__loader,
.theme-card__img-wrap--error .theme-card__loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.theme-card__img-wrap--error::after {
  content: 'Preview unavailable';
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(8, 16, 30, 0.88);
}

@keyframes themeShimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

@keyframes themeSpin {
  to { transform: rotate(360deg); }
}

.theme-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.theme-card__img-wrap--loaded .theme-card__img {
  opacity: 1;
  transform: scale(1);
}

.theme-card:hover .theme-card__img-wrap--loaded .theme-card__img { transform: scale(1); }

.theme-card__preview-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  transform: scale(0.98);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5a623, #ffc857);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 2;
}

.theme-card__preview-btn svg { width: 22px; height: 22px; color: #081325; stroke-width: 2.4; }

.theme-card:hover .theme-card__preview-btn,
.theme-card__preview-btn:focus {
  transform: scale(1);
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.45);
}

.theme-card__info {
  padding: 0.65rem 0.85rem;
}

.theme-card__name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.theme-card__name-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(140, 162, 194, 0.6);
  color: rgba(140, 162, 194, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(9, 18, 32, 0.75);
}

.theme-card__name-check svg {
  width: 11px;
  height: 11px;
}

.theme-card__tag {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.theme-card__selected {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s;
}

.theme-card__selected svg { width: 16px; height: 16px; color: var(--bg-deep); }

.theme-card--selected .theme-card__selected {
  opacity: 0;
  transform: scale(0.5);
}

.theme-card--selected .theme-card__name-check {
  border-color: rgba(245, 166, 35, 0.95);
  background: linear-gradient(135deg, #f5a623, #ffc857);
  color: #081325;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.32);
}

/* Summary */
.summary {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.summary-theme-pick {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.summary-theme-pick__media {
  position: relative;
  flex-shrink: 0;
  width: 132px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(245, 166, 35, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(245, 166, 35, 0.15);
  background: rgba(6, 13, 26, 0.9);
}

.summary-theme-pick__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.summary-theme-pick__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: rgba(8, 16, 30, 0.8);
}

.summary-theme-pick__placeholder svg {
  width: 28px;
  height: 28px;
  opacity: 0.5;
}

.summary-theme-pick__info {
  flex: 1;
  min-width: 0;
}

.summary-theme-pick__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.summary-theme-pick__name {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.summary-theme-pick__tag {
  display: inline-flex;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #9fd0ff;
  background: rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.22);
}

.summary-theme-pick__tag[hidden] {
  display: none;
}

.addon-card__free-hosting {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.addon-card__free-hosting strong {
  color: #6ee7b7;
}

.addon-card__free-hosting em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 600;
}

.addon-card__free-hosting-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--bg-deep);
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  flex-shrink: 0;
}

.addon-card--domain .addon-card__desc {
  margin-bottom: 0.25rem;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.summary__row span { color: var(--text-muted); }
.summary__row strong { font-weight: 600; text-align: right; max-width: 60%; }

.summary__row--sub {
  font-size: 0.88rem;
  opacity: 0.85;
}

.summary__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.summary__price strong {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.35rem;
}

.field__optional {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9fd0ff;
  background: rgba(74, 158, 255, 0.14);
  border: 1px solid rgba(74, 158, 255, 0.28);
}

.summary--pricing {
  margin-top: 1.25rem;
}

.addons-section {
  margin: 1.5rem 0 1rem;
}

.addons-section__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #fff;
}

.addon-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 16, 30, 0.55);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.addon-card--soon {
  opacity: 0.88;
  border-style: dashed;
}

.addon-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
}

.addon-card__body {
  flex: 1;
  min-width: 0;
}

.addon-card__body--wide {
  padding-right: 0.25rem;
}

.addon-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.addon-card__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.addon-card__desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.addon-card__desc--muted {
  margin-bottom: 0;
}

.addon-card__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
}

.addon-card__promo {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.addon-card__promo strong {
  color: #6ee7b7;
}

.addon-card__selected {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.addon-card__badge {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, #ffe08a, var(--gold));
}

.addon-card__toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.15rem;
  cursor: pointer;
}

.addon-card__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.addon-card__toggle-ui {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(74, 158, 255, 0.35);
  background: rgba(8, 16, 30, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.addon-card__toggle input:checked + .addon-card__toggle-ui {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.addon-card__toggle input:checked + .addon-card__toggle-ui::after {
  content: '✓';
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bg-deep);
  line-height: 1;
}

.addon-card__eye {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 4.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  border: 2px solid rgba(245, 166, 35, 0.55);
  background: linear-gradient(160deg, rgba(245, 166, 35, 0.22) 0%, rgba(74, 158, 255, 0.14) 100%);
  color: #ffe08a;
  cursor: pointer;
  box-shadow:
    0 0 0 3px rgba(245, 166, 35, 0.1),
    0 8px 22px rgba(0, 0, 0, 0.32);
  transition: transform 0.15s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.addon-card__eye svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.addon-card__eye-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--gold-light);
}

.addon-card__eye:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(245, 166, 35, 0.32) 0%, rgba(74, 158, 255, 0.18) 100%);
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(245, 166, 35, 0.2),
    0 12px 28px rgba(245, 166, 35, 0.18);
}

.addon-card__eye:hover .addon-card__eye-label {
  color: #fff;
}

.addon-features {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: -0.15rem;
}

.addon-features__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.85rem 0 0.55rem;
}

.addon-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.addon-feature-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, 0.42);
  background: rgba(245, 166, 35, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.addon-feature-tab::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-deep);
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
}

.addon-feature-tab--selected {
  border-color: rgba(245, 166, 35, 0.6);
  background:
    linear-gradient(135deg, rgba(245, 166, 35, 0.18), rgba(74, 158, 255, 0.08)),
    rgba(8, 16, 30, 0.72);
}

.modal__dialog--wide {
  max-width: 920px;
}

.modal__intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.dashboard-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-preview--single {
  max-width: 760px;
  margin: 0 auto;
}

.dashboard-preview--single img {
  max-height: min(62vh, 520px);
  object-fit: contain;
}

.dashboard-preview {
  margin: 0;
  text-align: center;
}

.dashboard-preview img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0a1428;
}

.dashboard-preview figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.ai-modal-promo {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.ai-modal-promo strong {
  color: #6ee7b7;
}

.ai-plan-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.ai-plan-carousel__viewport {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 22px;
}

.ai-plan-list {
  position: relative;
  height: 100%;
  min-height: 390px;
}

.ai-plan-option {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(430px, 64%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.76);
  transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
  filter: blur(1px);
}

.ai-plan-option--active,
.ai-plan-option--prev,
.ai-plan-option--next,
.ai-plan-option--far-prev,
.ai-plan-option--far-next {
  opacity: 1;
}

.ai-plan-option--active {
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  filter: none;
}

.ai-plan-option--prev {
  pointer-events: auto;
  opacity: 0.55;
  transform: translate(-116%, -50%) scale(0.76);
}

.ai-plan-option--next {
  pointer-events: auto;
  opacity: 0.55;
  transform: translate(16%, -50%) scale(0.76);
}

.ai-plan-option--far-prev {
  opacity: 0.18;
  transform: translate(-150%, -50%) scale(0.66);
}

.ai-plan-option--far-next {
  opacity: 0.18;
  transform: translate(50%, -50%) scale(0.66);
}

.ai-plan-carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 166, 35, 0.38);
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.16s, background 0.2s, border-color 0.2s;
  z-index: 4;
}

.ai-plan-carousel__btn svg {
  width: 22px;
  height: 22px;
}

.ai-plan-carousel__btn:hover {
  transform: scale(1.06);
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.22);
}

.ai-plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ai-plan-option__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  min-height: 350px;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(74, 158, 255, 0.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 158, 255, 0.18), transparent 38%),
    rgba(8, 16, 30, 0.9);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.ai-plan-option__card--pro {
  border-color: rgba(245, 166, 35, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 166, 35, 0.22), transparent 40%),
    rgba(8, 16, 30, 0.94);
}

.ai-plan-option input:checked + .ai-plan-option__card {
  border-color: rgba(245, 166, 35, 0.55);
  box-shadow: 0 0 0 1px var(--gold), 0 18px 42px rgba(245, 166, 35, 0.18);
}

.ai-plan-option input:checked + .ai-plan-option__card .chatbot-mock__phone {
  border-color: rgba(245, 166, 35, 0.35);
}

.chatbot-mock--modal {
  padding: 0;
  margin: 0.15rem 0 0.1rem;
}

.chatbot-mock--modal .chatbot-mock__thread {
  min-height: 96px;
}

.chatbot-skip-visual--modal {
  margin: 0.15rem 0 0.1rem;
  min-height: 96px;
}

.ai-plan-option__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.ai-plan-option__head strong {
  font-size: 0.92rem;
  color: #fff;
}

.ai-plan-option__tier {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  color: #9fd0ff;
  background: rgba(74, 158, 255, 0.14);
  border: 1px solid rgba(74, 158, 255, 0.24);
}

.ai-plan-option__tier--popular {
  color: var(--bg-deep);
  background: linear-gradient(135deg, #ffe08a, var(--gold));
  border-color: transparent;
}

.ai-plan-option__tier--muted {
  color: var(--text-dim);
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.2);
}

.ai-plan-option__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ai-plan-option__price {
  margin-top: auto;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.ai-plan-option__price strong {
  color: #6ee7b7;
  font-size: 0.92rem;
}

.ai-plan-option__card--skip {
  border-style: dashed;
}

@media (max-width: 768px) {
  .summary-theme-pick {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-theme-pick__media {
    width: 100%;
    height: 120px;
  }

  .dashboard-preview-grid,
  .addon-features__grid {
    grid-template-columns: 1fr;
  }

  .ai-plan-carousel {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .ai-plan-carousel__viewport,
  .ai-plan-list {
    min-height: 370px;
  }

  .ai-plan-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .ai-plan-carousel__btn:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .ai-plan-carousel__btn--prev {
    left: -0.15rem;
  }

  .ai-plan-carousel__btn--next {
    right: -0.15rem;
  }

  .ai-plan-option {
    width: min(320px, 78%);
  }

  .ai-plan-option--prev {
    transform: translate(-108%, -50%) scale(0.72);
  }

  .ai-plan-option--next {
    transform: translate(8%, -50%) scale(0.72);
  }

  .ai-plan-option--far-prev,
  .ai-plan-option--far-next {
    opacity: 0;
  }

  .ai-plan-option__card {
    min-height: 330px;
    padding: 0.85rem;
  }
}

/* Buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.btn svg { width: 18px; height: 18px; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-deep);
  margin-left: auto;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(245, 166, 35, 0.4);
}

.btn--gold:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover { color: var(--text); border-color: var(--text-dim); }
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Trust */
.trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.25rem;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Footer */
.footer-legacy {
  display: none !important;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  background: transparent;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.footer-showcase {
  position: relative;
  margin-bottom: 2.75rem;
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.footer-showcase__glow {
  position: absolute;
  right: -60px;
  top: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, rgba(74, 158, 255, 0.06) 42%, transparent 72%);
  pointer-events: none;
}

.footer-showcase__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.footer-showcase__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.55rem;
}

.footer-showcase__title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.footer-showcase__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 34ch;
  margin-bottom: 1.25rem;
}

.footer-showcase__cta {
  margin-left: 0;
}

.footer-showcase__carousel {
  min-width: 0;
  text-align: center;
}

.footer-showcase .reviews-carousel__header {
  justify-content: center;
  margin-bottom: 0.65rem;
}

.footer-showcase .reviews-carousel__viewport {
  min-height: 200px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.footer-showcase .reviews-carousel__track {
  min-height: 200px;
}

.footer-showcase .reviews-carousel__card {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  padding: 1.15rem 1.25rem;
  width: min(82%, 400px);
  min-width: 0;
  max-width: none;
}

.footer-showcase .reviews-carousel__meta {
  text-align: center;
}

.home-faq {
  position: relative;
  margin-bottom: 2.75rem;
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 10% 0%, rgba(74, 158, 255, 0.12), transparent 34%),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.home-faq__head {
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.home-faq__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.home-faq__title {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.home-faq__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-faq__item {
  border: 1px solid rgba(74, 158, 255, 0.14);
  border-radius: 14px;
  background: rgba(8, 16, 30, 0.62);
  overflow: hidden;
}

.home-faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

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

.home-faq__item summary::after {
  content: '+';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-weight: 900;
}

.home-faq__item[open] {
  border-color: rgba(245, 166, 35, 0.34);
  background: rgba(12, 26, 46, 0.82);
}

.home-faq__item[open] summary::after {
  content: '−';
}

.home-faq__item p {
  padding: 0 1rem 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.site-footer__body {
  position: relative;
  padding-top: 0.5rem;
}

.site-footer__top {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.site-footer__brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-footer__brand-name {
  font-size: 1.2rem;
  font-weight: 800;
}

.site-footer__brand-tagline {
  max-width: 52ch;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.site-footer__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 166, 35, 0.06), transparent 70%);
  pointer-events: none;
}

.site-footer__cols {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.site-footer__col:nth-child(1) {
  justify-self: start;
  text-align: left;
}

.site-footer__col:nth-child(2) {
  justify-self: center;
  text-align: left;
}

.site-footer__col:nth-child(3) {
  justify-self: end;
  text-align: left;
}

.site-footer__heading {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li + li {
  margin-top: 0.45rem;
}

.site-footer__links a,
.site-footer__links span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer__links a {
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--gold-light);
}

.site-footer__note {
  margin: 0.85rem 0 0;
  max-width: 16rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.55;
}

.site-footer__note a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__note a:hover {
  text-decoration: underline;
}

.site-footer__copy {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.site-footer__copy--col {
  display: none;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.site-footer__social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(12, 26, 46, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__social-btn svg {
  width: 18px;
  height: 18px;
}

.site-footer__social-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #07111f;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.28);
}

.site-footer__social-btn--whatsapp {
  border-color: rgba(37, 211, 102, 0.45);
  color: #5dffb0;
}

.site-footer__social-btn--whatsapp:hover {
  background: linear-gradient(135deg, #1a9e52, #25d366);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-footer__contact-link:hover {
  color: var(--gold);
}

.site-footer__contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(12, 26, 46, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__contact-icon svg {
  width: 16px;
  height: 16px;
}

.site-footer__contact-link:hover .site-footer__contact-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #07111f;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.22);
}

.site-footer__legal {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.site-footer__bottom-copy {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.site-footer__legal button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-footer__legal button:hover {
  color: var(--gold-light);
}

.modal__dialog--policy {
  max-width: 620px;
}

.policy-content {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.policy-content ul {
  margin: 0;
  padding-left: 1.15rem;
}

.policy-content li + li {
  margin-top: 0.75rem;
}

.policy-content li::marker {
  color: var(--gold-light);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .theme-card__loader-shimmer,
  .theme-card__loader-spinner {
    animation: none;
  }

  .form-step--active {
    animation: none;
  }
}

@media (max-width: 960px) {
  .footer-showcase__content {
    grid-template-columns: 1fr;
  }

  .footer-showcase__desc {
    max-width: none;
  }

  .home-faq__list {
    grid-template-columns: 1fr;
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__col:nth-child(1),
  .site-footer__col:nth-child(2),
  .site-footer__col:nth-child(3) {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .footer-showcase {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .home-faq {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .home-faq__item summary {
    padding: 0.85rem 0.9rem;
    font-size: 0.88rem;
  }

  .home-faq__item p {
    padding: 0 0.9rem 0.9rem;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
  }

  .site-footer__col:nth-child(1),
  .site-footer__col:nth-child(2),
  .site-footer__col:nth-child(3) {
    justify-self: stretch;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__top {
  margin-bottom: 1rem;
}

.footer__link {
  color: var(--gold);
  text-decoration: none;
}

.footer__link:hover { text-decoration: underline; }
.footer__sep { margin: 0 0.5rem; }

.reviews-carousel {
  max-width: 720px;
  margin: 0 auto 0.9rem;
  text-align: left;
  background: rgba(12, 26, 46, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.reviews-carousel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.reviews-carousel__title {
  font-size: 0.98rem;
  color: var(--text);
}

.reviews-carousel__controls {
  display: flex;
  gap: 0.4rem;
}

.reviews-carousel__btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(143, 171, 210, 0.35);
  background: rgba(10, 22, 40, 0.9);
  color: #c4dbff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.reviews-carousel__btn svg {
  width: 14px;
  height: 14px;
}

.reviews-carousel__card {
  border: 1px solid rgba(143, 171, 210, 0.2);
  background: var(--bg-card-hover);
  border-radius: 12px;
  padding: 0.85rem;
  width: min(78%, 380px);
  min-width: 0;
  max-width: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.reviews-carousel__viewport {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  min-height: 160px;
  margin-bottom: 0.65rem;
}

.reviews-carousel__track {
  position: relative;
  min-height: 160px;
}

.reviews-carousel__card--active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.reviews-carousel__card--prev {
  transform: translate(calc(-50% - 78%), -50%) scale(0.88);
  opacity: 0.5;
  z-index: 2;
}

.reviews-carousel__card--next {
  transform: translate(calc(-50% + 78%), -50%) scale(0.88);
  opacity: 0.5;
  z-index: 2;
}

.reviews-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.reviews-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(143, 171, 210, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
}

.reviews-carousel__dot--active {
  width: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5a623, #ffc857);
}

.reviews-carousel__rating {
  color: #ffc857;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.reviews-carousel__comment {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.reviews-carousel__name {
  color: #d7e9ff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.reviews-carousel__meta {
  margin-top: 0.5rem;
  color: var(--text-dim);
  font-size: 0.77rem;
}

.footer-review {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  background: rgba(12, 26, 46, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.footer-review__title {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.footer-review__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-review__stars {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.star-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(143, 171, 210, 0.35);
  background: rgba(10, 22, 40, 0.9);
  color: #8ea7cb;
  padding: 0;
}

.star-btn svg {
  width: 17px;
  height: 17px;
}

.star-btn--active {
  background: linear-gradient(135deg, #f5a623, #ffc857);
  color: #07111f;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 14px rgba(245, 166, 35, 0.35);
}

.footer-review__submit {
  margin-left: 0;
}

.footer-review__status {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.3s ease;
}

.modal__dialog--sm { max-width: 420px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
}

.modal__close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #173155, #102443);
  color: #d6e7ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16, 36, 67, 0.45);
  transition: all 0.2s ease;
}

.modal__close:hover {
  color: #fff;
  border-color: rgba(245, 166, 35, 0.85);
  background: linear-gradient(135deg, #1c3a63, #143054);
  transform: translateY(-1px);
}

.modal__close svg { width: 20px; height: 20px; stroke-width: 2.4; }

.modal__body {
  padding: 1.5rem;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 300px;
}
.modal__body--compact {
  min-height: auto;
  display: block;
}

.admin-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-auth__tab {
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.admin-auth__tab--active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
}
.admin-auth__submit {
  width: 100%;
  justify-content: center;
  margin-left: 0;
}
.admin-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.admin-session[hidden] {
  display: none;
}
.admin-session__status {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.admin-session__status strong {
  color: var(--text);
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* Device toggle */
.device-toggle {
  display: flex;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0b1b31, #091427);
  border: 1px solid rgba(74, 158, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem;
}

.device-toggle__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(74, 158, 255, 0.28);
  background: transparent;
  color: #c4dbff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.device-toggle__btn svg { width: 23px; height: 23px; stroke-width: 2.2; }

.device-toggle__btn:hover {
  border-color: rgba(245, 166, 35, 0.65);
  color: #ffd27d;
  transform: translateY(-1px);
}

.device-toggle__btn--active {
  background: linear-gradient(135deg, #f5a623, #ffc857);
  color: #081325;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.35);
}

.device-frame__screen::-webkit-scrollbar {
  width: 10px;
}

.device-frame__screen::-webkit-scrollbar-track {
  background: rgba(9, 16, 26, 0.9);
}

.device-frame__screen::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f5a623, #ffc857);
  border-radius: 999px;
}

/* Device frames */
.device-frame {
  transition: all 0.35s ease;
  position: relative;
}

.device-frame__screen {
  overflow: auto;
  background: #000;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 166, 35, 0.75) rgba(9, 16, 26, 0.9);
}

.device-frame__screen img:not(.crm-dash__logo) {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
  display: block;
}

.device-frame__screen--scroll img {
  min-height: 100%;
}

.device-frame--laptop {
  width: 100%;
  max-width: 720px;
  padding: 12px 12px 0 12px;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #3b4f69, #202f45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.45);
}

.device-frame--laptop .device-frame__screen {
  border: 4px solid #0b111a;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
}

.device-frame--laptop::after {
  content: '';
  display: block;
  width: calc(100% + 70px);
  margin-left: -35px;
  height: 16px;
  background: linear-gradient(180deg, #d6dde6, #aeb9c8);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.device-frame--laptop::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.device-frame--tablet {
  width: 420px;
  max-width: 90%;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1d2735, #0f1724);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 16px 32px rgba(0, 0, 0, 0.45);
}

.device-frame--tablet .device-frame__screen {
  border: 3px solid #0a111a;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
}

.device-frame--tablet::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.device-frame--tablet::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.device-frame--mobile {
  width: 260px;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(180deg, #121b29, #070b11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 30px rgba(0, 0, 0, 0.5);
}

.device-frame--mobile .device-frame__screen {
  border: 3px solid #0b111a;
  border-radius: 26px;
  aspect-ratio: 9 / 19;
}

.device-frame--mobile::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #070b11;
  z-index: 2;
}

.device-frame--mobile::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

/* AI Chatbot step */
.chatbot-promo {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: var(--gold-light);
  font-size: 0.88em;
}

.chatbot-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1rem;
}

.chatbot-plan {
  position: relative;
  text-align: left;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(74, 158, 255, 0.18);
  background: linear-gradient(165deg, rgba(16, 32, 58, 0.95) 0%, rgba(8, 16, 30, 0.98) 55%, rgba(6, 12, 22, 1) 100%);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.chatbot-plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(74, 158, 255, 0.35));
  opacity: 0.85;
}

.chatbot-plan--sales::before {
  background: linear-gradient(90deg, #2d8cff, #5eb3ff);
}

.chatbot-plan--pro::before {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), #ffe08a);
}

.chatbot-plan--skip::before {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.5), rgba(148, 163, 184, 0.15));
}

.chatbot-plan:hover {
  border-color: rgba(245, 166, 35, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 166, 35, 0.12);
}

.chatbot-plan--active {
  border-color: rgba(245, 166, 35, 0.55);
  box-shadow: 0 0 0 1px var(--gold), 0 18px 40px rgba(245, 166, 35, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: linear-gradient(165deg, rgba(28, 38, 24, 0.4) 0%, rgba(12, 22, 40, 0.98) 45%, rgba(8, 14, 26, 1) 100%);
}

.chatbot-plan__check {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 4;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-deep);
  font-size: 0.75rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
  border: 2px solid rgba(8, 16, 30, 0.9);
}

.chatbot-plan--active .chatbot-plan__check {
  display: flex;
}

.chatbot-plan__popular {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, #ffe08a, var(--gold));
  border: 1px solid rgba(255, 224, 138, 0.5);
  box-shadow: 0 2px 10px rgba(245, 166, 35, 0.28);
  white-space: nowrap;
}

.chatbot-plan__popular::before {
  content: '★';
  font-size: 0.52rem;
  line-height: 1;
}

.chatbot-plan__head {
  position: relative;
  padding: 1.05rem 1.1rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 100% 0%, rgba(74, 158, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(74, 158, 255, 0.08), transparent 70%);
}

.chatbot-plan--sales .chatbot-plan__head {
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 130, 255, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(46, 130, 255, 0.09), transparent 70%);
}

.chatbot-plan--pro .chatbot-plan__head {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 166, 35, 0.2), transparent 45%),
    linear-gradient(180deg, rgba(245, 166, 35, 0.1), transparent 70%);
}

.chatbot-plan--skip .chatbot-plan__head {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.06), transparent 70%);
}

.chatbot-plan--active .chatbot-plan__head {
  padding-left: 2.65rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 166, 35, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(245, 166, 35, 0.1), transparent 72%);
}

.chatbot-plan__head-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.chatbot-plan--pro .chatbot-plan__head-top {
  justify-content: space-between;
}

.chatbot-plan__tier {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd0ff;
  background: rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.22);
}

.chatbot-plan--sales .chatbot-plan__tier {
  color: #b8d9ff;
  background: rgba(46, 130, 255, 0.14);
  border-color: rgba(46, 130, 255, 0.26);
}

.chatbot-plan__tier--pro {
  color: #ffe08a;
  background: rgba(245, 166, 35, 0.14);
  border-color: rgba(245, 166, 35, 0.32);
}

.chatbot-plan__tier--skip {
  color: var(--text-dim);
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.2);
}

.chatbot-plan__name {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.chatbot-plan--pro .chatbot-plan__name {
  color: #fff;
}

.chatbot-plan__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
}

.chatbot-plan__free-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 0.32rem 0.55rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.chatbot-plan__free-badge--muted {
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.22);
  text-transform: none;
  font-weight: 600;
}

.chatbot-plan__price-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  background: rgba(6, 13, 26, 0.65);
  border: 1px solid rgba(245, 166, 35, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.chatbot-plan--sales .chatbot-plan__price-box {
  border-color: rgba(74, 158, 255, 0.25);
}

.chatbot-plan--pro .chatbot-plan__price-box {
  border-color: rgba(245, 166, 35, 0.35);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), rgba(6, 13, 26, 0.7));
}

.chatbot-plan__price-box--zero {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(6, 13, 26, 0.5);
}

.chatbot-plan__price-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
}

.chatbot-plan__price-amount {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

.chatbot-plan__price-period {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.chatbot-plan__tag--muted {
  color: var(--text-muted);
}

.chatbot-plan__price {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.chatbot-plan__price strong {
  color: var(--gold-light);
  font-size: 1rem;
}

.chatbot-plan__price span {
  font-size: 0.78rem;
}

.chatbot-plan__desc {
  padding: 0.75rem 1.05rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.chatbot-mock {
  padding: 0.75rem 1.05rem;
  flex: 1;
}

.chatbot-mock__phone {
  border-radius: 14px;
  border: 2px solid rgba(74, 158, 255, 0.18);
  background: rgba(6, 13, 26, 0.95);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.chatbot-plan--active .chatbot-mock__phone {
  border-color: rgba(245, 166, 35, 0.35);
}

.chatbot-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.55rem;
  background: rgba(12, 26, 46, 0.98);
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
}

.chatbot-mock__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.6);
  flex-shrink: 0;
}

.chatbot-mock__thread {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.5rem;
  min-height: 108px;
}

.chatbot-skip-visual {
  margin: 0.75rem 1.05rem;
  flex: 1;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(6, 13, 26, 0.45);
}

.chatbot-plan--skip.chatbot-plan--active .chatbot-skip-visual {
  border-color: rgba(245, 166, 35, 0.28);
  background: rgba(245, 166, 35, 0.04);
}

.chatbot-skip-visual__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chatbot-skip-visual__text {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-align: center;
  padding: 0 0.75rem;
}

.chatbot-bubble {
  max-width: 92%;
  padding: 0.38rem 0.48rem;
  border-radius: 10px;
  font-size: 0.62rem;
  line-height: 1.35;
}

.chatbot-bubble--bot {
  align-self: flex-start;
  background: rgba(74, 158, 255, 0.14);
  border: 1px solid rgba(74, 158, 255, 0.22);
  color: var(--text);
}

.chatbot-bubble--user {
  align-self: flex-end;
  background: rgba(245, 166, 35, 0.16);
  border: 1px solid rgba(245, 166, 35, 0.28);
  color: var(--text);
}

.chatbot-bubble--accent {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
  color: #a7f3d0;
}

.chatbot-product {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 8px;
  background: rgba(10, 22, 40, 0.95);
  border: 1px solid var(--border);
  align-self: flex-start;
  max-width: 95%;
}

.chatbot-product__img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--blue-dim));
}

.chatbot-product strong {
  display: block;
  font-size: 0.58rem;
  color: var(--text);
}

.chatbot-product span {
  font-size: 0.52rem;
  color: var(--text-dim);
}

.chatbot-mock__input {
  padding: 0.38rem 0.55rem;
  border-top: 1px solid var(--border);
  font-size: 0.58rem;
  color: var(--text-dim);
  background: rgba(8, 16, 30, 0.98);
}

.chatbot-plan__features {
  list-style: none;
  padding: 0.75rem 1.05rem 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  background: rgba(0, 0, 0, 0.12);
}

.chatbot-plan__features li {
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem 0.35rem 1.65rem;
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.chatbot-plan__features li::before {
  content: '✓';
  position: absolute;
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold-light);
  font-size: 0.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.chatbot-footnote {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .chatbot-plans {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .chatbot-plan__pricing {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .chatbot-plan__free-badge {
    flex-shrink: 0;
    align-self: stretch;
    justify-content: center;
    padding: 0.4rem 0.5rem;
    font-size: 0.62rem;
  }

  .chatbot-plan__price-box {
    flex: 1;
    min-width: 0;
    align-items: center;
    padding: 0.4rem 0.55rem;
  }

  .chatbot-plan__price-amount {
    font-size: 0.98rem;
  }
}

@media (max-width: 600px) {
  .chatbot-plans {
    gap: 0.8rem;
  }

  .chatbot-plan__head {
    padding: 0.85rem 0.8rem 0.7rem;
  }

  .chatbot-plan__name {
    font-size: 0.95rem;
  }

  .chatbot-plan__desc,
  .chatbot-mock,
  .chatbot-skip-visual {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .chatbot-skip-visual {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    min-height: 92px;
  }

  .chatbot-mock__thread {
    min-height: 92px;
  }

  .chatbot-plan__features {
    padding: 0.65rem 0.8rem 0.85rem;
  }
}

@media (max-width: 600px) {
  .steps__label {
    font-size: 0.62rem;
  }

  .steps__dot {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
  }
}

/* Admin dashboard step */
.admin-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.admin-choice__btn {
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-choice__btn:hover {
  border-color: rgba(245, 166, 35, 0.45);
  transform: translateY(-1px);
}

.admin-choice__btn--active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 24px rgba(245, 166, 35, 0.14);
  background: rgba(245, 166, 35, 0.08);
}

.admin-choice__title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.admin-choice__price {
  display: block;
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
}

.admin-preview-wrap {
  margin-top: 0.5rem;
}

.admin-preview__hint {
  margin-bottom: 0.75rem;
}

.admin-laptop {
  max-width: 100%;
  margin: 0 auto;
}

.admin-laptop--active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(245, 166, 35, 0.35);
}

.admin-preview__hint-text--mobile {
  display: none;
}

.device-frame__screen--dash {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
}

/* Admin dashboard preview — profile & order only */
.admin-dash-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  font-size: 0.62rem;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(165deg, rgba(12, 26, 46, 0.92), rgba(6, 13, 26, 0.98));
}

.admin-dash-preview__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 13, 26, 0.95);
}

.admin-dash-preview__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.admin-dash-preview__eyebrow {
  margin: 0;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.admin-dash-preview__title {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.admin-dash-preview__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.5rem 0.6rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.admin-dash-preview__section h4 {
  margin: 0 0 0.35rem;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.admin-dash-preview__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-dash-preview__row:last-child {
  border-bottom: none;
}

.admin-dash-preview__row span {
  flex-shrink: 0;
  color: var(--text-dim);
  font-size: 0.54rem;
}

.admin-dash-preview__row strong {
  text-align: right;
  color: var(--text);
  font-size: 0.56rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.admin-dash-preview__row--total {
  margin-top: 0.15rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(245, 166, 35, 0.22);
  border-bottom: none;
}

.admin-dash-preview__row--total span {
  color: var(--text);
  font-weight: 600;
}

.admin-dash-preview__row--total strong {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
}

.crm-dash__mobile-only {
  display: none;
}

.crm-dash__desktop-only {
  display: flex;
}

/* CRM-style admin dashboard preview (static mock) */
.crm-dash {
  display: grid;
  grid-template-columns: 118px 1fr;
  height: 100%;
  min-height: 280px;
  font-size: 0.62rem;
  pointer-events: none;
  user-select: none;
}

.crm-dash__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.5rem 0.4rem;
  background: rgba(6, 13, 26, 0.98);
  border-right: 1px solid var(--border);
  overflow: hidden;
  min-width: 0;
}

.crm-dash__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.1rem 0.35rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.1rem;
  overflow: hidden;
}

.crm-dash__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.crm-dash__group {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.crm-dash__label {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.1rem 0.35rem;
}

.crm-dash__link {
  width: 100%;
  text-align: left;
  padding: 0.32rem 0.38rem;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.crm-dash__link--active {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.22), rgba(74, 158, 255, 0.08));
  border-color: rgba(245, 166, 35, 0.28);
  color: var(--gold-light);
  box-shadow: inset 3px 0 0 var(--gold);
}

.crm-dash__pill {
  font-size: 0.48rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.05rem 0.3rem;
  line-height: 1.3;
}

.crm-dash__footer {
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.crm-dash__footer-text {
  font-size: 0.52rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.crm-dash__download {
  width: 100%;
  padding: 0.32rem 0.4rem;
  border-radius: 7px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-deep);
  font-size: 0.55rem;
  font-weight: 700;
}

.crm-dash__download:disabled {
  opacity: 0.45;
  cursor: default;
}

.crm-dash__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 120px;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px dashed rgba(245, 166, 35, 0.28);
  background: rgba(8, 16, 30, 0.55);
  text-align: center;
}

.crm-dash__empty-icon {
  width: 28px;
  height: 28px;
  color: rgba(245, 166, 35, 0.65);
}

.crm-dash__empty-icon svg {
  width: 100%;
  height: 100%;
}

.crm-dash__empty-title {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text);
}

.crm-dash__empty-text {
  margin: 0;
  max-width: 22em;
  font-size: 0.5rem;
  line-height: 1.45;
  color: var(--text-dim);
}

.crm-dash__main {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.45rem;
  min-width: 0;
  background: linear-gradient(165deg, rgba(12, 26, 46, 0.75), rgba(6, 13, 26, 0.95));
  overflow: hidden;
}

.crm-dash__stats {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.75fr 0.75fr;
  gap: 0.4rem;
}

.crm-stat {
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-height: 52px;
}

.crm-stat span {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.crm-stat strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.crm-stat small {
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.65);
}

.crm-stat--gold {
  background: linear-gradient(135deg, #c47f0a 0%, #f5a623 55%, #ffc857 100%);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.25);
}

.crm-stat--blue {
  background: linear-gradient(135deg, #1a4a8a 0%, #2d6cb5 50%, #4a9eff 100%);
  box-shadow: 0 4px 14px rgba(74, 158, 255, 0.22);
}

.crm-stat--mini {
  background: rgba(10, 22, 40, 0.92);
  border: 1px solid var(--border);
  justify-content: center;
}

.crm-stat--mini span {
  color: var(--text-dim);
}

.crm-stat--mini strong {
  color: var(--text);
  font-size: 0.82rem;
}

.crm-stat__up {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--success);
}

.crm-dash__charts-mid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 0.4rem;
  flex: 1;
  min-height: 0;
}

.crm-dash__charts-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.crm-card {
  background: rgba(10, 22, 40, 0.92);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.45rem 0.45rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.crm-card h5 {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.crm-card--wide {
  min-height: 88px;
}

.crm-line-chart {
  position: relative;
  flex: 1;
  min-height: 58px;
  border-radius: 7px;
  background: rgba(6, 13, 26, 0.55);
  overflow: hidden;
}

.crm-line-chart__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 158, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 158, 255, 0.06) 1px, transparent 1px);
  background-size: 20% 25%;
}

.crm-line-chart__svg {
  position: absolute;
  inset: 0.25rem 0.2rem 0.15rem;
  width: calc(100% - 0.4rem);
  height: calc(100% - 0.4rem);
}

.crm-line-chart__line {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.crm-line-chart__line--solid {
  stroke: var(--gold-light);
}

.crm-line-chart__line--dotted {
  stroke: var(--blue);
  stroke-dasharray: 4 3;
  opacity: 0.85;
}

.crm-line-chart__tip {
  position: absolute;
  top: 28%;
  left: 58%;
  transform: translateX(-50%);
  font-size: 0.48rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(12, 26, 46, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: 5px;
  padding: 0.12rem 0.35rem;
}

.crm-line-chart__months {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.46rem;
  color: var(--text-dim);
}

.crm-area-chart {
  position: relative;
  flex: 1;
  min-height: 62px;
  border-radius: 7px;
  background: rgba(6, 13, 26, 0.55);
  overflow: hidden;
}

.crm-area-chart__fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 7px 7px 0 0;
}

.crm-area-chart__fill--a {
  height: 72%;
  background: linear-gradient(180deg, rgba(74, 158, 255, 0.45), rgba(74, 158, 255, 0.05));
  clip-path: polygon(0 100%, 0 35%, 18% 28%, 35% 42%, 52% 22%, 68% 38%, 82% 18%, 100% 30%, 100% 100%);
}

.crm-area-chart__fill--b {
  height: 58%;
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.4), rgba(245, 166, 35, 0.04));
  clip-path: polygon(0 100%, 0 55%, 20% 48%, 38% 62%, 55% 40%, 72% 52%, 88% 35%, 100% 45%, 100% 100%);
}

.crm-donut {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}

.crm-donut__ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    var(--gold) 0deg 151deg,
    var(--blue) 151deg 252deg,
    #2d6cb5 252deg 317deg,
    var(--text-dim) 317deg 360deg
  );
  mask: radial-gradient(circle, transparent 52%, #000 53%);
  -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
}

.crm-donut__legend {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  font-size: 0.46rem;
  color: var(--text-muted);
}

.crm-donut__legend li {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.crm-donut__legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.crm-donut__legend li:nth-child(2) i { background: var(--blue); }
.crm-donut__legend li:nth-child(3) i { background: #2d6cb5; }
.crm-donut__legend li:nth-child(4) i { background: var(--text-dim); }

.crm-radial {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62px;
}

.crm-radial__ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
}

.crm-radial__ring--outer {
  width: 52px;
  height: 52px;
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  border-bottom-color: rgba(245, 166, 35, 0.15);
  border-left-color: rgba(245, 166, 35, 0.15);
  transform: rotate(-35deg);
}

.crm-radial__ring--inner {
  width: 36px;
  height: 36px;
  border-top-color: var(--blue);
  border-right-color: rgba(74, 158, 255, 0.2);
  border-bottom-color: rgba(74, 158, 255, 0.2);
  border-left-color: var(--blue);
  transform: rotate(25deg);
}

.crm-radial strong {
  position: relative;
  font-size: 0.72rem;
  color: var(--gold-light);
  line-height: 1;
}

.crm-radial span {
  position: relative;
  font-size: 0.46rem;
  color: var(--text-dim);
  margin-top: 0.12rem;
}

.crm-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.2rem;
  flex: 1;
  min-height: 58px;
  padding-top: 0.15rem;
}

.crm-bars__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  height: 100%;
  justify-content: flex-end;
}

.crm-bars__item i {
  display: block;
  width: 100%;
  max-width: 14px;
  height: var(--h, 40%);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold-light), var(--blue-dim));
}

.crm-bars__item span {
  font-size: 0.42rem;
  color: var(--text-dim);
}

/* Mobile header & tab bar (admin preview — small screens only) */
.crm-dash__mob-header {
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.38rem 0.45rem;
  background: rgba(6, 13, 26, 0.98);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.crm-dash__mob-header span {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gold-light);
}

.crm-dash__mob-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 0.15rem;
  padding: 0.32rem 0.25rem 0.38rem;
  background: rgba(6, 13, 26, 0.98);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.crm-dash__mob-nav-item {
  flex: 1;
  text-align: center;
  font-size: 0.46rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 0.22rem 0.1rem;
  border-radius: 6px;
}

.crm-dash__mob-nav-item--active {
  color: var(--gold-light);
  background: rgba(245, 166, 35, 0.12);
}

@media (max-width: 768px) {
  .admin-choice {
    grid-template-columns: 1fr;
  }

  .admin-preview__hint-text--desktop {
    display: none;
  }

  .admin-preview__hint-text--mobile {
    display: inline;
  }

  .admin-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Laptop frame → mobile phone mockup */
  #adminLaptopPreview.admin-laptop {
    width: min(280px, 78vw);
    max-width: 280px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 34px;
    background: linear-gradient(180deg, #121b29, #070b11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 30px rgba(0, 0, 0, 0.5);
  }

  #adminLaptopPreview.admin-laptop--active {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 166, 35, 0.35);
  }

  #adminLaptopPreview.admin-laptop::before {
    top: 14px;
    width: 76px;
    height: 18px;
    border-radius: 0 0 12px 12px;
    background: #070b11;
  }

  #adminLaptopPreview.admin-laptop::after {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    margin: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
  }

  #adminLaptopPreview .device-frame__screen--dash {
    aspect-ratio: 9 / 19;
    overflow: hidden;
    border: 3px solid #0b111a;
    border-radius: 26px;
  }

  #adminLaptopPreview .crm-dash {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    height: 100%;
    min-height: 0;
    font-size: 0.52rem;
  }

  #adminLaptopPreview .crm-dash__mobile-only {
    display: flex;
  }

  #adminLaptopPreview .crm-dash__desktop-only {
    display: none !important;
  }

  #adminLaptopPreview .crm-dash__mob-header {
    padding: 0.28rem 0.4rem;
  }

  #adminLaptopPreview .crm-dash__mob-header .crm-dash__logo {
    width: 14px;
    height: 14px;
    max-width: 14px;
    max-height: 14px;
  }

  #adminLaptopPreview .crm-dash__mob-header span {
    font-size: 0.54rem;
  }

  #adminLaptopPreview .crm-dash__main {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.35rem;
    gap: 0.32rem;
    -webkit-overflow-scrolling: touch;
  }

  #adminLaptopPreview .crm-dash__empty {
    min-height: 96px;
    padding: 0.55rem 0.5rem;
  }

  #adminLaptopPreview .crm-dash__empty-icon {
    width: 22px;
    height: 22px;
  }

  #adminLaptopPreview .crm-dash__empty-title {
    font-size: 0.54rem;
  }

  #adminLaptopPreview .crm-dash__empty-text {
    font-size: 0.46rem;
  }

  #adminLaptopPreview .crm-dash__stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
  }

  #adminLaptopPreview .crm-stat {
    min-height: 46px;
    padding: 0.38rem 0.42rem;
  }

  #adminLaptopPreview .crm-stat strong {
    font-size: 0.82rem;
  }
}

/* Success */
.success {
  text-align: center;
  padding: 2rem 1.5rem;
}

.success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-deep);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.success__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.success__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 600px) {
  .form-card { padding: 1.25rem; }
  .header { padding: 1rem 1.25rem; }
  .header__actions { gap: 0.5rem; }
  .theme-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .modal__header { flex-wrap: wrap; }
}

/* ── Super Admin panel ── */
.admin-page .main {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(12, 26, 46, 0.92);
}

.admin-top__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-top__role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.admin-top--guest .admin-top__actions {
  display: none;
}

.admin-login {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 1.5rem 0 2.5rem;
}

.admin-login__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.admin-login__card {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(245, 166, 35, 0.22);
  background: linear-gradient(165deg, rgba(17, 34, 64, 0.96), rgba(8, 16, 30, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-login__brand {
  text-align: center;
  margin-bottom: 1.35rem;
}

.admin-login__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  display: block;
}

.admin-login__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.admin-login__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.admin-login__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 34ch;
  margin: 0 auto;
}

.admin-login__role-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0.65rem 0 1rem;
}

.admin-login__role-hint strong {
  color: var(--gold-light);
}

.admin-login__form .field {
  margin-bottom: 0.15rem;
}

.admin-login__form .field__input {
  margin-bottom: 0.65rem;
}

.admin-login__submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.82rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
}

.admin-login__card,
.admin-login__form,
.admin-role-tabs {
  position: relative;
  z-index: 2;
}

.admin-login__status {
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.84rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.18);
}

.admin-login__status--error {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

.admin-login__footnote {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.admin-login__footnote code {
  color: var(--gold-light);
  font-size: 0.7rem;
}

.admin-page .admin-auth__tabs {
  margin-bottom: 0.25rem;
}

.admin-page .admin-auth__tab {
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
}

.admin-page .admin-auth__tab--active {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0.06));
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.35);
}

/* Segmented role tabs */
.admin-role-tabs {
  margin-bottom: 0.35rem;
}

.admin-role-tabs__track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.28rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(6, 13, 26, 0.85);
}

.admin-role-tabs__indicator {
  position: absolute;
  top: 0.28rem;
  left: 0.28rem;
  width: calc(50% - 0.28rem);
  height: calc(100% - 0.56rem);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.28), rgba(245, 166, 35, 0.12));
  border: 1px solid rgba(245, 166, 35, 0.45);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.14);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.admin-role-tabs__btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.72rem 0.5rem;
  border-radius: 11px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.admin-role-tabs__btn--active {
  color: var(--gold-light);
}

.admin-role-tabs__btn:hover {
  color: var(--text);
}

.admin-page .admin-role-tabs__track button {
  margin: 0;
}

.admin-dashboard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-dashboard__title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.admin-dashboard__sub {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.admin-stat {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-stat:hover,
.admin-stat--active {
  border-color: rgba(245, 166, 35, 0.45);
  background: rgba(245, 166, 35, 0.08);
}

.admin-stat__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

.admin-stat__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.admin-toolbar__search {
  flex: 1 1 220px;
  margin: 0;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-filter {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-filter--active,
.admin-filter:hover {
  color: var(--gold-light);
  border-color: rgba(245, 166, 35, 0.4);
  background: rgba(245, 166, 35, 0.1);
}

.admin-dashboard__status {
  margin-bottom: 0.85rem;
}

.admin-orders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-orders__empty {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.admin-order {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(12, 26, 46, 0.92);
  overflow: hidden;
}

.admin-order__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 16, 30, 0.65);
}

.admin-order__id-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-order__id {
  font-size: 1.05rem;
  font-weight: 800;
}

.admin-order__date {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.admin-badge {
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  border: 1px solid transparent;
}

.admin-badge--review { color: #93c5fd; background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.25); }
.admin-badge--progress { color: #fcd34d; background: rgba(245, 166, 35, 0.14); border-color: rgba(245, 166, 35, 0.28); }
.admin-badge--payment { color: #fdba74; background: rgba(251, 146, 60, 0.14); border-color: rgba(251, 146, 60, 0.28); }
.admin-badge--approved { color: #86efac; background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.28); }
.admin-badge--completed { color: #6ee7b7; background: rgba(16, 185, 129, 0.16); border-color: rgba(16, 185, 129, 0.3); }
.admin-badge--hold { color: #cbd5e1; background: rgba(148, 163, 184, 0.14); border-color: rgba(148, 163, 184, 0.28); }
.admin-badge--rejected { color: #fca5a5; background: rgba(248, 113, 113, 0.14); border-color: rgba(248, 113, 113, 0.28); }

.admin-order__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-order__theme {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(8, 16, 30, 0.55);
}

.admin-order__theme-img-wrap {
  width: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16 / 10;
}

.admin-order__theme-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.admin-order__theme-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.admin-order__theme-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.admin-order__theme-meta strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-light);
}

.admin-order__theme-id {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.admin-order__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.admin-order__detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.admin-order__detail span {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-order__detail strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.admin-order__detail a {
  color: var(--gold-light);
  text-decoration: underline;
}

.admin-order__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(8, 16, 30, 0.45);
}

.admin-order__status-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 200px;
  flex: 1 1 200px;
}

.admin-order__status-field span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.admin-order__status-select {
  margin: 0;
}

.admin-order__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

@media (max-width: 900px) {
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .admin-page .main {
    padding: 1rem 1rem 2rem;
  }

  .admin-order__theme {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-order__theme-img-wrap {
    width: 100%;
  }

  .admin-order__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-order__actions {
    width: 100%;
  }

  .admin-order__actions .btn {
    flex: 1 1 auto;
  }
}

/* Compact order list rows */
.admin-orders {
  gap: 0.55rem;
}

.admin-order-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.85rem 1rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(12, 26, 46, 0.92);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.admin-order-row__thumb-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.admin-order-row__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-order-row__thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.admin-order-row:hover {
  border-color: rgba(245, 166, 35, 0.35);
  background: rgba(14, 30, 54, 0.95);
  transform: translateY(-1px);
}

.admin-order-row__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.admin-order-row__id {
  font-size: 0.95rem;
  font-weight: 800;
}

.admin-order-row__name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.admin-order-row__meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.admin-order-row__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  min-width: 6.5rem;
}

.admin-order-row__theme {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.admin-order-row__price {
  font-size: 0.88rem;
  color: var(--gold-light);
}

.admin-order-row__date {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.admin-order-row__chevron {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.75;
}

.admin-toolbar--hidden,
.admin-stats--hidden {
  display: none !important;
}

.admin-order-detail__back {
  margin-bottom: 1rem;
}

.admin-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.admin-detail-head__id {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-detail-head__sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.admin-detail-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-detail-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(12, 26, 46, 0.92);
}

.admin-detail-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
}

.admin-detail-card__hint {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.admin-detail-card--config h3:not(:first-child) {
  margin-top: 1.1rem;
}

.admin-order__theme--detail {
  margin-bottom: 0.85rem;
}

.admin-order__grid--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-order__actions--detail {
  margin-top: 0.75rem;
}

.admin-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
}

.admin-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(8, 16, 30, 0.65);
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
}

.admin-toggle input {
  width: auto;
  margin: 0;
  accent-color: var(--gold);
}

.admin-detail-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.admin-detail-form .field {
  margin: 0;
}

.admin-detail-form .field__input {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .admin-order-row {
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem 0.75rem;
    padding: 0.65rem 0.75rem;
  }

  .admin-order-row__thumb-wrap {
    width: 56px;
    height: 36px;
  }

  .admin-order-row__side {
    display: none;
  }

  .admin-order-row__chevron {
    align-self: center;
  }

  .admin-order__grid--detail,
  .admin-toggle-grid {
    grid-template-columns: 1fr;
  }
}

/* Generic controls used by new pages */
input, select, textarea, button {
  font: inherit;
}

input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  margin: 0.4rem 0 0.85rem;
}

button {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--gold);
  color: var(--bg-deep);
  cursor: pointer;
}

.card {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.danger {
  background: #f87171;
  color: #fff;
}

.invalid {
  border-color: #f87171;
}

/* Order submit loading overlay */
.order-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.order-loading[hidden] {
  display: none !important;
}

.order-loading__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 22, 0.72);
  backdrop-filter: blur(6px);
}

.order-loading__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  min-width: min(100%, 280px);
  padding: 2rem 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 166, 35, 0.22);
  background: linear-gradient(160deg, rgba(18, 32, 52, 0.98), rgba(10, 18, 32, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.order-loading__spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(245, 166, 35, 0.18);
  border-top-color: var(--gold-light);
  animation: themeSpin 0.75s linear infinite;
}

.order-loading__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

body.order-loading-active {
  overflow: hidden;
}

/* Customer portfolio portal dashboard */
.portal-dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - 88px);
  margin-top: 0.5rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(8, 16, 30, 0.65);
}

.portal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 0.85rem;
  background: rgba(6, 13, 26, 0.98);
  border-right: 1px solid var(--border);
}

.portal-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.portal-sidebar__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.portal-sidebar__eyebrow {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.portal-sidebar__brand strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.3;
}

.portal-sidebar__email {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  word-break: break-all;
}

.portal-sidebar__id {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.portal-sidebar__id span {
  color: var(--gold-light);
  font-weight: 700;
}

.portal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.25rem;
}

.portal-nav__btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.58rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.portal-nav__btn:hover {
  background: rgba(74, 158, 255, 0.08);
  color: var(--text);
}

.portal-nav__btn--active {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.18), rgba(74, 158, 255, 0.06));
  border-color: rgba(245, 166, 35, 0.28);
  color: var(--gold-light);
  box-shadow: inset 3px 0 0 var(--gold);
}

.portal-nav__icon {
  width: 1.1rem;
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.85;
}

.portal-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.1rem 1.25rem 1.5rem;
}

.portal-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.portal-topbar__title {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
  font-weight: 800;
}

.portal-topbar__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.portal-status {
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.18);
}

.portal-status--error {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

.portal-page {
  flex: 1;
  min-height: 0;
}

.portal-page__head {
  margin-bottom: 1rem;
}

.portal-page__head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.portal-page__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.portal-stat {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.85);
}

.portal-stat span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.portal-stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold-light);
}

.portal-card {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.72);
}

.portal-card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.portal-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.portal-card__hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.portal-empty {
  padding: 2rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed rgba(245, 166, 35, 0.28);
  background: rgba(8, 16, 30, 0.55);
  text-align: center;
  color: var(--text-muted);
}

.portal-empty--large h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.portal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.portal-list__item {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.72);
}

.portal-list__item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.portal-list__item p {
  margin: 0.25rem 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.portal-list__item time {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.portal-list__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold-light);
}

.portal-profile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portal-profile__theme {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.72);
}

.portal-profile__theme-img {
  width: 120px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.25);
}

.portal-profile__theme-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-profile__theme-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.portal-profile__label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

.portal-profile__id {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
}

.portal-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.72);
}

.portal-profile__row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.portal-profile__row span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.portal-profile__row strong {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
  word-break: break-word;
}

.portal-profile__row strong a {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .portal-dashboard {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .portal-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.85rem;
  }

  .portal-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .portal-nav__btn {
    width: auto;
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 8.5rem;
    font-size: 0.78rem;
    padding: 0.5rem 0.55rem;
  }

  .portal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-profile__grid {
    grid-template-columns: 1fr;
  }
}
