/* ================================================================
   AI PROMPT ARCHITECT — PREMIUM EDITION
   Navy Blue & Metallic Gold — Apple-inspired Design Language
   ================================================================ */

/* ─── Design Tokens ─── */
:root {
  /* Navy palette */
  --navy-900: #050B14;
  --navy-800: #0A1628;
  --navy-700: #0F1F3A;
  --navy-600: #162A4D;
  --navy-500: #1E3A66;
  --navy-400: #2A5080;

  /* Metallic Gold palette */
  --gold-100: #FFF8E1;
  --gold-200: #FFECB3;
  --gold-300: #FFD54F;
  --gold-400: #FFC107;
  --gold-500: #D4AF37;
  --gold-600: #C9A227;
  --gold-700: #B8960C;
  --gold-800: #8A6E00;

  /* Accent & functional */
  --primary: var(--gold-500);
  --primary-hover: var(--gold-400);
  --primary-active: var(--gold-600);
  --primary-glow: rgba(212, 175, 55, 0.15);

  /* Text */
  --text-primary: #F0EDE5;
  --text-secondary: #A8B0B8;
  --text-muted: #6B7280;
  --text-gold: var(--gold-300);

  /* Backgrounds */
  --bg: var(--navy-900);
  --bg-card: rgba(15, 31, 58, 0.7);
  --bg-card-solid: var(--navy-700);
  --bg-elevated: rgba(22, 42, 77, 0.5);

  /* Borders & effects */
  --border: rgba(212, 175, 55, 0.12);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-strong: rgba(212, 175, 55, 0.4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

/* ─── Reset & Base ─── */
* { box-sizing: border-box; margin: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-primary);
  padding: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app { max-width: 800px; margin: 0 auto; }

/* ─── Metallic Background Effect ─── */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(42, 80, 128, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ─── Steps ─── */
.step { display: none; opacity: 0; }
.step.active { display: block; opacity: 1; animation: stepEnter 400ms cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes stepEnter {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Hero ─── */
.hero-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-heading span {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Form Elements ─── */
textarea, input[type="text"], select, input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-card);
  min-height: 48px;
  transition: all 250ms ease;
  backdrop-filter: blur(10px);
}

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

textarea::placeholder, input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

textarea:hover, input:hover, select:hover {
  border-color: var(--border-gold);
  background: var(--bg-elevated);
}

textarea:focus, input:focus, select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--primary-glow), 0 0 20px rgba(212, 175, 55, 0.08);
  background: var(--bg-elevated);
}

label {
  display: block;
  font-weight: 600;
  margin: 18px 0 8px;
  color: var(--text-gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  min-height: 48px;
  text-align: center;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

/* Metallic gold primary button */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 50%, var(--gold-700) 100%);
  color: var(--navy-900);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 500ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.5);
}

/* Navy secondary button with gold border */
.btn-secondary {
  background: transparent;
  color: var(--gold-300);
  border: 1.5px solid var(--border-gold);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold-500);
  color: var(--gold-200);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.08);
}

.btn-back {
  margin-bottom: 20px;
  font-size: 14px;
  padding: 10px 18px;
}

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
  width: 100%;
  margin-top: 28px;
  border-radius: var(--radius);
}

/* ─── Char Counter & Hints ─── */
.char-counter {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.hint {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 10px;
}

/* ─── Progress ─── */
.progress-indicator {
  font-size: 14px;
  color: var(--text-gold);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ─── Collapsible Sections ─── */
.collapsible-section {
  margin-bottom: 14px;
}

.collapsible-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 250ms ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.collapsible-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold-500), var(--gold-700));
  border-radius: var(--radius) 0 0 var(--radius);
  opacity: 0;
  transition: opacity 250ms ease;
}

.collapsible-header:hover {
  background: var(--bg-elevated);
  border-color: var(--border-gold);
}

.collapsible-header:hover::before {
  opacity: 1;
}

.collapsible-header .toggle-icon {
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--gold-500);
  font-size: 12px;
}

.collapsible-section.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.section-content {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.22, 1, 0.36, 1), padding 400ms ease;
  backdrop-filter: blur(10px);
}

.collapsible-section.collapsed .section-content {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ─── Model Selector ─── */
.model-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .model-selector { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .model-selector { grid-template-columns: repeat(3, 1fr); }
}

.model-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-card);
  transition: all 300ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.model-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(212, 175, 55, 0.05);
}

.model-card:hover::before {
  opacity: 1;
}

.model-card.selected {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.06);
  box-shadow: var(--shadow-gold), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.model-card.selected::before {
  opacity: 1;
}

.model-card input[type="radio"] { display: none; }

.model-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.model-card.selected .model-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
  border-color: var(--border-gold);
}

.model-info { flex: 1; }
.model-name { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.model-desc { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.model-vendor {
  font-size: 10px;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  font-weight: 500;
}

/* ─── Radio & Checkbox Options ─── */
.radio-option, .checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 250ms ease;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.radio-option:hover, .checkbox-option:hover {
  border-color: var(--border-gold);
  background: var(--bg-elevated);
}

.radio-option input, .checkbox-option input {
  margin-top: 3px;
  accent-color: var(--gold-500);
  width: 18px;
  height: 18px;
}

.radio-option.selected {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.06);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.radio-label strong { display: block; font-size: 14px; color: var(--text-primary); }
.radio-label span { font-size: 13px; color: var(--text-secondary); font-weight: 400; }

/* ─── Slider ─── */
.slider-container { margin: 14px 0; }

input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--navy-600), var(--navy-500));
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  border: 2px solid var(--navy-800);
  transition: transform 200ms ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  cursor: pointer;
  border: 2px solid var(--navy-800);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

#complexity-label {
  font-weight: 600;
  color: var(--gold-300);
  margin-left: 10px;
  font-size: 14px;
}

/* ─── Checkbox Group ─── */
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }

.checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-500);
}

/* ─── Button Group (Verbosity) ─── */
.button-group {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.btn-verb {
  flex: 1;
  padding: 12px;
  border: none;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  border-right: 1.5px solid var(--border);
  transition: all 250ms ease;
  font-weight: 500;
}

.btn-verb:last-child { border-right: none; }

.btn-verb:hover {
  background: var(--bg-elevated);
  color: var(--text-gold);
}

.btn-verb.active {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ─── Step 3 ─── */
.success-message {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.prompt-display {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 175, 55, 0.05);
}

.prompt-display pre {
  background: var(--navy-800);
  color: var(--text-primary);
  padding: 24px;
  overflow-x: auto;
  max-height: 55vh;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
  margin: 0;
}

/* Code syntax highlighting colors */
.prompt-display pre .tag { color: var(--gold-400); }
.prompt-display pre .attr { color: var(--gold-300); }
.prompt-display pre .string { color: #7DD3FC; }
.prompt-display pre .comment { color: var(--text-muted); font-style: italic; }

/* ─── Actions Row ─── */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.actions .btn {
  flex: 1;
  min-width: 140px;
  font-size: 14px;
  padding: 12px 20px;
}

/* ─── Quality List ─── */
.quality-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quality-list li {
  color: var(--gold-300);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--gold-500);
}

/* ─── Examples ─── */
.examples-section {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.examples-toggle {
  background: none;
  border: none;
  color: var(--gold-300);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: color 200ms ease;
}

.examples-toggle:hover { color: var(--gold-200); }

.examples-content { display: none; margin-top: 16px; }
.examples-content.active { display: block; animation: stepEnter 300ms ease; }

.example-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1.5px solid var(--border);
}

.example-tab {
  padding: 10px 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  transition: all 200ms ease;
  font-weight: 500;
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
}

.example-tab:hover {
  color: var(--text-gold);
  background: rgba(212, 175, 55, 0.05);
}

.example-tab.active {
  color: var(--gold-300);
  border-bottom-color: var(--gold-500);
  font-weight: 600;
  background: rgba(212, 175, 55, 0.08);
}

.example-panel { display: none; }
.example-panel.active { display: block; }

.example-panel pre {
  background: var(--navy-700);
  color: var(--text-primary);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--border);
  line-height: 1.6;
}

/* ─── Dictation UI ─── */
.dictation-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  min-height: 44px;
  flex-wrap: wrap;
}

.btn-dictate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-300);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 300ms ease;
  font-family: inherit;
  min-height: 48px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.btn-dictate::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 500ms ease;
}

.btn-dictate:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.btn-dictate:hover::before { left: 100%; }

.btn-dictate.recording {
  background: linear-gradient(135deg, #D32F2F, #B71C1C);
  color: #fff;
  border-color: #D32F2F;
  animation: pulse-recording 2s ease infinite;
}

@keyframes pulse-recording {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
}

.btn-dictate:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.mic-icon { font-size: 18px; }

.recording-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #EF5350;
  font-weight: 600;
}

.recording-dot {
  width: 10px;
  height: 10px;
  background: #EF5350;
  border-radius: 50%;
  animation: pulse-dot 1.2s ease infinite;
}

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

#recording-timer {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

/* API Key prompt */
.api-key-prompt { margin-top: 16px; animation: stepEnter 300ms ease; }

.api-key-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 3px solid var(--gold-500);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.api-key-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.api-key-header h4 {
  margin: 0;
  font-size: 16px;
  color: var(--gold-300);
  font-weight: 600;
}

.key-icon { font-size: 22px; }

.api-key-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.api-key-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

#groq-api-key {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-family: inherit;
  min-height: 48px;
  background: var(--bg-card);
  color: var(--text-primary);
}

#groq-api-key:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-small {
  padding: 12px 20px;
  font-size: 14px;
  min-height: 48px;
  white-space: nowrap;
}

.api-key-hint { font-size: 13px; margin: 0 0 8px 0; }
.api-key-hint a {
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 500;
  transition: color 200ms ease;
}
.api-key-hint a:hover { color: var(--gold-200); text-decoration: underline; }

.api-key-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

.transcribing-hint {
  font-size: 13px;
  color: var(--gold-300);
  margin-top: 8px;
  animation: stepEnter 200ms ease;
}

.dictation-error {
  font-size: 13px;
  color: #EF5350;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(211, 47, 47, 0.08);
  border-radius: var(--radius-xs);
}

.dictation-success {
  font-size: 13px;
  color: var(--gold-300);
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-xs);
}

/* ─── Utility ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Responsive ─── */
@media (min-width: 640px) {
  body { padding: 32px; }
  .hero-heading { font-size: 38px; }
  .actions .btn { flex: none; }
  .btn-large { width: auto; display: inline-flex; }
}

@media (min-width: 1024px) {
  body { padding: 48px; }
  .hero-heading { font-size: 44px; }
  #app { max-width: 850px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Scrollbar Styling ─── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-800);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--gold-600), var(--gold-700));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--gold-500), var(--gold-600));
}

/* ─── Selection Styling ─── */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}
