/* Hillbilly Warfare — Tactical Solid-Slate & Flame Amber Stylesheet
 * Zero external CDN dependencies. Fast, sharp, mobile-responsive.
 */
:root {
  --bg: #0B0D12;
  --surface: #111319;
  --surface-elev: #171B24;
  --border: rgba(210, 224, 248, 0.14);
  --border-strong: rgba(255, 107, 26, 0.48);
  --flame: #FF6B1A;
  --flame-hover: #FF823A;
  --gold: #F5B731;
  --text: #F2F5FA;
  --muted: #9AA5B8;
  --danger: #FF5252;
  --ok: #38D39F;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
}

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

/* --- Top Nav --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  text-decoration: none;
}

.brand-mark:hover {
  color: var(--gold);
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--flame), var(--gold));
  box-shadow: 0 0 12px rgba(255, 107, 26, 0.65);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn-vip-subtle {
  appearance: none;
  background: rgba(23, 27, 36, 0.85);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.btn-vip-subtle:hover,
.btn-vip-subtle:focus-visible {
  color: var(--gold);
  border-color: var(--border-strong);
  background: rgba(255, 107, 26, 0.12);
  outline: none;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: min(90vh, 840px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 68px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 35%, #1d1510 0%, #0B0D12 72%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  filter: saturate(1.08) contrast(1.06);
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 18, 0.72) 0%, rgba(11, 13, 18, 0.42) 44%, rgba(11, 13, 18, 0.96) 100%),
    radial-gradient(circle at 50% 42%, rgba(255, 107, 26, 0.14) 0%, rgba(11, 13, 18, 0.65) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(17, 19, 25, 0.88);
  border: 1px solid var(--border-strong);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(560px, 90vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.85));
}

.hero-tagline {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  color: #E7ECF6;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-sub {
  margin: 0;
  max-width: 680px;
  font-size: 0.96rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 2px solid #FFB366;
  background: linear-gradient(180deg, #FF792B 0%, #D94E0A 100%);
  color: #FFFFFF;
  font-size: clamp(0.92rem, 1.7vw, 1.06rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 107, 26, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 36px rgba(255, 107, 26, 0.52);
  outline: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(17, 19, 25, 0.85);
  color: #D4DCEB;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(23, 27, 36, 0.96);
  outline: none;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.pill {
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(17, 19, 25, 0.86);
  border: 1px solid var(--border);
  color: #D0D8E6;
  font-size: 0.8rem;
  font-weight: 600;
}

.pill strong {
  color: var(--gold);
}

/* --- Main Sections --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 68px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-block;
  color: var(--flame);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
  font-size: 1rem;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* --- Launch Pricing Panel --- */
.launch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.launch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.launch-card.featured {
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.11) 0%, var(--surface) 48%);
  border-color: var(--border-strong);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-now {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.price-strike {
  font-size: 1.05rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-badge {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 107, 26, 0.22);
  border: 1px solid var(--border-strong);
  color: #FFC38A;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.check-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #D4DCEB;
  font-size: 0.92rem;
}

.check-list li::before {
  content: "▸ ";
  color: var(--flame);
  font-weight: 800;
}

.launch-cta-bar {
  margin-top: 26px;
  padding: 20px 24px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.launch-cta-bar p {
  margin: 0;
  color: #DCE3F0;
  font-size: 0.95rem;
}

/* --- Toast Banner --- */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(580px, calc(100vw - 32px));
  background: #151923;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.78);
  display: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.toast.open {
  display: flex;
}

.toast-body {
  font-size: 0.92rem;
  color: var(--text);
}

.toast-title {
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.toast-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toast-close {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

.toast-close:hover {
  color: var(--text);
}

/* --- VIP Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: min(480px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.modal-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.modal-close {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--flame);
}

.modal-desc {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #D2DAE8;
}

.input-text {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #080A0F;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
}

.input-text:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.2);
}

.channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.channel-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0D1017;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.channel-option:has(input:checked) {
  border-color: var(--flame);
  background: rgba(255, 107, 26, 0.12);
}

.channel-option input {
  margin-top: 3px;
  accent-color: var(--flame);
}

.channel-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.channel-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.modal-status {
  min-height: 22px;
  margin: 0 0 12px;
  font-size: 0.86rem;
  font-weight: 600;
}

.modal-status.err {
  color: var(--danger);
}

.modal-status.ok {
  color: var(--ok);
}

.modal-submit {
  width: 100%;
}

/* --- Legal / Prose Pages (/privacy, /terms) --- */
.prose-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 20px 76px;
}

.prose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 44px);
}

.prose-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 900;
  color: var(--text);
}

.prose-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
  font-family: var(--mono);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.prose-card h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}

.prose-card p,
.prose-card li {
  color: #D6DEEC;
  font-size: 0.96rem;
}

.prose-card ul {
  padding-left: 20px;
}

.prose-card li {
  margin-bottom: 8px;
}

.entity-box {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #0D1017;
  border: 1px solid var(--border-strong);
  font-size: 0.92rem;
}

/* --- Footer --- */
.footer {
  padding: 36px 20px 48px;
  background: #080A0E;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .topbar-inner {
    padding: 10px 14px;
  }
  .nav-links {
    gap: 12px;
  }
  .hero {
    min-height: 76vh;
    padding: 40px 16px 52px;
  }
  .btn-primary {
    width: 100%;
    padding: 15px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}
