/* ===========================================================
   National Card Vending — dark single-page design
   Structure modeled on 701vending.com; NCV blue/gold identity
   =========================================================== */

:root {
  --bg: #07080C;
  --bg-soft: #0B0E15;
  --panel: #10141F;
  --card: #121828;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #F2F4F9;
  --text-soft: #C3CAD6;
  --muted: #8E97A8;

  --blue: #2B6BFF;
  --blue-deep: #1E55E6;
  --blue-bright: #6A9BFF;
  --gold: #FFC72E;
  --gold-soft: rgba(255, 199, 46, 0.14);
  --green: #2BD98A;

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1180px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
p { margin: 0 0 1em; color: var(--text-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #111; font-weight: 600;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px;
}

.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.dot--live { background: var(--green); box-shadow: 0 0 10px rgba(43,217,138,0.8); }

/* ---------------- Buttons ---------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn:active { transform: translateY(1px); }
.btn__arrow { transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(43, 107, 255, 0.35);
}
.btn--primary:hover { box-shadow: 0 14px 34px rgba(43, 107, 255, 0.5); }
.btn--primary::before {
  content: "";
  position: absolute; top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn--primary:hover::before { left: 135%; }

.btn--outline {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

.btn--gold {
  background: linear-gradient(135deg, #FFD966 0%, var(--gold) 100%);
  color: #171307;
  box-shadow: 0 10px 28px rgba(255, 199, 46, 0.25);
}
.btn--gold:hover { box-shadow: 0 14px 34px rgba(255, 199, 46, 0.38); }

.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav.is-scrolled {
  padding: 11px 0;
  background: rgba(7, 8, 12, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 17.5px; }
.brand__mark {
  width: 37px; height: 37px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  box-shadow: 0 6px 18px rgba(43, 107, 255, 0.45);
  flex: none;
}
.brand__word span { color: var(--blue-bright); }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--text-soft); }
.nav__links a:hover { color: var(--gold); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: var(--panel);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--text); position: relative;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

.nav__mobile {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 104px 28px 40px;
  flex-direction: column; gap: 2px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 600;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 88px;
  background:
    radial-gradient(60% 48% at 12% 0%, rgba(43, 107, 255, 0.16), transparent 60%),
    radial-gradient(42% 38% at 92% 8%, rgba(255, 199, 46, 0.10), transparent 60%),
    var(--bg);
}
.hero__aurora {
  position: absolute; inset: -25%;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 22% 30%, rgba(43, 107, 255, 0.20), transparent 60%),
    radial-gradient(30% 28% at 80% 70%, rgba(106, 155, 255, 0.10), transparent 60%);
  filter: blur(20px);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}

.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.08em;
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  padding: 8px 15px;
  margin: 0 0 26px;
}
.hero__copy h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 800;
  color: var(--text);
  max-width: 620px;
  margin-bottom: 20px;
}
.hero__copy h1 em {
  font-style: normal;
  color: var(--gold);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero__copy h1 em {
    background: linear-gradient(120deg, var(--gold) 20%, #FFE28A 50%, var(--gold) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.hero__sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.chips {
  display: flex; flex-wrap: wrap; gap: 9px;
  list-style: none; margin: 0; padding: 0;
}
.chips li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 7px 13px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.chips li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* photo frame */
.hero__media { position: relative; }
.photo-frame {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(43,107,255,0.08);
  background: var(--panel);
}
.photo-frame img { width: 100%; height: auto; }
.photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(43,107,255,0.10) 0%, transparent 36%);
  pointer-events: none;
}
.photo-frame__tag {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text);
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  padding: 8px 13px;
  border-radius: 999px;
}
.photo-frame--tilt { transform: rotate(-1.2deg); }

/* ---------------- Stats band ---------------- */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 30px; padding-bottom: 30px;
}
.band__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.band__item strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.band__item span { font-size: 13.5px; color: var(--muted); }

/* ---------------- Sections ---------------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; color: var(--text); }
.section-head p { font-size: 17px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  border-color: rgba(43, 107, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}
.step__num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}
.step__num::after {
  content: ""; display: block; width: 30px; height: 2px; background: var(--gold); margin-top: 9px; border-radius: 2px;
}
.step h3 { font-size: 21px; color: var(--text); margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

/* ---------------- Cards grid ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(43, 107, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(43, 107, 255, 0.18), rgba(255, 199, 46, 0.12));
  border: 1px solid rgba(43, 107, 255, 0.25);
  color: var(--blue-bright);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 17.5px; color: var(--text); margin-bottom: 7px; }
.card p { font-size: 14.5px; margin: 0; }

/* ---------------- Split (machine) ---------------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split__copy h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--text); }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 15px; }
.check-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 16px; color: var(--text-soft);
}
.check {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--gold-soft);
  border: 1px solid rgba(255, 199, 46, 0.35);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check svg { width: 13px; height: 13px; }

/* ---------------- Tags (perfect for) ---------------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags span {
  font-size: 15.5px; font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line-strong);
  padding: 13px 22px;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tags span:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(43, 107, 255, 0.45); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600; font-size: 16.5px;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 22px; font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; margin: 0; font-size: 15px; }

/* ---------------- Contact ---------------- */
.section--contact {
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(43, 107, 255, 0.12), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}
.contact-book {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 34px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.contact-book h3 { font-size: 22px; color: var(--text); }
.contact-book p { font-size: 15px; }
.contact-book .btn { margin-top: 10px; }
.fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.or-call {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  width: 100%;
}
.or-call__label { font-size: 13.5px; color: var(--muted); }

.form-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 34px;
}
.form-panel h3 { font-size: 22px; color: var(--text); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 2px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--text);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 107, 255, 0.22);
}
.form-body button[type="submit"] { margin-top: 18px; }
.form-body.is-hidden { display: none; }

.form-success { display: none; text-align: center; padding: 46px 20px; }
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(43, 217, 138, 0.12);
  border: 1px solid rgba(43, 217, 138, 0.4);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.form-success__icon svg { width: 26px; height: 26px; }
.form-success h3 { color: var(--text); }

/* ---------------- Footer ---------------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 62px 0 34px; }
.footer__top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 38px; border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.footer__brand p { max-width: 320px; font-size: 14px; color: var(--muted); margin-top: 14px; }
.brand__word--light { color: var(--text); }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 15px; font-weight: 500;
}
.footer__col a { display: block; font-size: 14.5px; color: var(--text-soft); margin-bottom: 11px; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { font-size: 12.5px; color: var(--muted); }
.footer__disclaimer { max-width: 720px; line-height: 1.6; margin: 0; }

/* ---------------- Sticky mobile CTA / back-to-top ---------------- */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(7, 8, 12, 0.9);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.mobile-cta__row { display: flex; gap: 10px; }
.mobile-cta__call { flex: none; width: 54px; padding: 13px 0; justify-content: center; }
.back-to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 80;
  font-size: 17px;
}
.back-to-top:hover { border-color: var(--gold); color: var(--gold); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------------- 404 ---------------- */
.not-found {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
  padding: 24px;
}
.not-found__inner { position: relative; z-index: 1; }
.not-found__code {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 14px;
}
.not-found h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; color: var(--text); max-width: 560px; margin: 0 auto 12px; }
.not-found p { max-width: 440px; margin: 0 auto 30px; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__aurora { animation: none !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { max-width: 480px; }
  .steps, .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .band__inner { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}

@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn--primary { display: none; } /* sticky bottom CTA covers it */
  .hero { padding: 128px 0 68px; }
  .steps, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  .back-to-top { display: none; } /* would collide with the sticky CTA */
  .footer__top { flex-direction: column; }
  .contact-book, .form-panel { padding: 30px 24px; }
}
