/* ZeroCostAI.pro - World-Class Design System (Linear / Raycast Aesthetic) */
:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #f8fafc;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-subtle: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-accent: #3b82f6;
  
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --primary-blue-light: #eff6ff;
  
  --badge-green-bg: #ecfdf5;
  --badge-green-text: #059669;
  --badge-green-border: #a7f3d0;
  
  --badge-purple-bg: #faf5ff;
  --badge-purple-text: #7c3aed;
  --badge-purple-border: #ddd6fe;

  --badge-amber-bg: #fffbeb;
  --badge-amber-text: #b45309;
  --badge-amber-border: #fde68a;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 25px -5px rgba(37, 99, 235, 0.2);

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Header */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-dot {
  color: var(--primary-blue);
}

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

.badge-counter {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-submit {
  background: var(--text-primary);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
}



/* Hero Section */
.hero-section {
  text-align: center;
  padding: 44px 0 28px;
}

.pill-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-heading {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Search Bar & Instant Filter */
.search-container {
  max-width: 740px;
  margin: 0 auto 24px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 6px 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.search-box:focus-within {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-glow);
}

.search-icon {
  color: var(--text-muted);
  font-size: 18px;
  margin-right: 12px;
}

.search-input {
  flex: 1;
  height: 48px;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: transparent;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.kbd-shortcut {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

/* Filter Controls Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.filter-pill.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.toggle-no-login {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  user-select: none;
  transition: all 0.2s ease;
}

.toggle-no-login:hover {
  border-color: #10b981;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  background: #cbd5e1;
  border-radius: 20px;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: #10b981;
}

.toggle-circle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.toggle-switch.active .toggle-circle {
  transform: translateX(16px);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

/* Tool Card */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tool-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Tool Card Media Thumbnail */
.tool-card-media {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: block;
}

.tool-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.tool-card:hover .tool-card-image {
  transform: scale(1.04);
}

.media-badge-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.media-category-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.tool-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.tool-meta {
  flex: 1;
}

.tool-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.tool-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.tool-title:hover {
  color: var(--primary-blue);
}

.btn-bookmark {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-bookmark:hover, .btn-bookmark.active {
  color: #eab308;
  transform: scale(1.15);
}

.tool-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
}

.badge-no-login {
  background: var(--badge-green-bg);
  color: var(--badge-green-text);
  border: 1px solid var(--badge-green-border);
}

.badge-free {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border: 1px solid #bfdbfe;
}

.badge-open-source {
  background: var(--badge-purple-bg);
  color: var(--badge-purple-text);
  border: 1px solid var(--badge-purple-border);
}

.badge-daily-credit {
  background: var(--badge-amber-bg);
  color: var(--badge-amber-text);
  border: 1px solid var(--badge-amber-border);
}

.tool-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.tool-verdict {
  background: var(--bg-subtle);
  border-left: 3px solid var(--primary-blue);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.45;
}

.tool-verdict strong {
  color: var(--text-primary);
}

/* Card Actions */
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.btn-launch {
  flex: 1;
  text-align: center;
  background: var(--text-primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-launch:hover {
  background: var(--primary-blue);
  transform: translateY(-1px);
}

.btn-prompt-copy {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-prompt-copy:hover {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-review {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-review:hover {
  background: #ffffff;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

/* No Results Notice */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.no-results h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

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

/* FAQ & Trust Section */
.faq-section {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}

.section-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: var(--primary-blue-light);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.faq-heading {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}

.faq-subheading {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.faq-item {
  background: var(--bg-subtle);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 800;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border 0.2s;
}

.form-input:focus {
  border-color: var(--primary-blue);
}

.btn-form-submit {
  width: 100%;
  background: var(--primary-blue);
  color: #ffffff;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

.btn-form-submit:hover {
  background: var(--primary-blue-hover);
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 150;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.app-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col-brand {
  max-width: 380px;
}

.footer-col-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 10px;
}

.footer-links-group {
  display: flex;
  gap: 48px;
}

.footer-links-col h5 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.footer-links-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   REVIEW & TOOL PAGES RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
.review-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 20px 60px;
  width: 100%;
}

.review-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.review-hero-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.review-hero-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.review-media-col {
  flex: 0 0 320px;
  max-width: 320px;
}

.review-meta-col {
  flex: 1;
  min-width: 0;
}

.review-media-poster {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

.review-poster-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.review-media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.review-h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.review-card-section {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.review-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.spec-item {
  background: var(--bg-subtle);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

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

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE PERFECTION
   ========================================================================== */
@media (max-width: 900px) {
  .review-hero-layout {
    flex-direction: column;
    gap: 24px;
  }
  .review-media-col {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  .review-poster-img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  /* Global viewport safety - eliminates any accidental horizontal scrollbar */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  /* Navigation Header */
  .nav-content {
    height: 60px;
  }
  .brand-logo img {
    height: 30px !important;
    width: auto !important;
  }
  .badge-counter {
    display: none;
  }
  .btn-submit {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Homepage Hero */
  .hero-section {
    padding: 24px 0 18px;
  }
  .pill-highlight {
    font-size: 11px;
    padding: 5px 10px;
    line-height: 1.4;
  }
  .hero-heading {
    font-size: 28px;
    letter-spacing: -0.6px;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Search & Filter Bar */
  .search-box {
    padding: 4px 12px;
  }
  .search-input {
    height: 42px;
    font-size: 14px;
  }
  .kbd-shortcut {
    display: none;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-categories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .filter-categories::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 12px;
  }
  .toggle-no-login {
    width: 100%;
    justify-content: space-between;
  }

  /* Tools Grid - clean single column on mobile */
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }
  .tool-card {
    padding: 18px;
  }
  .tool-card-media {
    height: 160px;
  }

  /* Review Pages */
  .review-container {
    padding: 16px 12px 48px;
  }
  .review-hero-card,
  .review-card-section {
    padding: 18px 14px;
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
  }
  .review-h1 {
    font-size: 21px;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .review-poster-img {
    height: 190px;
  }
  .pros-cons-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .spec-item {
    padding: 10px 12px;
  }
  .alternatives-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* FAQ Section */
  .faq-section {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }
  .faq-heading {
    font-size: 22px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .faq-item {
    padding: 16px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links-group {
    flex-direction: column;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .hero-heading {
    font-size: 25px;
  }
  .review-h1 {
    font-size: 19px;
  }
}

