:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --card: #1A1A1A;
  --border: #2A2A2A;
  --accent: #E8FF47;
  --text: #F5F5F5;
  --muted: #888888;
  --danger: #FF4747;
  --success: #47FF8A;
  --radius: 10px;
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { color: var(--text); }

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.success { color: var(--success); }
.danger { color: var(--danger); }

/* Nav */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav.top .inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.25rem;
}
nav.top .logo {
  font-weight: 700; font-size: 1.25rem; color: var(--text);
  letter-spacing: -0.02em;
}
nav.top .logo span { color: var(--accent); }
nav.top a { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 0.75rem 1.25rem;
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0A0A0A; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }

/* Hero */
.hero { padding: 5rem 0 4rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .sub { font-size: 1.2rem; color: var(--muted); max-width: 700px; margin-bottom: 2rem; }
.hero .ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero .trust { font-size: 0.9rem; color: var(--muted); }

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
}
.card.highlight { border-color: var(--accent); }
.verdict {
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 1.5rem 1.75rem; border-radius: 6px; margin: 2rem 0;
}
.verdict h3 { color: var(--accent); margin-bottom: 0.5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%; border-collapse: collapse;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  font-size: 0.95rem;
}
th, td {
  text-align: left; padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
}
th { background: var(--surface); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
th.kaptur-col { color: var(--accent); }
tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
tr:last-child td { border-bottom: none; }
td.yes { color: var(--success); white-space: nowrap; }
td.no { color: var(--danger); white-space: nowrap; }

/* Pricing grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
.price-card ul { list-style: none; padding: 0; }
.price-card li {
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.price-card li:last-child { border-bottom: none; }
.price-card .tier { font-weight: 700; color: var(--accent); }
.badge {
  display: inline-block; background: var(--accent); color: #0A0A0A;
  padding: 0.25rem 0.6rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; margin-top: 0.75rem;
}

/* Diagram */
.diagram {
  font-family: 'SF Mono', Consolas, monospace;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  text-align: center; color: var(--accent);
  font-size: 1rem; line-height: 2; margin: 2rem auto; max-width: 700px;
  white-space: pre;
}

/* FAQ */
details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
details summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin-top: 0.9rem; color: var(--muted); }

/* CTA section */
.cta-block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 3rem 2rem;
  text-align: center; margin: 2rem 0;
}
.cta-block h2 { margin-bottom: 0.5rem; }
.cta-block p { color: var(--muted); margin-bottom: 1.5rem; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0; margin-top: 2rem;
  background: var(--surface);
}
footer .grid { display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; }
footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.75rem; }
footer ul { list-style: none; }
footer li { padding: 0.25rem 0; }
footer a { color: var(--text); font-size: 0.95rem; }
footer .copy { margin-top: 2rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* Hub cards */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.hub-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: border-color .2s, transform .2s;
  display: block; color: var(--text);
}
.hub-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.hub-card .icon { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }
.hub-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.hub-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.hub-card .link { color: var(--accent); font-size: 0.9rem; font-weight: 600; }

/* Lists */
ul.checks, ul.crosses { list-style: none; padding: 0; }
ul.checks li, ul.crosses li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; color: var(--text); }
ul.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
ul.crosses li::before { content: '✕'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* Steps */
.steps { counter-reset: step; }
.step { counter-increment: step; padding: 1.25rem 0 1.25rem 3.5rem; border-bottom: 1px solid var(--border); position: relative; }
.step:last-child { border-bottom: none; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 1.25rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--accent); color: #0A0A0A;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.step h3 { color: var(--text); margin-bottom: 0.25rem; }
.step p { color: var(--muted); }

/* Tool section blocks for "best of" page */
.tool-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.25rem; }
.tool-block.featured { border-color: var(--accent); }
.tool-block h2 { color: var(--accent); }
.tool-meta { font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0 1rem; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }
