*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #030306;
  --surface: rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.06);
  --text: #e0e0ec;
  --text-dim: #6b6b80;
  --accent: #38bdf8;
  --accent2: #818cf8;
  --accent3: #c084fc;
  --glow: rgba(56,189,248,0.15);
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}
body::-webkit-scrollbar { width: 6px; }
body::-webkit-scrollbar-track { background: var(--bg); }
body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
img { display: block; max-width: 100%; }
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 3rem; display: flex; align-items: center; justify-content: space-between;
  background: rgba(3,3,6,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700;
  color: #fff; letter-spacing: -0.02em; text-decoration: none;
}
.logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; gap: 0.75rem; }
.btn-ghost {
  padding: 0.55rem 1.25rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  background: rgba(255,255,255,0.03); color: var(--text); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s; font-family: inherit;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.btn-primary {
  padding: 0.55rem 1.5rem; border: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary-lg {
  padding: 0.9rem 2.5rem; font-size: 1.05rem; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 600; cursor: pointer; transition: all 0.3s;
  font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary-lg:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow); }

.page-content { max-width: 980px; margin: 0 auto; padding: 8rem 2rem 4rem; }
.breadcrumb { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.updated-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.25);
  color: var(--accent); font-size: 0.78rem; font-weight: 600;
  margin-bottom: 1rem; letter-spacing: 0.02em;
}
.updated-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px #4ade80;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
}
h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 600; color: #fff;
  margin: 3rem 0 1rem; line-height: 1.3;
}
h3 { font-size: 1.15rem; font-weight: 600; color: #fff; margin: 2rem 0 0.75rem; }
p { margin-bottom: 1rem; color: var(--text); }
.subtitle { font-size: 1.15rem; color: var(--text-dim); margin-bottom: 2rem; line-height: 1.7; }

/* Direct answer block (featured-snippet + Speakable target) */
.answer-block {
  background: linear-gradient(135deg, rgba(56,189,248,0.09), rgba(129,140,248,0.09));
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2.5rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
}
.answer-block strong { color: #fff; }

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(129,140,248,0.08));
  border: 1px solid rgba(56,189,248,0.15);
  border-radius: 16px; padding: 2.25rem; text-align: center;
  margin: 2.5rem 0;
}
.cta-box h2 { margin-top: 0; }
.cta-box p { color: var(--text-dim); margin-bottom: 1.25rem; }

/* FAQ */
.faq-section { margin: 3rem 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-q {
  font-weight: 600; color: #fff; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-size: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-dim); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 800px; padding-top: 0.75rem; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border-radius: 14px; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.compare-table th {
  text-align: left; padding: 0.85rem 1.1rem;
  background: rgba(56,189,248,0.08); color: var(--accent);
  font-weight: 600; border-bottom: 1px solid var(--border);
}
.compare-table td {
  padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border);
  color: var(--text-dim); vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--surface-hover); }
.compare-table td.feature { color: #fff; font-weight: 500; width: 28%; }
.compare-table td.zsky { color: #4ade80; font-weight: 500; }
.compare-table td.comp { color: #f87171; }

/* Cross-links */
.related-section { margin: 3rem 0 1rem; }
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin-top: 1rem;
}
.related-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem;
  text-decoration: none; transition: all 0.3s;
}
.related-card:hover { border-color: rgba(56,189,248,0.25); transform: translateY(-2px); background: var(--surface-hover); }
.related-card h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.3rem; }
.related-card p { color: var(--text-dim); font-size: 0.82rem; margin: 0; }

/* Review block */
.reviews { margin: 2.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem;
}
.review-card .stars { color: #fbbf24; font-size: 0.95rem; margin-bottom: 0.4rem; }
.review-card .body { color: var(--text-dim); font-size: 0.9rem; font-style: italic; }
.review-card .author { color: #fff; font-size: 0.82rem; font-weight: 600; margin-top: 0.6rem; }

/* Hub index table */
.hub-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1.5rem 0 2.5rem; }
.hub-table th, .hub-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.hub-table th { background: rgba(56,189,248,0.08); color: var(--accent); }
.hub-table tr:hover td { background: var(--surface-hover); }
.hub-table a { color: var(--accent); text-decoration: none; font-weight: 600; }
.hub-table a:hover { text-decoration: underline; }

.vs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem; margin: 1rem 0 3rem;
}
.vs-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
  text-decoration: none; transition: all 0.3s;
  display: block;
}
.vs-card:hover { border-color: rgba(56,189,248,0.3); transform: translateY(-3px); background: var(--surface-hover); box-shadow: 0 8px 24px rgba(56,189,248,0.08); }
.vs-card .vs-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.vs-card .vs-meta { font-size: 0.82rem; color: var(--text-dim); }

/* Footer */
footer {
  text-align: center; padding: 3rem 2rem; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-dim);
}
footer a { color: var(--accent); text-decoration: none; }
.footer-links {
  list-style: none; display: flex; gap: 1.5rem; justify-content: center;
  margin-top: 0.75rem; flex-wrap: wrap;
}
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.8rem; }
.footer-links a:hover { color: #fff; }

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .page-content { padding: 6rem 1.25rem 3rem; }
  h1 { font-size: 1.8rem; }
  .compare-table { font-size: 0.78rem; }
  .compare-table th, .compare-table td { padding: 0.55rem; }
}
