/* ==========================================================================
   CVStart — Modern, High-End UI Stylesheet
   Designed for Ugandan Jobseekers & Modern Web Standards
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --primary: #0f766e;
  --primary-dark: #0d5f58;
  --primary-light: #f0fdf4;
  --emerald-gradient: linear-gradient(135deg, #0f766e 0%, #047857 100%);
  --gold: #d97706;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  /* Neutral Slate Palette */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* CV Preview Theme Variables */
  --accent-color: #0f766e;
  --accent-rule: #d97706;
  --cv-ink: #0f172a;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-paper: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);

  --radius-lg: 16px;
  --radius-xl: 22px;
}

/* Theme Variances */
[data-theme="navy"] {
  --accent-color: #1d4ed8;
  --accent-rule: #60a5fa;
  --cv-ink: #0f172a;
}
[data-theme="slate"] {
  --accent-color: #334155;
  --accent-rule: #94a3b8;
  --cv-ink: #1e293b;
}
[data-theme="burgundy"] {
  --accent-color: #9d174d;
  --accent-rule: #f472b6;
  --cv-ink: #2b0e1b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--slate-50);
  background-image: 
    radial-gradient(at 100% 0%, rgba(15, 118, 110, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(217, 119, 6, 0.04) 0px, transparent 50%);
  background-attachment: fixed;
  font-synthesis: none;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font-family: inherit; }
button, a, input, textarea { touch-action: manipulation; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: not-allowed; opacity: 0.65; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #10b981; outline-offset: 3px; }
button[hidden], [hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }

main, .site-header, .site-footer { max-width: 1360px; margin: 0 auto; }

/* ==========================================================================
   Header (Floating Frosted Glass Navbar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: -0.5px;
  font-weight: 800;
  color: var(--slate-900);
}
.brand-light { font-weight: 500; color: var(--primary); }
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--slate-400);
  font-family: var(--font-sans);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--emerald-gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}
.brand-mark svg {
  width: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
}

.site-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}
.site-header nav a:hover, .text-button:hover { color: var(--primary); }
.text-button {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  transition: color 0.15s;
}

.free-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  background: #f0fdf4;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #166534;
}
.free-pill span { font-size: 8px; color: #16a34a; }

.pro-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #fff;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pro-badge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}
.pro-badge-btn.unlocked {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.intro {
  padding: 48px 48px 36px;
  text-align: left;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin: 18px 0 16px;
  color: var(--slate-900);
}
h1 em {
  font-style: normal;
  background: var(--emerald-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.intro > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
  max-width: 680px;
}
.intro-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}
.benefits {
  display: flex;
  gap: 22px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-600);
  flex-wrap: wrap;
}
.benefits > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.benefits > span > span {
  color: #10b981;
  font-size: 14px;
  font-weight: 800;
}
.example-button {
  border: 1px solid var(--slate-300);
  background: var(--white);
  border-radius: 10px;
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}
.example-button:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Workspace Layout (Form & Preview)
   ========================================================================== */
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 36px;
  padding: 0 48px 60px;
  align-items: start;
}

/* Left Editor Card */
.editor {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.editor-top {
  padding: 26px 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-100);
}
.section-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--primary);
  text-transform: uppercase;
}
.editor-top h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--slate-900);
  margin-top: 4px;
}
.subtle-button {
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.subtle-button:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Stepper Tabs */
.steps {
  display: flex;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 8px 12px;
  gap: 8px;
}
.step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.15s;
}
.step:hover {
  color: var(--slate-800);
  background: rgba(0, 0, 0, 0.03);
}
.step.active {
  color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.step-number {
  border: 1px solid var(--slate-300);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.step.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.step.complete .step-number {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
}

/* Form Panels */
.form-panel { padding: 28px 32px 14px; }
.form-panel h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
}
.panel-description {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-500);
  margin: 6px 0 24px;
}

/* Fields & Inputs */
.field { margin-bottom: 20px; }
.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--slate-700);
  margin-bottom: 7px;
}
.optional-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--slate-400);
  background: var(--slate-100);
  padding: 1px 6px;
  border-radius: 4px;
}
.required-label {
  font-size: 10px;
  font-weight: 600;
  color: #dc2626;
}
.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  background: var(--slate-50);
  padding: 11px 14px;
  font-size: 13px;
  color: var(--slate-900);
  transition: all 0.15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.field textarea {
  line-height: 1.65;
  resize: vertical;
  min-height: 90px;
}
.field small {
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 6px;
  display: block;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-note {
  font-size: 11px;
  color: var(--slate-500);
  margin: -6px 0 16px;
}

/* ==========================================================================
   Visual Customization Box (Template Cards & Swatches)
   ========================================================================== */
.customization-box {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}
.customization-box h4 {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-600);
  margin-bottom: 12px;
}
.template-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.template-btn {
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.template-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.template-btn.active {
  border-color: var(--primary);
  background: #f0fdf4;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
}
.template-btn span.badge-lock {
  font-size: 9px;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 750;
  letter-spacing: 0.3px;
}
.template-btn.unlocked span.badge-lock {
  background: #dcfce7;
  color: #15803d;
}

/* Palette Swatches */
.theme-options {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-200);
}
.theme-options span {
  font-size: 12px;
  font-weight: 650;
  color: var(--slate-600);
}
.theme-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1.5px var(--slate-300);
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.theme-dot:hover { transform: scale(1.15); }
.theme-dot.active {
  box-shadow: 0 0 0 3px var(--primary);
  transform: scale(1.18);
}
.theme-dot.forest { background: #0f766e; }
.theme-dot.navy { background: #1d4ed8; }
.theme-dot.slate { background: #334155; }
.theme-dot.burgundy { background: #9d174d; }

/* Navigation buttons */
.form-navigation {
  padding: 16px 32px 26px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--slate-100);
}
.step-label { font-size: 11px; font-weight: 600; color: var(--slate-400); flex: 1; }
.primary-button {
  padding: 12px 22px;
  background: var(--emerald-gradient);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35);
}
.secondary-button {
  padding: 11px 18px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 650;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.secondary-button:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.draft-options {
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
}
.checkbox-label input { accent-color: var(--primary); }

/* ==========================================================================
   Right Side: Realistic A4 Paper Preview
   ========================================================================== */
.preview-area {
  position: sticky;
  top: 100px;
  min-width: 0;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 14px;
}
.preview-toolbar > div { display: flex; align-items: center; gap: 8px; }
.preview-toolbar h2 {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.a4-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--slate-200);
  color: var(--slate-600);
  padding: 3px 8px;
  border-radius: 6px;
}

.paper-surround {
  background: var(--slate-200);
  padding: 26px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  max-height: 640px;
  overflow-y: auto;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
  scrollbar-width: thin;
  scrollbar-color: var(--slate-400) transparent;
}

/* Crisp Realistic A4 Document */
.cv-paper {
  background: var(--white);
  box-shadow: var(--shadow-paper);
  min-height: 540px;
  padding: 38px 36px 44px;
  overflow-wrap: anywhere;
  color: var(--cv-ink);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  transition: all 0.2s ease;
  border-radius: 2px;
}

/* Header Variations on Paper */
.cv-header {
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-rule);
}
.cv-header h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--cv-ink);
}
.cv-headline {
  font-size: 11px;
  margin: 7px 0;
  color: var(--accent-color);
  font-weight: 700;
}
.cv-contact {
  font-size: 9px;
  font-weight: 500;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Executive Template */
.cv-paper.template-executive .cv-header {
  border-top: 6px solid var(--accent-color);
  padding-top: 14px;
  border-bottom: 2px solid var(--accent-color);
}
.cv-paper.template-executive .cv-header h2 {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Compact 1-Page Template */
.cv-paper.template-compact {
  padding: 26px 26px 32px;
}
.cv-paper.template-compact .cv-header {
  padding-bottom: 10px;
}
.cv-paper.template-compact .cv-section {
  margin-top: 14px;
}
.cv-paper.template-compact .cv-header h2 {
  font-size: 22px;
}

.cv-section { margin-top: 22px; }
.cv-section h3 {
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 8px;
  font-weight: 800;
  font-family: var(--font-heading);
}
.cv-section p {
  font-size: 10px;
  color: var(--slate-700);
  line-height: 1.75;
  white-space: pre-wrap;
}
.cv-section ul { padding-left: 16px; margin: 0; list-style: disc; color: var(--slate-700); }
.cv-section li { font-size: 10px; line-height: 1.7; white-space: pre-wrap; }

/* Empty state guide */
.empty-guide { padding: 30px 10px; color: var(--slate-400); text-align: center; }
.empty-line {
  height: 6px;
  border-radius: 3px;
  background: var(--slate-100);
  margin: 0 auto 10px;
  width: 80%;
}
.empty-line.wide { width: 100%; }
.empty-line.short { width: 50%; }
.empty-guide h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-500);
  margin: 30px 0 8px;
}
.empty-guide p { font-size: 11px; color: var(--slate-400); margin-bottom: 28px; }

/* Download and Action Stack */
.actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--emerald-gradient);
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}
.download-button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #fff;
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.whatsapp-button svg { width: 18px; height: 18px; fill: currentColor; }

.print-button {
  display: block;
  margin: 6px auto 0;
  background: transparent;
  color: var(--slate-500);
  font-size: 11px;
  font-weight: 600;
  padding: 4px;
}
.print-button:hover { color: var(--slate-800); text-decoration: underline; }
.download-note {
  text-align: center;
  color: var(--slate-400);
  font-size: 11px;
  margin-top: 10px;
}

/* ==========================================================================
   Modern Modal Dialogs
   ========================================================================== */
dialog {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  max-width: 520px;
  width: calc(100vw - 36px);
  padding: 34px;
  background: var(--white);
  color: var(--slate-900);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  position: relative;
}
dialog::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
dialog h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin: 6px 0 10px;
  color: var(--slate-900);
}
.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  background: var(--slate-100);
  color: var(--slate-500);
  display: grid;
  place-items: center;
  transition: all 0.15s;
}
.dialog-close:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* Pro Pricing Banner inside Modal */
.pro-price-tag {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pro-price-tag .amount {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #92400e;
}
.pro-price-tag .usd-equiv {
  font-size: 12px;
  color: #b45309;
  font-weight: 600;
}

.pro-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.pro-features-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--slate-700);
  font-weight: 500;
}
.pro-features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 900;
  font-size: 15px;
}

/* MTN MoMoPay Direct Merchant Box */
.momopay-box {
  background: #fffdf0;
  border: 2px solid #ffcc00;
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.15);
}
.momopay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.momo-badge-chip {
  background: #ffcc00;
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fee-free-chip {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #86efac;
}
.momo-merchant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1.5px solid #fef08a;
  margin-bottom: 12px;
}
.momo-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.momo-code {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #0f172a;
}
.ussd-dial-display {
  background: #fff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.ussd-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  display: block;
}
.ussd-string {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 17px;
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 4px;
}
.momo-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.momo-action-btn {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.momo-action-btn.copy {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
}
.momo-action-btn.copy:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.momo-action-btn.dial {
  background: #0f172a;
  color: #fff;
}
.momo-action-btn.dial:hover {
  background: #1e293b;
}

/* Step 2 & 3: WhatsApp and Instant Unlock */
.unlock-steps-box {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}
.step-guide {
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 12px;
}
.whatsapp-verify-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  margin-bottom: 18px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.whatsapp-verify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.whatsapp-verify-btn svg { width: 19px; height: 19px; fill: currentColor; }

.pin-entry-box label {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  display: block;
  margin-bottom: 8px;
}

/* ==========================================================================
   How It Works & FAQ Sections
   ========================================================================== */
.how-section {
  border-top: 1px solid var(--slate-200);
  padding: 56px 48px;
  background: rgba(255, 255, 255, 0.5);
}
.how-heading { text-align: center; }
.how-heading h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--slate-900);
  margin-top: 8px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.how-grid > div {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.how-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 12px;
  display: block;
}
.how-grid h3 {
  font-size: 15px;
  font-weight: 750;
  color: var(--slate-900);
  margin-bottom: 8px;
}
.how-grid p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-600);
}

.faq-section {
  border-top: 1px solid var(--slate-200);
  padding: 56px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-section h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: var(--slate-900);
  margin: 8px 0 32px;
}
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--white);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--slate-800);
}
.faq-item p {
  padding: 0 22px 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-600);
}

.privacy-strip {
  margin: 0 48px 48px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
.privacy-strip > svg {
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.privacy-strip h2 { font-size: 14px; font-weight: 700; color: var(--slate-900); }
.privacy-strip p { font-size: 12px; color: var(--slate-500); line-height: 1.6; margin-top: 4px; }
.privacy-strip .text-button {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--slate-200);
  padding: 28px 48px 36px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
}
.site-footer a { color: var(--primary); font-weight: 600; }
.footer-divider { margin: 0 8px; color: var(--slate-300); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  color: white;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Sticky Preview Toggle */
.mobile-preview-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: var(--emerald-gradient);
  color: white;
  padding: 14px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1050px) {
  .site-header { padding: 0 28px; }
  .intro { padding: 36px 28px 24px; }
  .workspace { padding: 0 28px 40px; gap: 24px; }
  .how-section, .faq-section { padding: 40px 28px; }
  .privacy-strip { margin: 0 28px 36px; }
  .site-footer { padding: 24px 28px; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; height: 72px; }
  .brand { font-size: 20px; }
  .site-header nav > a { display: none; }
  .workspace {
    grid-template-columns: 1fr;
    padding: 0 18px 32px;
  }
  .preview-area { display: none; }
  .preview-area.mobile-visible {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--slate-200);
    z-index: 70;
    padding: 20px;
    overflow-y: auto;
  }
  .mobile-preview-toggle { display: block; }
  .how-grid { grid-template-columns: 1fr; }
  .template-options { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .intro-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   New Pro Feature Styles: Photo, Suggestion Chips, and Cover Letter
   ========================================================================== */

/* 1. Passport Photo Uploader */
.photo-uploader-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-top: 6px;
}
.photo-preview-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px dashed var(--slate-300);
  background: var(--slate-100);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.photo-preview-circle svg {
  width: 28px;
  height: 28px;
  color: var(--slate-400);
}
.photo-preview-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo display on the CV Paper preview */
.paper-photo-frame {
  float: right;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  overflow: hidden;
  margin-left: 14px;
  box-shadow: var(--shadow-sm);
}
.paper-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. 1-Tap Job Role Suggestions */
.suggestion-chips-container {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.suggestion-title {
  font-size: 11px;
  font-weight: 750;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-btn {
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.chip-btn:hover {
  background: #f0fdf4;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.chip-btn:active {
  transform: scale(0.97);
}

/* 3. Cover Letter Button */
.cover-letter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.cover-letter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 56, 202, 0.35);
}
.cover-letter-button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
}
.cover-letter-button span {
  font-size: 10px;
  background: #fbbf24;
  color: #78350f;
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 800;
  margin-left: 4px;
}

