/* ================================================
   PIONEER VENDING — styles.css
   ================================================ */

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

/* ── CSS Variables ── */
:root {
  --pv-pink:    #ff2a5d;
  --pv-magenta: #ff2ad4;
  --pv-purple:  #9b3bff;
  --pv-blue:    #2e7bff;
  --pv-cyan:    #16c6ff;
  --pv-green:   #1dffb0;

  --pv-bg:        #06070d;
  --pv-bg-raised: #0d1018;
  --pv-line:      #7fd8ff;

  --pv-text:     #ffffff;
  --pv-text-dim: #d8dde6;
  --pv-tagline:  #7fd8ff;

  --pv-gradient: linear-gradient(
    90deg,
    #ff2a5d 0%, #ff2ad4 20%, #9b3bff 42%,
    #2e7bff 64%, #16c6ff 84%, #1dffb0 100%
  );

  --pv-font-display: 'Orbitron', sans-serif;
  --pv-font-body:    'Rajdhani', 'Inter', system-ui, sans-serif;
  --pv-max-width: 1100px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--pv-bg);
  color: var(--pv-text);
  font-family: var(--pv-font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scanline texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(127, 216, 255, 0.022) 2px,
    rgba(127, 216, 255, 0.022) 3px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: var(--pv-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.pv-gradient-text {
  background: var(--pv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--pv-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.pv-btn:focus-visible { outline: 2px solid var(--pv-cyan); outline-offset: 3px; }

.pv-btn-primary {
  background: var(--pv-gradient);
  color: #000;
  font-weight: 900;
}
.pv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 42, 93, 0.45);
}

.pv-btn-outline {
  background: transparent;
  color: var(--pv-text);
  border: 1px solid rgba(127, 216, 255, 0.35);
}
.pv-btn-outline:hover {
  border-color: var(--pv-cyan);
  box-shadow: 0 0 16px rgba(22, 198, 255, 0.25);
  transform: translateY(-2px);
}

.badge-21 {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  font-family: var(--pv-font-display);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: rgba(255, 42, 93, 0.12);
  border: 1px solid var(--pv-pink);
  color: var(--pv-pink);
  text-transform: uppercase;
}

.gradient-divider {
  height: 1px;
  background: var(--pv-gradient);
  opacity: 0.35;
}

/* ── Age Gate ── */
#age-gate {
  position: fixed;
  inset: 0;
  background: var(--pv-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#age-gate.hidden { display: none; }

.age-gate-box {
  max-width: 460px;
  width: 100%;
  text-align: center;
  background: var(--pv-bg-raised);
  border: 1px solid rgba(127, 216, 255, 0.18);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 60px rgba(155, 59, 255, 0.2), 0 0 20px rgba(22, 198, 255, 0.08);
}
.age-gate-logo { width: 72px; height: 72px; margin: 0 auto 1.25rem; display: block; }
.age-gate-headline {
  font-family: var(--pv-font-display);
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.age-gate-sub { color: var(--pv-text-dim); font-size: 0.95rem; margin-bottom: 1.75rem; }
.age-gate-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
.age-gate-denied {
  display: none;
  color: var(--pv-pink);
  font-size: 0.88rem;
  margin-top: 1rem;
}
.age-gate-legal {
  font-size: 0.72rem;
  color: #a8b4c4;
  margin-top: 1.25rem;
  line-height: 1.55;
}

/* ── Header / Nav ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 7, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(127, 216, 255, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  max-width: var(--pv-max-width);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo img { width: 34px; height: 34px; }
.nav-wordmark {
  font-family: var(--pv-font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-links { display: none; list-style: none; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--pv-text-dim);
  text-decoration: none;
  font-family: var(--pv-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pv-cyan); }
.nav-cta { display: none; }

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pv-text);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(13, 16, 24, 0.98);
  border-top: 1px solid rgba(127, 216, 255, 0.08);
  padding: 1rem 1.25rem 1.5rem;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--pv-text-dim);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(127, 216, 255, 0.06);
  font-family: var(--pv-font-body);
  font-weight: 600;
  font-size: 1rem;
}
.nav-mobile .pv-btn { margin-top: 1rem; text-align: center; border-bottom: none; }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(155, 59, 255, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(22, 198, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem;
  width: 100%;
  max-width: var(--pv-max-width);
  margin: 0 auto;
}
.hero-emblem {
  width: clamp(180px, 36vw, 280px);
  height: auto;
  margin: 0 auto 1.75rem;
  display: block;
}
.hero-badge { margin-bottom: 1rem; }

/* Dark scrim card behind headline + subtext for contrast */
.hero-copy {
  background: rgba(6, 7, 13, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(127, 216, 255, 0.08);
  border-radius: 10px;
  padding: 2rem 1.75rem 2.25rem;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: var(--pv-font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  /* drop-shadow works on gradient text (acts on rendered pixels, not color) */
  filter: drop-shadow(0 0 18px rgba(155, 59, 255, 0.7)) drop-shadow(0 2px 4px rgba(0,0,0,0.9));
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--pv-text);
  max-width: 540px;
  margin: 0 auto 0;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 20px rgba(6, 7, 13, 0.8);
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
}

/* ── Section base ── */
section { padding: 5rem 0; position: relative; z-index: 1; }

.section-eyebrow {
  font-family: var(--pv-font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pv-tagline);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--pv-font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--pv-text-dim);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.65;
}

/* ── Value Props ── */
#value-props { background: var(--pv-bg-raised); }

.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

.value-card {
  background: var(--pv-bg);
  border: 1px solid rgba(127, 216, 255, 0.1);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.value-card:hover {
  border-color: rgba(155, 59, 255, 0.4);
  box-shadow: 0 0 24px rgba(155, 59, 255, 0.12);
}
.value-hex {
  width: 52px;
  height: 52px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--pv-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.value-hex svg { width: 22px; height: 22px; stroke: #000; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-title { font-family: var(--pv-font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.value-desc { color: var(--pv-text-dim); font-size: 0.95rem; line-height: 1.6; }

/* ── How It Works ── */
#how-it-works { background: var(--pv-bg); }

.steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  width: 46px; height: 46px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--pv-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pv-font-display);
  font-weight: 900; font-size: 0.8rem; color: #000;
}
.step-title { font-family: var(--pv-font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.step-desc { color: var(--pv-text-dim); font-size: 0.95rem; line-height: 1.6; }

/* ── For Venues ── */
#for-venues { background: var(--pv-bg-raised); }

.venues-split { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
.venues-col {
  background: var(--pv-bg);
  border: 1px solid rgba(127, 216, 255, 0.1);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
}
.venues-col h3 {
  font-family: var(--pv-font-display);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--pv-tagline); margin-bottom: 1.25rem;
}
.venues-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.venues-col ul li { color: var(--pv-text-dim); font-size: 0.975rem; padding-left: 1.25rem; position: relative; line-height: 1.5; }
.venues-col ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--pv-gradient);
}
.venues-col.pioneer-handles {
  border-color: rgba(155, 59, 255, 0.3);
  box-shadow: 0 0 20px rgba(155, 59, 255, 0.08);
}

/* ── Products ── */
#products { background: var(--pv-bg); }

.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.product-card {
  background: var(--pv-bg-raised);
  border: 1px solid rgba(127, 216, 255, 0.1);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  border-color: rgba(22, 198, 255, 0.35);
  box-shadow: 0 0 20px rgba(22, 198, 255, 0.08);
}
.product-icon { font-size: 2.25rem; margin-bottom: 0.875rem; display: block; }
.product-name { font-family: var(--pv-font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.product-desc { color: var(--pv-text-dim); font-size: 0.9rem; line-height: 1.6; }

/* ── Compliance ── */
#compliance {
  background: var(--pv-bg-raised);
  border-top: 1px solid rgba(127, 216, 255, 0.07);
  border-bottom: 1px solid rgba(127, 216, 255, 0.07);
}
.compliance-inner { display: flex; flex-direction: column; gap: 1.25rem; }
.compliance-heading { font-family: var(--pv-font-display); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 800; }
.compliance-text { color: var(--pv-text-dim); font-size: 1rem; line-height: 1.7; max-width: 700px; }
.compliance-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.compliance-tag {
  padding: 0.35em 0.9em;
  border-radius: 3px;
  font-family: var(--pv-font-display);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(46, 123, 255, 0.1);
  border: 1px solid rgba(46, 123, 255, 0.3);
  color: var(--pv-cyan);
}

/* ── Contact ── */
#contact { background: var(--pv-bg); }

.contact-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-info .section-title { margin-bottom: 1rem; }
.contact-info p { color: var(--pv-text-dim); font-size: 0.975rem; line-height: 1.65; margin-bottom: 1rem; }
.contact-detail {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--pv-text-dim); font-size: 0.95rem;
  text-decoration: none; margin-top: 0.5rem;
  transition: color 0.2s;
}
.contact-detail:hover { color: var(--pv-cyan); }

.form-card {
  background: var(--pv-bg-raised);
  border: 1px solid rgba(127, 216, 255, 0.13);
  border-radius: 8px;
  padding: 2rem 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; color: var(--pv-text-dim); text-transform: uppercase; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--pv-bg);
  border: 1px solid rgba(127, 216, 255, 0.16);
  border-radius: 4px;
  color: var(--pv-text);
  font-family: var(--pv-font-body);
  font-size: 1rem;
  padding: 0.72rem 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pv-cyan);
  box-shadow: 0 0 0 3px rgba(22, 198, 255, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(159, 178, 201, 0.45); }

.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239fb2c9' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--pv-bg-raised); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group-mb { margin-bottom: 1rem; }

.form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.5rem; }
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0; margin-top: 0.15em;
  accent-color: var(--pv-pink); cursor: pointer;
}
.form-checkbox label { font-size: 0.875rem; color: var(--pv-text-dim); cursor: pointer; line-height: 1.5; }

.form-error { color: var(--pv-pink); font-size: 0.78rem; margin-top: 0.2rem; display: none; }
.form-error.show { display: block; }

.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success.show { display: block; }
.form-success-icon { font-size: 2.75rem; margin-bottom: 1rem; display: block; }
.form-success h3 { font-family: var(--pv-font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--pv-text-dim); font-size: 0.95rem; }

/* ── Footer ── */
#footer {
  background: var(--pv-bg-raised);
  border-top: 1px solid rgba(127, 216, 255, 0.08);
  padding: 3rem 0 2rem;
  position: relative; z-index: 1;
}
.footer-inner { display: flex; flex-direction: column; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brandname { font-family: var(--pv-font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; margin-bottom: 0.3rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--pv-text-dim); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--pv-cyan); }
.footer-bottom { border-top: 1px solid rgba(127, 216, 255, 0.06); padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }
.footer-copy { color: var(--pv-text-dim); font-size: 0.8rem; }
.footer-disclaimer { color: #a8b4c4; font-size: 0.72rem; line-height: 1.55; }

/* ── Subpage layout ── */
.subpage-main { padding-top: 80px; min-height: 80vh; position: relative; z-index: 1; }
.subpage-content { max-width: 760px; padding: 4rem 1.25rem; margin: 0 auto; }
.placeholder-banner {
  display: inline-block;
  background: rgba(255, 42, 93, 0.1);
  border: 1px solid var(--pv-pink);
  color: var(--pv-pink);
  padding: 0.35em 1em;
  border-radius: 3px;
  font-family: var(--pv-font-display);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.legal-notice {
  background: rgba(255, 42, 93, 0.05);
  border: 1px solid rgba(255, 42, 93, 0.22);
  border-radius: 6px; padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
}
.legal-notice strong { color: var(--pv-pink); }
.legal-body { color: var(--pv-text-dim); line-height: 1.75; font-size: 1rem; }
.legal-body h2 {
  font-family: var(--pv-font-display);
  font-size: 0.95rem; font-weight: 700;
  margin: 2rem 0 0.75rem; color: var(--pv-text);
}
.legal-body a { color: var(--pv-cyan); }

/* ── Responsive: 640px ── */
@media (min-width: 640px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .venues-split { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .form-row.two-col { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: 900px ── */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }
  .nav-mobile { display: none !important; }

  .value-grid { grid-template-columns: repeat(4, 1fr); }

  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .step { flex-direction: column; text-align: center; align-items: center; }

  .contact-inner { grid-template-columns: 1fr 2fr; }

  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pv-btn, .value-card, .product-card { transition: none; }
}
