/* ClipScript SEO Pages — standalone CSS, no Tailwind dependency */
@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --bg: hsl(0, 0%, 2%);
  --fg: hsl(0, 0%, 92%);
  --card: hsl(220, 15%, 7%);
  --primary: hsl(175, 97%, 55%);
  --secondary: hsl(348, 99%, 59%);
  --muted: hsl(0, 0%, 60%);
  --border: hsl(220, 10%, 13%);
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: 'TikTok Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

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

img { max-width: 100%; height: auto; }

/* ── Layout ── */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Nav ── */
.site-nav {
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo img {
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
}
.nav-logo-text {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.btn {
  display: inline-block;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: hsl(0, 0%, 2%);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.breadcrumb li::after { content: ' /'; margin-left: 0.25rem; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--fg); }

/* ── Page header ── */
.page-header {
  padding: 1.5rem 0 2rem;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.intro p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}
.intro p:last-child { margin-bottom: 0; }

/* ── Section headings ── */
h2 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

/* ── Script cards ── */
.script-section {
  margin-bottom: 2rem;
}
.script-number {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.375rem;
}
.script-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.script-hook {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.35;
}
.script-hook::before {
  content: '"';
  color: var(--primary);
}
.script-hook::after {
  content: '"';
  color: var(--primary);
}
.field-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.375rem;
}
.teleprompter-text {
  background: var(--bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  white-space: pre-line;
  margin-bottom: 0.875rem;
}
.caption-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
}
.hashtag {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.1875rem 0.625rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.broll-text {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
}
.duration-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ── Inline CTA ── */
.cta-inline {
  background: linear-gradient(135deg, hsl(175, 97%, 55%, 0.1) 0%, hsl(348, 99%, 59%, 0.1) 100%);
  border: 1px solid hsl(175, 97%, 55%, 0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.cta-inline-text { flex: 1; min-width: 200px; }
.cta-inline-text strong { display: block; font-size: 1rem; font-weight: 800; margin-bottom: 0.25rem; }
.cta-inline-text span { font-size: 0.875rem; color: var(--muted); }

/* ── Tips section ── */
.tips-section {
  margin-bottom: 2rem;
}
.tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.tips-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  padding-left: 2.5rem;
  position: relative;
}
.tips-list li::before {
  content: '→';
  position: absolute;
  left: 0.875rem;
  color: var(--primary);
  font-weight: 700;
}

/* ── FAQ section ── */
.faq-section {
  margin-bottom: 2rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
details summary {
  padding: 0.875rem 0;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
details[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 0 0.875rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Full CTA block ── */
.cta-full {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.cta-full h2 { margin-bottom: 0.5rem; }
.cta-full p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.5rem; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.cta-offer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  text-align: left;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}
.cta-offer-price {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.cta-offer-title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.cta-offer-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.875rem;
}

/* ── Related pages ── */
.related-section {
  margin-bottom: 2.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.related-link {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--fg);
  transition: border-color 0.15s;
}
.related-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* ── Divider ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  h1 { font-size: 1.625rem; }
  .script-card { padding: 1rem; }
  .cta-full { padding: 1.5rem 1rem; }
  .cta-inline { flex-direction: column; }
  .cta-offer { max-width: 100%; }
}
