/* ===== MindOnesBusiness — Halloween Undead Theme ===== */
:root {
  --bg: #0b0b0b;
  --bg-alt: #121212;
  --card: #171717;
  --text: #ece8e1;
  --muted: #a9a39a;
  --orange: #F7931A;   /* Bitcoin orange */
  --lime: #39FF14;     /* Neon lime */
  --border: #2a2a2a;
  --radius: 14px;
  --display: "Creepster", "Impact", fantasy;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; }
.small { font-size: .875rem; color: var(--muted); }
.accent { color: var(--orange); }
.rounded { border-radius: var(--radius); border: 1px solid var(--border); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--lime); color: #000; padding: 8px 14px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .03em; }
h1 { font-size: clamp(2.6rem, 9vw, 4.75rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); color: var(--orange); }
h3 { font-size: 1.25rem; color: var(--text); }
p { margin: 0 0 1em; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  color: var(--lime); font-weight: 700; margin-bottom: .6rem;
}
.glow { color: var(--lime); text-shadow: 0 0 12px rgba(57,255,20,.55), 0 0 32px rgba(57,255,20,.25); }

/* Buttons */
.btn {
  display: inline-block; background: var(--orange); color: #0b0b0b;
  font-weight: 800; text-decoration: none; padding: 14px 26px; border-radius: 999px;
  border: 2px solid var(--orange); cursor: pointer; font-size: 1rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { color: #0b0b0b; transform: translateY(-2px); box-shadow: 0 0 22px rgba(247,147,26,.55); }
.btn-ghost { background: transparent; color: var(--lime); border-color: var(--lime); }
.btn-ghost:hover { color: #0b0b0b; background: var(--lime); box-shadow: 0 0 22px rgba(57,255,20,.5); }
.btn-small { padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,11,.88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--text); font-weight: 800; font-size: 1.1rem;
}
.nav-toggle {
  background: none; border: 0; padding: 10px; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--lime); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu {
  list-style: none; margin: 0; padding: 0 16px 20px;
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  display: none; flex-direction: column; gap: 4px;
}
.nav-menu.open { display: flex; }
.nav-menu a:not(.btn) {
  display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 600;
}
.nav-menu a:not(.btn):hover { color: var(--lime); }
.nav-menu .btn { margin-top: 8px; text-align: center; }

/* Hero */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(247,147,26,.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(57,255,20,.10), transparent 50%);
  pointer-events: none;
}
.fog {
  position: absolute; left: -20%; right: -20%; bottom: -40px; height: 180px;
  background: radial-gradient(ellipse at center, rgba(200,200,200,.08), transparent 70%);
  filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.microcopy { font-size: .85rem; color: var(--muted); }

.coin { margin: 0 auto; width: min(320px, 80vw); }
.coin svg { width: 100%; height: auto; filter: drop-shadow(0 0 28px rgba(247,147,26,.35)); }
.coin .sun { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
.coin-text { fill: var(--orange); font-family: var(--body); font-weight: 800; letter-spacing: .25em; }
.coin-text.small { letter-spacing: .18em; }
.coin-year { fill: var(--muted); font: 700 16px var(--body); letter-spacing: .2em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.hero-grid > *, .two-col > *, .cards > *, .products > *, .quotes > * { min-width: 0; }

.cards, .products, .quotes { display: grid; gap: 20px; margin-top: 32px; }
.card, .product, .quote {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card { padding: 28px 24px; }
.card:hover, .product:hover {
  border-color: var(--lime); transform: translateY(-4px); box-shadow: 0 0 24px rgba(57,255,20,.15);
}
.icon { font-size: 2rem; color: var(--lime); margin-bottom: 8px; }
.cta-row { margin-top: 36px; }

.product { overflow: hidden; display: flex; flex-direction: column; }
.product img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.tag {
  display: inline-block; align-self: flex-start; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--lime); border: 1px solid var(--lime);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}
.link { font-weight: 700; text-decoration: none; }

.why-list {
  list-style: none; padding: 0; margin: 28px auto 0; max-width: 760px; display: grid; gap: 14px;
}
.why-list li {
  padding: 16px 18px 16px 48px; position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
}
.why-list li::before {
  content: "\2620"; position: absolute; left: 16px; top: 14px; color: var(--orange); font-size: 1.2rem;
}

.quote { margin: 0; padding: 26px 24px; border-left: 4px solid var(--orange); }
.quote p { font-size: 1.05rem; font-style: italic; }
.quote footer { color: var(--lime); font-weight: 700; font-size: .9rem; }

/* Form */
.form-wrap { max-width: 760px; }
.apply-form {
  margin-top: 28px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 18px;
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; gap: 0 18px; }
label { font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
label span { color: var(--orange); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #0e0e0e;
  border: 1px solid #3a3a3a; border-radius: 10px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(57,255,20,.25); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff5a5a; }
.field.check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field.check input { width: 22px; height: 22px; flex: none; margin-top: 3px; accent-color: var(--lime); }
.field.check label { font-weight: 400; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-weight: 700; text-align: center; min-height: 1.5em; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff7a7a; }

/* Footer */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 24px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.disclaimers { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }

/* 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px 16px; }
.page-404 h1 { color: var(--lime); font-size: clamp(4rem, 20vw, 9rem); margin-bottom: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Tablet / Desktop ===== */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .apply-form { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 22px; padding: 0; background: none; border: 0;
  }
  .nav-menu a:not(.btn) { padding: 6px 0; }
  .nav-menu .btn { margin-top: 0; }
  .hero { padding: 96px 0 110px; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .coin { width: 360px; }
  .two-col { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
  .products { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
