:root {
  --bg: #0b0f14;
  --panel: #121821;
  --panel-2: #18202b;
  --line: #2a3544;
  --text: #e8eef6;
  --muted: #93a0b3;
  --accent: #66c0f4;
  --accent-2: #1b9aaa;
  --gold: #c7a24a;
  --danger: #e07a5f;
  --ok: #7dce82;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --font: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, #16324a 0%, transparent 55%),
    radial-gradient(900px 500px at 110% 10%, #2a1d0c 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: var(--accent); }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11, 15, 20, 0.75);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.3px; }
.logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #66c0f4, #1b2838);
  display: grid; place-items: center; font-size: 18px;
}
.nav-actions { display: flex; gap: 8px; flex-wrap: wrap; }

button, .btn {
  border: 0; cursor: pointer; font: inherit; color: inherit;
  border-radius: 999px; padding: 10px 16px;
}
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-primary { background: linear-gradient(180deg, #7ad0ff, #3aa0d6); color: #071018; font-weight: 700; }
.btn-gold { background: linear-gradient(180deg, #e3c36a, #b8902e); color: #1a1406; font-weight: 800; }

.hero { padding: 48px 0 28px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 18px; max-width: 640px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pill {
  font-size: 12px; letter-spacing: 0.4px; text-transform: uppercase;
  border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; color: var(--muted);
}

.grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
select, input {
  background: #0e141c; color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; font: inherit;
}

.item {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  margin-bottom: 10px; background: rgba(255,255,255,0.02);
}
.item h3 { margin: 0 0 6px; font-size: 18px; }
.meta { color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; }
.trust { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.trust.high { color: var(--ok); }
.trust.medium { color: var(--gold); }
.trust.low { color: var(--danger); }
.reqs { margin: 8px 0 0; padding-left: 18px; color: #c9d4e2; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.locked {
  filter: blur(5px); pointer-events: none; user-select: none;
}
.paywall {
  margin-top: 8px; padding: 16px; border: 1px dashed var(--gold);
  border-radius: 14px; background: rgba(199, 162, 74, 0.08);
}

.price { font-size: 28px; font-weight: 800; }
.small { color: var(--muted); font-size: 13px; }
footer { padding: 40px 0 60px; color: var(--muted); font-size: 13px; }

.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; place-items: center; z-index: 40; padding: 16px;
}
.modal-bg.open { display: grid; }
.modal { width: min(460px, 100%); }

.saved { outline: 1px solid #66c0f4; }
