/* === DESIGN AUDIT PAGE === */
.audit-page {
  min-height: 100vh;
  padding: 0 0 80px;
}

/* Nav center — reused from monitor */
.nav-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-sep {
  color: rgba(201, 150, 107, 0.3);
  font-size: 0.7rem;
}

.nav-section {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  opacity: 0.6;
}

/* Hero */
.audit-hero {
  padding: 160px 48px 80px;
  position: relative;
}

.audit-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: radial-gradient(ellipse at 60% 0%, rgba(201, 150, 107, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.audit-hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.audit-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 16px;
}

.audit-subhead {
  font-size: 1rem;
  color: var(--cream-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 560px;
}

/* Audit Form */
.audit-form {
  max-width: 680px;
}

.audit-form .input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.audit-form textarea {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid rgba(201, 150, 107, 0.2);
  border-bottom: none;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 18px 24px;
  outline: none;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.25s;
  line-height: 1.6;
}

.audit-form textarea::placeholder {
  color: var(--cream-muted);
  opacity: 0.4;
}

.audit-form textarea:focus {
  border-color: rgba(201, 150, 107, 0.5);
}

/* Quick chips */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: transparent;
  border: 1px solid rgba(201, 150, 107, 0.2);
  color: var(--cream-muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.chip:hover {
  border-color: rgba(201, 150, 107, 0.5);
  color: var(--cream);
}

/* Submit button */
#submit-btn {
  background: var(--warm-gold);
  border: 1px solid var(--warm-gold);
  color: var(--obsidian);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-start;
}

#submit-btn:hover:not(:disabled) {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spin {
  animation: spin 1s linear infinite;
}

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

/* Results */
.results-section {
  padding: 0 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 150, 107, 0.1);
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.results-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-gold);
}

/* Score badge */
.score-badge {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid;
}

.score-high {
  color: #7edf9a;
  border-color: rgba(126, 223, 154, 0.3);
  background: rgba(126, 223, 154, 0.05);
}

.score-mid {
  color: #e8c76b;
  border-color: rgba(232, 199, 107, 0.3);
  background: rgba(232, 199, 107, 0.05);
}

.score-low {
  color: #e87b7b;
  border-color: rgba(232, 123, 123, 0.3);
  background: rgba(232, 123, 123, 0.05);
}

/* Brief grid — score + recommendation */
.brief-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2px;
  margin-bottom: 48px;
}

/* Score display */
.score-col {
  padding: 40px 32px;
  background: var(--charcoal);
  border: 1px solid rgba(201, 150, 107, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.score-display {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 12px;
}

.score-number.score-high { color: #7edf9a; }
.score-number.score-mid { color: #e8c76b; }
.score-number.score-low { color: #e87b7b; }

.score-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* Recommendation */
.recommendation-col {
  padding: 40px 36px;
  background: var(--charcoal);
  border: 1px solid rgba(201, 150, 107, 0.08);
  display: flex;
  flex-direction: column;
}

.recommendation-col .section-label {
  margin-bottom: 20px;
}

.recommendation-box {
  border-left: 3px solid var(--warm-gold);
  padding-left: 28px;
}

.rec-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
}

/* Audit cards grid */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 48px;
}

.audit-card {
  padding: 32px 28px;
  background: var(--charcoal);
  border: 1px solid rgba(201, 150, 107, 0.08);
}

.audit-card-wide {
  grid-column: 1 / -1;
}

.card-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 20px;
}

/* Competitive gaps */
.gaps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gap-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--cream-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.gap-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--warm-gold);
  opacity: 0.7;
}

/* Pricing */
.pricing-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.verdict-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid;
}

.verdict-underpriced { color: #7edf9a; border-color: rgba(126,223,154,0.3); background: rgba(126,223,154,0.07); }
.verdict-appropriate { color: #7edf9a; border-color: rgba(126,223,154,0.3); background: rgba(126,223,154,0.07); }
.verdict-premium { color: #e8c76b; border-color: rgba(232,199,107,0.3); background: rgba(232,199,107,0.07); }
.verdict-overpriced { color: #e87b7b; border-color: rgba(232,123,123,0.3); background: rgba(232,123,123,0.07); }
.verdict-unknown { color: var(--cream-muted); border-color: rgba(191,184,174,0.2); }

.pricing-explanation {
  font-size: 0.875rem;
  color: var(--cream-muted);
  line-height: 1.6;
}

/* Target audience */
.audience-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.audience-row {
  display: contents;
}

.audience-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-muted);
  opacity: 0.6;
  grid-column: 1;
}

.audience-value {
  font-size: 0.875rem;
  color: var(--cream);
  grid-column: 2;
}

.audience-row-wide {
  display: flex;
  flex-direction: column;
  gap: 4px;
  grid-column: 1 / -1;
}

.audience-row-wide .audience-value {
  color: var(--cream-muted);
}

/* SWOT grid */
.swot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.swot-quadrant {
  padding: 24px 28px;
  border: 1px solid rgba(201, 150, 107, 0.08);
}

.swot-strength { border-top: 2px solid rgba(126, 223, 154, 0.4); }
.swot-weakness { border-top: 2px solid rgba(232, 123, 123, 0.4); }
.swot-opportunity { border-top: 2px solid rgba(201, 150, 107, 0.4); }
.swot-threat { border-top: 2px solid rgba(191, 184, 174, 0.3); }

.swot-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.swot-strength .swot-label { color: #7edf9a; }
.swot-weakness .swot-label { color: #e87b7b; }
.swot-opportunity .swot-label { color: var(--warm-gold); }
.swot-threat .swot-label { color: var(--cream-muted); }

.swot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swot-list li {
  font-size: 0.8rem;
  color: var(--cream-muted);
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}

.swot-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  font-size: 0.65rem;
}

.swot-strength .swot-list li::before { color: #7edf9a; opacity: 0.5; }
.swot-weakness .swot-list li::before { color: #e87b7b; opacity: 0.5; }
.swot-opportunity .swot-list li::before { color: var(--warm-gold); opacity: 0.5; }
.swot-threat .swot-list li::before { color: var(--cream-muted); opacity: 0.4; }

/* Results actions */
.results-actions {
  display: flex;
  gap: 12px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(201, 150, 107, 0.2);
  color: var(--cream-muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(201, 150, 107, 0.4);
  color: var(--cream);
}

/* Error section */
.error-section {
  padding: 0 48px;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
}

.error-box {
  background: rgba(232, 123, 123, 0.05);
  border: 1px solid rgba(232, 123, 123, 0.2);
  padding: 32px 36px;
  width: 100%;
}

.error-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: #e87b7b;
  margin-bottom: 8px;
}

.error-message {
  font-size: 0.875rem;
  color: var(--cream-muted);
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .audit-hero { padding: 120px 28px 60px; }
  .brief-grid { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .audit-card-wide { grid-column: 1; }
  .swot-grid { grid-template-columns: 1fr; }
  .results-section { padding: 0 28px; }
  .error-section { padding: 0 28px; }
}

@media (max-width: 600px) {
  .audit-headline { font-size: 2.2rem; }
  .nav-center { display: none; }
  .audience-box { grid-template-columns: 1fr; }
  .audience-row-wide { grid-column: 1; }
  .score-display { font-size: 4rem; }
}