/* Bulk BG PRO — Shared Stylesheet for SEO Landing Pages & Educational Guides */
:root {
  --bg: #04050d;
  --bg-mid: #080b18;
  --bg-elevated: #0d1121;
  --card: #111626;
  --card-hover: #161d33;
  --card-border: rgba(255, 255, 255, 0.08);
  --ink: #f0f4ff;
  --ink-secondary: #a5b4d4;
  --ink-muted: #7888ad;
  --line: rgba(255, 255, 255, 0.09);
  --acc: #7c3aed;
  --acc2: #a855f7;
  --acc3: #ec4899;
  --acc-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
  --acc-glow: rgba(124, 58, 237, 0.35);
  --acc-subtle: rgba(124, 58, 237, 0.14);
  --success: #10b981;
  --warning: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

[data-theme="light"] {
  --bg: #f4f6ff;
  --bg-mid: #eaefff;
  --bg-elevated: #ffffff;
  --card: #ffffff;
  --card-hover: #f7f9ff;
  --card-border: #dce2f4;
  --ink: #0b1022;
  --ink-secondary: #3f4e78;
  --ink-muted: #66779e;
  --line: #dce2f4;
  --acc: #6d28d9;
  --acc2: #7e22ce;
  --acc3: #db2777;
  --acc-gradient: linear-gradient(135deg, #6d28d9, #9333ea 50%, #db2777);
  --acc-glow: rgba(109, 40, 217, 0.18);
  --acc-subtle: rgba(109, 40, 217, 0.08);
  --shadow-sm: 0 2px 10px rgba(11, 16, 34, 0.07);
  --shadow-md: 0 10px 32px rgba(11, 16, 34, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 520px at 15% 8%, rgba(124, 58, 237, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 680px 460px at 85% 90%, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

a { color: #c084fc; text-decoration: none; }
[data-theme="light"] a { color: #6d28d9; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.content-wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 5, 13, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] header { background: rgba(244, 246, 255, 0.9); }

.hdr-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--acc-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--acc-glow);
}
.logo-icon svg { width: 19px; height: 19px; fill: #fff; }

.badge-pro {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--acc-gradient);
  color: #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
nav a {
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--acc-subtle);
  text-decoration: none;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--acc-gradient);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 14px var(--acc-glow);
}
.btn-nav-cta:hover { filter: brightness(1.08); }

.theme-btn, .mobile-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.mobile-menu-btn { display: none; }

@media (max-width: 960px) {
  .mobile-menu-btn { display: inline-flex; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: var(--shadow-md);
  }
  nav.nav-open { display: flex; }
  nav a { padding: 10px 12px; }
}
@media (max-width: 560px) {
  .btn-nav-cta { display: none; }
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0 6px;
  font-size: 13px;
  color: var(--ink-muted);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs li::after {
  content: '/';
  margin-left: 8px;
  opacity: 0.5;
}
.breadcrumbs li:last-child::after { content: ''; margin: 0; }
.breadcrumbs a { color: var(--ink-secondary); }

/* Hero */
.page-hero {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc2);
  background: var(--acc-subtle);
  border: 1px solid rgba(168, 85, 247, 0.28);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-hero .lead {
  font-size: 17px;
  color: var(--ink-secondary);
  max-width: 760px;
  margin-bottom: 24px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  background: var(--acc-gradient);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 24px var(--acc-glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.07); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--ink) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
.btn-secondary:hover { background: var(--card-hover); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 14px;
}

/* Main Content Typography & Components */
.article-body section,
.landing-section {
  margin-bottom: 48px;
}
h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--ink);
}
h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin: 24px 0 10px;
  color: var(--ink);
}
p { margin-bottom: 14px; color: var(--ink-secondary); }
ul, ol { margin: 0 0 18px 22px; color: var(--ink-secondary); }
li { margin-bottom: 8px; }
strong { color: var(--ink); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; font-size: 17px; }
.card p:last-child { margin-bottom: 0; }

.step-list {
  list-style: none;
  margin-left: 0;
  display: grid;
  gap: 14px;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--acc-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-item h3 { margin: 0 0 6px; font-size: 17px; }
.step-item p { margin: 0; font-size: 14.5px; }

.callout {
  background: var(--acc-subtle);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 22px 0;
}
.callout-warn {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.32);
}
.callout-title {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 6px;
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--card);
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--ink);
  font-weight: 700;
  background: rgba(124, 58, 237, 0.08);
}
td { color: var(--ink-secondary); }
tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--ink-muted); }
.faq-item[open] summary::after { content: '−'; color: var(--acc2); }
.faq-item p { padding: 0 20px 16px; margin: 0; font-size: 14.5px; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.14));
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  margin: 44px 0;
}
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { max-width: 640px; margin: 0 auto 20px; }

/* Related Links */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.related-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none !important;
  transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover {
  border-color: var(--acc2);
  transform: translateY(-2px);
}
.related-card strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.related-card span { font-size: 13px; color: var(--ink-secondary); }

/* Blog Index Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin: 28px 0 48px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: var(--acc2); transform: translateY(-2px); }
.blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--acc2);
  background: var(--acc-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.blog-card h2 { font-size: 19px; margin-bottom: 10px; }
.blog-card p { font-size: 14px; margin-bottom: 16px; }
.blog-card-meta { font-size: 12.5px; color: var(--ink-muted); display: flex; justify-content: space-between; align-items: center; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 44px 0 32px;
  margin-top: 64px;
}
[data-theme="light"] footer { background: rgba(11, 16, 34, 0.03); }

.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
@media (max-width: 820px) {
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .ftr-grid { grid-template-columns: 1fr; }
}
.ftr-col h3 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 12px;
}
.ftr-col ul { list-style: none; margin: 0; padding: 0; }
.ftr-col li { margin-bottom: 8px; font-size: 13.5px; }
.ftr-col a { color: var(--ink-secondary); }
.ftr-col a:hover { color: var(--ink); }
.ftr-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--acc2);
  outline-offset: 2px;
}

/* Prepared AdSense container (hidden until Publisher ID is configured; placed only in informational regions) */
.ad-slot-prep {
  margin: 32px auto;
  max-width: 728px;
  min-height: 90px;
  border-radius: var(--radius-md);
}

/* Contact form styles */
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--ink);
}
.form-status.err {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--ink);
}


/* Social links in footer */
.ftr-social-list {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.ftr-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ftr-social-link:hover {
  color: var(--acc2, #6366f1);
}
.ftr-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

