@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Rubik:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #09080d; /* Deep warm black-violet */
  --panel-bg: rgba(22, 17, 30, 0.45); /* Sleek translucent panel with subtle warm violet tint */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-active: rgba(249, 115, 22, 0.6); /* Glowing orange/gold active border */
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --accent-purple: #c084fc;
  --accent-purple-hover: #a855f7;
  --accent-blue: #38bdf8;
  --accent-green: #10b981;
  --accent-orange: #f97316; /* Claude-like premium warm orange */
  --accent-orange-hover: #ea580c;
  --accent-gold: #f59e0b; /* Bright warm gold */
  --accent-red: #ef4444;
  
  --shadow-main: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
  --font-title: 'Rubik', 'Outfit', sans-serif;
  --font-body: 'Rubik', 'Inter', sans-serif;
  --font-main: 'Rubik', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 10% 20%, rgba(139, 92, 246, 0.18) 0px, transparent 65%),
    radial-gradient(at 80% 30%, rgba(249, 115, 22, 0.16) 0px, transparent 60%),
    radial-gradient(at 95% 85%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(139, 92, 246, 0.08) 0px, transparent 60%);
  color: var(--text-primary);
  font-family: var(--font-body);
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(9, 13, 22, 0.5);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-title);
  font-size: 1.25rem;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

.logo-text h1 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(to left, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  border: none;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-orange-hover), var(--accent-orange));
  box-shadow: 0 4px 22px rgba(249, 115, 22, 0.5);
  transform: translateY(-1px);
}

/* Setup Wizard Styles */
.setup-wizard {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 100vh;
  width: 100%;
  z-index: 200;
  background: var(--bg-dark);
}

.wizard-container {
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color-active);
  border-radius: 1.25rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 720px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.4s ease-out;
}

.wizard-brand-logo {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -0.5px;
}

.wizard-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wizard-header h2 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.wizard-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.wizard-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
  height: 120px;
  min-height: 80px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group textarea:focus {
  border-color: var(--accent-purple);
}

.api-setup-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.api-setup-box h3 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.api-setup-box p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.wizard-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Dashboard Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 1.5rem;
  padding: 1.5rem;
  flex: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  height: calc(100vh - 75px);
  overflow: hidden;
}

.sidebar, .main-stage, .feedback-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Sidebar Styling */
.sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-header h2 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.sidebar-content {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cv-preview-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem;
}

.cv-preview-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--accent-blue);
}

.cv-preview-card .subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  font-size: 0.7rem;
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.progress-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.progress-bar-wrapper {
  background: rgba(255, 255, 255, 0.05);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  background: linear-gradient(to left, var(--accent-orange), var(--accent-gold));
  width: 0%;
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.4rem;
  transition: all 0.2s ease;
}

.timeline-step:hover {
  background: rgba(255, 255, 255, 0.02);
}

.timeline-step.active {
  color: var(--text-primary);
  font-weight: 500;
  background: rgba(139, 92, 246, 0.08);
}

.timeline-step.completed {
  color: var(--accent-green);
}

.step-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: bold;
}

.timeline-step.active .step-indicator {
  border-color: var(--accent-purple);
  background: var(--accent-purple);
}

.timeline-step.completed .step-indicator {
  border-color: var(--accent-green);
  background: var(--accent-green);
  color: var(--bg-dark);
}

/* Sensitivity Checklist */
.sensitivity-box {
  background: rgba(245, 158, 11, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
}

.sensitivity-box h3 {
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sensitivity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.sensitivity-item:last-child {
  margin-bottom: 0;
}

.checkbox-circle {
  min-width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--text-muted);
  margin-top: 2px;
  transition: all 0.2s ease;
}

.sensitivity-item.checked {
  color: var(--text-primary);
}

.sensitivity-item.checked .checkbox-circle {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
}

/* Main Stage / Conversation */
.main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stage-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-badge {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.question-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.chat-area {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: slideIn 0.3s ease-out;
}

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

.message.interviewer {
  align-self: flex-start;
}

.message.candidate {
  align-self: flex-end;
}

.message-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  padding: 0 0.5rem;
}

.message.interviewer .message-label {
  align-self: flex-start;
}

.message.candidate .message-label {
  align-self: flex-end;
}

.message-content {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.message.interviewer .message-content {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-color);
  border-bottom-right-radius: 0.25rem;
  color: var(--text-primary);
}

.message.candidate .message-content {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  border-bottom-left-radius: 0.25rem;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
}

.speaker-btn {
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speaker-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: translateY(-50%) scale(1.05);
}

.speaker-btn.playing {
  background: var(--accent-purple);
  color: white;
  border-color: var(--accent-purple);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.input-area {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

textarea.answer-input {
  flex: 1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  resize: none;
  height: 80px;
  min-height: 80px;
  max-height: 180px;
  outline: none;
  transition: all 0.2s ease;
}

textarea.answer-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.voice-record-btn {
  width: 50px;
  height: 50px;
  border-radius: 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.25rem;
}

.voice-record-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: scale(1.05);
}

.voice-record-btn.recording {
  background: var(--accent-red);
  color: white;
  animation: voicePulse 1s infinite alternate;
}

@keyframes voicePulse {
  from { transform: scale(1); box-shadow: 0 0 0 rgba(239, 68, 68, 0.5); }
  to { transform: scale(1.08); box-shadow: 0 0 15px rgba(239, 68, 68, 0.7); }
}

.submit-btn {
  height: 50px;
  padding: 0 1.5rem;
  font-size: 0.95rem;
}

.input-tips {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.talking-points-hint {
  cursor: pointer;
  color: var(--accent-blue);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.talking-points-hint:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Question Justification (Why am I asking this?) */
.justification-card {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #93c5fd;
  line-height: 1.4;
  position: relative;
  align-self: flex-start;
  max-width: 100%;
}

.justification-card::before {
  content: "🔬 ניתוח מתודולוגי ואקדמי של השאלה:";
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}



/* File Drop Zone / Uploader Styling */
.file-drop-zone {
  border: 2px dashed var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.file-drop-zone:hover, .file-drop-zone.dragover {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.03);
}

.file-drop-zone svg {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.file-drop-zone:hover svg {
  color: var(--accent-purple);
}

.browse-link {
  color: var(--accent-blue);
  text-decoration: underline;
  font-weight: 500;
}

.file-info {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Feedback Panel styling */
.feedback-panel-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feedback-panel-header h2 {
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.feedback-content {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feedback-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

.placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.3;
}

/* Metrics and Gauges */
.score-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.score-gauge-container {
  position: relative;
  width: 140px;
  height: 140px;
}

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

.score-gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 12;
}

.score-gauge-fill {
  fill: none;
  stroke: url(#score-gradient);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 402;
  stroke-dashoffset: 402;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.score-value {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.score-total {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.score-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.feedback-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feedback-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem;
}

.feedback-card h3 {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feedback-card.strengths h3 { color: var(--accent-green); }
.feedback-card.weaknesses h3 { color: var(--accent-red); }
.feedback-card.rephrase h3 { color: var(--accent-blue); }

.feedback-card ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feedback-card li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  position: relative;
  padding-right: 0.85rem;
}

.feedback-card li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--text-muted);
}

.feedback-card.strengths li::before { color: var(--accent-green); }
.feedback-card.weaknesses li::before { color: var(--accent-red); }

.feedback-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: pre-line;
}

/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--border-color-active);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  direction: rtl;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--accent-purple);
}

.modal-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Final Summary Screen overlay */
.summary-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 50;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  align-items: center;
  animation: fadeIn 0.4s ease-out;
  direction: rtl;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.summary-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

.summary-header {
  text-align: center;
}

.summary-header h2 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to left, #ffffff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.summary-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-main);
}

.summary-card.wide {
  grid-column: span 2;
}

.summary-card h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.score-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.stat-box {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--accent-purple);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.point-list-container h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.point-list-container.pros h4 { color: var(--accent-green); }
.point-list-container.cons h4 { color: var(--accent-red); }

.point-list-container ul {
  list-style: none;
}

.point-list-container li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-right: 1rem;
  position: relative;
}

.point-list-container li::before {
  content: "•";
  position: absolute;
  right: 0;
  font-weight: bold;
}

.point-list-container.pros li::before { color: var(--accent-green); }
.point-list-container.cons li::before { color: var(--accent-red); }

.key-fix-box {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}

.key-fix-box h4 {
  color: var(--accent-purple);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.key-fix-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.transcripts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-left: 0.5rem;
}

.transcript-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem;
}

.transcript-q {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.transcript-a {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.transcript-f {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.5rem;
  border-radius: 0.25rem;
  white-space: pre-line;
}

.transcript-score {
  float: left;
  background: var(--accent-purple);
  color: white;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Responsive adjust */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 240px 1fr;
    height: auto;
    overflow: visible;
  }
  .feedback-panel {
    grid-column: span 2;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .sidebar, .feedback-panel {
    grid-column: span 1;
  }
}

/* --- Landing Page Styling --- */
.landing-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.landing-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(9, 13, 22, 0.5);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.badge {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

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

/* Glassmorphism Hero Preview */
.hero-preview-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-preview-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
}

.glass-card {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  border-top-color: rgba(139, 92, 246, 0.3);
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.preview-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #f59e0b; }
.preview-dot.green { background: #10b981; }

.preview-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-right: auto;
}

.preview-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.preview-score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--accent-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-title);
}

.score-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.preview-bullets {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-right: 3px solid transparent;
}
.bullet.pro { border-right-color: var(--accent-green); }
.bullet.con { border-right-color: var(--accent-red); }
.bullet.note { border-right-color: var(--accent-orange); }

/* Sections */
.section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(to left, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
  transform: translateX(-100%);
  transition: all 0.5s ease;
}

.process-card:hover::before {
  transform: translateX(100%);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color-active);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.step-num {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.2);
  line-height: 1;
}

.process-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.05);
  background: rgba(255, 255, 255, 0.03);
}

.benefit-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.03);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
}

.cta-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid var(--border-color-active);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  top: -250px;
  left: -250px;
  z-index: -1;
  filter: blur(30px);
}

.cta-card h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  line-height: 1.5;
}

.landing-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 4rem 0;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Pricing Section Styles --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--border-color-active);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.15);
}

.popular-badge {
  position: absolute;
  top: -15px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--text-primary);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.5rem 0;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--text-primary);
  line-height: 1;
}

.price .period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.4;
  height: 40px;
}

.plan-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  height: 46px;
  font-weight: 600;
  margin-top: auto;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 12, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color-active);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-main);
  overflow: hidden;
  animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-title);
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

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

.modal-body {
  padding: 1.5rem;
}

/* User Pill / Badge */
.user-profile-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  padding: 0.35rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.user-profile-pill .plan-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-weight: 700;
}
.user-profile-pill .plan-badge.free {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
}
.user-profile-pill .plan-badge.premium {
  background: rgba(13, 185, 129, 0.15);
  color: var(--accent-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.logout-link {
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}
.logout-link:hover {
  color: var(--accent-red);
}


.profile-click-link {
  cursor: pointer;
  text-decoration: underline dotted;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s;
}
.profile-click-link:hover {
  color: var(--accent-orange);
}

.btn-upgrade-pill {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  border: none;
  color: var(--text-primary) !important;
  padding: 0.15rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
  transition: all 0.2s ease;
  margin-right: 0.25rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-main);
  height: 22px;
  line-height: 1;
}
.btn-upgrade-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.7);
}

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

/* --- Usage Stats Card in Wizard --- */
.usage-stats-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stats-counter {
  font-family: var(--font-title);
  color: var(--accent-purple);
  font-weight: 700;
}

.stats-bar-bg {
  background: rgba(255, 255, 255, 0.05);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}

.stats-bar-fill {
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.stats-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Phone Mockup for YouTube Shorts --- */
.phone-mockup {
  width: 320px;
  height: 568px; /* 9:16 aspect ratio roughly */
  border: 12px solid #1a1a2e;
  border-radius: 2.25rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.25);
  background: #000;
  position: relative;
  cursor: pointer;
}

.phone-mockup iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('video_poster.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.play-button-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phone-mockup:hover .play-button-circle {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.6);
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid white;
  margin-right: -4px; /* offset slightly to visually center */
}

/* --- Horizontal 7-Step Grid Layout with Square Process Cards --- */
.steps-grid-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
  direction: rtl;
}

.steps-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.steps-row .process-card {
  width: 22%; /* 4 cards + 3 arrows roughly */
  box-sizing: border-box;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.step-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-purple);
  width: 4%;
  opacity: 0.7;
  animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(-5px); opacity: 1; }
}

.row-spacer {
  width: 22%; /* matches the width of a card to align Row 2 nicely */
}

@media (max-width: 1024px) {
  .steps-row {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }
  .steps-row .process-card {
    width: 45%;
    min-height: auto;
  }
  .step-flow-arrow {
    display: none;
  }
  .row-spacer {
    display: none;
  }
}

@media (max-width: 600px) {
  .steps-grid-container {
    gap: 1.5rem;
  }
  .steps-row .process-card {
    width: 100%;
  }
}

/* Dreamshot Studio Split Portal Layout */
.studio-landing-hero {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  direction: rtl;
}

.studio-hero-header {
  text-align: center;
  margin-bottom: 1rem;
}

.studio-hero-title {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.studio-hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.studio-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.studio-column {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: var(--shadow-main);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  overflow: hidden;
  text-align: right;
}

.studio-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  opacity: 0.8;
}

.studio-column.video-column::before {
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
}

.studio-column:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.column-header {
  text-align: center;
}

.column-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.column-header h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.column-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1rem;
  border-radius: 1rem;
  transition: all 0.2s;
  direction: rtl;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.service-icon {
  font-size: 1.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.service-details {
  text-align: right;
}

.service-details h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.service-details p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s;
  direction: rtl;
  text-align: right;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-tag {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
}

.product-card-header h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-more-details summary {
  outline: none;
}

@media (max-width: 800px) {
  .studio-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .studio-landing-hero {
    padding: 2rem 1rem;
  }
}
