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

:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface2: #242424;
  --border: #2e2e2e;
  --text: #f0f0f0;
  --muted: #888;
  --fire: #ff4e00;
  --fire2: #ff8c00;
  --fire3: #ffd000;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 16px;
  --font: -apple-system, "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1a0a00 0%, #0d0d0d 60%);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,78,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 640px; margin: 0 auto; }

.badge {
  display: inline-block;
  background: rgba(255,78,0,0.15);
  border: 1px solid rgba(255,78,0,0.3);
  color: var(--fire2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--fire), var(--fire2), var(--fire3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 16px;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Main layout ── */
main { max-width: 720px; margin: 0 auto; padding: 48px 20px 64px; }

/* ── Card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 10px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.tab.active {
  background: rgba(255,78,0,0.12);
  border-color: rgba(255,78,0,0.35);
  color: var(--fire2);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Textarea ── */
textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  padding: 16px;
  resize: vertical;
  transition: border-color 0.15s;
  outline: none;
}

textarea:focus { border-color: var(--fire); }
textarea::placeholder { color: var(--muted); }

/* ── Upload zone ── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--surface2);
}

.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--fire);
  background: rgba(255,78,0,0.05);
}

.upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-link { color: var(--fire2); text-decoration: underline; cursor: pointer; }
.upload-hint { color: var(--muted); font-size: 13px; margin-top: 8px; }

.file-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
}

.file-name { flex: 1; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.remove-file { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 2px 6px; }
.remove-file:hover { color: var(--red); }
.hidden { display: none !important; }

/* ── Roast Level ── */
.roast-level-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 24px;
  flex-wrap: wrap;
}

.roast-level-row label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.roast-levels { display: flex; gap: 8px; }

.level-btn {
  padding: 7px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.level-btn.active {
  background: rgba(255,78,0,0.15);
  border-color: var(--fire);
  color: var(--fire2);
}

/* ── Roast Button ── */
.btn-roast {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-roast:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-roast:active { transform: translateY(0); }
.btn-roast:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-loader { display: inline-flex; align-items: center; gap: 8px; }
.btn-loader::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.disclaimer { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; }

/* ── Score Card ── */
.score-card {
  background: linear-gradient(135deg, #1a0900, #1a1a00);
  border: 1px solid rgba(255,140,0,0.3);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.score-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(255,78,0,0.15), transparent 70%);
}

.score-card-inner { position: relative; }

.score-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.score-number {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, var(--fire), var(--fire2), var(--fire3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.score-out-of {
  font-size: 1.2rem;
  color: var(--muted);
  margin-top: 4px;
}

.score-verdict {
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  font-style: italic;
}

/* ── Result Cards ── */
.result-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.roast-text {
  color: var(--text);
  line-height: 1.75;
  white-space: pre-wrap;
}

.fix-list, .strength-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fix-list li, .strength-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
  font-size: 14px;
}

.fix-list li::before {
  content: '→';
  color: var(--fire2);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.strength-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Share Section ── */
.share-section { margin-top: 8px; }

.share-card {
  background: linear-gradient(135deg, #1a0900 0%, #1a0030 100%);
  border: 1px solid rgba(255,78,0,0.25);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-bottom: 16px;
}

.share-card-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--fire2);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.share-card-score {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.share-card-score strong {
  color: var(--fire2);
}

.share-card-verdict {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 20px;
}

.share-card-url {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.share-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-share, .btn-secondary {
  flex: 1;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: none;
}

.btn-share {
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  color: #fff;
}

.btn-secondary {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-share:hover, .btn-secondary:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--fire2); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Animations ── */
.result-section { animation: fadeUp 0.4s ease; }

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

.score-number { transition: all 0.05s; }

/* ── Error toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.25s;
  z-index: 999;
  white-space: nowrap;
}

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

/* ── Mobile ── */
@media (max-width: 540px) {
  .hero { padding: 48px 20px 40px; }
  .card { padding: 20px; }
  .roast-level-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .share-actions { flex-direction: column; }
  .btn-share, .btn-secondary { flex: none; width: 100%; }
  .tabs { flex-direction: column; }
}

/* ════════════════════════════════════════════════
   RESUME BUILDER — styles
   ════════════════════════════════════════════════ */

/* ── Site Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 16px;
}

.site-nav-logo {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--fire2);
  white-space: nowrap;
}

.site-nav-links {
  display: flex;
  gap: 6px;
}

.nav-btn {
  padding: 7px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-btn:hover { color: var(--text); border-color: var(--border); }

.nav-btn.active {
  background: rgba(255,78,0,0.12);
  border-color: rgba(255,78,0,0.35);
  color: var(--fire2);
}

/* ── Builder Hero ── */
.hero-builder {
  background: linear-gradient(135deg, #0d0020 0%, #0d0d0d 60%);
}

.hero-builder::before {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124,92,216,0.14) 0%, transparent 70%);
}

.hero-builder-title {
  background: linear-gradient(90deg, #a78bfa, #7c5cd8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-purple {
  background: rgba(124,92,216,0.15);
  border-color: rgba(124,92,216,0.3);
  color: #a78bfa;
}

/* ── Builder Layout ── */
.builder-main { max-width: 1200px; margin: 0 auto; padding: 36px 20px 64px; }

.builder-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .builder-layout { grid-template-columns: 1fr; }
  .preview-sticky { position: static; }
}

.builder-form-col { display: flex; flex-direction: column; gap: 16px; }

.builder-card { padding: 22px 24px; }

.builder-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Form fields ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.builder-card textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.builder-card textarea:focus { border-color: #7c5cd8; }

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

.btn-add-section {
  background: rgba(124,92,216,0.12);
  border: 1px solid rgba(124,92,216,0.3);
  border-radius: 100px;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-add-section:hover { background: rgba(124,92,216,0.22); }

/* ── Entry blocks (exp / edu) ── */
.entry-block {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
}

.entry-block .form-grid { grid-template-columns: 1fr 1fr; margin-bottom: 10px; }

.entry-block textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  padding: 8px 10px;
  outline: none;
  resize: vertical;
}

.entry-block textarea:focus { border-color: #7c5cd8; }

.entry-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.1s;
}
.entry-remove:hover { color: var(--red); }

.btn-download {
  background: linear-gradient(90deg, #7c5cd8, #a78bfa);
  margin-top: 4px;
  width: 100%;
}

/* ── Template Thumbs ── */
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.template-thumb {
  flex: 1;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px 8px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.template-thumb:hover { border-color: #7c5cd8; }
.template-thumb.active { border-color: #7c5cd8; background: rgba(124,92,216,0.08); }

.thumb-preview {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

/* Shared width helpers for all thumb lines */
.w90 { width: 90% !important; }
.w85 { width: 85% !important; }
.w80 { width: 80% !important; }
.w75 { width: 75% !important; }
.w70 { width: 70% !important; }
.w65 { width: 65% !important; }
.w60 { width: 60% !important; }
.w55 { width: 55% !important; }
.mt4 { margin-top: 4px !important; }

/* ── Classic Thumb ── */
.thumb-classic { background: #ffffff; padding: 7px; }
.tc-name-bar { height: 7px; background: #1a1a1a; border-radius: 1px; width: 70%; margin-bottom: 3px; }
.tc-title-bar { height: 4px; background: #777; border-radius: 1px; width: 55%; margin-bottom: 3px; }
.tc-contact-row { display: flex; gap: 4px; margin-bottom: 4px; }
.tc-contact-row span { height: 3px; background: #bbb; border-radius: 1px; flex: 1; }
.tc-rule { height: 1.5px; background: #222; margin-bottom: 4px; }
.tc-section-label { height: 3px; background: #333; border-radius: 1px; width: 40%; margin-bottom: 3px; }
.tc-line { height: 3px; background: #d1d5db; border-radius: 1px; margin-bottom: 2px; }

/* ── Modern Thumb ── */
.thumb-modern { background: #f7f8fa; padding: 0; flex-direction: row; gap: 0; }
.tm-sidebar { width: 38%; background: #1e2a4a; padding: 5px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tm-avatar { width: 14px; height: 14px; background: linear-gradient(135deg,#4f6ef7,#7c5cd8); border-radius: 50%; margin-bottom: 3px; }
.tm-line { height: 3px; background: rgba(255,255,255,0.28); border-radius: 1px; }
.tm-dot-row { display: flex; gap: 2px; margin: 2px 0; }
.tm-dot-row span { width: 3px; height: 3px; background: #4f6ef7; border-radius: 50%; }
.tm-label { height: 2px; background: rgba(79,110,247,0.6); width: 80%; border-radius: 1px; margin: 2px 0; }
.tm-main { flex: 1; padding: 5px 4px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.tm-section-label { height: 2px; background: #4f6ef7; width: 50%; border-radius: 1px; margin-bottom: 2px; }

/* ── Executive Thumb ── */
.thumb-executive { background: #fff; padding: 0; gap: 0; }
.te-top { background: linear-gradient(135deg, #0a0a2e, #1a1a5e); padding: 6px 6px 5px; margin-bottom: 4px; }
.te-name { height: 6px; background: #fff; border-radius: 1px; width: 65%; margin-bottom: 3px; }
.te-title { height: 3px; background: rgba(167,139,250,0.7); border-radius: 1px; width: 50%; margin-bottom: 3px; }
.te-contact-row { display: flex; gap: 3px; }
.te-contact-row span { height: 2px; background: rgba(255,255,255,0.3); border-radius: 1px; flex: 1; }
.te-body { padding: 0 6px; display: flex; flex-direction: column; gap: 2px; }
.te-section-label { height: 2px; background: #7c5cd8; width: 45%; border-radius: 1px; margin-bottom: 2px; }
.te-line { height: 3px; background: #d1d5db; border-radius: 1px; }

/* ── Minimal Thumb ── */
.thumb-minimal { background: #fafafa; padding: 8px 7px; }
.tmi-name { height: 7px; background: #111; border-radius: 1px; width: 60%; margin-bottom: 2px; }
.tmi-title { height: 3px; background: #888; border-radius: 1px; width: 45%; margin-bottom: 4px; }
.tmi-rule { height: 1px; background: #ddd; margin-bottom: 4px; }
.tmi-section-label { height: 2px; background: #111; width: 35%; border-radius: 1px; margin-bottom: 3px; }
.tmi-line { height: 3px; background: #ccc; border-radius: 1px; margin-bottom: 2px; }

/* ── Creative Thumb ── */
.thumb-creative { background: #fff; padding: 0; gap: 0; overflow: hidden; }
.tcr-header { position: relative; padding: 6px 6px 5px; background: #fff; }
.tcr-accent-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg,#f97316,#ec4899); border-radius: 0; }
.tcr-name { height: 6px; background: #111; border-radius: 1px; width: 60%; margin-left: 8px; margin-bottom: 3px; }
.tcr-title { height: 3px; background: #f97316; border-radius: 1px; width: 45%; margin-left: 8px; margin-bottom: 3px; }
.tcr-body { padding: 4px 6px; display: flex; flex-direction: column; gap: 2px; }
.tcr-section-label { height: 2px; background: #f97316; width: 40%; border-radius: 1px; margin-bottom: 2px; }
.tcr-line { height: 3px; background: #d1d5db; border-radius: 1px; }

/* ── Tech Thumb ── */
.thumb-tech { background: #0f1117; padding: 6px; }
.ttech-top { margin-bottom: 4px; }
.ttech-name { height: 6px; background: #22d3ee; border-radius: 1px; width: 65%; margin-bottom: 3px; }
.ttech-chips { display: flex; gap: 2px; }
.ttech-chips span { height: 4px; flex: 1; background: rgba(34,211,238,0.2); border: 1px solid rgba(34,211,238,0.35); border-radius: 2px; }
.ttech-body { display: flex; flex-direction: column; gap: 2px; }
.ttech-section-label { height: 2px; background: #22d3ee; width: 40%; border-radius: 1px; margin-bottom: 2px; }
.ttech-line { height: 3px; background: rgba(255,255,255,0.15); border-radius: 1px; }

.thumb-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.thumb-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(255,255,255,0.07);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.thumb-badge-gold {
  background: rgba(255,192,0,0.12);
  color: #ffd000;
}

.thumb-badge-green {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}

/* ── Accent picker ── */
.accent-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.accent-picker-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.accent-swatches {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.accent-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s, border-color 0.12s;
}

.accent-swatch:hover { transform: scale(1.15); }
.accent-swatch.active { border-color: #fff; transform: scale(1.1); }

/* ── Load sample button ── */
.btn-load-sample {
  width: 100%;
  margin-top: 12px;
  padding: 9px 16px;
  background: rgba(124,92,216,0.08);
  border: 1px dashed rgba(124,92,216,0.35);
  border-radius: 8px;
  color: #a78bfa;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.btn-load-sample:hover {
  background: rgba(124,92,216,0.16);
  border-style: solid;
}

/* ── Live Preview Panel ── */
.builder-preview-col { min-width: 0; }

.preview-sticky {
  position: sticky;
  top: 70px;
}

.preview-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

.resume-preview-wrap {
  background: #2a2a2a;
  border-radius: 12px;
  padding: 16px;
  overflow: auto;
  max-height: calc(100vh - 140px);
}

/* ── Resume Preview Container ── */
.resume-preview {
  width: 595px;   /* A4 at 72dpi equivalent */
  min-height: 842px;
  background: #fff;
  color: #111;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 11px;
  line-height: 1.5;
  transform-origin: top left;
  position: relative;
}

.preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: #aaa;
  text-align: center;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════
   ENHANCED RESUME TEMPLATES — 6 designs
   All use CSS custom property --accent for colour theming
   ════════════════════════════════════════════════ */

/* ── TEMPLATE: CLASSIC ── */
.template-classic .rc-header {
  padding: 32px 36px 22px;
  border-bottom: 3px solid var(--accent, #1a1a1a);
}

/* ── shared entry helpers (all templates) ── */
.rc-entry-header { display: flex; justify-content: space-between; align-items: baseline; }
.rc-entry-desc   { white-space: pre-wrap; }

/* ══════════════════════════════════════════════
   CLASSIC — timeless serif, bold name, rule dividers
   ══════════════════════════════════════════════ */
.template-classic {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #fff; color: #111;
}
.template-classic .rc-name {
  font-size: 28px; font-weight: 700; letter-spacing: -0.3px;
  color: #0d0d0d; font-family: Georgia, serif; line-height: 1.1;
}
.template-classic .rc-job-title {
  font-size: 12.5px; color: var(--accent, #333);
  margin-top: 5px; font-style: italic; font-weight: 400; letter-spacing: 0.03em;
}
.template-classic .rc-contact {
  margin-top: 10px; font-size: 9.5px; color: #555;
  display: flex; flex-wrap: wrap; gap: 0 20px;
  font-family: Arial, Helvetica, sans-serif;
}
.template-classic .rc-contact span::before { content: ''; }
.template-classic .rc-body { padding: 22px 36px 28px; }
.template-classic .rc-section { margin-bottom: 20px; }
.template-classic .rc-section-title {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent, #111);
  border-bottom: 1.5px solid var(--accent, #111);
  padding-bottom: 5px; margin-bottom: 12px;
  font-family: Arial, Helvetica, sans-serif;
}
.template-classic .rc-summary { font-size: 10.5px; color: #333; line-height: 1.7; }
.template-classic .rc-entry { margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid #eee; }
.template-classic .rc-entry:last-child { border-bottom: none; padding-bottom: 0; }
.template-classic .rc-entry-title { font-weight: 700; font-size: 11.5px; color: #0d0d0d; }
.template-classic .rc-entry-date { font-size: 9.5px; color: #888; white-space: nowrap; font-family: Arial, sans-serif; }
.template-classic .rc-entry-sub { font-size: 10.5px; color: var(--accent,#444); font-style: italic; margin-top: 1px; }
.template-classic .rc-entry-desc { font-size: 10px; color: #444; margin-top: 5px; line-height: 1.65; }
.template-classic .rc-skills-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.template-classic .rc-skill-tag {
  background: #f5f5f5; border: 1px solid #ddd; border-radius: 3px;
  padding: 3px 10px; font-size: 9.5px; color: #333;
  font-family: Arial, sans-serif;
}

/* ══════════════════════════════════════════════
   MODERN — navy sidebar with avatar, blue accents
   ══════════════════════════════════════════════ */
.template-modern {
  display: grid; grid-template-columns: 185px 1fr;
  min-height: 842px; font-family: 'Segoe UI', Arial, sans-serif;
}
.template-modern .rc-sidebar {
  background: #1b2b4b; color: #dde6f4; padding: 32px 18px 24px;
}
.template-modern .rc-avatar-circle {
  width: 68px; height: 68px;
  background: var(--accent, linear-gradient(135deg,#4f6ef7,#7c5cd8));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff;
  margin: 0 auto 16px; font-family: Arial, sans-serif;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.template-modern .rc-sidebar-name {
  font-size: 14.5px; font-weight: 800; color: #fff;
  text-align: center; margin-bottom: 4px; line-height: 1.25;
}
.template-modern .rc-sidebar-title {
  font-size: 9.5px; color: rgba(220,232,255,0.6);
  text-align: center; margin-bottom: 22px; font-style: italic; line-height: 1.4;
}
.template-modern .rc-sidebar-section { margin-bottom: 18px; }
.template-modern .rc-sidebar-label {
  font-size: 8.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent-light, #7c9ef7);
  margin-bottom: 8px; padding-bottom: 5px;
  border-bottom: 1px solid rgba(124,158,247,0.25);
}
.template-modern .rc-sidebar-item {
  font-size: 9px; color: #b8c8e0; margin-bottom: 5px;
  line-height: 1.45; display: flex; align-items: flex-start; gap: 5px;
}
.template-modern .rc-sidebar-item-icon { flex-shrink: 0; opacity: 0.7; font-size: 8px; margin-top: 1px; }
.template-modern .rc-sidebar-skill {
  display: inline-block;
  background: rgba(79,110,247,0.18); border: 1px solid rgba(79,110,247,0.3);
  border-radius: 3px; padding: 2px 7px; font-size: 8.5px; color: #a0b8ff;
  margin: 2px 2px 0 0; line-height: 1.5;
}
.template-modern .rc-main { padding: 30px 26px; background: #fff; color: #111; }
.template-modern .rc-main-section { margin-bottom: 20px; }
.template-modern .rc-main-section-title {
  font-size: 9.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent, #4f6ef7);
  border-bottom: 2.5px solid var(--accent, #4f6ef7);
  padding-bottom: 4px; margin-bottom: 12px;
}
.template-modern .rc-entry { margin-bottom: 12px; }
.template-modern .rc-entry-title { font-weight: 700; font-size: 11px; color: #1b2b4b; }
.template-modern .rc-entry-date { font-size: 9px; color: #999; white-space: nowrap; font-style: italic; }
.template-modern .rc-entry-sub { font-size: 10px; color: var(--accent, #4f6ef7); font-weight: 600; margin-top: 1px; }
.template-modern .rc-entry-desc { font-size: 9.5px; color: #444; margin-top: 5px; line-height: 1.65; }
.template-modern .rc-summary { font-size: 10px; color: #333; line-height: 1.7; }

/* ══════════════════════════════════════════════
   EXECUTIVE — deep navy header, serif gravitas
   ══════════════════════════════════════════════ */
.template-executive { font-family: 'Georgia', 'Times New Roman', serif; background: #fff; }
.template-executive .rc-exec-top {
  background: linear-gradient(120deg, #0a0a2e 0%, #1c1c6e 100%);
  padding: 36px 40px 28px; color: #fff; position: relative; overflow: hidden;
}
.template-executive .rc-exec-top::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent,#7c5cd8), transparent);
}
.template-executive .rc-name {
  font-size: 30px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #fff; line-height: 1.1;
}
.template-executive .rc-job-title {
  font-size: 11px; color: var(--accent-light,rgba(167,139,250,0.9));
  letter-spacing: 3px; text-transform: uppercase; margin-top: 6px;
  font-family: Arial, sans-serif; font-weight: 400;
}
.template-executive .rc-contact {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 0 24px;
  font-size: 9px; color: rgba(255,255,255,0.55); font-family: Arial, sans-serif;
}
.template-executive .rc-body { padding: 26px 40px 32px; }
.template-executive .rc-section { margin-bottom: 22px; }
.template-executive .rc-section-title {
  font-size: 9.5px; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--accent,#1a1a5e);
  border-bottom: 1px solid var(--accent-light,#c8b8ff);
  padding-bottom: 5px; margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
}
.template-executive .rc-summary { font-size: 10.5px; color: #2a2a2a; line-height: 1.75; }
.template-executive .rc-entry { margin-bottom: 14px; }
.template-executive .rc-entry-title { font-weight: 700; font-size: 11.5px; color: #0a0a2e; }
.template-executive .rc-entry-date { font-size: 9.5px; color: #999; white-space: nowrap; font-family: Arial, sans-serif; }
.template-executive .rc-entry-sub { font-size: 10.5px; color: var(--accent,#5a4a8a); font-style: italic; margin-top: 2px; }
.template-executive .rc-entry-desc { font-size: 10px; color: #3a3a3a; margin-top: 5px; line-height: 1.65; }
.template-executive .rc-skills-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.template-executive .rc-skill-tag {
  border: 1px solid var(--accent-light,#c8b8ff); border-radius: 2px;
  padding: 3px 12px; font-size: 9.5px; color: var(--accent,#1a1a5e);
  font-family: Arial, sans-serif; background: rgba(124,92,216,0.04);
}

/* ══════════════════════════════════════════════
   MINIMAL — whisper-thin, generous whitespace
   ══════════════════════════════════════════════ */
.template-minimal { font-family: 'Helvetica Neue', Arial, sans-serif; background: #fff; color: #111; }
.template-minimal .rc-header {
  padding: 36px 40px 28px;
}
.template-minimal .rc-name {
  font-size: 30px; font-weight: 300; letter-spacing: 0.5px;
  color: #0a0a0a; line-height: 1.1;
}
.template-minimal .rc-name strong { font-weight: 700; }
.template-minimal .rc-job-title {
  font-size: 11.5px; color: var(--accent,#555); margin-top: 6px;
  font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
}
.template-minimal .rc-contact {
  margin-top: 12px; font-size: 9.5px; color: #888;
  display: flex; flex-wrap: wrap; gap: 0 20px;
}
.template-minimal .rc-header-rule {
  height: 1px; background: #e0e0e0; margin: 24px 40px 0;
}
.template-minimal .rc-body { padding: 22px 40px 32px; }
.template-minimal .rc-section { margin-bottom: 22px; }
.template-minimal .rc-section-title {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--accent,#aaa);
  margin-bottom: 14px;
}
.template-minimal .rc-summary { font-size: 10.5px; color: #444; line-height: 1.75; }
.template-minimal .rc-entry { margin-bottom: 14px; display: grid; grid-template-columns: 1fr auto; gap: 0 12px; }
.template-minimal .rc-entry-left { grid-column: 1; }
.template-minimal .rc-entry-right { grid-column: 2; text-align: right; }
.template-minimal .rc-entry-title { font-weight: 600; font-size: 11px; color: #111; }
.template-minimal .rc-entry-date { font-size: 9.5px; color: #aaa; white-space: nowrap; }
.template-minimal .rc-entry-sub { font-size: 10px; color: var(--accent,#888); margin-top: 1px; }
.template-minimal .rc-entry-desc { font-size: 9.5px; color: #555; margin-top: 5px; line-height: 1.7; grid-column: 1 / -1; }
.template-minimal .rc-skills-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.template-minimal .rc-skill-tag {
  font-size: 9.5px; color: var(--accent,#555); padding: 3px 0;
  border-bottom: 1px solid var(--accent,#ddd);
  margin-right: 4px;
}

/* ══════════════════════════════════════════════
   CREATIVE — left accent bar, bold header colours
   ══════════════════════════════════════════════ */
.template-creative { font-family: 'Helvetica Neue', Arial, sans-serif; background: #fff; }
.template-creative .rc-creative-header {
  display: grid; grid-template-columns: 6px 1fr; min-height: 120px;
}
.template-creative .rc-accent-stripe {
  background: linear-gradient(180deg, var(--accent,#f97316) 0%, var(--accent2,#ec4899) 100%);
}
.template-creative .rc-header-content {
  padding: 30px 32px 26px; background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.template-creative .rc-name {
  font-size: 28px; font-weight: 800; color: #0d0d0d; line-height: 1.1; letter-spacing: -0.5px;
}
.template-creative .rc-job-title {
  font-size: 12px; color: var(--accent,#f97316); margin-top: 5px;
  font-weight: 600; letter-spacing: 0.04em;
}
.template-creative .rc-contact {
  margin-top: 10px; font-size: 9.5px; color: #777;
  display: flex; flex-wrap: wrap; gap: 0 18px;
}
.template-creative .rc-body { padding: 22px 32px 28px; }
.template-creative .rc-section { margin-bottom: 20px; }
.template-creative .rc-section-title {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent,#f97316);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.template-creative .rc-section-title::after {
  content: ''; flex: 1; height: 1px; background: #eee;
}
.template-creative .rc-summary { font-size: 10.5px; color: #333; line-height: 1.7; }
.template-creative .rc-entry {
  margin-bottom: 13px; padding-left: 12px;
  border-left: 2px solid var(--accent,#f97316);
}
.template-creative .rc-entry-title { font-weight: 700; font-size: 11px; color: #111; }
.template-creative .rc-entry-date { font-size: 9.5px; color: #aaa; white-space: nowrap; }
.template-creative .rc-entry-sub { font-size: 10px; color: #666; font-weight: 500; margin-top: 2px; }
.template-creative .rc-entry-desc { font-size: 9.5px; color: #444; margin-top: 5px; line-height: 1.65; }
.template-creative .rc-skills-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.template-creative .rc-skill-tag {
  background: #fff; border: 1.5px solid var(--accent,#f97316);
  border-radius: 100px; padding: 3px 11px; font-size: 9.5px;
  color: var(--accent,#f97316); font-weight: 600;
}

/* ══════════════════════════════════════════════
   TECH / ATS — dark header, monospace feel, ATS-safe layout
   ══════════════════════════════════════════════ */
.template-tech { font-family: 'Courier New', 'Consolas', monospace; background: #fff; color: #111; }
.template-tech .rc-tech-header {
  background: #0f1117; padding: 30px 36px 22px; color: #fff;
  border-bottom: 3px solid var(--accent,#22d3ee);
}
.template-tech .rc-name {
  font-size: 24px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent,#22d3ee); font-family: 'Courier New', monospace;
}
.template-tech .rc-name-prompt { color: rgba(34,211,238,0.4); font-size: 18px; margin-right: 4px; }
.template-tech .rc-job-title {
  font-size: 11px; color: #a0aec0; margin-top: 6px;
  font-family: Arial, sans-serif; font-weight: 400; letter-spacing: 0.05em;
}
.template-tech .rc-contact {
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 0 20px;
  font-size: 9.5px; color: rgba(255,255,255,0.45); font-family: Arial, sans-serif;
}
.template-tech .rc-tech-chips {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px;
}
.template-tech .rc-tech-chip {
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.3);
  border-radius: 4px; padding: 2px 9px; font-size: 8.5px;
  color: #22d3ee; font-family: Arial, sans-serif; font-weight: 500;
}
.template-tech .rc-body { padding: 20px 36px 28px; }
.template-tech .rc-section { margin-bottom: 20px; }
.template-tech .rc-section-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--accent,#22d3ee);
  border-bottom: 1px solid var(--accent,#22d3ee);
  padding-bottom: 4px; margin-bottom: 12px;
  font-family: Arial, Helvetica, sans-serif;
}
.template-tech .rc-summary {
  font-size: 10px; color: #2a2a2a; line-height: 1.75;
  font-family: Arial, sans-serif;
}
.template-tech .rc-entry { margin-bottom: 13px; }
.template-tech .rc-entry-title { font-weight: 700; font-size: 11px; color: #0d0d0d; font-family: Arial, sans-serif; }
.template-tech .rc-entry-date { font-size: 9.5px; color: #999; white-space: nowrap; font-family: Arial, sans-serif; }
.template-tech .rc-entry-sub {
  font-size: 10px; color: var(--accent,#22d3ee); margin-top: 2px;
  font-family: Arial, sans-serif; font-weight: 600;
}
.template-tech .rc-entry-desc {
  font-size: 9.5px; color: #333; margin-top: 5px; line-height: 1.7;
  font-family: Arial, sans-serif;
}
.template-tech .rc-skills-wrap { display: flex; flex-wrap: wrap; gap: 5px; }
.template-tech .rc-skill-tag {
  background: #f8f9fa; border: 1px solid #e0e0e0;
  border-left: 3px solid var(--accent,#22d3ee);
  border-radius: 3px; padding: 2px 9px; font-size: 9.5px;
  color: #333; font-family: Arial, sans-serif;
}

/* ── Scale preview to fit container ──
   transform: scale keeps DOM size, so we collapse the extra space with
   negative margin-bottom and fix the wrapper width/height explicitly. */
@media (max-width: 1100px) {
  .resume-preview {
    transform: scale(0.68);
    transform-origin: top left;
    margin-bottom: calc(842px * 0.68 - 842px);
  }
  .resume-preview-wrap {
    width:      calc(595px * 0.68);
    min-height: calc(842px * 0.68);
    padding: 0;
  }
}

@media (min-width: 1101px) {
  .resume-preview {
    transform: scale(0.80);
    transform-origin: top left;
    margin-bottom: calc(842px * 0.80 - 842px);
  }
  .resume-preview-wrap {
    width:      calc(595px * 0.80);
    min-height: calc(842px * 0.80);
    padding: 0;
  }
}

/* ════════════════════════════════════════════════
   HOMEPAGE ANIMATED HOOKS
   ════════════════════════════════════════════════ */

/* ── Live ticker ── */
.hp-ticker {
  background: linear-gradient(90deg, #1a0600, #1a0000, #0d0d0d, #001a0a, #1a0600);
  background-size: 400% 100%;
  animation: tickerBg 8s ease infinite;
  border-bottom: 1px solid rgba(255,78,0,0.15);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
@keyframes tickerBg {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hp-ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  will-change: transform;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hp-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,140,0,0.85);
  letter-spacing: 0.04em;
}
.hp-ticker-item::after {
  content: '🔥';
  opacity: 0.6;
}

/* ── Hero particles canvas ── */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

/* ── Hero entrance animations ── */
.hp-badge-anim {
  opacity: 0;
  transform: translateY(-12px);
  animation: heroFadeDown 0.6s ease 0.1s forwards;
}
.hero-h1-anim {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s ease 0.25s forwards;
}
.hero-tagline-anim {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s ease 0.4s forwards;
}
@keyframes heroFadeDown {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero stat pills ── */
.hp-hero-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hp-pill {
  background: rgba(255,78,0,0.08);
  border: 1px solid rgba(255,78,0,0.22);
  border-radius: 12px;
  padding: 10px 18px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hp-pill.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hp-pill:hover {
  border-color: var(--fire);
  background: rgba(255,78,0,0.14);
  transform: translateY(-2px) scale(1.03);
}
.hp-pill-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-pill-suffix {
  font-size: 1rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hp-pill-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* ── Social proof bar ── */
.hp-proof-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}
.hp-proof-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hp-proof-avatars {
  display: flex;
}
.hp-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  margin-left: -8px;
  border: 2px solid var(--surface);
  flex-shrink: 0;
}
.hp-av:first-child { margin-left: 0; }
.hp-proof-text {
  font-size: 13px;
  color: var(--muted);
}
.hp-proof-text strong { color: var(--text); }
.hp-proof-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--border);
}
.hp-proof-live {
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  animation: livePulse 2s ease infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ── Feature cards ── */
.hp-features {
  margin-top: 48px;
  margin-bottom: 8px;
}
.hp-features-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 20px;
}
.hp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.hp-feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease,
              border-color 0.15s, box-shadow 0.15s;
}
.hp-feat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-feat-card:hover {
  border-color: var(--fire);
  box-shadow: 0 0 0 3px rgba(255,78,0,0.06);
  transform: translateY(-3px);
}
.hp-feat-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.hp-feat-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text);
}
.hp-feat-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.hp-feat-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}
.hp-feat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Testimonial marquee ── */
.hp-marquee-wrap {
  margin: 32px -20px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.hp-marquee {
  display: flex;
  overflow: hidden;
}
.hp-marquee-inner {
  display: flex;
  gap: 14px;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.hp-marquee-inner:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hp-testi-card {
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 240px;
  max-width: 280px;
}
.hp-testi-stars {
  color: #ffd000;
  font-size: 11px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.hp-testi-text {
  font-size: 13px;
  color: #ccc;
  line-height: 1.55;
  margin-bottom: 10px;
  font-style: italic;
}
.hp-testi-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hp-testi-role {
  font-size: 10.5px;
  color: var(--fire2);
  margin-top: 1px;
}

/* ── Floating CTA ── */
.hp-float-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.hp-float-cta:not(.hidden) {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.hp-float-cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26,10,0,0.96);
  border: 1px solid rgba(255,78,0,0.4);
  border-radius: 100px;
  padding: 12px 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(255,78,0,0.2);
  white-space: nowrap;
}
.hp-float-cta-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fire);
  flex-shrink: 0;
  animation: ctaPulse 1.4s ease infinite;
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,78,0,0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(255,78,0,0); }
}
.hp-float-cta-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.hp-float-cta-btn {
  padding: 7px 18px;
  background: linear-gradient(90deg, var(--fire), var(--fire2));
  border: none;
  border-radius: 100px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.hp-float-cta-btn:hover { opacity: 0.88; }
.hp-float-cta-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  padding: 0 2px;
  flex-shrink: 0;
}
.hp-float-cta-close:hover { color: var(--text); }

/* mobile */
@media(max-width:600px){
  .hp-hero-pills { gap: 8px; }
  .hp-pill { padding: 8px 14px; }
  .hp-float-cta-inner { flex-wrap: wrap; border-radius: 16px; }
  .hp-float-cta { width: calc(100% - 32px); left: 16px; transform: translateY(20px); }
  .hp-float-cta:not(.hidden) { transform: translateY(0); }
}

/* ── Floating Share Sidebar ── */
.float-share-sidebar {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 900;
}

.fss-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s, border-color 0.15s;
}

.fss-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.fss-btn:hover {
  transform: translateX(-2px);
}

.fss-facebook:hover  { background: rgba(24,119,242,0.12); color: #4a90e8; border-color: rgba(24,119,242,0.4); }
.fss-twitter:hover   { background: rgba(255,255,255,0.07); color: var(--text); border-color: rgba(255,255,255,0.25); }
.fss-linkedin:hover  { background: rgba(10,102,194,0.12); color: #4a8fc7; border-color: rgba(10,102,194,0.4); }
.fss-whatsapp:hover  { background: rgba(37,211,102,0.1); color: #25d366; border-color: rgba(37,211,102,0.4); }
.fss-copy:hover      { background: rgba(249,115,22,0.1); color: var(--accent); border-color: rgba(249,115,22,0.4); }
.fss-copied          { color: var(--green) !important; border-color: rgba(34,197,94,0.4) !important; }

@media (max-width: 640px) {
  .float-share-sidebar { display: none; }
}

/* ══════════════════════════════════════════════════════
   BACKLINK / LINK-BAIT SECTIONS
   · Press bar
   · Resume Statistics
   · Score Badge widget
══════════════════════════════════════════════════════ */

/* ── Press / As Featured In ── */
.hp-press {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 20px;
}
.hp-press-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hp-press-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hp-press-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-bottom: 18px;
}
.hp-press-logo {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  transition: color .2s, border-color .2s;
}
.hp-press-logo:hover { color: var(--text); border-color: #555; }
.hp-press-cta {
  font-size: 13px;
  color: var(--muted);
}
.hp-press-link {
  color: var(--fire2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.hp-press-link:hover { border-color: var(--fire2); }

/* ── Resume Statistics ── */
.hp-stats {
  padding: 64px 20px;
  background: var(--bg);
}
.hp-stats-inner {
  max-width: 900px;
  margin: 0 auto;
}
.hp-stats-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.hp-stats-sub {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 40px;
}
.hp-stats-cite-link {
  color: var(--fire2);
  text-decoration: none;
}
.hp-stats-cite-link:hover { text-decoration: underline; }
.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.hp-stat-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .2s, border-color .2s;
}
.hp-stat-block:hover {
  transform: translateY(-3px);
  border-color: var(--fire);
}
.hp-stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--fire2);
  line-height: 1;
  margin-bottom: 10px;
}
.hp-stat-unit {
  font-size: 22px;
  font-weight: 600;
  color: var(--fire);
  margin-left: 2px;
}
.hp-stat-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Embed code box (shared by stats + badge) ── */
.hp-embed-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}
.hp-embed-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.hp-embed-code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-family: "Menlo", "Consolas", monospace;
  color: #a3e635;
  word-break: break-all;
  margin-bottom: 12px;
  user-select: all;
}
.hp-embed-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.hp-embed-copy-btn:hover {
  background: var(--surface2);
  border-color: var(--fire);
  color: var(--fire2);
}

/* ── Score Badge Widget ── */
.hp-badge-widget {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 20px;
}
.hp-badge-widget-inner {
  max-width: 900px;
  margin: 0 auto;
}
.hp-badge-demo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  margin-top: 32px;
}
.hp-badge-preview {
  flex-shrink: 0;
}
.hp-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a1a1a 0%, #242424 100%);
  border: 2px solid var(--fire);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 0 18px rgba(255,78,0,.25);
}
.hp-badge-fire { font-size: 22px; }
.hp-badge-score-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.hp-badge-score-text strong { color: var(--fire2); font-size: 18px; }
.hp-badge-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 10px;
  margin-left: 4px;
}
.hp-badge-controls {
  flex: 1;
  min-width: 260px;
}
.hp-badge-ctrl-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.hp-badge-ctrl-label strong { color: var(--fire2); }
.hp-badge-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  margin-bottom: 20px;
  cursor: pointer;
}
.hp-badge-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fire);
  cursor: pointer;
  border: 2px solid #fff2;
}
.hp-badge-code-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

/* ══════════════════════════════════════════════════════
   SEO CONTENT BLOCK + SEMANTIC FOOTER
══════════════════════════════════════════════════════ */

/* SEO content section */
.seo-content-block {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 24px 40px;
}
.seo-content-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.seo-col { }
.seo-h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.seo-col p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.seo-col strong { color: var(--text); }
.seo-cta-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fire2);
  text-decoration: none;
  margin-top: 4px;
  transition: color .2s;
}
.seo-cta-link:hover { color: var(--fire); }

/* Internal link cluster */
.seo-internal-links {
  max-width: 1020px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.seo-internal-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.seo-internal-links a:hover { color: var(--text); }

/* Site footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}
.site-footer-inner { max-width: 760px; margin: 0 auto; }
.site-footer-brand {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}
.site-footer-links {
  font-size: 12px;
  margin-bottom: 8px;
}
.site-footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.site-footer-links a:hover { color: var(--text); }
.site-footer-legal {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.site-footer-legal a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer-copy {
  font-size: 11px;
  color: #555;
}
