:root {
  --bg: #0b0f19;
  --card: #131b2e;
  --card-border: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #10b981;
  --accent-hover: #059669;
  --secondary: #3b82f6;
  --danger: #ef4444;
  --warning: #f59e0b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--secondary); text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header {
  border-bottom: 1px solid var(--card-border);
  background: rgba(11, 15, 25, 0.94);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  gap: 12px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }

/* MOBILE RESPONSIVE HEADER FIX */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 10px;
    gap: 10px;
  }
  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #e2e8f0;
  }
  .hero {
    padding: 32px 0 24px !important;
  }
}

.hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--card-border);
}
.badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}
.subtitle { color: var(--muted); font-size: 1.05rem; max-width: 780px; }
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.verdict-card {
  background: var(--card);
  border: 2px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.verdict-card.winner {
  border-color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.25);
}
.ribbon {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.ribbon.gold { background: var(--accent); color: #052e16; }
.ribbon.silver { background: #334155; color: #e2e8f0; }
.tool-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.stars { color: var(--warning); font-weight: 700; margin-bottom: 12px; font-size: 0.95rem; }
.price-tag {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 12px;
}
.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  margin-top: 16px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #042f1e;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}
.btn-secondary {
  background: #1e293b;
  color: #fff;
  border: 1px solid #334155;
}
.btn-secondary:hover { background: #334155; }
.section-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 800;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
th {
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  color: #cbd5e1;
}
.flip-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.flip-title {
  color: var(--warning);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.alt-item {
  border-bottom: 1px solid var(--card-border);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.alt-item:last-child { border-bottom: none; }
.faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
}
.faq-q { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.faq-a { color: var(--muted); }
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.link-pill {
  display: block;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  padding: 12px 14px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
}
.link-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.search-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid var(--card-border);
  background: var(--card);
  color: #fff;
  font-size: 1.05rem;
  margin-top: 20px;
}
.search-input:focus { outline: none; border-color: var(--accent); }
footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
  margin-top: 60px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
