/* seowithvenky.com - shared styles for inner pages (matches homepage tokens) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent: #ff5757;
  --accent-2: #8c52ff;
  --grad: linear-gradient(90deg, #ff5757, #8c52ff);
  --bg: #0e0e0e;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --border: #222;
  --text: #c8c8c8;
  --text-light: #8f8f8f;
  --white: #fff;
  --heading: #f0f0f0;
}
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.75; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul, ol { padding-left: 1.3em; }
::selection { background: rgba(140,82,255,0.35); color: #fff; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; }
section { padding: 80px 0; position: relative; }
.section-alt { background: var(--bg2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,14,0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; max-width: 1280px; margin: 0 auto; }
.logo { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; transition: color .3s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.nav-cta { background: var(--grad); color: var(--white) !important; padding: 8px 20px; border-radius: 4px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--white); border-radius: 4px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--text-light); padding-top: 28px; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #444; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.page-hero { padding: 40px 0 70px; background: radial-gradient(ellipse at 75% 30%, rgba(140,82,255,0.09) 0%, transparent 60%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,87,87,0.08); border: 1px solid rgba(255,87,87,0.3); padding: 6px 16px; border-radius: 50px; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 22px; max-width: 920px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent); }
.lead { font-size: 19px; color: var(--text); max-width: 760px; margin-bottom: 32px; }
.btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--grad); color: var(--white); padding: 14px 30px; border-radius: 4px; font-weight: 600; font-size: 15px; transition: transform .3s, box-shadow .3s; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(140,82,255,0.35); }
.btn-outline { border: 1.5px solid var(--accent); color: var(--accent); padding: 13px 30px; border-radius: 4px; font-weight: 600; font-size: 15px; display: inline-block; transition: all .3s; }
.btn-outline:hover { background: var(--grad); color: var(--white); border-color: transparent; }
.stat-row { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 44px; }
.stat-num { font-size: 34px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 6px; max-width: 170px; }

/* ---------- Typography in content ---------- */
.section-label { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--heading); line-height: 1.2; margin-bottom: 18px; }
h2 .hl { color: var(--accent); }
h3 { font-size: 21px; font-weight: 700; color: var(--heading); line-height: 1.35; margin: 30px 0 10px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--heading); }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(255,87,87,0.35); }
.prose a:hover { border-color: var(--accent); }

/* Direct-answer box (built for AI Overviews / featured snippets) */
.answer { background: var(--bg3); border: 1px solid var(--border); border-left: 3px solid var(--accent-2); border-radius: 6px; padding: 18px 22px; margin: 6px 0 24px; color: var(--heading); font-size: 17px; }
.answer strong { color: var(--accent); }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 28px 26px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card:hover { border-color: rgba(255,87,87,0.3); transform: translateY(-3px); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-top: 0; font-size: 19px; }
.card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }
.card .icon { font-size: 24px; width: 48px; height: 48px; border-radius: 8px; background: rgba(255,87,87,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* Results */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0; }
.result { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 26px 18px; text-align: center; }
.result .num { font-size: 36px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 8px; }
.result .num span { color: var(--accent); }
.result .lbl { font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 16px; margin: 24px 0; }
.steps li { counter-increment: step; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 20px 22px 20px 74px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps li strong { display: block; color: var(--heading); font-size: 18px; margin-bottom: 4px; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 22px; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(140,82,255,0.18); color: #c4a6ff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg3); color: var(--heading); font-weight: 700; }
tr:last-child td { border-bottom: none; }
td:first-child { color: var(--heading); font-weight: 600; }

/* Callout */
.callout { background: linear-gradient(135deg, rgba(255,87,87,0.08), rgba(140,82,255,0.08)); border: 1px solid rgba(140,82,255,0.25); border-radius: 8px; padding: 22px 24px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }

/* Two-column layout with sticky TOC */
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14px; border-left: 1px solid var(--border); padding-left: 18px; }
.toc p { font-weight: 700; color: var(--heading); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.toc ol { list-style: none; padding: 0; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-light); }
.toc a:hover { color: var(--accent); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 0 22px; }
.faq-item[open] { border-color: rgba(255,87,87,0.3); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 22px; font-weight: 700; }
.faq-item[open] summary::after { content: '–'; }
.faq-item summary h3 { margin: 0; font-size: 17px; font-weight: 600; }
.faq-item p { padding-bottom: 18px; font-size: 16px; }

/* Author box */
.author { display: flex; gap: 22px; align-items: center; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin-top: 40px; }
.author img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid transparent; background: var(--grad) border-box; flex-shrink: 0; object-fit: cover; }
.author-name { color: var(--heading); font-weight: 700; font-size: 18px; }
.author-meta { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.author-meta a { color: var(--accent); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, rgba(255,87,87,0.12), rgba(140,82,255,0.12)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.cta-band h2 { max-width: 760px; margin: 0 auto 14px; }
.cta-band p { max-width: 640px; margin: 0 auto 28px; }
.cta-band .btns { justify-content: center; }

/* Related */
.related a.card { display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; font-size: 14px; color: var(--text-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--heading); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .results { grid-template-columns: 1fr 1fr; }
  .with-toc { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 18px 20px 24px; gap: 16px; }
  .site-nav.open { display: flex; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .container, .header-inner { padding-left: 16px; padding-right: 16px; }
  section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-row { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .author { flex-direction: column; text-align: center; }
  .steps li { padding-left: 64px; }
}
@media (max-width: 480px) {
  .results { grid-template-columns: 1fr; }
}
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.88em; background: var(--bg3); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; color: #e9d8ff; }
[id] { scroll-margin-top: 90px; }
