/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0e1a;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(99,102,241,0.5);
  --indigo: #6366f1;
  --red: #ef4444;
  --orange: #f59e0b;
  --yellow: #eab308;
  --green: #10b981;
  --text: #f1f5f9;
  --text-muted: rgba(255,255,255,0.45);
  --text-dim: rgba(255,255,255,0.22);
  --font: 'Inter', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════
   VIDEO BACKGROUND
══════════════════════════════════════════ */
.bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,14,26,0.55) 0%,
    rgba(10,14,26,0.35) 40%,
    rgba(10,14,26,0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   LOGO
══════════════════════════════════════════ */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.logo-svg {
  width: 56px;
  height: 56px;
  animation: mobius-glow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(99,102,241,0.5));
}

@keyframes mobius-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(99,102,241,0.4)); }
  50% { filter: drop-shadow(0 0 24px rgba(99,102,241,0.8)); }
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo--sm { margin-bottom: 0; }
.logo-svg--sm { width: 36px; height: 36px; }
.logo-text--sm { font-size: 16px; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.hero-inner {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.8s ease both;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 40px rgba(239,68,68,0.4);
}

.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 560px;
}

.br-desktop { display: block; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 20px 44px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  margin-bottom: 72px;
  font-family: var(--font);
  box-shadow: 0 0 40px rgba(239,68,68,0.25);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 60px rgba(239,68,68,0.45);
  background: #dc2626;
}

.cta-btn:active { transform: translateY(0) scale(0.99); }

/* STATS */
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 40px;
  backdrop-filter: blur(12px);
  width: 100%;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-label span { color: var(--text-dim); font-size: 11px; }

.stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 20px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   FORM SECTION
══════════════════════════════════════════ */
.form-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 24px 80px;
}

.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  gap: 32px;
}

.progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), #818cf8);
  border-radius: 99px;
  width: 33%;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

.progress-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: right;
}

/* STEPS */
.step {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  animation: fadeInUp 0.4s ease both;
}

.step-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.step-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* OPTIONS */
.opts {
  display: grid;
  gap: 14px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.opt {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.opt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.opt:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99,102,241,0.15);
}

.opt:hover::before { opacity: 1; }

.opt.selected {
  border-color: var(--green);
  background: rgba(16,185,129,0.08);
  box-shadow: 0 0 0 1px var(--green), 0 12px 40px rgba(16,185,129,0.15);
}

.opt--lg {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.opt-icon { font-size: 36px; line-height: 1; margin-bottom: 4px; }

.opt-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.opt-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 99px;
  margin-top: 4px;
}

.opt-badge.critique { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.opt-badge.urgent   { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.opt-badge.modere   { background: rgba(234,179,8,0.15);  color: #eab308; border: 1px solid rgba(234,179,8,0.3); }
.opt-badge.gere     { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }

/* ══════════════════════════════════════════
   RESULTS SECTION
══════════════════════════════════════════ */
.results-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 0 24px 120px;
}

.results-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  max-width: 900px;
  margin: 0 auto;
}

.restart-btn-sm {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
  transition: all 0.2s;
}

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

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(99,102,241,0.4);
  color: var(--indigo);
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.2s;
}

.share-btn:hover { background: rgba(99,102,241,0.1); border-color: var(--indigo); }

@media print {
  .bg-video, .bg-overlay, .results-nav, .share-btn, .copy-btn { display: none !important; }
  body { background: white; color: black; }
  .results-section { padding: 0; }
  .top3-card, .check-item, .contact-card, .script-box { border: 1px solid #ccc !important; background: white !important; color: black !important; }
  .results-title, .top3-title { color: black !important; }
  .top3-desc, .check-text, .contact-name, .contact-detail { color: #444 !important; }
  .urgency-pill { border: 2px solid black !important; }
}

.results-hero {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 40px 0 60px;
  animation: fadeInUp 0.5s ease both;
}

/* URGENCY PILL */
.urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 24px;
  border: 1px solid;
}

.urgency-pill.critique { background: rgba(239,68,68,0.12); color: #ef4444; border-color: rgba(239,68,68,0.3); }
.urgency-pill.urgent   { background: rgba(245,158,11,0.12); color: #f59e0b; border-color: rgba(245,158,11,0.3); }
.urgency-pill.modere   { background: rgba(234,179,8,0.12);  color: #eab308; border-color: rgba(234,179,8,0.3); }
.urgency-pill.gere     { background: rgba(107,114,128,0.12); color: #9ca3af; border-color: rgba(107,114,128,0.3); }

.urgency-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.results-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.results-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.results-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.results-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.25s ease;
  box-shadow: 0 0 30px rgba(239,68,68,0.2);
}

.results-pdf-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(239,68,68,0.35);
}

.results-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.25s ease;
}

.results-share-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
  transform: translateY(-2px);
}

/* TOP 3 */
.top3 {
  max-width: 900px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.top3-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  animation: fadeInUp 0.5s ease both;
  transition: border-color 0.2s, transform 0.2s;
}

.top3-card:hover { border-color: rgba(99,102,241,0.35); transform: translateY(-2px); }

.top3-card:nth-child(2) { animation-delay: 0.1s; }
.top3-card:nth-child(3) { animation-delay: 0.2s; }

.top3-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.top3-icon { font-size: 32px; margin-bottom: 14px; display: block; }

.top3-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.top3-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.top3-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.top3-action:hover { background: #4f46e5; transform: translateY(-1px); }

.top3-action--red { background: var(--red); }
.top3-action--red:hover { background: #dc2626; }

/* CHECKLIST */
.checklist-section {
  max-width: 900px;
  margin: 0 auto 48px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.checklist { display: flex; flex-direction: column; gap: 10px; }

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.2s;
  animation: fadeInUp 0.4s ease both;
}

.check-item:hover { border-color: rgba(255,255,255,0.12); }

.check-item.done {
  opacity: 0.5;
  text-decoration: line-through;
  border-color: rgba(16,185,129,0.25);
  background: rgba(16,185,129,0.04);
}

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border-hover);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.2s;
}

.check-item.done .check-box {
  background: var(--green);
  border-color: var(--green);
}

.check-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.2s;
}

.check-item.done .check-box::after { opacity: 1; }

.check-text { font-size: 14px; line-height: 1.5; color: var(--text); }

/* CONTACTS */
.contacts-section {
  max-width: 900px;
  margin: 0 auto 48px;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  animation: fadeInUp 0.4s ease both;
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.12);
}

.contact-icon { font-size: 24px; flex-shrink: 0; }
.contact-name { font-size: 14px; font-weight: 600; }
.contact-detail { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* SCRIPT */
.script-section {
  max-width: 900px;
  margin: 0 auto 48px;
}

.script-box {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  padding: 28px 32px;
}

.script-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 20px;
}

.copy-btn {
  background: none;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.copy-btn:hover { background: var(--indigo); color: white; }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.hidden { display: none !important; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 99px; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .top3   { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; padding: 24px; gap: 20px; }
  .stat-sep { width: 100%; height: 1px; margin: 0; }
  .br-desktop { display: none; }
  .hero-title { letter-spacing: -1px; }
  .form-nav { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-btn { width: 100%; justify-content: center; }
  .script-box { padding: 20px; }
}

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