/* Resume Roast - Premium UI (Session 73) */

.rr-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 16px 96px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rr-hero {
  text-align: center;
  margin-bottom: 48px;
  padding: 56px 24px 48px;
  background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.rr-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10,138,117,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.rr-warning {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 800;
  color: #d97706;
  background: #fef3c7;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.rr-hero h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.02;
  margin: 8px 0 20px;
  color: #0f172a;
  letter-spacing: -1.5px;
  position: relative;
  z-index: 1;
}

.rr-hero-sub {
  font-size: 20px;
  color: #475569;
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.rr-hero-sub em {
  color: #0a8a75;
  font-style: normal;
  font-weight: 700;
}

.rr-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.rr-stat-item { text-align: center; }

.rr-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #0a8a75;
  line-height: 1;
  letter-spacing: -0.5px;
}

.rr-stat-label {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rr-social-proof {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  position: relative;
  z-index: 1;
}

.rr-social-proof span { font-weight: 800; color: #0a8a75; }

.rr-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
  transition: box-shadow 0.2s ease;
}

.rr-card:hover { box-shadow: 0 8px 24px rgba(15,23,42,0.08); }

.rr-label {
  font-size: 13px;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 10px;
}

.rr-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.15s ease;
  background: #fff;
}

.rr-input:focus {
  outline: none;
  border-color: #0a8a75;
  box-shadow: 0 0 0 4px rgba(10,138,117,0.12);
  background: #fefffe;
}

.rr-textarea {
  min-height: 240px;
  resize: vertical;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  line-height: 1.6;
}

.rr-intensity {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.rr-intensity-label {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rr-intensity-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.rr-intensity-btn {
  padding: 14px 12px;
  border: 2px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  color: #475569;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rr-intensity-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}

.rr-intensity-btn[data-intensity='clean']:hover,
.rr-intensity-btn[data-intensity='clean'].active {
  border-color: #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
}

.rr-intensity-btn[data-intensity='mild']:hover,
.rr-intensity-btn[data-intensity='mild'].active {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
}

.rr-intensity-btn[data-intensity='savage']:hover,
.rr-intensity-btn[data-intensity='savage'].active {
  border-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
}

.rr-intensity-desc {
  font-size: 13px;
  color: #64748b;
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
  min-height: 18px;
  font-style: italic;
}

.rr-btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 14px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.rr-btn-primary {
  background: linear-gradient(135deg, #0a8a75 0%, #086f5f 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10,138,117,0.3);
  min-width: 240px;
}

.rr-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10,138,117,0.4);
}

.rr-btn-primary:active:not(:disabled) { transform: translateY(0); }

.rr-btn-primary:disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.rr-btn-ghost {
  background: #f1f5f9;
  color: #0f172a;
  padding: 12px 24px;
  font-size: 14px;
}

.rr-btn-ghost:hover { background: #e2e8f0; }

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

.rr-score-hero { text-align: center; padding: 32px 0; }

.rr-score {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  color: #0a8a75;
  letter-spacing: -3px;
  display: inline-block;
}

.rr-score.rr-bad { color: #dc2626; }
.rr-score.rr-mid { color: #f59e0b; }
.rr-score.rr-good { color: #10b981; }

.rr-score-sub { color: #94a3b8; font-size: 24px; font-weight: 500; }

.rr-headline {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 12px 0 0;
  line-height: 1.4;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.rr-issue {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  margin: 28px 0;
  font-size: 15px;
  color: #78350f;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(245,158,11,0.15);
}

.rr-issue strong {
  display: block;
  margin-bottom: 8px;
  color: #92400e;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.rr-unlock {
  background: linear-gradient(135deg, #0a8a75 0%, #0f766e 50%, #086f5f 100%);
  color: #fff;
  padding: 32px;
  border-radius: 20px;
  margin-top: 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(10,138,117,0.3);
  position: relative;
  overflow: hidden;
}

.rr-unlock::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.rr-unlock h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.rr-unlock p {
  margin: 0 0 20px;
  opacity: 0.95;
  font-size: 15px;
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.rr-unlock-btn {
  background: #fff;
  color: #0a8a75;
  padding: 16px 40px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.rr-unlock-btn:hover {
  background: #f0fdfa;
  transform: translateY(-2px);
}

.rr-share {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.rr-share p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
  font-weight: 500;
}

.rr-share-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin: 0 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.rr-share-btn:hover { transform: translateY(-2px); }

.rr-share-wa { background: #25d366; color: #fff; }
.rr-share-wa:hover { background: #128c7e; color: #fff; }
.rr-share-li { background: #0a66c2; color: #fff; }
.rr-share-li:hover { background: #084a8f; color: #fff; }

.rr-full {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 28px;
  margin-top: 24px;
}

.rr-full h3 {
  color: #0a8a75;
  font-size: 17px;
  margin: 24px 0 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rr-full h3:first-child { margin-top: 0; }

.rr-full ul {
  margin: 0 0 16px;
  padding-left: 24px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.rr-full li { margin-bottom: 6px; }
.rr-full p { color: #334155; font-size: 15px; line-height: 1.7; }

.rr-hidden { display: none !important; }

.rr-error {
  padding: 20px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: 14px;
  color: #991b1b;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

@keyframes rr-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rr-card:not(.rr-hidden) {
  animation: rr-fade-in 0.4s ease-out;
}

@media (max-width: 640px) {
  .rr-hero { padding: 40px 16px 32px; margin-bottom: 32px; }
  .rr-hero h1 { font-size: 40px; letter-spacing: -1px; }
  .rr-hero-sub { font-size: 17px; }
  .rr-stats { gap: 24px; }
  .rr-stat-value { font-size: 26px; }
  .rr-card { padding: 24px 20px; }
  .rr-score { font-size: 72px; }
  .rr-intensity-btns { grid-template-columns: 1fr; }
  .rr-btn-primary { width: 100%; min-width: 0; }
}