/* === Base Reset & Variables === */
:root {
  --bg: #fbfbfd;
  --bg-secondary: #f5f5f7;
  --bg-card: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --accent: #107C10;
  --accent-hover: #0b5f0b;
  --green: #34c759;
  --red: #ff3b30;
  --orange: #ff9500;
  --yellow: #ffcc00;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-height: 48px;
  --max-width: 1080px;
  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-secondary: #1c1c1e;
  --bg-card: #1c1c1e;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --border: #38383a;
  --border-light: #2c2c2e;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251,251,253,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  height: var(--nav-height);
  transition: background var(--transition);
}

[data-theme="dark"] .nav {
  background: rgba(29,29,31,0.72);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.nav-logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex: 1;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition);
  padding: 4px 0;
  position: relative;
  letter-spacing: 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
}

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

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-secondary);
  padding: 4px;
  border-radius: 8px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
}

.theme-toggle:hover { color: var(--text); background: var(--bg-secondary); }

.nav-search {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text);
  width: 180px;
  outline: none;
  transition: all var(--transition);
  font-family: var(--font);
}

.nav-search:focus { border-color: var(--accent); width: 220px; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
}

/* === Sections === */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}

.section-sm { padding: 40px 24px; }

.section-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 36px;
}

/* === Missing image placeholder === */
.product-card-img .img-placeholder {
  color: var(--text-tertiary);
  font-size: 14px;
  opacity: 0.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.product-card-img .img-placeholder svg { opacity: 0.3; }

/* === Hero === */
.hero {
  text-align: center;
  padding: 80px 24px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 21px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.4;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font);
  letter-spacing: 0;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: scale(1.02); }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover { background: var(--accent); color: #fff; transform: scale(1.02); }

/* === Featured Handhelds (Hero Showcase) === */
.showcase {
  display: grid;
  gap: 20px;
  padding: 0 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.showcase-2 { grid-template-columns: 1fr 1fr; }
.showcase-1 { grid-template-columns: 1fr; }

.showcase-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 52px 36px 36px;
  text-align: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.showcase-card:hover { transform: scale(1.015); }

.showcase-card h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.showcase-card .tagline {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 400;
}

.showcase-card .price {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.showcase-card .price strong { color: var(--text); }

.showcase-card .showcase-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 28px;
}

.showcase-card .showcase-links a {
  font-size: 15px;
  font-weight: 400;
}

.showcase-card img {
  max-height: 240px;
  margin: 0 auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.showcase-card:hover img { transform: scale(1.04); }

/* === Filters === */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}

.filter-pill:hover { border-color: var(--text-secondary); color: var(--text); }
.filter-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.filter-dropdown {
  position: relative;
}

.filter-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  min-width: 160px;
}

.filter-dropdown.open .filter-dropdown-content { display: block; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
}

.filter-option:hover { background: var(--bg-secondary); }

.filter-clear {
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  padding: 6px 10px;
  white-space: nowrap;
}

/* === Product Cards === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: default;
  opacity: 0;
  transform: translateY(24px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-img {
  background: var(--bg-secondary);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  overflow: hidden;
}

.product-card-img img {
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-card-body {
  padding: 18px 20px 20px;
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.os-badge.steamos { background: #107c1020; color: #107c10; }
.os-badge.windows { background: #0e7a0d20; color: #0e7a0d; }

.os-badge svg { width: 12px; height: 12px; }

.product-card-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.product-card-price strong {
  color: var(--text);
  font-size: 17px;
}

.sentiment-bar-container {
  margin-bottom: 16px;
}

.sentiment-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.sentiment-bar {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  overflow: hidden;
}

.sentiment-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

.sentiment-bar-fill.high { background: var(--green); }
.sentiment-bar-fill.medium { background: var(--orange); }
.sentiment-bar-fill.low { background: var(--red); }

.product-card-expand {
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font);
  font-weight: 500;
  padding: 0;
}

.product-card-expand:hover { text-decoration: underline; }

.product-card-details {
  display: none;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-light);
  animation: slideDown 0.3s ease;
}

.product-card-details.open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-item {
  font-size: 13px;
}

.spec-item .spec-label {
  color: var(--text-tertiary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-item .spec-value {
  color: var(--text);
  font-weight: 500;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.pros-cons h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pros-cons ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
}

.pros-cons ul li {
  padding: 2px 0;
  padding-left: 16px;
  position: relative;
}

.pros-cons ul li::before {
  position: absolute;
  left: 0;
}

.pros li::before { content: '✓'; color: var(--green); }
.cons li::before { content: '✗'; color: var(--red); }

.product-card-actions {
  display: flex;
  gap: 12px;
}

.product-card-actions a {
  font-size: 13px;
  font-weight: 500;
}

/* === Tags === */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  margin-right: 4px;
  margin-bottom: 4px;
}

/* === Help Me Choose === */
.wizard-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.wizard-overlay.open { display: flex; }

.wizard {
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.wizard-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
}

.wizard h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wizard p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.wizard-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition);
}

.wizard-progress-dot.active { background: var(--accent); }
.wizard-progress-dot.done { background: var(--green); }

.wizard-options {
  display: grid;
  gap: 12px;
}

.wizard-option {
  padding: 16px 20px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 16px;
  font-weight: 500;
  background: var(--bg);
  font-family: var(--font);
  text-align: left;
}

.wizard-option:hover { border-color: var(--accent); }
.wizard-option.selected { border-color: var(--accent); background: rgba(16,124,16,0.10); }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.wizard-result {
  text-align: center;
}

.wizard-result-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  text-align: left;
}

.wizard-result-card {
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
}

.wizard-result-card h3 { font-size: 18px; margin-bottom: 4px; }
.wizard-result-card .price { color: var(--accent); font-weight: 600; }
.wizard-result-card .why { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

/* === Compare Table === */
.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 1000px;
}

.compare-table th {
  position: sticky;
  top: var(--nav-height);
  background: var(--bg-secondary);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  z-index: 10;
}

.compare-table th:hover { color: var(--text); }

.compare-table th .sort-icon { margin-left: 4px; font-size: 10px; }

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.compare-table tr:hover { background: var(--bg-secondary); }

.compare-table .cell-best { color: var(--green); font-weight: 600; }
.compare-table .cell-worst { color: var(--red); }

.compare-table .device-name {
  font-weight: 600;
  white-space: nowrap;
}

.compare-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
}

.side-by-side {
  display: none;
  padding: 24px 0;
}

.side-by-side.open { display: block; }

.side-by-side-grid {
  display: grid;
  gap: 16px;
}

.side-by-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.side-by-side-card h3 { font-size: 20px; margin-bottom: 12px; }

.side-by-side-card img {
  max-height: 120px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.side-by-side-card table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.side-by-side-card td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

.side-by-side-card td:first-child {
  color: var(--text-tertiary);
  text-align: left;
}

.side-by-side-card td:last-child {
  text-align: right;
  font-weight: 500;
}

/* === Sentiment Page === */
.sentiment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.sentiment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.sentiment-card:hover { box-shadow: var(--shadow); }

.sentiment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sentiment-card h3 { font-size: 18px; font-weight: 600; }

.sentiment-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}

.sentiment-score.high { background: #34c75920; color: var(--green); }
.sentiment-score.medium { background: #ff950020; color: var(--orange); }
.sentiment-score.low { background: #ff3b3020; color: var(--red); }

.source-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.source-item {
  text-align: center;
}

.source-item .source-name {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.source-item .source-score {
  font-size: 20px;
  font-weight: 700;
}

.praise-complaints {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.praise-complaints h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.praise-complaints ul {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
}

.praise-complaints li { padding: 2px 0; }

/* === Deals Page === */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.deal-card:hover { box-shadow: var(--shadow); }

.deal-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }

.deal-card .deal-brand {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.deal-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.deal-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.deal-lowest {
  font-size: 14px;
  color: var(--text-tertiary);
}

.deal-delta {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.deal-delta.good { background: #34c75920; color: var(--green); }
.deal-delta.ok { background: #ff950020; color: var(--orange); }
.deal-delta.bad { background: #ff3b3020; color: var(--red); }

.sparkline {
  width: 100%;
  height: 40px;
  margin-top: 12px;
}

.best-deals-section {
  background: linear-gradient(135deg, #34c75910, #107C1018);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
}

.best-deals-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* === Footer === */
.footer {
  border-top: 0.5px solid var(--border-light);
  padding: 32px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  max-width: var(--max-width);
  margin: 40px auto 0;
  line-height: 1.6;
}

/* === Scroll Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Empty state === */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
}

.empty-state svg { margin: 0 auto 16px; }

/* === Mobile Menu Slide === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 24px 20px;
    border-bottom: 0.5px solid var(--border-light);
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    animation: menuSlide 0.25s ease;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { font-size: 15px; padding: 10px 0; }
  @keyframes menuSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 17px; }
  .hero { padding: 60px 20px 40px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; margin-bottom: 28px; }
  .showcase-2 { grid-template-columns: 1fr; }
  .showcase-card h2 { font-size: 24px; }
  .showcase-card { padding: 36px 24px 24px; }
  .showcase-card img { max-height: 180px; }
  .products-grid { grid-template-columns: 1fr; gap: 12px; }
  .sentiment-cards { grid-template-columns: 1fr; }
  .deals-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .praise-complaints { grid-template-columns: 1fr; }
  .mobile-menu-btn { display: block; }
  .nav-search { width: 100px; font-size: 12px; }
  .nav-search:focus { width: 140px; }
  .wizard { padding: 24px; margin: 16px; }
  .side-by-side-grid { grid-template-columns: 1fr !important; }
  .filters-bar { gap: 6px; padding: 12px 0; }
  .filter-pill { font-size: 12px; padding: 5px 10px; }
  .section { padding: 40px 16px; }
  .section-sm { padding: 24px 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; letter-spacing: -0.03em; }
  .hero p { font-size: 16px; }
  .showcase-card h2 { font-size: 20px; }
  .product-card-name { font-size: 16px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
}
