/* PickRight CSS - Dark decisive product comparison aesthetic */
:root {
  --bg-primary: #0b0b0f;
  --bg-secondary: #141419;
  --bg-card: #1a1a22;
  --bg-card-hover: #1f1f28;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.15);
  --text-primary: #f0eee8;
  --text-secondary: #8a8a8f;
  --text-muted: #5a5a62;
  --border: #2a2a35;
  --success: #22c55e;
  --error: #ef4444;
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; margin-left: 32px; }
.nav-link {
  padding: 6px 14px; border-radius: var(--radius);
  font-size: 0.9rem; color: var(--text-secondary);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none; border: none; cursor: pointer;
  padding: 6px 14px; border-radius: var(--radius);
  font-size: 0.9rem; color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 8px;
  min-width: 160px; box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: block; padding: 8px 12px;
  font-size: 0.875rem; border-radius: 6px;
  color: var(--text-secondary); transition: all 0.15s;
}
.nav-dropdown-item:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.user-greeting { font-size: 0.875rem; color: var(--text-secondary); padding: 0 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 24px; margin-top: 80px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0b0b0f; }
.btn-primary:hover { background: #fbbf24; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text-primary); border-color: var(--text-muted); background: var(--bg-card); }
.btn-large { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* Hero */
.hero-section { padding: 80px 24px 64px; text-align: center; position: relative; }
.hero-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 166, 35, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 16px;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); max-width: 800px; margin: 0 auto 20px; letter-spacing: -0.03em; }
.hero-title span { color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.stat-item { text-align: center; }
.stat-value { font-family: 'Syne', sans-serif; font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.section-title { font-size: 1.75rem; letter-spacing: -0.02em; }
.section-link { font-size: 0.875rem; color: var(--accent); display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.section-link:hover { gap: 10px; }

/* Search */
.search-bar { position: relative; max-width: 600px; margin: 0 auto; }
.search-bar input {
  width: 100%; padding: 16px 20px 16px 52px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1.05rem; color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

/* Comparison cards */
.comparisons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.comparison-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all 0.25s; cursor: pointer; display: block;
}
.comparison-card:hover { border-color: var(--text-muted); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.comparison-tools { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.tool-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.tool-logo {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: var(--accent);
  overflow: hidden;
}
.tool-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.tool-name { font-size: 0.8rem; font-weight: 600; text-align: center; max-width: 80px; line-height: 1.3; }
.vs-divider { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text-muted); }
.winner-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: var(--accent-dim); color: var(--accent); margin-top: 12px;
}
.verdict-preview {
  font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-top: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.comparison-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.view-count { font-size: 0.8rem; color: var(--text-muted); }
.view-comparison { font-size: 0.8rem; color: var(--accent); font-weight: 500; }

/* Tools grid */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tool-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; display: block;
  transition: all 0.25s; cursor: pointer;
}
.tool-card:hover { border-color: var(--text-muted); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.tool-card-logo {
  width: 48px; height: 48px; border-radius: 10px; background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; overflow: hidden;
}
.tool-card-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.tool-card-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.tool-card-category { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.tool-card-price { font-size: 0.875rem; color: var(--accent); font-weight: 600; }

/* Auth */
.auth-container { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 420px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.auth-title { font-size: 1.5rem; margin-bottom: 8px; text-align: center; }
.auth-sub { font-size: 0.9rem; color: var(--text-secondary); text-align: center; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-input::placeholder { color: var(--text-muted); }
.form-error {
  background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius); padding: 12px 16px;
  font-size: 0.875rem; color: var(--error); margin-bottom: 20px;
}
.auth-footer { text-align: center; font-size: 0.875rem; color: var(--text-secondary); margin-top: 24px; }
.auth-footer a { color: var(--accent); font-weight: 500; }

/* Comparison page */
.compare-header { background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 48px 24px; text-align: center; }
.compare-title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 16px; letter-spacing: -0.02em; }
.compare-scores { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 24px; }
.score-item { text-align: center; }
.score-value { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; }
.score-value.winner { color: var(--accent); }
.score-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.score-vs { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--text-muted); }
.compare-content { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.compare-verdict { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 40px; }
.compare-verdict h2 { font-size: 1.25rem; margin-bottom: 16px; color: var(--accent); }
.compare-verdict p { color: var(--text-secondary); line-height: 1.7; }
.compare-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; }
.compare-table-header {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-secondary); padding: 16px 24px;
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted); text-align: center;
}
.compare-table-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; align-items: center;
}
.compare-table-row:nth-child(even) { background: rgba(255,255,255,0.02); }
.compare-table-row:last-child { border-bottom: none; }
.feature-label { color: var(--text-muted); }
.feature-check { color: var(--success); }
.feature-x { color: var(--text-muted); }

/* Signup capture */
.signup-capture { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin: 32px 0; }
.signup-capture h3 { font-size: 1.25rem; margin-bottom: 8px; }
.signup-capture p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 24px; }
.capture-form { display: flex; gap: 12px; flex-wrap: wrap; }
.capture-form input {
  flex: 1; min-width: 200px;
  padding: 12px 16px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-size: 0.95rem; font-family: 'DM Sans', sans-serif;
}
.capture-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.capture-points { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 32px 0; }
.capture-point { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; align-items: flex-start; gap: 12px; }
.capture-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem;
}
.capture-point h4 { font-size: 0.9rem; margin-bottom: 4px; }
.capture-point p { font-size: 0.8rem; color: var(--text-muted); }

/* Error/404 */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; text-align: center; }
.error-code { font-family: 'Syne', sans-serif; font-size: 6rem; font-weight: 800; color: var(--accent); line-height: 1; }
.error-title { font-size: 1.5rem; margin-top: 16px; margin-bottom: 12px; }
.error-sub { color: var(--text-secondary); margin-bottom: 32px; }

/* Search results */
.search-page { padding: 48px 24px; max-width: 900px; margin: 0 auto; }
.search-page h1 { font-size: 1.5rem; margin-bottom: 32px; }
.search-results { display: flex; flex-direction: column; gap: 16px; }
.search-result {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 24px; display: flex; align-items: center; gap: 16px;
  transition: all 0.2s; cursor: pointer;
}
.search-result:hover { border-color: var(--text-muted); transform: translateX(4px); }
.search-result-type { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; min-width: 80px; }
.search-result-info { flex: 1; }
.search-result-name { font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: 2px; }
.search-result-meta { font-size: 0.8rem; color: var(--text-muted); }
.search-no-results { text-align: center; padding: 64px 24px; color: var(--text-muted); }
.search-no-results p { font-size: 1.1rem; margin-bottom: 24px; }

/* Category */
.category-page { padding: 48px 24px; max-width: 1200px; margin: 0 auto; }
.category-title { font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.category-count { font-size: 0.9rem; color: var(--text-muted); }

/* Tool page */
.tool-page { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.tool-header { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.tool-logo-large {
  width: 80px; height: 80px; border-radius: 16px; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--accent); flex-shrink: 0; overflow: hidden;
}
.tool-logo-large img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.tool-info { flex: 1; }
.tool-info h1 { font-size: 2rem; margin-bottom: 8px; }
.tool-category-tag { font-size: 0.9rem; color: var(--accent); margin-bottom: 12px; }
.tool-description { color: var(--text-secondary); line-height: 1.7; }
.tool-pricing { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 40px; }
.tool-pricing h2 { font-size: 1.25rem; margin-bottom: 16px; }
.price-display { font-size: 2rem; font-weight: 800; color: var(--accent); }
.price-period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.tool-features h2 { font-size: 1.25rem; margin-bottom: 16px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); }
.feature-check-icon { color: var(--success); }
.compare-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* Welcome banner */
.welcome-banner {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0.05) 100%);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.welcome-banner-icon { font-size: 1.5rem; }
.welcome-banner h3 { font-size: 1rem; margin-bottom: 4px; }
.welcome-banner p { font-size: 0.875rem; color: var(--text-secondary); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.fade-in-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-up-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-up-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .hero-section { padding: 48px 16px 40px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 24px; }
  .stat-value { font-size: 1.25rem; }
  .comparisons-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .capture-form { flex-direction: column; }
  .capture-form input { min-width: 0; }
  .capture-points { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .compare-table-header, .compare-table-row { grid-template-columns: 80px 1fr 1fr; font-size: 0.8rem; }
}

/* Empty states */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h2 { font-size: 1.25rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); max-width: 400px; margin: 0 auto; }