/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Custom Properties ─────────────────────────────────────────────────────── */
:root {
  --bg-primary:    #f0f5fc;
  --bg-secondary:  #e3edf8;
  --bg-card:       #ffffff;
  --bg-card-hover: #e8f0fa;
  --border:        #b8d0e8;
  --border-accent: #7ab3e8;

  --accent:        #1a6bb5;
  --accent-hover:  #145292;
  --accent-dim:    rgba(26,107,181,0.08);
  --accent-glow:   0 0 24px rgba(26,107,181,0.22);

  --blue:          #1976d2;
  --blue-hover:    #1258a5;
  --blue-dim:      rgba(25,118,210,0.08);
  --blue-glow:     0 0 24px rgba(25,118,210,0.22);
  --blue-light:    #42a5f5;

  --text-primary:  #0f1e32;
  --text-secondary:#2d4a6e;
  --text-muted:    #6e8faf;

  --success:       #1976d2;
  --error:         #c0392b;
  --warning:       #c87a0d;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-card:   0 4px 28px rgba(26,107,181,0.09);
  --shadow-glow:   0 8px 40px rgba(26,107,181,0.22);

  --transition:    0.2s ease;

  --max-w:         760px;

  /* Gradient */
  --grad-header:   linear-gradient(135deg, #0a1829 0%, #1a3a5c 100%);
  --grad-btn:      linear-gradient(135deg, #1a6bb5 0%, #42a5f5 100%);
}

/* ─── Typography ─────────────────────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; line-height: 1.12; }
h2 { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 700; }
p  { color: var(--text-secondary); }
code { font-family: 'Courier New', monospace; color: var(--blue); }

/* ─── Language Nav ───────────────────────────────────────────────────────────── */
#language-nav {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  padding: 8px 24px;
  background: #0a1829;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
#language-nav a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
#language-nav a:hover,
#language-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ─── Header ─────────────────────────────────────────────────────────────────── */
header {
  background: var(--grad-header);
  padding: 56px 24px 72px;
  position: relative;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(59,130,246,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(26,107,181,0.25) 0%, transparent 60%);
  pointer-events: none;
}
header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 60px;
  background: var(--bg-primary);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.logo { margin-bottom: 4px; }
.logo svg { color: rgba(255,255,255,0.85); }

.header-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(56,189,248,0.25);
  color: #bae6fd;
  border: 1px solid rgba(56,189,248,0.5);
  margin-bottom: 8px;
}

header h1 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
header h1 em {
  font-style: italic;
  color: #93c5fd;
}
.subtitle {
  color: rgba(255,255,255,0.88) !important;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
}

.header-trust-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.trust-badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

/* ─── Main Layout ────────────────────────────────────────────────────────────── */
#app {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 16px;
}

/* ─── Steps ──────────────────────────────────────────────────────────────────── */
.step {
  display: none;
  animation: fadeIn 0.35s ease;
}
.step.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-header {
  margin-bottom: 24px;
  text-align: center;
}
.step-desc {
  margin-top: 6px;
  font-size: 0.9rem;
}
.step-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ─── Tabs ───────────────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 4px;
  margin: 0 auto 20px;
  max-width: 480px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: calc(var(--radius-xl) - 4px);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.tab.active {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--accent-glow);
}
.tab:hover:not(.active) {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* ─── Progress Steps (4 dots) ────────────────────────────────────────────────── */
.progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 28px;
  padding: 0 8px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
}
.progress-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2.5px solid var(--border);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.progress-step.active .progress-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(26,107,181,0.15), var(--accent-glow);
  transform: scale(1.2);
}
.progress-step.done .progress-dot {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: var(--blue-glow);
}
.progress-step.done .progress-dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  font-weight: 700;
}
.progress-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.progress-step.active .progress-label {
  color: var(--accent);
}
.progress-step.done .progress-label {
  color: var(--blue);
}
.progress-connector {
  flex: 1;
  min-width: 48px;
  max-width: 100px;
  height: 2.5px;
  background: var(--border);
  margin-top: 7px; /* aligns with center of dot */
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.progress-connector.done {
  background: var(--blue);
}
.progress-connector::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.progress-connector.active::after {
  transform: scaleX(1);
}

/* ─── Upload Zone ────────────────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 56px 32px 48px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(26,107,181,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}
.upload-zone:hover .upload-icon svg {
  filter: drop-shadow(0 0 12px rgba(26,107,181,0.5));
  color: var(--accent);
}
.upload-icon {
  margin-bottom: 16px;
  color: var(--accent);
}
.upload-icon svg {
  transition: filter 0.25s ease, color 0.25s ease;
  color: var(--accent);
}
.upload-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
}
.upload-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary) !important;
  margin-bottom: 10px;
  font-style: italic;
}
.upload-hint {
  font-size: 0.78rem;
  color: var(--text-muted) !important;
}

/* ─── Emotional Banner ───────────────────────────────────────────────────────── */
.emotional-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(26,107,181,0.05) 0%, rgba(59,130,246,0.07) 100%);
  border: 1px solid rgba(26,107,181,0.15);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
}
.emotional-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.97rem;
  color: var(--text-primary) !important;
  line-height: 1.7;
  margin-bottom: 10px;
}
.emotional-author {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Cropper ────────────────────────────────────────────────────────────────── */
.crop-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  max-height: 480px;
  border: 1px solid var(--border);
}
.crop-container img {
  max-width: 100%;
  display: block;
}

/* ─── Tools Grid ─────────────────────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 480px) {
  .tools-grid { grid-template-columns: repeat(4, 1fr); }
}
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
}
.tool-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tool-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--accent);
}
.tool-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
.tool-icon { font-size: 1.8rem; line-height: 1; }

/* ─── Prompt ─────────────────────────────────────────────────────────────────── */
.prompt-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prompt-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.prompt-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  padding: 12px 16px;
  resize: vertical;
  transition: border-color var(--transition);
  min-height: 80px;
}
.prompt-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.prompt-group textarea::placeholder { color: var(--text-muted); }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,107,181,0.25);
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--accent);
}
.btn-pay {
  background: var(--grad-btn);
  color: #fff;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  width: 100%;
}
.btn-pay:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 48px rgba(26,107,181,0.35);
}
.btn-large { padding: 14px 36px; font-size: 1rem; }

/* ─── Processing ─────────────────────────────────────────────────────────────── */
.processing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 24px;
  text-align: center;
}
.spinner {
  position: relative;
  width: 64px;
  height: 64px;
}
.processing-indicator {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}
.mail-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
  display: grid;
  place-items: center;
  background: rgba(26,107,181,0.08);
}
.hidden {
  display: none !important;
}
.spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: spin 1.5s linear infinite;
}
.spinner-ring:nth-child(1) {
  border-top-color: var(--accent);
  animation-duration: 1.2s;
}
.spinner-ring:nth-child(2) {
  inset: 8px;
  border-right-color: rgba(66,165,245,0.6);
  animation-duration: 1.8s;
  animation-direction: reverse;
}
.spinner-ring:nth-child(3) {
  inset: 16px;
  border-bottom-color: rgba(26,107,181,0.25);
  animation-duration: 2.4s;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.pipeline-step.active { color: var(--accent); }
.pipeline-step.done   { color: var(--success); }
.pipeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition);
}
.pipeline-step.active .pipeline-dot { background: var(--accent); box-shadow: 0 0 8px rgba(26,107,181,0.6); }
.pipeline-step.done   .pipeline-dot { background: var(--success); }
.pipeline-arrow { color: var(--text-muted); font-size: 0.8rem; }
.order-id-label { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Preview ────────────────────────────────────────────────────────────────── */
.preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.preview-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 6px;
}
.preview-container > div:not(.preview-divider) {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preview-container img {
  width: clamp(140px, 38vw, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.preview-after-blur {
  filter: blur(8px);
  opacity: 0.7;
}
.preview-divider {
  font-size: 1.5rem;
  color: var(--accent);
}
.payment-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.preview-thumb {
  width: min(512px, 100%);
  aspect-ratio: 512 / 320;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  margin: 0 auto 16px;
  display: block;
}
.price-tag {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent) !important;
  line-height: 1;
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
}
.price-currency { font-size: 1.8rem; }
.payment-info {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* ─── Checkout ───────────────────────────────────────────────────────────────── */
.checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.checkout-form label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.checkout-form input[type="email"] {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.checkout-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.checkout-form input::placeholder { color: var(--text-muted); }
.checkout-note {
  font-size: 0.78rem;
  color: var(--text-muted) !important;
  text-align: center;
}
.payment-methods {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.pm-badge {
  padding: 4px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ─── Download ───────────────────────────────────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.download-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.download-item:hover { border-color: var(--accent); box-shadow: var(--accent-glow); }
.download-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.download-item-info {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.download-item-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: capitalize;
}
.download-btn {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.download-btn:hover {
  background: var(--accent);
  color: #fff;
}
.expiry-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted) !important;
}

/* ─── Comments ───────────────────────────────────────────────────────────────── */
.comments-section {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 0 16px 64px;
}
.comments-section h2 {
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.comment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition);
}
.comment-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}
.comment-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 8px; }
.comment-text { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 12px; }
.comment-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 24px 16px;
  border-top: 1px solid var(--border);
  background: #0a1829;
}
footer p { font-size: 0.8rem; color: rgba(255,255,255,0.35) !important; }
.footer-links { margin-top: 8px; display: flex; justify-content: center; gap: 16px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── Process Description ────────────────────────────────────────────────────── */
.process-description {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
}
.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
  font-family: 'Playfair Display', serif;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.process-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26,107,181,0.3);
  font-family: 'Playfair Display', serif;
}
.process-step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 6px;
}
.process-step-text strong {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
}
.process-step-text span {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Before/After Showcase ──────────────────────────────────────────────────── */
.showcase {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.showcase-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
}
.showcase-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.showcase-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.showcase-label-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.showcase-label-badge.showcase-label-after {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: rgba(26,107,181,0.3);
}
.showcase-image {
  width: clamp(130px, 36vw, 240px);
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.showcase-image-before {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.03) 2px,
      rgba(0,0,0,0.03) 4px
    ),
    linear-gradient(160deg, #c8c0b0 0%, #a09080 40%, #887060 70%, #b0a898 100%);
  filter: grayscale(80%) contrast(0.9);
}
.showcase-image-before::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='10' y1='20' x2='80' y2='18' stroke='rgba(255,255,255,0.3)' stroke-width='1'/%3E%3Cline x1='0' y1='55' x2='100' y2='52' stroke='rgba(0,0,0,0.2)' stroke-width='0.5'/%3E%3Cline x1='30' y1='0' x2='28' y2='100' stroke='rgba(0,0,0,0.15)' stroke-width='0.5'/%3E%3C/svg%3E");
  border-radius: inherit;
}
.showcase-image-after {
  background: linear-gradient(160deg, #d4eaf7 0%, #82b8e8 30%, #42a5f5 55%, #b3d5f0 100%);
  box-shadow: 0 4px 20px rgba(26,107,181,0.2);
  border-color: var(--border-accent);
}
.showcase-image-after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, transparent 60%);
  border-radius: inherit;
}
.showcase-divider-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.showcase-caption {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--text-muted) !important;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ─── Pricing Section ────────────────────────────────────────────────────────── */
.pricing-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}
.pricing-section h2 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.pricing-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.pricing-card-popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-save-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-top: 0.25rem;
}
.pricing-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.25rem;
}
.pricing-price {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-top: 0.5rem;
  font-family: 'Playfair Display', serif;
}
.pricing-per {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pricing-total-tag {
  font-size: 0.83rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 3px 12px;
  border-radius: 8px;
  margin-top: 0.25rem;
  border: 1px solid var(--border);
}
.pricing-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  min-height: 2.4em;
  display: flex;
  align-items: center;
}
.pricing-cta {
  margin-top: 1rem;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-popular { transform: none; }
  .pricing-desc { min-height: unset; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  header { padding: 32px 16px 44px; }
  .upload-zone { padding: 36px 20px 32px; }
  .payment-box { padding: 20px; }
  .checkout-form { padding: 24px 16px; }
  .process-description, .showcase { padding: 24px 16px; }
  .progress-connector { min-width: 28px; }
  .header-trust-badges { gap: 8px; }
  .trust-badge { font-size: 0.65rem; }
}

/* ─── Mode Info Cards ────────────────────────────────────────────────────────── */
.mode-info-cards {
  margin-top: 20px;
  margin-bottom: 0;
}
.mode-info-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.3s ease;
}
.mode-info-card.active {
  display: block;
}
.mode-info-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.mode-info-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.mode-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.mode-info-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.mode-info-examples {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.mode-info-example {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.mode-info-img {
  width: clamp(100px, 26vw, 180px);
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.mode-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mode-info-arrow {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  padding-bottom: 22px;
}

/* Mock images — Renowacja */
.restore-before-mock {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px),
    linear-gradient(160deg, #c0b8a8 0%, #988878 40%, #807060 70%, #a8a098 100%);
  filter: grayscale(80%) contrast(0.85);
}
.restore-before-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='10' y1='20' x2='80' y2='18' stroke='rgba(255,255,255,0.3)' stroke-width='1'/%3E%3Cline x1='0' y1='55' x2='100' y2='52' stroke='rgba(0,0,0,0.2)' stroke-width='0.5'/%3E%3C/svg%3E");
}
.restore-after-mock {
  background: linear-gradient(160deg, #d4eaf7 0%, #90c4e8 30%, #5ba3d0 55%, #b8d8ef 100%);
  box-shadow: 0 4px 16px rgba(26,107,181,0.2);
  border-color: var(--border-accent);
}
.restore-after-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, transparent 60%);
}

/* Mock images — Postarzanie */
.age-before-mock {
  background: linear-gradient(160deg, #e8f0f8 0%, #c8d8e8 40%, #b0c0d0 100%);
}
.age-after-mock {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(0,0,0,0.02) 3px, rgba(0,0,0,0.02) 6px),
    linear-gradient(160deg, #d4c4a8 0%, #b8a888 40%, #a09070 70%, #c8b8a0 100%);
  filter: sepia(60%) contrast(0.9);
}

/* Mock images — Obróbka */
.retouch-before-mock {
  background: linear-gradient(160deg, #f0e8e0 0%, #d8c8b8 40%, #c0b0a0 100%);
}
.retouch-after-mock {
  background: linear-gradient(160deg, #e8f4ff 0%, #c0dcf8 30%, #98c4f0 55%, #d4ecff 100%);
  box-shadow: 0 4px 16px rgba(26,107,181,0.2);
  border-color: var(--border-accent);
}
.retouch-after-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
}

@media (max-width: 480px) {
  .mode-info-card { padding: 16px; }
  .mode-info-header { gap: 12px; }
  .mode-info-icon-wrap { width: 40px; height: 40px; font-size: 1.2rem; }
}
