/* ─── Pro page — design tokens override ──────────────────────────────────── */
:root {
  --pro-dark: #5b21b6;
}

/* ─── Nav badge ──────────────────────────────────────────────────────────── */
.nav-badge {
  background: var(--pro);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: .04em;
  margin-left: 2px;
}
nav .nav-cta { background: var(--pro); }
/* Push CTA to the right (no nav-right wrapper on this page) */
.nav-inner > .nav-cta { margin-left: auto; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.pro-hero {
  background: linear-gradient(135deg, #1e0845 0%, #2d1070 50%, #1a0533 100%);
  padding: 96px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pro-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124,58,237,.35) 0%, transparent 70%);
}
.pro-hero-inner { max-width: 720px; margin: 0 auto; position: relative; }

.pro-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(124,58,237,.25);
  border: 1px solid rgba(124,58,237,.4);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.pro-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -.5px;
  color: #fff;
  margin-bottom: 20px;
}
.pro-hero h1 em { font-style: italic; color: #c4b5fd; }

.pro-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.pro-hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pro-hero-note    { font-size: 13px; color: rgba(255,255,255,.25); margin-top: 18px; }

/* ─── Buttons (Pro variants) ─────────────────────────────────────────────── */
.btn-pro     { background: var(--pro); color: #fff; }
.btn-outline { background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.2); font-size: 14px; padding: 12px 22px; }
.btn-outline:hover { color: #fff; border-color: rgba(255,255,255,.4); opacity: 1; }

/* ─── Section overrides for Pro page ────────────────────────────────────── */
.pro-hero + hr + .feat-showcase .sec-label,
.sec-label { color: var(--pro); }

/* ─── Feature showcase — alternating layout ──────────────────────────────── */
.feat-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.feat-showcase.reverse           { direction: rtl; }
.feat-showcase.reverse > *       { direction: ltr; }

.feat-text .feat-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pro-light);
  color: var(--pro);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'DM Mono', monospace;
}
.feat-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  letter-spacing: -.3px;
  margin-bottom: 12px;
  line-height: 1.15;
}
.feat-text p  { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 16px; }
.feat-text ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feat-text ul li {
  font-size: 14px;
  color: var(--ink2);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}
.feat-text ul li::before { content: '✓'; color: var(--pro); font-weight: 600; flex-shrink: 0; margin-top: 1px; }

/* ─── Feature screen mockups ─────────────────────────────────────────────── */
.feat-screen {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,.1);
  border: 1px solid var(--bg3);
}
.screen-bar {
  background: var(--bg2);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--bg3);
}
.screen-dot   { width: 9px; height: 9px; border-radius: 50%; }
.screen-body  { background: #fff; min-height: 260px; position: relative; overflow: hidden; }

/* Image replace mock */
.img-mock {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-mock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124,58,237,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.img-mock:hover .img-mock-overlay { opacity: 1; }
.img-upload-badge { background: var(--pro); color: #fff; font-size: 12px; font-weight: 500; padding: 7px 16px; border-radius: 7px; display: flex; align-items: center; gap: 6px; }
.img-mock-label   { font-size: 11px; color: #6366f1; font-family: 'DM Mono', monospace; opacity: .6; }
.img-meta         { padding: 12px 16px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--bg3); }
.img-thumb        { width: 36px; height: 36px; border-radius: 6px; background: linear-gradient(135deg, #c7d2fe, #a5b4fc); flex-shrink: 0; }
.img-info         { font-size: 11px; color: var(--ink3); font-family: 'DM Mono', monospace; }

/* Drag & drop blocks mock */
.block-list { padding: 12px; }
.block-row {
  background: #fff;
  border: 1px solid var(--bg3);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: grab;
  transition: box-shadow .12s, transform .12s;
}
.block-row:hover          { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
.block-row.dragging       { box-shadow: 0 8px 32px rgba(0,0,0,.15); transform: translateY(-2px); border-color: var(--pro); opacity: .9; }
.block-row.drop-target    { border: 2px dashed var(--pro); background: var(--pro-light); }
.drag-handle              { color: var(--ink3); display: flex; gap: 2px; flex-direction: column; cursor: grab; }
.drag-handle span         { width: 14px; height: 2px; background: currentColor; border-radius: 1px; display: block; }
.block-icon               { width: 26px; height: 26px; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.block-label              { font-size: 12px; font-weight: 500; flex: 1; }
.block-label small        { display: block; font-size: 11px; color: var(--ink3); font-weight: 400; }
.block-actions            { display: flex; gap: 4px; }
.block-act                { width: 22px; height: 22px; border-radius: 4px; background: var(--bg2); display: flex; align-items: center; justify-content: center; color: var(--ink3); }

/* Version history mock */
.versions { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ver-row  { background: #fff; border: 1px solid var(--bg3); border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.ver-row.current { border-color: var(--pro); background: var(--pro-light); }
.ver-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--bg3); flex-shrink: 0; }
.ver-row.current .ver-dot { background: var(--pro); }
.ver-info  { flex: 1; }
.ver-time  { font-size: 12px; font-weight: 500; }
.ver-meta  { font-size: 11px; color: var(--ink3); }
.ver-badge { font-size: 10px; font-weight: 500; padding: 2px 7px; border-radius: 5px; background: var(--pro); color: #fff; }
.ver-restore { font-size: 11px; color: var(--pro); font-weight: 500; cursor: pointer; }

/* Attribute editor mock */
.attr-panel   { padding: 14px; background: var(--bg2); border-top: 1px solid var(--bg3); }
.attr-title   { font-size: 11px; font-weight: 500; color: var(--ink3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.attr-row     { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.attr-key     { font-size: 11px; font-family: 'DM Mono', monospace; color: var(--ink3); width: 50px; flex-shrink: 0; }
.attr-val     { flex: 1; background: #fff; border: 1px solid var(--bg3); border-radius: 5px; padding: 4px 8px; font-size: 11px; font-family: 'DM Mono', monospace; color: var(--ink); }
.attr-val.editing { border-color: var(--accent); outline: none; }

/* ─── Comparison table ───────────────────────────────────────────────────── */
.compare { max-width: 700px; border: 1px solid var(--bg3); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare-head { display: grid; grid-template-columns: 1fr 120px 120px; background: var(--bg2); padding: 12px 20px; border-bottom: 1px solid var(--bg3); }
.compare-head-cell { font-size: 12px; font-weight: 500; text-align: center; }
.compare-head-cell:first-child { text-align: left; color: var(--ink3); }
.compare-head-cell.pro-col { color: var(--pro); }
.compare-row { display: grid; grid-template-columns: 1fr 120px 120px; padding: 12px 20px; border-bottom: 1px solid var(--bg3); align-items: center; }
.compare-row:last-child          { border-bottom: none; }
.compare-row:nth-child(even)     { background: var(--bg); }
.compare-feat  { font-size: 13px; color: var(--ink2); }
.compare-cell  { text-align: center; }
.check     { color: #16a34a; }
.cross     { color: var(--bg3); }
.pro-check { color: var(--pro); }

/* ─── Pro CTA block ──────────────────────────────────────────────────────── */
.pro-cta {
  background: linear-gradient(135deg, #1e0845, #2d1070);
  border-radius: 20px;
  padding: 72px 48px;
  text-align: center;
  max-width: calc(var(--max) - 64px);
  margin: 0 auto 80px;
  position: relative;
  overflow: hidden;
}
.pro-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(124,58,237,.3) 0%, transparent 70%);
}
.pro-cta-inner   { position: relative; }
.pro-cta h2      { font-family: 'DM Serif Display', serif; font-size: 46px; color: #fff; letter-spacing: -.3px; margin-bottom: 14px; line-height: 1.1; }
.pro-cta h2 em   { font-style: italic; color: #c4b5fd; }
.pro-cta p       { font-size: 15px; color: rgba(255,255,255,.45); margin-bottom: 32px; }
.pro-cta-price   { font-family: 'DM Serif Display', serif; font-size: 54px; color: #fff; margin-bottom: 6px; line-height: 1; }
.pro-cta-price small { font-family: 'DM Sans', sans-serif; font-size: 15px; color: rgba(255,255,255,.4); font-weight: 400; }
.pro-cta-btn     { background: var(--pro); color: #fff; display: inline-flex; margin-bottom: 10px; }
.pro-cta-btn:hover { background: var(--pro-dark); opacity: 1; }
.pro-cta-note    { font-size: 12px; color: rgba(255,255,255,.25); }

/* Responsive rules are in responsive.css (loaded last) */
