/* products/shared.css — shared nav, footer, reset, font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #ccc;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Nav ── */
.site-nav {
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-nav .brand .nl {
  font-size: 0.72rem;
  color: #555;
}

.site-nav .brand .sep {
  color: #333;
  margin: 0 2px;
}

.site-nav .brand .product-name {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}

.site-nav .nav-cta {
  padding: 5px 14px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  /* accent color set per-page via inline style or page CSS */
  background: #fff;
}

/* ── Footer ── */
.site-footer {
  padding: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #333;
}

.site-footer a {
  color: #333;
  text-decoration: none;
}

.site-footer a:hover {
  color: #666;
}

.site-footer .footer-links {
  display: flex;
  gap: 16px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .site-nav {
    padding: 12px 16px;
  }

  .site-footer {
    padding: 16px;
    flex-direction: column;
    gap: 8px;
  }
}

/* ═══════════════════════════════════════════════ */
/* PRODUCT PAGE LAYOUT (shared across all pages)   */
/* ═══════════════════════════════════════════════ */

/* Each product page overrides --accent at the top of its <style> block */
:root { --accent: #818cf8; }

.site-nav .nav-cta { background: var(--accent); }

/* ── Hero ── */
.hero { position: relative; }
.hero img { width: 100%; display: block; }
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
}

/* ── CTA Bar ── */
.cta-bar {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-primary {
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.cta-secondary {
  font-size: 0.78rem;
  color: #555;
  text-decoration: none;
}

/* ── ROI paragraph block ── */
.roi {
  padding: 0 32px 40px;
  max-width: 620px;
}
.roi p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.7;
}
.roi p + p { margin-top: 10px; }
.roi strong { color: #bbb; font-weight: 600; }

/* ── Features ── */
.features {
  padding: 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.features h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.feature-item .f-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ddd;
  min-width: 160px;
  flex-shrink: 0;
}
.feature-item .f-desc {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.5;
}

/* ── Pricing ── */
.pricing {
  padding: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.pricing h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
}
.pricing-tier {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pricing-tier.featured {
  border-color: var(--accent);
}
.tier-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.tier-detail {
  font-size: 0.72rem;
  color: #555;
}
.tier-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.tier-price span {
  font-size: 0.68rem;
  color: #555;
  font-weight: 400;
}
.pricing-cta { margin-top: 20px; }
.pricing-cta a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

/* ── Related products strip ── */
.related {
  padding: 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.related h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
}
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #1c1c1c;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  transition: border-color 0.2s;
}
.related-card:hover { border-color: #333; }
.related-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}
.related-card .rc-name {
  display: block;
  padding: 10px 14px 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ddd;
}
.related-card .rc-tagline {
  display: block;
  padding: 0 14px 12px;
  font-size: 0.7rem;
  color: #666;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .cta-bar { padding: 16px; flex-wrap: wrap; }
  .roi { padding: 0 16px 32px; }
  .features { padding: 32px 16px; }
  .feature-item { flex-direction: column; gap: 4px; }
  .feature-item .f-name { min-width: auto; }
  .pricing { padding: 16px; }
  .pricing-tier { flex-direction: column; gap: 10px; align-items: flex-start; }
  .related { padding: 32px 16px; }
  .related-grid { grid-template-columns: 1fr; }
}
