/* === Reset & Variables === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --green-50: #ecfdf5;
  --green-100: #d1fae5;
  --green-500: #10b981;
  --green-700: #047857;

  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-500: #ef4444;
  --red-700: #b91c1c;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-700: #b45309;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-purple: 0 4px 14px rgba(124, 58, 237, 0.25);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
}

/* === Navbar === */
.navbar {
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--gray-900);
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--purple-600);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1.5rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--gray-800);
  background: var(--gray-100);
}

.nav-link.active {
  color: var(--purple-700);
  background: var(--purple-50);
  font-weight: 600;
}

.nav-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--purple-100);
  color: var(--purple-700);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: auto;
}

/* === Hero === */
.hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

.hero-accent {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* === Main Content === */
.main-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.main-content-wide {
  max-width: 800px;
}

/* === Cards === */
.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-50);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}

/* === Drop Zone === */
.drop-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: default;
  transition: border-color 0.2s, background 0.2s;
  background: var(--gray-50);
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--purple-400);
  background: var(--purple-50);
}

.drop-zone-icon {
  margin-bottom: 0.75rem;
}

.drop-zone-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.drop-zone-hint {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

/* === Upload Progress Bar === */
.upload-progress {
  margin-top: 1rem;
}

.upload-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.upload-progress-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-700);
}

.upload-progress-percent {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-600);
}

.upload-progress-track {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-600));
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* === File Info === */
.file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.file-info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-info-icon {
  width: 36px;
  height: 36px;
  background: var(--purple-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  flex-shrink: 0;
}

.file-info-details {
  display: flex;
  flex-direction: column;
}

.file-info-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-800);
}

.file-info-size {
  font-size: 0.75rem;
  color: var(--purple-500);
  margin-top: 0.1rem;
}

.btn-remove {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gray-400);
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.15s;
}

.btn-remove:hover {
  color: var(--red-700);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-browse {
  padding: 0.55rem 1.25rem;
  background: var(--purple-600);
  color: white;
}

.btn-browse:hover {
  background: var(--purple-700);
  box-shadow: var(--shadow-purple);
}

.btn-primary {
  display: flex;
  width: 100%;
  padding: 0.85rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  background: var(--purple-600);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--purple-700);
  box-shadow: var(--shadow-purple);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-outline {
  background: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

.btn-outline:hover {
  border-color: var(--purple-400);
  color: var(--purple-700);
  background: var(--purple-50);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
}

.btn-icon-left {
  font-size: 1.1rem;
}

/* === Spinner === */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.spinner-lg {
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--purple-600);
}

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

/* === Progress Steps === */
.card-progress h2 {
  margin-bottom: 0.25rem;
}

.card-progress .card-desc {
  margin-bottom: 1.75rem;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
}

.step-indicator {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: white;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: all 0.25s;
}

.step-check-svg {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: color 0.2s;
}

.step-sublabel {
  font-size: 0.775rem;
  color: var(--gray-400);
  margin-top: 0.1rem;
}

.step-connector {
  width: 2px;
  height: 16px;
  background: var(--gray-200);
  margin-left: 18px;
  transition: background 0.3s;
}

/* Active step */
.step.active .step-indicator {
  border-color: var(--purple-500);
  background: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
  animation: step-pulse 1.8s ease-in-out infinite;
}

.step.active .step-number {
  color: white;
}

.step.active .step-label {
  color: var(--gray-900);
}

/* Done step — checkmark animation */
.step.done .step-indicator {
  border-color: var(--green-500);
  background: var(--green-500);
  animation: step-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step.done .step-number {
  opacity: 0;
  transform: scale(0);
}

.step.done .step-check-svg {
  opacity: 1;
  transform: scale(1);
}

.step.done .step-label {
  color: var(--gray-900);
}

.step.done + .step-connector {
  background: var(--green-500);
}

@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.08); }
}

@keyframes step-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* === Report === */
.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.report-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--purple-100);
  color: var(--purple-700);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

/* Report cards grid */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.report-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.report-card-full {
  grid-column: 1 / -1;
}

.report-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.report-card-label-icon {
  font-size: 0.9rem;
}

/* === Sentiment Meter === */
.sentiment-meter {
  padding: 0.25rem 0;
}

.sentiment-meter-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.sentiment-text-lg {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sentiment-score {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
}

.sentiment-bar-track {
  width: 100%;
  height: 10px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
}

.sentiment-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.sentiment-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* === Numbered List Cards === */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.numbered-item-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.numbered-item-num-red {
  background: var(--red-100);
  color: var(--red-700);
}

.numbered-item-num-purple {
  background: var(--purple-100);
  color: var(--purple-700);
}

.numbered-item-text {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.5;
}

/* === Quote Cards === */
.quote-card {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 2.75rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--purple-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 0.625rem;
}

.quote-card:last-child {
  margin-bottom: 0;
}

.quote-mark {
  position: absolute;
  top: 0.35rem;
  left: 0.65rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--purple-200);
  line-height: 1;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Summary */
.summary-text {
  font-size: 0.925rem;
  color: var(--gray-700);
  line-height: 1.75;
}

/* Error */
.report-error {
  padding: 1rem;
  background: var(--red-50);
  border: 1px solid var(--red-100);
  border-radius: var(--radius-sm);
  color: var(--red-700);
  font-size: 0.9rem;
}

/* === Fade-in-up Animation === */
.fade-in-up {
  animation: fadeInUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

/* === History Page === */
.history-header {
  margin-bottom: 1.5rem;
}

.history-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.history-sub {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.history-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-500);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.history-loading[hidden] {
  display: none;
}

.history-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.history-empty h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.history-empty p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

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

.history-card {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}

.history-card:hover {
  border-color: var(--purple-300, var(--purple-200));
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.history-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
}

.history-card-file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  min-width: 0;
}

.history-card-filename {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sentiment-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sentiment-badge-positive { background: var(--green-100); color: var(--green-700); }
.sentiment-badge-negative { background: var(--red-100); color: var(--red-700); }
.sentiment-badge-mixed { background: var(--amber-100); color: var(--amber-700); }
.sentiment-badge-neutral { background: var(--gray-200); color: var(--gray-700); }

.history-card-summary {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.history-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* === Report Modal === */
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.report-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.report-modal-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  margin-top: 2rem;
  animation: fadeInUp 0.3s ease;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.footer strong {
  font-weight: 600;
  color: var(--gray-500);
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .main-content {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    margin-left: 0.75rem;
    gap: 0.125rem;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }

  .report-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-card-meta {
    flex-direction: column;
    gap: 0.2rem;
  }
}

/* ========================================
   LANDING PAGE
   ======================================== */

/* Nav CTA button */
.btn-cta-nav {
  margin-left: auto;
  padding: 0.5rem 1.15rem;
  background: var(--purple-600);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-cta-nav:hover {
  background: var(--purple-700);
  box-shadow: var(--shadow-purple);
}

/* Landing Hero */
.landing-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
}

.landing-hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--gray-900);
}

.landing-hero-sub {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.landing-hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  padding: 0.85rem 2rem;
  background: var(--purple-600);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: var(--purple-700);
  box-shadow: var(--shadow-purple);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  padding: 0.85rem 2rem;
  background: white;
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  border-color: var(--purple-400);
  color: var(--purple-700);
  background: var(--purple-50);
}

/* Landing Sections */
.landing-section {
  padding: 4.5rem 1.5rem;
}

.landing-section-alt {
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.landing-section-cta {
  background: var(--purple-900);
  border: none;
}

.landing-section-cta .landing-section-title {
  color: white;
}

.landing-section-cta .landing-section-sub {
  color: rgba(255, 255, 255, 0.65);
}

.landing-section-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.landing-section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}

.landing-section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

/* Steps Row */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.step-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow);
}

.step-card-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Benefits Row */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.benefit-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Persona Row */
.persona-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.persona-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.persona-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.persona-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}

.persona-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Waitlist Form */
.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-input-row {
  display: flex;
  gap: 0.5rem;
}

.waitlist-input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

.waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.waitlist-input:focus {
  border-color: var(--purple-400);
  background: rgba(255, 255, 255, 0.12);
}

.btn-waitlist {
  padding: 0.85rem 1.5rem;
  background: white;
  color: var(--purple-800);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.btn-waitlist:hover {
  background: var(--purple-50);
  box-shadow: var(--shadow-lg);
}

.btn-waitlist:disabled {
  opacity: 0.6;
}

.btn-waitlist .spinner {
  border-color: rgba(91, 33, 182, 0.3);
  border-top-color: var(--purple-800);
}

.waitlist-msg {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.waitlist-msg-success {
  color: var(--green-500);
}

.waitlist-msg-error {
  color: #fca5a5;
}

/* Landing responsive */
@media (max-width: 768px) {
  .landing-hero-title {
    font-size: 2.25rem;
  }

  .landing-hero-sub {
    font-size: 1rem;
  }

  .steps-row,
  .benefits-row,
  .persona-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .landing-section {
    padding: 3rem 1rem;
  }

  .waitlist-input-row {
    flex-direction: column;
  }
}

