/* Design System & Base Styling */
:root {
  --bg-app: #070a13;
  --bg-sidebar: #0b0f19;
  --bg-card: rgba(17, 24, 39, 0.55);
  --bg-card-hover: rgba(26, 36, 57, 0.7);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(84, 101, 248, 0.15);
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --color-primary: #5465F8;
  --color-secondary: #A591EB;
  --color-accent: #ECC6A1;
  --color-rose: #E0B7D1;
  
  --grad-brand: linear-gradient(112deg, var(--color-primary) 0%, var(--color-secondary) 45%, var(--color-rose) 75%, var(--color-accent) 100%);
  --grad-blue: linear-gradient(135deg, #3b82f6, #1d4ed8);
  --grad-purple: linear-gradient(135deg, #a855f7, #6b21a8);
  --grad-rose: linear-gradient(135deg, #ec4899, #be185d);
  --grad-orange: linear-gradient(135deg, #f97316, #c2410c);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Utilities */
.text-white { color: #ffffff; }
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hidden { display: none !important; }

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-app);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Layout container */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(84, 101, 248, 0.1);
  border: 1px solid rgba(84, 101, 248, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(84, 101, 248, 0.2);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-title);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name span:last-child {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Main Layout Grid */
.app-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  flex: 1;
  padding: 30px 0;
}

/* Sidebar Navigation */
.app-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
}

.sidebar-info {
  margin-bottom: 24px;
}

.sidebar-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.sidebar-title {
  font-size: 18px;
  color: var(--text-primary);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  font-family: var(--font-body);
}

.nav-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: var(--transition);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.nav-btn.active {
  background: rgba(84, 101, 248, 0.1);
  color: #a5b4fc;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding-left: 13px;
}

.nav-btn.active .nav-icon {
  color: var(--color-primary);
  opacity: 1;
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.footer-msg {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-msg strong {
  color: var(--color-secondary);
}

/* Content Area */
.app-content {
  min-width: 0; /* Prevents flex items from overflowing */
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

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

.pane-header {
  margin-bottom: 24px;
}

.pane-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pane-description {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 800px;
}

/* Cards UI */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(84, 101, 248, 0.2);
  box-shadow: 0 15px 35px -10px rgba(84, 101, 248, 0.1);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Form Styling */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group.full-width {
  grid-column: span 2;
}

label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

input[type="text"], input[type="email"], select, textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

input[type="text"]:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(84, 101, 248, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-title);
  width: fit-content;
}

.btn-primary {
  background: var(--grad-brand);
  color: #070a13;
  box-shadow: 0 5px 15px rgba(84, 101, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(84, 101, 248, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-tertiary {
  background: transparent;
  color: var(--color-secondary);
  padding: 8px 0;
  border-radius: 0;
}

.btn-tertiary:hover {
  color: var(--text-primary);
}

/* Loader Animation */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.spinner-container {
  margin-bottom: 24px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(84, 101, 248, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

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

.loading-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: 100%;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.loading-step.active {
  color: var(--text-primary);
  font-weight: 600;
}

.loading-step.active .step-bullet {
  background-color: var(--color-secondary);
  box-shadow: 0 0 10px var(--color-secondary);
}

.loading-step.completed {
  color: #10b981;
}

.loading-step.completed .step-bullet {
  background-color: #10b981;
}

.step-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

/* Dashboard Analytics Layout */
.results-summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.metric-card {
  padding: 24px;
}

.metric-card.highlight {
  border-color: rgba(84, 101, 248, 0.3);
  background: linear-gradient(135deg, rgba(84, 101, 248, 0.1) 0%, rgba(165, 145, 235, 0.05) 100%);
}

.metric-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.metric-value {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 4px;
  font-family: var(--font-title);
}

.metric-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Chart Component */
.bar-chart-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chart-bar-group {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 15px;
}

.bar-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.bar-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.grad-blue { background: var(--grad-blue); }
.grad-purple { background: var(--grad-purple); }
.grad-rose { background: var(--grad-rose); }
.grad-orange { background: var(--grad-orange); }

.bar-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

/* Transcript preview UI */
.transcript-box {
  background: #05070c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transcript-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  width: fit-content;
}

.badge-prompt {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.badge-response {
  background: rgba(165, 145, 235, 0.15);
  color: var(--color-secondary);
  border: 1px solid rgba(165, 145, 235, 0.3);
}

.prompt p {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  font-style: italic;
}

.response-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.highlight-inline {
  color: var(--color-accent);
  font-weight: 600;
}

.brand-mention {
  border-radius: 4px;
  padding: 2px 6px;
  transition: var(--transition);
}

.brand-mention.highlighted {
  background: rgba(84, 101, 248, 0.12);
  border: 1px dashed rgba(84, 101, 248, 0.4);
  color: #c7d2fe;
}

/* Recommendations Action Cards */
.actions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.rec-item:hover {
  background: rgba(84, 101, 248, 0.02);
  border-color: rgba(84, 101, 248, 0.2);
}

.rec-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(165, 145, 235, 0.1);
  color: var(--color-secondary);
  flex-shrink: 0;
}

.rec-icon-box.warning {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.rec-content h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.rec-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.rec-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
}

/* Reddit List styling */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reddit-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.reddit-post-card:hover {
  border-color: rgba(255, 87, 34, 0.3); /* Reddit orange glow */
  background: rgba(255, 87, 34, 0.02);
}

.post-main {
  flex: 1;
}

.post-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  align-items: center;
}

.sub-tag {
  background: rgba(255, 87, 34, 0.1);
  color: #ff5722;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 6px;
}

.post-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.post-snippet {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.post-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.intent-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 20px;
}

.intent-high {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.intent-med {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.draft-panel {
  border-color: var(--color-primary);
  animation: slideUp 0.3s ease;
}

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

.draft-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-draft-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.close-draft-btn:hover {
  color: var(--text-primary);
}

.post-preview-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--color-secondary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 20px;
}

.post-preview-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.post-preview-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.draft-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 15px;
}

.copy-success {
  font-size: 13px;
  color: #10b981;
  font-weight: 600;
}

/* Quiz UI Components */
.quiz-card {
  position: relative;
  overflow: hidden;
}

.quiz-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.quiz-progress-fill {
  height: 100%;
  background: var(--grad-brand);
  transition: width 0.3s ease;
}

.question-number {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
  display: block;
}

.question-text {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  cursor: pointer;
}

.quiz-option input[type="radio"] {
  display: none;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.quiz-option:hover .option-card {
  border-color: rgba(84, 101, 248, 0.3);
  background: rgba(84, 101, 248, 0.02);
}

.option-check {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: block;
  position: relative;
  transition: var(--transition);
}

.quiz-option input[type="radio"]:checked + .option-card {
  border-color: var(--color-primary);
  background: rgba(84, 101, 248, 0.08);
}

.quiz-option input[type="radio"]:checked + .option-card .option-check {
  border-color: var(--color-primary);
}

.quiz-option input[type="radio"]:checked + .option-card .option-check::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.option-text {
  font-size: 15px;
  font-weight: 500;
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* Quiz Results Screen */
.quiz-results-card {
  animation: fadeIn 0.5s ease;
}

.results-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.score-circle-container {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 8;
}

.score-fill {
  fill: none;
  stroke: url(#score-grad);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out;
}

.score-text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
}

.score-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
}

.score-details {
  flex: 1;
}

.score-details h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.score-details p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.report-actions {
  display: flex;
  gap: 12px;
}

.action-plan-checklist {
  margin-top: 20px;
}

.blueprint-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Calculator Grid */
.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label-row label {
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  color: var(--text-primary);
}

.slider-val-display {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-secondary);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(84, 101, 248, 0.5);
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(84, 101, 248, 0.8);
}

/* Calculator Outputs panel */
.calc-outputs.highlight-border {
  border-color: rgba(84, 101, 248, 0.25);
  background: radial-gradient(circle at top right, rgba(84, 101, 248, 0.08), transparent), var(--bg-card);
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.output-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.output-block.full-width-block {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(84, 101, 248, 0.05) 0%, rgba(236, 198, 161, 0.05) 100%);
  border-color: rgba(84, 101, 248, 0.15);
}

.output-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.output-val {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-title);
}

.output-big-val {
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-title);
  color: #ffffff;
}

.roi-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.note-bullet {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.note-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.note-bullet strong {
  color: var(--text-primary);
}

/* Linear gradients in SVG definitions for score chart */
svg {
  overflow: visible;
}

/* Responsive details */
@media (max-width: 1024px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    padding: 16px;
  }
  .sidebar-nav {
    flex-direction: row;
    margin-bottom: 0;
  }
  .sidebar-info, .sidebar-footer {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .calculator-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .results-summary-row {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .input-group.full-width {
    grid-column: span 1;
  }
  .report-actions {
    flex-direction: column;
  }
  .reddit-post-card {
    flex-direction: column;
  }
  .post-side {
    align-items: flex-start;
  }
}
