/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0b0d17;
  --bg-surface:  #111526;
  --bg-card:     #161a2e;
  --accent:      #5b8dee;
  --accent-glow: rgba(91, 141, 238, 0.25);
  --gold:        #e8b84b;
  --text:        #dde3f5;
  --text-muted:  #8a94b8;
  --border:      rgba(91, 141, 238, 0.18);
  --radius:      12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2.5rem;
  background: rgba(11, 13, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 40px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #1a2050 0%, var(--bg) 70%);
}

/* Procedural starfield via box-shadow */
#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo {
  width: min(560px, 90vw);
  height: auto;
  margin-bottom: -3rem;
  /* negative margin compensates for transparent padding baked into the PNG */
  margin-top: -1rem;
  filter: drop-shadow(0 0 24px var(--accent-glow));
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.4rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1rem;
}

/* ── Buttons ── */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 18px var(--accent-glow);
}
.btn-primary:hover {
  background: #7aa5f5;
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
}

/* ── Shared layout ── */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

/* ── Mission ── */
.mission {
  background: var(--bg-surface);
  padding: 5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ── Patreon ── */
.patreon {
  background: var(--bg-surface);
  padding: 5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.patreon p {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.btn-gold {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--gold);
  color: #1a1400;
  box-shadow: 0 0 18px rgba(232, 184, 75, 0.3);
  transition: all 0.2s;
}
.btn-gold:hover {
  background: #f2c968;
  box-shadow: 0 0 28px rgba(232, 184, 75, 0.45);
  transform: translateY(-1px);
}

/* ── Products ── */
.products {
  padding: 5rem 1.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 32px var(--accent-glow);
}

.product-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(232, 184, 75, 0.12);
}
.product-card.featured:hover {
  border-color: var(--gold);
  box-shadow: 0 0 36px rgba(232, 184, 75, 0.22);
}

.product-badge {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  background: var(--gold);
  color: #1a1200;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.product-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.product-tagline {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.75rem;
}
.feature-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}
.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 0.55rem;
}

.product-card.featured .feature-list li::before { color: var(--gold); }

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Blog CTA ── */
.blog-cta {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem;
  text-align: center;
}

.blog-cta p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Footer ── */
footer {
  padding: 2rem 1.5rem;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .navbar { padding: 0.75rem 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Active nav link ── */
.nav-active { color: var(--accent) !important; }

/* ── Services page hero (no canvas, simple dark banner) ── */
.page-hero {
  background: radial-gradient(ellipse at 50% 80%, #1a2050 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
  padding: 7rem 1.5rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

/* ── Services list ── */
.services-section {
  padding: 5rem 1.5rem;
}

.service-card {
  display: flex;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-bottom: 2rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 32px var(--accent-glow);
}

.service-icon {
  font-size: 2.6rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.service-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
}
.service-list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
}
.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 0.5rem;
}

/* ── Services CTA ── */
.services-cta {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 5rem 1.5rem;
  text-align: center;
}

.services-cta p {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Contact block ── */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-item a,
.contact-item address {
  color: var(--text);
  text-decoration: none;
  font-style: normal;
  font-size: 0.97rem;
  text-align: center;
  line-height: 1.6;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .service-card { flex-direction: column; gap: 1rem; }
}

/* ── Support options (PayPal + Patreon): two buttons centred ── */
.patreon .support-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
