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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --text: #f0f0f5;
  --text2: #9898b0;
  --text3: #5a5a72;
  --accent: #a78bfa;
  --accent2: #7c3aed;
  --green: #4ade80;
  --yellow: #facc15;
  --red: #f87171;
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
}
.nav-cta {
  font-size: 13px; font-weight: 500; color: var(--accent);
  text-decoration: none; padding: 7px 16px;
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 20px;
  transition: all 0.2s;
}
.nav-cta:hover { background: rgba(167,139,250,0.1); }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; max-width: 1100px; margin: 0 auto;
  padding: 100px 24px 80px;
}
.hero-badge {
  display: inline-block; font-size: 12px; font-weight: 500;
  color: var(--accent); background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1; color: var(--text);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--text2); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 500;
  padding: 13px 28px; border-radius: 40px;
  text-decoration: none; transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #8b5cf6; transform: translateY(-1px); }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.hero-stats {
  display: flex; align-items: center; gap: 20px;
  margin-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 18px; font-weight: 500; color: var(--text); }
.stat span { font-size: 12px; color: var(--text3); }
.stat-sep { width: 1px; height: 32px; background: var(--border2); }

/* HERO VISUAL */
.hero-visual { display: flex; justify-content: center; }
.score-preview {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 24px; width: 100%; max-width: 340px;
}
.sp-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sp-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; flex-shrink: 0;
}
.sp-name { font-size: 14px; font-weight: 500; }
.sp-role { font-size: 12px; color: var(--text2); }
.sp-badge {
  margin-left: auto; font-size: 11px; font-weight: 500;
  background: rgba(167,139,250,0.15); color: var(--accent);
  padding: 3px 10px; border-radius: 20px;
}
.sp-scores { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.sp-score-item { display: flex; align-items: center; gap: 10px; }
.sp-score-label { font-size: 12px; color: var(--text2); width: 72px; flex-shrink: 0; }
.sp-bar { flex: 1; height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.sp-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.sp-score-num { font-size: 12px; font-weight: 500; width: 24px; text-align: right; }
.sp-alert {
  display: flex; align-items: center; gap: 8px;
  background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-sm); padding: 10px 12px;
  font-size: 12px; color: #fca5a5;
}
.sp-alert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* HOW IT WORKS */
.how { padding: 80px 0; border-top: 1px solid var(--border); }
.section-label {
  font-size: 12px; font-weight: 500; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.how h2, .tool-section h2, .pricing h2, .results-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 40px); color: var(--text);
  margin-bottom: 48px; line-height: 1.2;
}
.how h2 em, .results-section h2 em { font-style: italic; color: var(--accent); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: var(--border2); }
.step-num { font-size: 28px; font-weight: 300; color: var(--text3); margin-bottom: 16px; font-family: 'Instrument Serif', serif; }
.step-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* TOOL SECTION */
.tool-section { padding: 80px 0; border-top: 1px solid var(--border); }
.tool-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 40px;
  max-width: 700px; margin: 0 auto;
}
.tool-step { padding: 4px 0 20px; }
.tool-step-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.tool-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; flex-shrink: 0; margin-top: 2px;
}
.tool-step-title { font-size: 16px; font-weight: 500; }
.tool-step-sub { font-size: 13px; color: var(--text2); margin-top: 2px; }
.tool-divider { height: 1px; background: var(--border); margin: 4px 0 24px; }

/* METIER GRID */
.metier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.metier-item { cursor: pointer; }
.metier-item input[type="radio"] { display: none; }
.metier-card {
  border: 1px solid var(--border2); border-radius: var(--radius-sm);
  padding: 14px 10px; text-align: center; cursor: pointer;
  transition: all 0.15s; background: var(--bg3);
  user-select: none;
}
.metier-card:hover { border-color: var(--accent); background: rgba(167,139,250,0.05); }
.metier-item input:checked + .metier-card {
  border-color: var(--accent);
  background: rgba(167,139,250,0.12);
  box-shadow: 0 0 0 1px var(--accent);
}
.metier-icon { font-size: 22px; margin-bottom: 6px; display: block; }
.metier-name { font-size: 12px; font-weight: 500; color: var(--text2); }
.metier-item input:checked + .metier-card .metier-name { color: var(--accent); }

/* UPLOAD */
.upload-zone {
  border: 1.5px dashed var(--border2); border-radius: var(--radius);
  padding: 32px; text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--bg3); position: relative;
}
.upload-zone:hover { border-color: var(--accent); background: rgba(167,139,250,0.05); }
.upload-zone.has-file { border-color: var(--green); border-style: solid; background: rgba(74,222,128,0.05); }
.upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-icon { font-size: 28px; color: var(--text3); margin-bottom: 10px; display: block; }
.upload-text { font-size: 15px; font-weight: 500; color: var(--text2); }
.upload-hint { font-size: 13px; color: var(--text3); margin-top: 4px; }
.upload-link { color: var(--accent); text-decoration: underline; }

/* LINKEDIN INPUT */
.input-wrapper { display: flex; align-items: center; gap: 0; }
.input-prefix {
  background: var(--bg3); border: 1px solid var(--border2);
  border-right: none; padding: 10px 14px; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 16px;
}
.linkedin-input {
  flex: 1; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text); font-size: 14px; font-family: 'DM Sans', sans-serif;
  padding: 10px 14px; outline: none; transition: border-color 0.2s;
}
.linkedin-input:focus { border-color: var(--accent); }
.linkedin-input::placeholder { color: var(--text3); }

/* ANALYZE BTN */
.analyze-btn {
  width: 100%; padding: 15px; margin-top: 8px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 40px;
  font-size: 15px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s;
}
.analyze-btn:hover:not(:disabled) { background: #8b5cf6; transform: translateY(-1px); }
.analyze-btn:disabled { background: var(--bg3); color: var(--text3); cursor: not-allowed; border: 1px solid var(--border); }
.analyze-btn.loading { opacity: 0.7; }
.btn-arrow { transition: transform 0.2s; }
.analyze-btn:hover:not(:disabled) .btn-arrow { transform: translateX(3px); }
.tool-footer-note { text-align: center; font-size: 12px; color: var(--text3); margin-top: 12px; }

/* RESULTS */
.results-section { padding: 80px 0; border-top: 1px solid var(--border); }
.scores-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px;
}
.score-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 16px; text-align: center;
}
.score-circle { position: relative; width: 80px; height: 80px; margin: 0 auto 12px; }
.score-circle svg { width: 80px; height: 80px; }
.score-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 20px; font-weight: 500; color: var(--text);
}
.score-label { font-size: 13px; color: var(--text2); }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.result-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 28px;
}
.result-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.result-card-title { font-size: 15px; font-weight: 500; }
.result-card-badge { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 20px; }
.result-card-badge.free { background: rgba(167,139,250,0.15); color: var(--accent); }
.result-items { display: flex; flex-direction: column; gap: 0; }
.result-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.result-item:last-child { border-bottom: none; }
.result-item p { font-size: 14px; color: var(--text2); line-height: 1.5; margin: 0; }
.result-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.result-item.good .result-dot { background: var(--green); }
.result-item.bad .result-dot { background: var(--red); }
.result-item.warn .result-dot { background: var(--yellow); }

/* LOCKED */
.locked-card { border: 1px solid rgba(167,139,250,0.2); }
.locked-content { text-align: center; }
.locked-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.locked-content h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.locked-content p { font-size: 13px; color: var(--text2); margin-bottom: 20px; line-height: 1.6; }
.locked-previews { text-align: left; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.locked-item { font-size: 12px; color: var(--text3); filter: blur(3px); user-select: none; }
.unlock-btn {
  width: 100%; padding: 13px; background: var(--accent);
  color: #fff; border: none; border-radius: 40px;
  font-size: 14px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  cursor: pointer; margin-bottom: 10px; transition: all 0.2s;
}
.unlock-btn:hover { background: #8b5cf6; }
.unlock-note { font-size: 11px; color: var(--text3); }

.reset-btn {
  background: transparent; border: 1px solid var(--border2);
  color: var(--text2); padding: 10px 20px; border-radius: 40px;
  font-size: 13px; font-family: 'DM Sans', sans-serif; cursor: pointer;
  transition: all 0.2s;
}
.reset-btn:hover { border-color: var(--border2); color: var(--text); background: var(--bg2); }

/* PRICING */
.pricing { padding: 80px 0; border-top: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px; position: relative;
}
.pricing-card.featured { border-color: var(--accent); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 500; padding: 4px 14px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-name { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.pricing-price { font-size: 32px; font-weight: 300; font-family: 'Instrument Serif', serif; margin-bottom: 24px; }
.pricing-price span { font-size: 14px; color: var(--text2); font-family: 'DM Sans', sans-serif; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 14px; color: var(--text2); }
.pricing-features li.muted { color: var(--text3); }
.pricing-btn-primary {
  display: block; text-align: center; width: 100%; padding: 12px;
  background: var(--accent); color: #fff; border-radius: 40px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.pricing-btn-primary:hover { background: #8b5cf6; }
.pricing-btn-outline {
  display: block; text-align: center; width: 100%; padding: 12px;
  border: 1px solid var(--border2); color: var(--text2); border-radius: 40px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.pricing-btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* FOOTER */
footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer p { font-size: 13px; color: var(--text3); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 40px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .metier-grid { grid-template-columns: repeat(2, 1fr); }
  .scores-row { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 24px 20px; }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner { animation: fadeUp 0.6s ease both; }
.hero-visual { animation: fadeUp 0.6s 0.15s ease both; }
</style>

.result-global-badge {
  font-size: 13px; font-weight: 500; padding: 5px 16px;
  border-radius: 20px; background: rgba(167,139,250,0.15); color: var(--accent);
}
.locked-block { text-align: left; margin-bottom: 20px; }
.locked-block-title { font-size: 13px; font-weight: 500; color: var(--text2); margin-bottom: 10px; }
.locked-blur { filter: blur(5px); user-select: none; pointer-events: none; }
.plan-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(167,139,250,0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; flex-shrink: 0; margin-top: 2px;
}
.ats-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.ats-tag {
  font-size: 12px; font-weight: 500; padding: 4px 12px;
  border-radius: 20px; background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2); color: var(--accent);
}
