/* Landing Page – Modern Sophisticated Design */
/* Inspired by Linear, Stripe, Vercel aesthetics */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --color-bg: #fafbfc;
  --color-bg-subtle: #f4f6f8;
  --color-surface: #ffffff;
  --color-text: #0a0a0f;
  --color-text-secondary: #5c6370;
  --color-text-muted: #8b919e;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-strong: rgba(0, 0, 0, 0.12);
  --color-primary: #4f46e5;
  --color-primary-dark: #4338ca;
  --color-primary-light: #6366f1;
  --color-accent: #06b6d4;
  --color-accent-2: #8b5cf6;
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  --gradient-hero: linear-gradient(160deg, #f0f4ff 0%, #e8edff 30%, #f5f0ff 60%, #fdf4ff 100%);
  --gradient-dark: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f172a 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 20px 48px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08), 0 30px 64px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 60px rgba(79, 70, 229, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════════════════════ */

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gradient-hero);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.landing-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

.brand-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.brand-logo {
  width: 170px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.site-nav .nav-link:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--color-border-strong);
  margin: 0 8px;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link--muted {
  color: var(--color-text-muted);
  font-size: 13px;
}

.nav-link--muted:hover {
  color: var(--color-text-secondary) !important;
}

.btn-link.primary-link {
  background: var(--color-text);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-link.primary-link:hover {
  background: #1a1a2e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
  letter-spacing: 0.03em;
}

.nav-avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 56px 0 60px;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-modern {
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
  border: none;
  padding: 56px 0 60px;
}

.hero-modern::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, rgba(139, 92, 246, 0.12) 30%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-modern::after {
  content: "";
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero-content {
  width: 100%;
  max-width: 960px;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  display: block;
  max-width: min(680px, 100%);
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero h1,
.hero .hero-headline {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.hero h1 .hero-title-data {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79, 70, 229, 0.25);
  background: rgba(79, 70, 229, 0.06);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  cursor: default;
  user-select: none;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-subtitle {
  margin: 24px auto 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* Hero Actions */
.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35), var(--shadow-sm);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4), var(--shadow-md);
}

.cta-button.outline {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.cta-button.outline:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SEARCH
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-search {
  margin: 56px auto 0;
  width: 100%;
  max-width: 680px;
}

.hero-search-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: all 0.3s ease;
}

.hero-search-bar:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(79, 70, 229, 0.12);
}

.hero-search-bar:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl), 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.hero-search-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

#landing-search {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-text);
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 0;
}

#landing-search::placeholder {
  color: var(--color-text-muted);
  font-weight: 400;
}

.hero-search-bar button,
.hero-search-bar .search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.hero-search-bar button:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.hero-search-bar button svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.hero-hint {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-hint::before {
  content: "↵";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROMPT CHIPS
   ═══════════════════════════════════════════════════════════════════════════ */

.prompt-chips {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.chip:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.chip::after {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AI MODE TOGGLE
   ═══════════════════════════════════════════════════════════════════════════ */

.ai-mode-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
}

.ai-mode-tab {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.ai-mode-tab:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none;
}

.ai-mode-tab:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.ai-mode-tab:hover:not(.is-active) {
  background: var(--color-bg-subtle);
  color: var(--color-text-secondary);
}

.ai-mode-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.ai-mode-tab.is-active + .ai-mode-tab {
  border-left-color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTO LOADING OVERLAY
   ═══════════════════════════════════════════════════════════════════════════ */

.auto-loading-overlay {
  margin-top: 32px;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: fadeInUp 0.35s ease-out;
}

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

.auto-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.auto-loading-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  animation: autoSpin 0.8s linear infinite;
}

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

.auto-loading-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.auto-loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  max-width: 340px;
}

.auto-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.auto-step::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border-strong);
  transition: all 0.3s ease;
}

.auto-step.is-active {
  color: var(--color-primary);
}

.auto-step.is-active::before {
  border-color: var(--color-primary);
  border-top-color: transparent;
  animation: autoSpin 0.8s linear infinite;
}

.auto-step.is-done {
  color: #10b981;
}

.auto-step.is-done::before {
  border-color: #10b981;
  background: #10b981;
  animation: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO STATS
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-stats {
  margin: 72px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 64px;
}

.hero-stat {
  text-align: center;
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

.hero-stat-value {
  display: block;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.hero-plot {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESULTS
   ═══════════════════════════════════════════════════════════════════════════ */

.results {
  display: none;
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.results.is-visible {
  display: block;
}

.results-header {
  font-weight: 600;
  color: var(--color-text);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-header::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.results-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.result-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.result-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}

.result-name {
  font-weight: 600;
  color: var(--color-text);
}

.result-id {
  font-size: 12px;
  color: var(--color-text-muted);
  font-family: 'SF Mono', 'Consolas', monospace;
}

.result-meta,
.result-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.result-score {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-muted);
}

.score-text {
  font-weight: 600;
  color: var(--color-primary);
}

.score-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(79, 70, 229, 0.15);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-primary);
}

.result-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

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

.column-chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 500;
}

.result-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  transition: all 0.2s ease;
}

.result-link:hover {
  color: var(--color-primary-dark);
}

.result-ai-button {
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(79, 70, 229, 0.25);
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 600;
  width: 100%;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.result-ai-button:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 50%, #0891b2 100%);
  color: #ffffff;
  border-color: rgba(67, 56, 202, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.result-ai-button:disabled {
  background: var(--color-bg-subtle);
  border-color: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.results-message {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.results-message.results-loading {
  color: var(--color-primary);
}

.results-message.results-error {
  color: #dc2626;
}

#ai-search-output { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO PRODUCT PREVIEW
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-preview {
  margin: 64px auto 0;
  max-width: 1100px;
  padding: 0 32px;
  text-align: center;
}

.hero-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.hero-preview-label::before,
.hero-preview-label::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-border-strong);
}

.hero-preview-frame {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-strong);
  box-shadow:
    var(--shadow-xl),
    0 40px 80px rgba(79, 70, 229, 0.1),
    0 0 0 1px rgba(79, 70, 229, 0.06);
  overflow: hidden;
  background: var(--color-surface);
  /* Subtle scale-up so it punches slightly beyond the content column */
  transform: scale(1.02);
  transform-origin: top center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-preview-frame:hover {
  transform: scale(1.03);
  box-shadow:
    var(--shadow-xl),
    0 48px 96px rgba(79, 70, 229, 0.14),
    0 0 0 1px rgba(79, 70, 229, 0.1);
}

.hero-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.trust-section {
  margin: 100px auto 0;
  padding: 48px 0;
  text-align: center;
}

.trust-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.trust-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 56px;
}

.trust-logos li {
  font-weight: 700;
  font-size: 17px;
  color: var(--color-text);
  opacity: 0.5;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.trust-logos li:hover {
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
  margin-top: 120px;
}

.section-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}

.section-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.section-intro p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WORKFLOW STEPS
   ═══════════════════════════════════════════════════════════════════════════ */

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.workflow-steps li {
  display: flex;
  gap: 28px;
  padding: 32px 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  align-items: flex-start;
}

.workflow-steps li:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.step-index {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

.step-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.step-body p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   INSIGHT CARD
   ═══════════════════════════════════════════════════════════════════════════ */

.insight-card {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.insight-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

.insight-card h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.insight-card > .insight-inner > div:first-child p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
  max-width: 400px;
}

.insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  flex: 1;
  min-width: 300px;
}

.insight-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

.insight-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.5);
  color: #ffffff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DATASETS GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.datasets {
  margin-top: 120px;
}

.datasets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}

.datasets-header h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 6px 0 0;
  color: var(--color-text-secondary);
  font-size: 16px;
}

.dataset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.dataset-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dataset-card::after {
  display: none;
}

.dataset-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.dataset-card.is-match {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.03) 100%);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1), var(--shadow-md);
}

.dataset-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}

.dataset-meta {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.dataset-desc {
  margin-top: 14px;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIAL
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonial-section {
  display: flex;
  justify-content: center;
}

.testimonial-card {
  max-width: 680px;
  padding: 48px 56px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 40px;
  font-size: 80px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 1.8;
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
  position: relative;
}

.testimonial-quote::before {
  display: none;
}

.testimonial-author {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 700;
  color: var(--color-text);
  font-size: 16px;
}

.author-role {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.cta-section {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 420px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-section .cta-button.primary {
  background: #ffffff;
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}

.cta-section .cta-button.primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-section .cta-button.outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-section .cta-button.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  margin: 120px 0 0;
  padding: 40px 40px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer-meta div:first-child {
  font-weight: 600;
  color: var(--color-text-secondary);
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 60px rgba(79, 70, 229, 0.15); }
  50% { box-shadow: 0 0 80px rgba(79, 70, 229, 0.25); }
}

.hero-search-bar {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1440px) {
  .landing-main {
    padding: 0 24px;
  }
  .hero {
    padding: 44px 0 48px;
  }
  .site-header {
    padding: 14px 28px;
  }
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-stats {
    gap: 40px;
  }

  .hero-preview {
    padding: 0 20px;
  }

  .hero-preview-frame {
    transform: scale(1);
  }

  .hero-preview-frame:hover {
    transform: scale(1.01);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 14px 20px;
  }

  .site-nav .nav-link {
    display: none;
  }

  .nav-divider {
    display: none;
  }

  .landing-main {
    padding: 0 20px;
  }

  .hero-modern {
    padding: 36px 0 36px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 32px;
  }

  .hero-stat::after {
    display: none;
  }

  .hero-stat-value {
    font-size: 36px;
  }

  .hero-preview {
    margin-top: 40px;
    padding: 0 16px;
  }

  .hero-preview-frame {
    border-radius: var(--radius-lg);
    transform: none;
  }

  .hero-preview-frame:hover {
    transform: none;
  }

  .section {
    margin-top: 80px;
  }

  .section-intro h2 {
    font-size: 28px;
  }

  .workflow-steps li {
    flex-direction: column;
    gap: 16px;
    padding: 28px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .cta-button {
    flex: 1;
    justify-content: center;
  }

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

  .testimonial-card {
    padding: 36px 28px;
  }

  .testimonial-card::before {
    font-size: 60px;
    left: 24px;
    top: 16px;
  }

  .insight-card,
  .cta-section {
    padding: 40px 28px;
  }

  .insight-inner {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .brand-tagline {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .prompt-chips {
    flex-direction: column;
  }

  .chip {
    width: 100%;
    justify-content: center;
  }
}

/* News cards */
.news-section {
  padding: 48px 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.news-card {
  background: var(--surface-card, #1e1e2e);
  border: 1px solid var(--border-subtle, #313244);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.news-card:hover {
  border-color: var(--accent-primary, #89b4fa);
}
.news-date {
  font-size: 12px;
  color: var(--text-muted, #a6adc8);
  margin-bottom: 6px;
}
.news-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #cdd6f4);
  margin: 0 0 8px;
}
.news-body {
  font-size: 14px;
  color: var(--text-secondary, #bac2de);
  line-height: 1.5;
  margin: 0;
}
.news-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent-primary, #89b4fa);
  text-decoration: none;
}
.news-link:hover {
  text-decoration: underline;
}
