:root {
  --c-blue: #2b3af5;
  --c-indigo: #5b28e0;
  --c-purple: #8b2fd6;
  --c-magenta: #c02d9e;
  --c-orange: #ff6a2b;
  --ink: #0f1222;
  --ink-soft: #5a5f74;
  --ink-mist: #8b90a4;
  --line: #eef0f6;
  --white: #ffffff;

  --cr-bg: transparent;
  --cr-card: #ffffff;
  --cr-surface: #f7f8fc;
  --cr-dark: var(--ink);
  --cr-dark-soft: var(--ink-soft);
  --cr-accent: var(--c-indigo);
  --cr-accent-hover: var(--c-purple);
  --cr-accent-light: rgba(91, 40, 224, 0.1);
  --cr-accent-border: rgba(91, 40, 224, 0.22);
  --cr-accent-dim: rgba(91, 40, 224, 0.12);
  --cr-border: var(--line);
  --cr-border-strong: #dde1ec;
  --cr-text: var(--ink);
  --cr-muted: var(--ink-mist);
  --cr-err: #e11d48;
  --cr-ok: #059669;
  --cr-radius: 22px;
  --cr-radius-sm: 14px;
  --cr-shadow: 0 12px 32px rgba(20, 18, 60, 0.14);
  --cr-shadow-lg: 0 20px 50px rgba(20, 18, 60, 0.28);
  --cr-glass: rgba(255, 255, 255, 0.14);
  --cr-glass-border: rgba(255, 255, 255, 0.25);
  --grad-brand: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 60%, var(--c-magenta) 100%);
  --grad-bg: linear-gradient(135deg, #2b3af5 0%, #6a28d9 45%, #b02d8f 72%, #ff6a2b 100%);
  --grad-stat: linear-gradient(90deg, var(--c-blue), var(--c-purple) 50%, var(--c-orange));
  --font-display: 'Sora', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --cr-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--cr-text);
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(43, 58, 245, .55), transparent 55%),
    radial-gradient(1000px 700px at 85% 15%, rgba(255, 106, 43, .42), transparent 55%),
    radial-gradient(900px 600px at 50% 100%, rgba(139, 47, 214, .55), transparent 60%),
    var(--grad-bg);
  background-attachment: fixed;
}

#cr-auth-screen,
#cr-dashboard,
.cr-auth-wrap,
.cr-main,
.cr-panel {
  background: transparent;
}

/* ── Navbar glass ───────────────────────────────────────── */
.cr-navbar {
  padding: 16px 20px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.cr-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 22px;
  min-height: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--cr-shadow);
}

.cr-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.cr-nav-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 50%;
}

.cr-nav-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.cr-nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 0 1 auto;
}

.cr-nav-brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.cr-nav-brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cr-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cr-nav-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-indigo);
  background: var(--cr-accent-light);
  border: 1px solid var(--cr-accent-border);
  padding: 6px 12px;
  border-radius: 999px;
}

.cr-btn-logout {
  background: transparent;
  border: 1px solid var(--cr-border-strong);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
}

.cr-btn-logout:hover {
  background: var(--cr-surface);
  border-color: var(--cr-accent-border);
  color: var(--c-indigo);
  transform: translateY(-1px);
}

/* ── Auth screen ──────────────────────────────────────── */
.cr-auth-wrap {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 48px;
}

#cr-auth-screen[hidden],
#cr-dashboard[hidden],
#cr-landing[hidden] {
  display: none !important;
}

#cr-dashboard:not([hidden]) {
  display: block;
}

.cr-auth-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow-lg);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  position: relative;
}

.cr-auth-back {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.cr-auth-back:hover {
  color: var(--c-indigo);
  background: var(--cr-surface);
}

.cr-auth-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px 4px;
  margin-top: -6px;
}

.cr-auth-logo {
  width: 234px;
  height: 234px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cr-auth-tabs {
  display: flex;
  gap: 8px;
  padding: 44px 24px 0;
  margin-bottom: 4px;
  background: var(--white);
}

.cr-auth-tab {
  flex: 1;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--cr-border);
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s;
}

.cr-auth-tab:hover {
  color: var(--c-indigo);
  border-color: var(--cr-accent-border);
}

.cr-auth-tab.active {
  color: var(--c-indigo);
  background: var(--white);
  border-color: var(--cr-accent-border);
  box-shadow: none;
}

.cr-auth-body {
  padding: 12px 32px 32px;
  background: var(--white);
}

.cr-auth-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cr-auth-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.5;
}

.cr-auth-forgot-wrap {
  margin-top: 16px;
  text-align: center;
}

.cr-auth-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-indigo);
  cursor: pointer;
  font-family: var(--font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cr-auth-link:hover {
  color: var(--c-purple);
}

.cr-auth-tabs[hidden] {
  display: none;
}

.cr-field { margin-bottom: 14px; }

.cr-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cr-dark-soft);
  margin-bottom: 5px;
}

.cr-input {
  width: 100%;
  border: 1px solid var(--cr-border);
  border-radius: var(--cr-radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-ui);
  color: var(--cr-text);
  background: var(--cr-surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cr-input:focus {
  border-color: var(--c-indigo);
  box-shadow: 0 0 0 4px rgba(91, 40, 224, 0.12);
  background: #fff;
}

.cr-password-wrap {
  position: relative;
}

.cr-input--password {
  padding-right: 46px;
}

.cr-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--cr-dark-soft);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.15s, background 0.15s;
}

.cr-password-toggle:hover {
  color: var(--c-indigo);
  background: rgba(91, 40, 224, 0.08);
}

.cr-password-toggle:focus-visible {
  outline: 2px solid var(--c-indigo);
  outline-offset: 2px;
}

.cr-password-toggle svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.cr-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cr-dark-soft);
  cursor: pointer;
  margin: 2px 0 18px;
  user-select: none;
}

.cr-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--c-indigo);
  cursor: pointer;
}

.cr-msg {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: none;
}

.cr-msg--err {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--cr-err);
}

.cr-msg--ok {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--cr-ok);
}

.cr-btn-primary {
  width: 100%;
  padding: 14px 18px;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  border-radius: var(--cr-radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  margin-top: 6px;
  box-shadow: 0 10px 28px rgba(91, 40, 224, 0.32);
}

.cr-btn-primary:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(91, 40, 224, 0.4);
  transform: translateY(-2px);
}

.cr-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cr-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-indigo);
  background: #fff;
  border: 1.5px solid var(--cr-border-strong);
  border-radius: var(--cr-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
}

.cr-btn-outline:hover {
  background: var(--cr-surface);
  border-color: var(--cr-accent-border);
  transform: translateY(-1px);
}

/* ── Dashboard ────────────────────────────────────────── */
.cr-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.cr-welcome-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  text-align: left;
}

.cr-welcome-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.cr-welcome-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.cr-welcome-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  max-width: 560px;
}

.cr-welcome-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--cr-radius);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--cr-shadow-lg);
}

.cr-welcome-badge {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 16px;
  background: var(--cr-accent-light);
  color: var(--c-indigo);
  border: 1px solid var(--cr-accent-border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ── Nav extras ─────────────────────────────────────────── */
.cr-nav-hola {
  font-size: 13px;
  color: var(--ink-soft);
  display: none;
}

@media (min-width: 640px) {
  .cr-nav-hola:not([hidden]) { display: inline; }
}

.cr-nav-hola strong { color: var(--ink); font-weight: 600; }

/* ── Dashboard tabs (glass pill) ─────────────────────────── */
.cr-dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}

.cr-dash-tab {
  padding: 11px 18px;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cr-dash-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.cr-dash-tab.active {
  color: var(--c-indigo);
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 18, 60, 0.18);
}

.cr-panel { display: block; }
.cr-panel[hidden] { display: none !important; }

/* ── Cards & sections (white float) ─────────────────────── */
.cr-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--cr-radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--cr-shadow-lg);
}

.cr-card--list { padding-top: 22px; }
.cr-card--narrow { max-width: 520px; }

.cr-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cr-section-title--sm {
  font-size: 17px;
  margin-bottom: 14px;
}

.cr-section-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.55;
}

.cr-cuentas-intro .cr-section-title,
.cr-catalogo-header .cr-section-title,
.cr-upload-hero-title {
  color: #fff;
}

.cr-cuentas-intro .cr-section-sub,
.cr-catalogo-header .cr-section-sub,
.cr-upload-hero-sub {
  color: rgba(255, 255, 255, 0.82);
}

.cr-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cr-field--full { grid-column: 1 / -1; }

.cr-textarea {
  width: 100%;
  border: 1px solid var(--cr-border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--cr-text);
  background: var(--cr-surface);
  outline: none;
  resize: vertical;
  line-height: 1.5;
}

.cr-textarea:focus {
  border-color: var(--cr-accent);
  box-shadow: 0 0 0 3px var(--cr-accent-light);
}

.cr-textarea--sm { font-family: var(--font-ui); min-height: 80px; }

.cr-html-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.cr-html-tab {
  padding: 6px 14px;
  border: 1px solid var(--cr-border);
  border-radius: 20px;
  background: var(--cr-bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--cr-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.cr-html-tab.active {
  background: #fff;
  border-color: var(--cr-accent-border);
  color: var(--c-indigo);
  box-shadow: 0 4px 12px rgba(91, 40, 224, 0.1);
}

.cr-file-input {
  width: 100%;
  font-size: 13px;
  padding: 8px 0;
}

.cr-hint {
  font-size: 12px;
  color: var(--cr-muted);
  margin-top: 6px;
}

.cr-checks { display: flex; flex-direction: column; gap: 10px; }

.cr-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--cr-dark-soft);
  cursor: pointer;
}

.cr-check input { width: 16px; height: 16px; accent-color: var(--cr-accent); }

.cr-btn-inline {
  width: auto;
  padding: 12px 32px;
  margin-top: 8px;
}

/* ── Mini apps list ─────────────────────────────────────── */
.cr-ma-lista { display: flex; flex-direction: column; gap: 10px; }

.cr-ma-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--cr-border);
  border-radius: 8px;
  background: var(--cr-bg);
  flex-wrap: wrap;
}

.cr-ma-item-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cr-ma-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cr-ma-slug {
  font-size: 12px;
  color: var(--cr-muted);
  font-family: monospace;
}

.cr-ma-precio {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-indigo);
}

.cr-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--cr-bg);
  color: var(--cr-muted);
}

.cr-tag--ia {
  background: var(--cr-accent-light);
  color: var(--cr-accent);
}

.cr-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--cr-muted);
  cursor: pointer;
  white-space: nowrap;
}

.cr-toggle input { accent-color: var(--cr-accent); }

/* ── Stats & table ──────────────────────────────────────── */
.cr-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.cr-stat-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--cr-radius);
  padding: 24px 24px 22px;
  text-align: left;
  box-shadow: var(--cr-shadow-lg);
  overflow: hidden;
}

.cr-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-stat);
}

.cr-stat-card--highlight {
  border-color: rgba(91, 40, 224, 0.2);
  box-shadow: var(--cr-shadow-lg), 0 0 0 1px rgba(91, 40, 224, 0.08);
}

.cr-stat-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cr-stat-card--highlight .cr-stat-val {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cr-stat-lbl {
  font-size: 11px;
  color: var(--ink-mist);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.cr-stat-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--cr-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.cr-cuentas-intro {
  margin-bottom: 18px;
}

.cr-cuentas-intro .cr-section-title {
  margin-bottom: 6px;
}

.cr-stats-row--cuentas {
  grid-template-columns: repeat(3, 1fr);
}

.cr-cat-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(91, 40, 224, 0.1);
  color: var(--c-indigo);
  border: 1px solid rgba(91, 40, 224, 0.18);
}

.cr-td-money {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-indigo);
}

.cr-table-wrap { overflow-x: auto; }

.cr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cr-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--cr-border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cr-muted);
}

.cr-table td {
  padding: 12px;
  border-bottom: 1px solid var(--cr-border);
}

.cr-td-name { font-weight: 600; color: var(--ink); }
.cr-td-muted { color: var(--ink-soft); font-size: 13px; }

.cr-empty {
  padding: 24px;
  text-align: center;
  color: var(--cr-muted);
  font-size: 14px;
  font-style: italic;
}

.cr-empty--err { color: var(--cr-err); font-style: normal; }

/* ── Upload hero & layout ───────────────────────────────── */
.cr-upload-hero {
  margin-bottom: 24px;
}

.cr-upload-hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cr-upload-hero-sub {
  font-size: 15px;
  line-height: 1.55;
}

/* ── Category picker ────────────────────────────────────── */
.cr-cat-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  max-width: 100%;
}

.cr-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--cr-radius);
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.12s;
  text-align: center;
  box-shadow: var(--cr-shadow);
}

.cr-cat-card:hover {
  border-color: rgba(91, 40, 224, 0.35);
  box-shadow: var(--cr-shadow-lg);
  transform: translateY(-2px);
}

.cr-cat-card.active {
  border-color: var(--c-indigo);
  background: linear-gradient(180deg, rgba(91, 40, 224, 0.06) 0%, #fff 100%);
  box-shadow: var(--cr-shadow-lg), 0 0 0 1px rgba(91, 40, 224, 0.12);
}

.cr-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  position: relative;
  box-shadow: 0 8px 20px rgba(91, 40, 224, 0.25);
}

.cr-cat-icon--pdf::after {
  content: 'PDF';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.cr-cat-icon--video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
}

.cr-cat-icon--code::after {
  content: '</>';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: monospace;
}

.cr-cat-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.cr-cat-desc {
  font-size: 12px;
  color: var(--cr-muted);
  line-height: 1.35;
}

.cr-upload-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.cr-upload-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
  margin-bottom: 32px;
}

.cr-upload-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cr-product-block {
  margin-bottom: 4px;
}

.cr-product-block .cr-html-tabs {
  margin-top: 4px;
}

.cr-upload-divider {
  height: 1px;
  background: var(--cr-border);
  margin: 20px 0;
}

.cr-photos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cr-upload-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--cr-radius);
  padding: 24px 28px;
  box-shadow: var(--cr-shadow-lg);
}

.cr-upload-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cr-upload-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ink);
}

.cr-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--grad-brand);
  border: none;
  position: relative;
  box-shadow: 0 6px 16px rgba(91, 40, 224, 0.25);
}

.cr-upload-icon--code::after,
.cr-upload-icon--files::after,
.cr-upload-icon--info::after,
.cr-upload-icon--price::after,
.cr-upload-icon--opts::after {
  color: #fff;
}

.cr-upload-card-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.cr-upload-icon--code::after {
  content: '</>';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--cr-accent);
  font-family: monospace;
}

.cr-upload-icon--files::after {
  content: 'IMG';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--cr-accent);
}

.cr-upload-icon--info::after {
  content: 'i';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--cr-accent);
  font-style: italic;
}

.cr-upload-icon--price::after {
  content: '$';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--cr-accent);
}

.cr-upload-icon--opts::after {
  content: '...';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--cr-accent);
  letter-spacing: 1px;
}

.cr-req { color: var(--cr-err); }
.cr-opt { color: var(--cr-muted); font-weight: 400; font-size: 11px; }

.cr-textarea--code {
  min-height: 220px;
  font-size: 12px;
}

.cr-hint--block { margin-bottom: 8px; }

.cr-file-input-hidden {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.cr-file-zone {
  border: 2px dashed var(--cr-border-strong);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  background: var(--cr-surface);
  transition: border-color 0.15s, background 0.15s;
}

.cr-file-zone:hover {
  border-color: var(--cr-accent);
  background: var(--cr-accent-light);
}

.cr-file-zone--compact { padding: 14px 16px; }

.cr-file-zone-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-dark-soft);
}

.cr-file-zone-label--compact {
  flex-direction: row;
  justify-content: center;
}

.cr-file-zone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cr-surface);
  border: 1px solid var(--cr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--cr-accent);
  font-weight: 300;
}

.cr-file-zone-label--compact .cr-file-zone-icon {
  width: 32px;
  height: 32px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
}

.cr-videos-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--cr-border);
  border-radius: 10px;
  background: var(--cr-bg);
}

.cr-video-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--cr-surface);
  border: 1px solid var(--cr-border);
  font-size: 13px;
}

.cr-video-item-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cr-accent-dim);
  color: var(--cr-accent);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.cr-video-item-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cr-ink);
  font-weight: 500;
}

.cr-video-item-size {
  flex: none;
  font-size: 11px;
  color: var(--cr-muted);
  font-family: var(--cr-mono);
}

/* ── Photo upload boxes ─────────────────────────────────── */
.cr-photo-upload { margin-top: 4px; }

.cr-photo-box {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 2px dashed var(--cr-border-strong);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cr-surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cr-photo-box:hover {
  border-color: var(--c-indigo);
  box-shadow: 0 0 0 4px rgba(91, 40, 224, 0.1);
}

.cr-photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cr-photo-preview[hidden] { display: none !important; }

.cr-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-muted);
}

.cr-photo-placeholder[hidden] { display: none !important; }

/* ── Price row ────────────────────────────────────────────── */
.cr-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cr-input--price {
  font-size: 16px;
  font-weight: 600;
}

.cr-input--promo {
  border-color: var(--cr-border-strong);
  background: var(--cr-surface);
}

.cr-input--promo:focus {
  border-color: var(--cr-accent);
  box-shadow: 0 0 0 3px var(--cr-accent-light);
}

/* ── Option list ──────────────────────────────────────────── */
.cr-option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.cr-option-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--cr-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.cr-option-item:hover {
  border-color: var(--cr-accent-border);
  background: var(--cr-bg);
}

.cr-option-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cr-accent);
  flex-shrink: 0;
}

.cr-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cr-option-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cr-text);
}

.cr-option-desc {
  font-size: 12px;
  color: var(--cr-muted);
  line-height: 1.4;
}

.cr-comision-field {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cr-border);
}

/* ── Publish button ───────────────────────────────────────── */
.cr-btn-publish {
  width: 100%;
  padding: 16px 24px;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  border-radius: var(--cr-radius-sm);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(91, 40, 224, 0.35);
  transition: transform 0.15s, box-shadow 0.18s, filter 0.18s;
}

.cr-btn-publish:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow: 0 16px 40px rgba(91, 40, 224, 0.42);
  transform: translateY(-2px);
}

.cr-btn-publish:active:not(:disabled) {
  transform: translateY(0);
}

.cr-btn-publish:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ── Products grid ────────────────────────────────────────── */
.cr-products-section {
  margin-top: 8px;
  padding: 28px;
  border-radius: var(--cr-radius);
  background: var(--white);
  box-shadow: var(--cr-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.cr-products-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.cr-products-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cr-surface);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 20px;
}

.cr-product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 18, 60, 0.1);
  transition: box-shadow 0.18s, transform 0.12s;
}

.cr-product-card:hover {
  box-shadow: var(--cr-shadow-lg);
  transform: translateY(-3px);
}

.cr-product-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(43, 58, 245, 0.08) 0%, rgba(192, 45, 158, 0.1) 100%);
  overflow: hidden;
}

.cr-product-thumb--empty {
  background: linear-gradient(135deg, rgba(91, 40, 224, 0.12) 0%, rgba(255, 106, 43, 0.1) 100%);
}

.cr-product-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.cr-product-price-promo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-indigo);
}

.cr-product-tag--cat {
  background: rgba(91, 40, 224, 0.1);
  color: var(--c-indigo);
  border-color: rgba(91, 40, 224, 0.2);
}

.cr-status-badge--pendiente {
  background: rgba(234, 179, 8, 0.14);
  color: #b45309;
  border-color: rgba(234, 179, 8, 0.35);
}

.cr-status-badge--aprobada {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}

.cr-status-badge--rechazada {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.3);
}

.cr-products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cr-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.cr-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cr-product-body {
  padding: 14px 16px 16px;
}

.cr-product-slug {
  font-size: 11px;
  color: var(--cr-muted);
  font-family: monospace;
  margin-bottom: 10px;
}

.cr-product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.cr-product-price-old {
  font-size: 13px;
  color: var(--cr-muted);
  text-decoration: line-through;
}

.cr-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.cr-product-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--cr-surface);
  color: var(--cr-muted);
  border: 1px solid var(--cr-border);
}

.cr-product-tag--html {
  background: var(--cr-accent-light);
  color: var(--c-indigo);
  border-color: var(--cr-accent-border);
}

.cr-product-tag--pdf {
  background: rgba(232, 85, 85, 0.08);
  color: #c53030;
  border-color: rgba(232, 85, 85, 0.2);
}

.cr-product-tag--pack {
  background: rgba(47, 134, 255, 0.08);
  color: #1565a8;
  border-color: rgba(47, 134, 255, 0.2);
}

.cr-status-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.cr-status-motivo {
  width: 100%;
  margin: 8px 0 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 6px;
}

.cr-catalogo-header {
  margin-bottom: 24px;
}

.cr-catalogo-card .cr-product-tags {
  align-items: flex-start;
}

.cr-catalogo-link-dueno {
  margin-top: 12px;
  padding: 12px;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 10px;
}

.cr-catalogo-link-dueno-lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-indigo);
  margin-bottom: 6px;
}

.cr-catalogo-link-dueno-hint {
  font-size: 12px;
  color: var(--cr-muted);
  line-height: 1.45;
  margin: 0 0 10px;
}

.cr-catalogo-vendedores-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--cr-muted);
  line-height: 1.4;
}

.cr-catalogo-vendedores-note code {
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
}

.cr-catalogo-pagina {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cr-border);
}

.cr-catalogo-pagina-lbl {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cr-muted);
  margin-bottom: 6px;
}

.cr-catalogo-pagina-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.cr-catalogo-link {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--c-indigo);
  font-weight: 600;
  word-break: break-all;
  text-decoration: none;
}

.cr-catalogo-link:hover {
  text-decoration: underline;
}

.cr-btn-copy {
  flex: none;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cr-text);
  background: var(--cr-surface);
  border: 1px solid var(--cr-border);
  border-radius: 8px;
  cursor: pointer;
}

.cr-btn-copy:hover {
  border-color: var(--c-indigo);
  color: var(--c-indigo);
}

.cr-btn-copy--ok {
  border-color: #059669 !important;
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
}

.cr-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
  box-shadow: 0 12px 32px rgba(15, 18, 34, 0.2);
}

.cr-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cr-contact-card {
  max-width: 560px;
  margin: 0 auto;
}

.cr-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 24px;
}

.cr-contact-wa {
  text-align: center;
  text-decoration: none;
}

.cr-contact-email {
  text-align: center;
}

.cr-contact-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
  font-size: 12px;
  color: var(--cr-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cr-contact-divider::before,
.cr-contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cr-border);
}

.cr-contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.cr-product-tag--ia {
  background: var(--cr-accent-light);
  color: var(--cr-accent);
  border-color: var(--cr-accent-border);
}

.cr-product-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--cr-muted);
  cursor: pointer;
  padding-top: 10px;
  border-top: 1px solid var(--cr-border);
}

.cr-product-toggle input { accent-color: var(--cr-accent); }

@media (max-width: 900px) {
  .cr-upload-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .cr-cat-picker { grid-template-columns: 1fr; }
  .cr-form-grid { grid-template-columns: 1fr; }
  .cr-stats-row,
  .cr-stats-row--cuentas { grid-template-columns: 1fr; }
  .cr-dash-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cr-dash-tabs::-webkit-scrollbar { display: none; }
  .cr-price-row { grid-template-columns: 1fr; }
  .cr-photos-row { grid-template-columns: 1fr; }
  .cr-products-grid { grid-template-columns: 1fr; }
  .cr-navbar-inner {
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 12px;
    min-height: 88px;
  }
  .cr-nav-logo-wrap,
  .cr-nav-logo {
    width: 68px;
    height: 68px;
  }
  .cr-auth-logo {
    width: 187px;
    height: 187px;
  }
  .cr-nav-brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .cr-nav-brand-text { display: none; }
  .cr-nav-right {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: auto;
  }
  .cr-welcome-hero { padding: 20px 16px 4px; }
  .cr-main { padding: 16px 16px 40px; }
  .cr-card,
  .cr-products-section,
  .cr-upload-card { padding: 20px 18px; }
}

/* ── Landing page ───────────────────────────────────────── */
body.cr-body--landing {
  background: #ffffff;
  background-attachment: scroll;
}

body.cr-body--auth,
body.cr-body--dash {
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(43, 58, 245, .55), transparent 55%),
    radial-gradient(1000px 700px at 85% 15%, rgba(255, 106, 43, .42), transparent 55%),
    radial-gradient(900px 600px at 50% 100%, rgba(139, 47, 214, .55), transparent 60%),
    var(--grad-bg);
  background-attachment: fixed;
}

.lp {
  color: #0b0e1a;
  font-family: var(--font-ui);
}

.lp-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eef0f6;
}

.lp-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.lp-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.lp-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lp-brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #0b0e1a;
  letter-spacing: -0.02em;
}

.lp-brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: #565b70;
  letter-spacing: 0.03em;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.lp-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #565b70;
  text-decoration: none;
  transition: color 0.15s;
}

.lp-nav-links a:hover { color: var(--c-indigo); }

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lp-btn-primary,
.lp-btn-outline,
.lp-btn-ghost {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  border: none;
}

.lp-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2b3af5 0%, #8b2fd6 55%, #c02d9e 100%);
  box-shadow: 0 10px 28px rgba(43, 58, 245, 0.28);
  padding: 12px 22px;
}

.lp-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.lp-btn-outline {
  background: #fff;
  color: #0b0e1a;
  border: 1.5px solid #dde1ec;
  padding: 12px 22px;
}

.lp-btn-outline:hover {
  border-color: var(--c-indigo);
  color: var(--c-indigo);
}

.lp-btn-ghost {
  background: transparent;
  color: #565b70;
  padding: 10px 14px;
}

.lp-btn-ghost:hover { color: var(--c-indigo); }

.lp-btn-sm { padding: 10px 18px; font-size: 13px; }
.lp-btn-lg { padding: 16px 32px; font-size: 16px; }

.lp-hero {
  padding: 72px 0 56px;
  text-align: center;
}

.lp-hero-inner { max-width: 820px; }

.lp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0b0e1a;
  margin-bottom: 20px;
}

.lp-grad-text {
  background: linear-gradient(135deg, #2b3af5, #8b2fd6 50%, #c02d9e 80%, #ff6a2b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #565b70;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 32px;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.lp-hero-note {
  font-size: 13px;
  font-weight: 600;
  color: #565b70;
  letter-spacing: 0.02em;
}

.lp-stats {
  padding: 0 0 64px;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-stat {
  background: #f7f8fc;
  border: 1px solid #eef0f6;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(11, 14, 26, 0.08);
}

.lp-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #2b3af5, #8b2fd6, #ff6a2b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.lp-stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #565b70;
}

.lp-section {
  padding: 72px 0;
}

.lp-section--alt {
  background: #f7f8fc;
}

.lp-section-head {
  text-align: center;
  margin-bottom: 48px;
}

.lp-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-indigo);
  margin-bottom: 10px;
}

.lp-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b0e1a;
}

.lp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lp-compare-card {
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid #eef0f6;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(11, 14, 26, 0.08);
}

.lp-compare-card--bad {
  background: #fff;
}

.lp-compare-card--good {
  background: linear-gradient(145deg, #0b0e1a 0%, #1a1040 55%, #2a1560 100%);
  border-color: transparent;
  color: #fff;
}

.lp-compare-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.lp-compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-compare-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #565b70;
}

.lp-compare-card--good li { color: rgba(255, 255, 255, 0.88); }

.lp-x {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fee2e2;
  color: #e11d48;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lp-step {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 20px;
  padding: 28px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-section--alt .lp-step {
  background: #fff;
}

.lp-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(11, 14, 26, 0.08);
}

.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2b3af5, #8b2fd6);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0b0e1a;
}

.lp-step p {
  font-size: 14px;
  color: #565b70;
  line-height: 1.55;
}

.lp-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-cat-card {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 20px;
  padding: 32px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(11, 14, 26, 0.1);
}

.lp-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(43, 58, 245, 0.12), rgba(139, 47, 214, 0.12));
  position: relative;
  display: block;
  margin-bottom: 18px;
}

.lp-cat-icon--pdf::after {
  content: 'PDF';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--c-indigo);
}

.lp-cat-icon--video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--c-indigo);
}

.lp-cat-icon--app::after {
  content: '</>';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--c-indigo);
}

.lp-cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0b0e1a;
}

.lp-cat-card p {
  font-size: 14px;
  color: #565b70;
  line-height: 1.55;
  margin-bottom: 14px;
}

.lp-cat-example {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-indigo);
  background: rgba(91, 40, 224, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
}

.lp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-benefit {
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lp-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(11, 14, 26, 0.08);
}

.lp-benefit h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0b0e1a;
}

.lp-benefit p {
  font-size: 14px;
  color: #565b70;
  line-height: 1.55;
}

.lp-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #2b3af5 0%, #8b2fd6 45%, #c02d9e 75%, #ff6a2b 100%);
}

.lp-cta-inner {
  text-align: center;
  color: #fff;
}

.lp-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.lp-cta-inner p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 28px;
}

.lp-cta .lp-btn-primary {
  background: #fff;
  color: #2b3af5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.lp-cta-link {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-cta-link:hover { color: #fff; }

.lp-footer {
  padding: 40px 0 48px;
  border-top: 1px solid #eef0f6;
  background: #fff;
}

.lp-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.lp-footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.lp-footer p {
  font-size: 14px;
  color: #565b70;
  max-width: 480px;
  line-height: 1.55;
}

.lp-footer strong { color: #0b0e1a; }

@media (max-width: 960px) {
  .lp-nav-inner { flex-wrap: wrap; }
  .lp-nav-links { display: none; }
  .lp-nav-actions { margin-left: auto; }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-cats { grid-template-columns: 1fr; }
  .lp-benefits { grid-template-columns: repeat(2, 1fr); }
  .lp-compare { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .lp-hero { padding: 48px 0 40px; }
  .lp-hero-actions { flex-direction: column; align-items: stretch; }
  .lp-hero-actions .lp-btn-primary,
  .lp-hero-actions .lp-btn-outline { width: 100%; }
  .lp-stats-grid { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-benefits { grid-template-columns: 1fr; }
  .lp-nav-actions .lp-btn-ghost { display: none; }
  .lp-section { padding: 56px 0; }
}
