/* =====================================================
   ROCK DID IT™ Brand Scorecard OS — styles.css
   Dark Luxury Theme · Gold Accents · Mobile First
   ===================================================== */

:root {
  --bg: #070707;
  --bg2: #0f0f0f;
  --bg3: #161616;
  --bg4: #1e1e1e;
  --gold: #C9A84C;
  --gold-light: #e8c96a;
  --gold-dim: rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.3);
  --white: #ffffff;
  --gray: #888888;
  --gray2: #555555;
  --red: #e05050;
  --yellow: #d4a017;
  --green: #4caf72;
  --text: #e8e8e8;
  --text-dim: #aaaaaa;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== SCREENS ===== */
.screen {
  display: none;
  min-height: 100vh;
  position: relative;
}
.screen.active { display: block; }

/* ===== WELCOME ===== */
#screen-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.welcome-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.welcome-bg::before {
  content: 'R';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 60vw;
  font-weight: 700;
  color: rgba(201,168,76,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.welcome-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 640px;
  width: 100%;
  animation: fadeUp 1s ease both;
}

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

.brand-mark {
  margin-bottom: 1.5rem;
}

.r-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold-border);
  border-radius: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -2px;
}

.r-mark.small {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  border-radius: 8px;
}

.brand-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.brand-title .rock { color: var(--gold); }
.brand-title .did { color: var(--white); margin: 0 0.15em; }
.brand-title .it { color: var(--white); }
.brand-title .tm {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gold);
  vertical-align: super;
  margin-left: 2px;
}

.brand-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.welcome-desc {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.welcome-phases {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.welcome-phases span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.welcome-phases .sep { color: var(--gray2); }

.welcome-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 1rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}

.btn-primary.btn-xl {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  width: 100%;
  justify-content: center;
}

.btn-secondary {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--bg4);
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.btn-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}

.btn-gold:hover {
  background: var(--gold-dim);
  box-shadow: 0 0 24px rgba(201,168,76,0.2);
}

/* ===== SCREEN INNER ===== */
.screen-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  animation: fadeUp 0.5s ease both;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bg4);
}

.logo-small {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.phase-tag {
  font-size: 0.75rem;
  color: var(--gray);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-title .gold { color: var(--gold); }

.section-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ===== FORM GRID ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--bg4);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-border);
  background: var(--bg2);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== CHOICE CARDS ===== */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

.choice-card {
  background: var(--bg3);
  border: 1.5px solid var(--bg4);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
}

.choice-card:hover {
  border-color: var(--gold-border);
  color: var(--text);
  background: var(--bg2);
}

.choice-card.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 20px rgba(201,168,76,0.1);
}

/* ===== NAV ROW ===== */
.nav-row {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ===== PROGRESS BAR ===== */
.progress-bar-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--bg4);
  padding: 0.75rem 1.5rem;
}

.progress-bar-track {
  width: 100%;
  height: 3px;
  background: var(--bg4);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== SURVEY STEP ===== */
.survey-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  animation: fadeUp 0.4s ease both;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.6;
}

.step-section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.step-phase-tag {
  font-size: 0.7rem;
  color: var(--gray);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.step-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.step-content { margin-bottom: 1.5rem; }

/* ===== SCORE SECTION ===== */
.score-section {
  background: var(--bg3);
  border: 1px solid var(--bg4);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.score-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.score-track { margin-bottom: 0.5rem; }

.score-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--bg4);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

.score-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

.score-dots {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--gray2);
  padding: 0.3rem 0;
  font-family: 'Barlow Condensed', sans-serif;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.score-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.score-status {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-status.green { color: var(--green); }
.score-status.yellow { color: var(--yellow); }
.score-status.red { color: var(--red); }

/* ===== ARCHETYPE GRID ===== */
.archetype-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 500px) {
  .archetype-grid { grid-template-columns: repeat(2, 1fr); }
}

.archetype-card {
  background: var(--bg3);
  border: 1.5px solid var(--bg4);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.archetype-card:hover {
  border-color: var(--gold-border);
  background: var(--bg2);
}

.archetype-card.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.archetype-icon { font-size: 2rem; }
.archetype-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.archetype-card.selected .archetype-name { color: var(--gold); }
.archetype-desc { font-size: 0.7rem; color: var(--gray); line-height: 1.4; }

/* ===== TAG INPUTS ===== */
.tag-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tags-display {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 40px;
}

.tag {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Barlow', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tag-remove {
  cursor: pointer;
  opacity: 0.6;
  font-size: 0.9rem;
}

.tag-remove:hover { opacity: 1; }

.tag-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-suggest {
  background: var(--bg3);
  border: 1px solid var(--bg4);
  color: var(--text-dim);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.tag-suggest:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

/* ===== TOUCHPOINTS / CHANNELS ===== */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}

.channel-card {
  background: var(--bg3);
  border: 1.5px solid var(--bg4);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dim);
  font-family: 'Barlow', sans-serif;
}

.channel-card:hover { border-color: var(--gold-border); color: var(--text); }
.channel-card.selected { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ===== PSYCHOLOGY SCREEN ===== */
.psych-questions { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2rem; }

.psych-q .q-label {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* ===== RESULTS ===== */
#screen-results { display: none; }

.results-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.results-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.results-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
}

.results-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
}

/* ===== SCORE RING ===== */
.score-ring-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
}

.score-ring { transform: rotate(-90deg); }

.ring-bg {
  fill: none;
  stroke: var(--bg4);
  stroke-width: 14;
}

.ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1);
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.5));
}

.score-ring-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.score-label-small { font-size: 0.75rem; color: var(--gray); margin-bottom: 0.25rem; }

.score-grade {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== SECTION SCORES ===== */
.section-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

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

.section-score-card {
  background: var(--bg3);
  border: 1px solid var(--bg4);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.section-score-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-score-bar {
  height: 4px;
  background: var(--bg4);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.section-score-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

.fill-red { background: var(--red); }
.fill-yellow { background: var(--yellow); }
.fill-green { background: var(--green); }

.section-score-val {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== PSYCH RESULT CARD ===== */
.psych-result-card {
  background: var(--bg3);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.psych-result-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.psych-result-stage {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.psych-result-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.psych-result-strategy {
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  line-height: 1.6;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bg4);
}

/* ===== GAPS & STRENGTHS ===== */
.gaps-strengths-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

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

.gaps-box, .strengths-box {
  background: var(--bg3);
  border: 1px solid var(--bg4);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.gaps-box h4, .strengths-box h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.gaps-box ul, .strengths-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gaps-box ul li, .strengths-box ul li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-left: 0.75rem;
  position: relative;
}

.gaps-box ul li::before { content: '·'; position: absolute; left: 0; color: var(--red); }
.strengths-box ul li::before { content: '·'; position: absolute; left: 0; color: var(--green); }

/* ===== PHASE REC CARD ===== */
.phase-rec-card {
  background: linear-gradient(135deg, var(--bg3) 0%, rgba(201,168,76,0.05) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.phase-rec-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.phase-rec-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.phase-rec-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== RESULTS ACTIONS ===== */
.results-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* ===== AI OUTPUT PANEL ===== */
.ai-output-panel {
  background: var(--bg2);
  border: 1px solid var(--bg4);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.ai-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.ai-panel-header button {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}

.ai-panel-header button:hover { background: var(--gold); color: #000; }

#aiOutputText {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'Barlow', sans-serif;
  line-height: 1.7;
  max-height: 400px;
  overflow-y: auto;
}

/* ===== SUBMISSION STATUS ===== */
.submission-status {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.submission-status.success {
  background: rgba(76,175,114,0.1);
  border: 1px solid rgba(76,175,114,0.3);
  color: var(--green);
}

.submission-status.error {
  background: rgba(224,80,80,0.1);
  border: 1px solid rgba(224,80,80,0.3);
  color: var(--red);
}

/* ===== RESULTS FOOTER ===== */
.results-footer {
  font-size: 0.75rem;
  color: var(--gray2);
  padding-bottom: 3rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.05em;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-border); }

/* ===== UTILITY ===== */
.gold { color: var(--gold); }
.hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 400px) {
  .brand-title { font-size: 2.5rem; }
  .section-title { font-size: 1.8rem; }
  .step-title { font-size: 1.6rem; }
  .step-number { font-size: 2.5rem; }
}
