:root {
  --bg: #0b1021;
  --card: #12193a;
  --card-2: #161f47;
  --text: #ecf1ff;
  --muted: #9fb0d9;
  --accent: #4ade80;
  --accent-2: #7dd3fc;
  --border: #1f2a52;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(74, 222, 128, 0.08), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(125, 211, 252, 0.12), transparent 30%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 0 1rem 4rem;
}

h1, h2, h3 { color: #fff; margin: 0 0 0.35em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  max-width: 1200px;
  margin: 2.5rem auto 1rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(18, 25, 58, 0.9), rgba(22, 31, 71, 0.85));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.5rem;
}

.brand { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, #4ade80, #7dd3fc);
  display: grid;
  place-items: center;
  color: #0b1021;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-size: 0.75rem; margin-bottom: 0.25rem; }
.lede { max-width: 720px; color: #d8e5ff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.primary, .ghost, button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s;
}
.primary { background: linear-gradient(135deg, #4ade80, #7dd3fc); color: #0b1021; }
.primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.ghost { border-color: var(--border); color: #d8e5ff; background: rgba(255, 255, 255, 0.02); }
.ghost:hover { border-color: #3652a3; }

.trust-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; }
.stat { padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.02); text-align: center; }
.stat .value { display: block; font-size: 1.25rem; font-weight: 800; color: #fff; }
.stat .label { color: var(--muted); font-size: 0.9rem; }

main { max-width: 1200px; margin: 0 auto; display: grid; gap: 2rem; }
.section-heading { margin-bottom: 1rem; }
.muted { color: var(--muted); }

.filters, .products, .comparison, .quiz, .table-view, .seo-description {
  padding: 1.25rem 1.5rem;
  background: rgba(12, 18, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 0.75rem; }
label { font-weight: 600; color: #e5ecff; display: grid; gap: 0.35rem; font-size: 0.95rem; }
select, input[type="search"] {
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: #fff;
  font-size: 1rem;
}
select:focus, input[type="search"]:focus, button:focus { outline: 2px solid #7dd3fc; outline-offset: 2px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  position: relative;
}
.product-card:hover { border-color: #3652a3; }

.product-card .badge { position: absolute; top: 12px; right: 12px; background: rgba(74, 222, 128, 0.16); color: #b5f4c9; padding: 0.35rem 0.6rem; border-radius: 10px; font-size: 0.8rem; }
.product-card h3 { margin: 0; }
.product-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; color: #cbd9ff; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pill { background: rgba(125, 211, 252, 0.12); color: #cdefff; padding: 0.25rem 0.55rem; border-radius: 999px; font-size: 0.8rem; border: 1px solid var(--border); }

.price-band { font-weight: 700; color: #e5ecff; }

.comparison-body { display: grid; grid-template-columns: 1.1fr 1.3fr; gap: 1rem; align-items: start; }
.compare-list { display: grid; gap: 0.6rem; }
.compare-item { padding: 0.9rem; border-radius: 12px; border: 1px solid var(--border); background: var(--card); display: grid; gap: 0.25rem; }
.compare-item input { accent-color: #4ade80; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; border-bottom: 1px solid var(--border); text-align: left; }
th { color: #9fb0d9; font-weight: 700; }

.quiz-form { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
.quiz-result { background: var(--card); border-radius: 12px; border: 1px solid var(--border); padding: 1rem; min-height: 48px; }

.table-view table td a { color: #7dd3fc; font-weight: 600; }

.seo-description { background: linear-gradient(145deg, rgba(18, 25, 58, 0.95), rgba(22, 31, 71, 0.9)); }
.seo-description p { color: #d8e5ff; }

.site-footer { max-width: 1200px; margin: 1rem auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; padding-bottom: 1rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr; }
  .brand { grid-template-columns: 1fr; }
  body { padding: 0 0.75rem 3rem; }
  .comparison-body { grid-template-columns: 1fr; }
}
