:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --secondary: #475569;
  --secondary-hover: #334155;
  --secondary-light: #f8fafc;
  
  --success: #16a34a;
  --success-hover: #15803d;
  --success-light: #f0fdf4;
  
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-light: #fef2f2;
  
  --warning: #d97706;
  --warning-light: #fffbeb;
  
  --accent: #7c3aed;
  --accent-light: #f5f3ff;
  
  --bg: #f8fafc;
  --card-bg: #ffffff;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.app-header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-border);
}

.app-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.app-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.header-auth-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-buttons, .user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-outline {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-header-outline:hover {
  background: var(--secondary-light);
  color: var(--text-main);
}

.btn-header-primary {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-header-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-header-tab {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--secondary-light);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-header-tab.active, .btn-header-tab:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary-light);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.btn-logout {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background: var(--danger-light);
  color: var(--danger);
  border-color: #fecaca;
}

.app-main {
  flex: 1;
  padding: 36px 20px 60px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 36px;
  margin-bottom: 24px;
  transition: all 0.2s ease;
}

/* Dashboard */
.dashboard-header-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.dash-welcome h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.dash-welcome p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  font-size: 2rem;
  background: var(--primary-light);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.section-subheading {
  margin-bottom: 18px;
}

.section-subheading h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.project-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.project-card-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

.badge-segment {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.project-card-summary {
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.btn-open-project {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-open-project:hover {
  background: var(--primary);
  color: #fff;
}

.btn-delete-project {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-delete-project:hover {
  background: var(--danger-light);
  border-color: #fecaca;
  color: var(--danger);
}

.empty-state-card {
  background: var(--card-bg);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  margin-top: 10px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-state-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-state-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 480px;
  margin: 0 auto;
}

/* Stepper & Wizard */
.stepper-wrapper {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-counter {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.steps-nav {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.step-bullet {
  background: var(--secondary-light);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-bullet.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 3px var(--primary-border);
}

.step-bullet.completed {
  background: var(--success-light);
  border-color: var(--success);
  color: var(--success);
}

.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-intro {
  margin-bottom: 28px;
}

.step-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row-2 {
    flex-direction: row;
  }
  .form-group.half-width {
    flex: 1;
  }
}

label {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
}

.required {
  color: var(--danger);
  margin-left: 2px;
}

.optional {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: normal;
}

.tip-box {
  background-color: var(--secondary-light);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.45;
}

.input-text, .input-textarea, .input-select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-main);
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.2s ease;
}

.input-text:focus, .input-textarea:focus, .input-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-border);
}

.input-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px var(--danger-light) !important;
}

.input-textarea {
  resize: vertical;
  min-height: 80px;
}

.selection-grid-3, .selection-grid-2 {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

@media (min-width: 640px) {
  .selection-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .selection-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.radio-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.card-inner {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  background-color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s ease;
}

.radio-card:hover .card-inner {
  border-color: var(--primary-border);
  background-color: var(--primary-light);
}

.radio-card input[type="radio"]:checked + .card-inner {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary-border);
}

.card-icon {
  font-size: 1.5rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.tag-checkbox {
  position: relative;
  cursor: pointer;
  display: block;
}

.tag-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tag-label {
  display: block;
  padding: 10px 14px;
  background-color: var(--secondary-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.tag-checkbox:hover .tag-label {
  border-color: var(--primary-border);
  background-color: var(--primary-light);
}

.tag-checkbox input[type="checkbox"]:checked + .tag-label {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  gap: 16px;
}

.btn {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #fff;
  border: 1px solid var(--border-color);
  color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  color: var(--text-main);
}

.btn-success {
  background-color: var(--success);
  color: #fff;
}

.btn-success:hover {
  background-color: var(--success-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.btn-danger {
  background-color: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background-color: var(--danger-hover);
}

.loading-card {
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.loading-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Resultados */
.results-actions-bar {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.actions-left h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.actions-left p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.actions-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-action {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background-color: var(--secondary-light);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-action:hover {
  background-color: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-action.btn-highlight {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-action.btn-highlight:hover {
  background-color: var(--primary-hover);
  color: #fff;
}

.btn-action.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--secondary);
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-block {
  background-color: var(--secondary-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
}

.block-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.audience-block h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.audience-block p {
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.55;
}

.personas-header-divider {
  margin: 40px 0 24px;
  text-align: left;
}

.personas-header-divider h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.personas-header-divider p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

@media (min-width: 900px) {
  .personas-grid {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  }
}

.persona-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.persona-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.persona-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.persona-avatar {
  font-size: 2.2rem;
  background: var(--primary-light);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.persona-meta h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.persona-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2px;
}

.persona-quote {
  background-color: var(--secondary-light);
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-main);
}

.persona-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
}

.detail-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--secondary);
  margin-bottom: 2px;
}

.detail-item p {
  color: var(--text-main);
  line-height: 1.45;
}

.social-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.social-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.persona-sales-tip {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: auto;
}

.persona-sales-tip strong {
  display: block;
  color: var(--success-hover);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.persona-sales-tip p {
  font-size: 0.8125rem;
  color: #14532d;
  line-height: 1.45;
}

.sales-tips-card {
  border-left: 4px solid var(--success);
}

.sales-tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.sales-tips-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.5;
}

.sales-tips-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}

/* Modais */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease forwards;
}

.modal-dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-dialog-sm {
  max-width: 400px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-close-modal {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.btn-close-modal:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-footer {
  padding: 16px 24px;
  background: var(--secondary-light);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.auth-helper-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.auth-helper-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-helper-text a:hover {
  text-decoration: underline;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #1e293b;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1500;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.app-footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  margin-top: auto;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Print */
@media print {
  body {
    background-color: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }

  .no-print, .app-header, .wizard-footer, .results-actions-bar, .app-footer, .stepper-wrapper, .modal-backdrop {
    display: none !important;
  }

  .app-main {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .card, .persona-card, .audience-block {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    margin-bottom: 20px !important;
    padding: 16px !important;
  }

  .personas-grid {
    display: block !important;
  }

  .persona-card {
    margin-bottom: 24px !important;
    page-break-inside: avoid;
  }

  .results-wrapper {
    display: block !important;
  }
}