:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --ink: #1c2230;
  --muted: #5c667a;
  --accent: #7a5cf4;
  --accent-2: #b4a2ff;
  --border: #e4e7f1;
  --shadow: 0 16px 40px rgba(28, 34, 48, 0.12);
  font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, #eef0ff, #f9fbff 40%, #f6f7fb 60%);
  color: var(--ink);
  line-height: 1.7;
}

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

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.top-bar nav a { margin-left: 20px; font-weight: 600; }
.brand { font-weight: 800; letter-spacing: 0.5px; }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 32px;
  padding: 72px 5vw 32px;
}

.hero-copy h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 8px 0; }
.lede { max-width: 680px; }
.hero-visual {
  height: 360px;
  background: linear-gradient(145deg, #c5b6ff, #f5e9ff);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual::after, .hero-visual::before {
  content: "";
  position: absolute;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 60%);
}
.hero-visual::before { width: 220px; height: 220px; top: -40px; right: -10px; }
.hero-visual::after { width: 260px; height: 260px; bottom: -60px; left: -20px; }

a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.button.primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.button.ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.button:hover { transform: translateY(-1px); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 12px; }
.filter-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 16px; background: #fff; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.filter-form input, .filter-form select { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); font-size: 0.95rem; }
.filter-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--muted); }
.range-value { font-weight: 700; color: var(--ink); }

.grid { padding: 24px 5vw 48px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); font-size: 0.8rem; margin: 0; }
.hint { color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 20px; }
.card { background: var(--card); border-radius: 20px; padding: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; }
.card .meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }
.tag { display: inline-flex; padding: 6px 10px; border-radius: 10px; background: #eef0ff; color: var(--ink); font-weight: 700; font-size: 0.8rem; }
.price { font-size: 1.4rem; font-weight: 800; }
.meta strong { color: var(--ink); }
.card ul { padding-left: 18px; margin: 6px 0 0 0; color: var(--muted); }
.card button, .card a.cta { margin-top: auto; }
.card a.cta { text-align: center; }

.compare { padding: 24px 5vw 48px; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-controls { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.compare select { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); min-width: 220px; }
.table-wrapper { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #f2f3fb; font-size: 0.9rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quiz { padding: 24px 5vw 48px; }
.quiz-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.quiz-form select { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); }
.quiz-result { margin-top: 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }

.faq { padding: 24px 5vw 48px; background: #f8f9ff; border-top: 1px solid var(--border); }
.accordion details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
.accordion summary { font-weight: 700; cursor: pointer; }

.seo-block { padding: 40px 5vw 24px; background: #fff; border-top: 1px solid var(--border); }

.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 5vw; background: #0f1320; color: #fff; }
.footer a { color: #cfd6ff; }
.footer .tiny { color: #a9b1d7; margin: 0; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .top-bar nav { display: flex; gap: 12px; flex-wrap: wrap; }
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
