/* NinjaOtter SEO pages — matches landing page theme */
:root {
  --gold: #FFB800;
  --orange: #FF6B00;
  --cyan: #00D4FF;
  --dark: #07080f;
  --dark2: #0f1220;
  --dark3: #161b2e;
  --white: #f0f4ff;
  --grey: #8892a4;
  --border: rgba(255,255,255,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.nseo {
  background: var(--dark);
  color: var(--white);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────────────── */
.nseo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(7,8,15,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,212,255,0.12);
}
.nseo-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nseo-header nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nseo-header nav a {
  color: var(--grey);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nseo-header nav a:hover { color: var(--cyan); }
.nseo-header .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  padding: 0.45rem 1.2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nseo-header .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,184,0,0.4);
  color: #000;
}

/* ── MAIN CONTENT ─────────────────────────────────── */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}
h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
h1 .grad, h2 .grad {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 2.2rem 0 0.8rem;
  color: var(--white);
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}
p { color: var(--grey); margin-bottom: 0.8rem; }
article > p:first-of-type { font-size: 1.05rem; line-height: 1.7; max-width: 700px; }

/* ── LINKS ────────────────────────────────────────── */
a { color: var(--cyan); transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ── TABLES ───────────────────────────────────────── */
table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.92rem;
}
table.compare th {
  padding: 0.7rem 1rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  font-weight: 600;
}
table.compare td {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  color: var(--white);
}
table.compare tbody tr {
  transition: background 0.15s;
}
table.compare tbody tr:hover {
  background: rgba(255,255,255,0.02);
}
table.compare .highlight {
  background: rgba(255,184,0,0.06);
  border-left: 3px solid var(--gold);
}
table.compare .highlight:hover {
  background: rgba(255,184,0,0.1);
}
table.compare .unavailable td { opacity: 0.45; }
.plan-note {
  font-size: 0.82rem;
  color: var(--grey);
}
.winner-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.savings-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: #ff6b6b;
  margin-left: 6px;
  font-weight: 600;
}
.na { color: var(--grey); }
.calc-summary {
  font-size: 0.88rem;
  color: var(--grey);
  margin-top: 0.5rem;
}

/* ── CARDS / GRID ─────────────────────────────────── */
.compare-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.compare-grid .card {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 16px;
  transition: border-color 0.25s, transform 0.25s;
}
.compare-grid .card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-3px);
}
.compare-grid .card h3 { margin-top: 0; }

/* ── CALCULATOR SLIDERS ───────────────────────────── */
.calc {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.calc label {
  flex: 1;
  min-width: 220px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}
.calc output {
  display: inline-block;
  min-width: 3rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.calc input[type="range"] {
  display: block;
  width: 100%;
  margin-top: 0.6rem;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--dark3);
  border-radius: 3px;
  outline: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,184,0,0.4);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(255,184,0,0.4);
}

/* ── BADGES & NOTICES ─────────────────────────────── */
.freshness-badge {
  display: inline-block;
  font-size: 0.78rem;
  color: #2ecc71;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.updated {
  color: var(--grey);
  font-size: 0.82rem;
}
.notice {
  background: var(--dark2);
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}
.answer-summary {
  background: rgba(255,184,0,0.04);
  border: 1px solid rgba(255,184,0,0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--white);
}
.answer-summary strong { color: var(--gold); }
.reviews { list-style: none; padding: 0; }
.reviews li { padding: 0.3rem 0; color: var(--grey); }

/* ── RELATED LINKS ────────────────────────────────── */
.related-links {
  padding-left: 0;
  list-style: none;
  margin: 0.75rem 0 1.5rem;
}
.related-links li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.related-links li:last-child { border-bottom: none; }

/* ── EMBED BOX ────────────────────────────────────── */
.embed-desc { font-size: 0.88rem; color: var(--grey); margin-bottom: 0.75rem; }
.embed-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  margin-bottom: 1.5rem;
}
.embed-box code {
  display: block;
  font-size: 0.78rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--grey);
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}
.embed-copy {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.embed-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,184,0,0.4);
}

/* ── CTA ──────────────────────────────────────────── */
.cta { text-align: center; margin: 2.5rem 0; }
.cta a {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,184,0,0.4);
}

/* ── FOOTER ───────────────────────────────────────── */
.nseo-footer {
  padding: 1.5rem 5%;
  border-top: 1px solid rgba(0,212,255,0.12);
  background: var(--dark2);
  text-align: center;
}
.nseo-footer p { color: var(--grey); font-size: 0.85rem; }
.nseo-footer a { color: var(--cyan); text-decoration: none; }
.nseo-footer a:hover { color: var(--gold); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 640px) {
  .nseo-header { padding: 0 4%; }
  .nseo-header nav { gap: 1rem; font-size: 0.8rem; }
  main { padding: 1.5rem 1rem 2rem; }
  .calc { flex-direction: column; gap: 1.2rem; }
  table.compare { font-size: 0.82rem; }
  table.compare th, table.compare td { padding: 0.5rem 0.6rem; }
}
