/* Black Friday page. Builds on styles.css (tokens, header, labels);
   this file adds the backdrop, paint stroke, neon green accents, the metal
   frames around price and button, the tilted plugin shot and the cards. */

:root {
  --neon: #39ff6a;
  --neon-soft: #8dffab;
  --neon-deep: #12b83e;
  --neon-rim: #0b4a1d;
  --neon-text: #03260d;
  --neon-glow: rgba(57, 255, 106, .55);
  --max: 1320px;
}

/* black-green page instead of the plum/orange studio wash */
body {
  background-color: #07090b;
  background-image: linear-gradient(180deg, #0a0d0f 0%, #07090b 100%);
}

/* ── stage: the backdrop image behind header, hero and cards ────────────── */
.bf-stage {
  background:
    linear-gradient(180deg, rgba(7, 9, 11, 0) 82%, #07090b 100%),
    linear-gradient(90deg, rgba(6, 8, 10, .62) 0%, rgba(6, 8, 10, .35) 42%, rgba(6, 8, 10, .08) 70%, rgba(6, 8, 10, .25) 100%),
    url("assets/bf-bg.jpg") center top / cover no-repeat,
    #07090b;
}

/* header badge: green instead of cyan */
.badge-neon {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--neon);
  background: rgba(4, 22, 10, .78);
  border: 1.5px solid var(--neon);
  box-shadow: 0 0 16px rgba(57, 255, 106, .45), inset 0 0 12px rgba(57, 255, 106, .18);
  text-shadow: 0 0 8px rgba(57, 255, 106, .6);
}
.badge-neon .badge-dot { background: var(--neon); box-shadow: 0 0 8px var(--neon); animation-name: pulse-neon; }
@keyframes pulse-neon { 50% { opacity: .35; box-shadow: 0 0 2px var(--neon); } }
.brand-logo { height: 40px; }

/* ── hero grid ──────────────────────────────────────────────────────────── */
.bf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  padding-top: 20px;
  padding-bottom: 72px;
}
.bf-copy { min-width: 0; }
.bf-side { min-width: 0; }

/* ── BLACK FRIDAY strip (assets/bf-strip.webp, the lettering is in the image) ── */
.brush {
  --haze: clamp(36px, 6vw, 84px);   /* how far the green haze spreads past the strip */
  display: block;
  box-sizing: content-box;
  width: min(136%, 800px);
  max-width: none;
  height: auto;
  padding: var(--haze);
  /* the padding only carries the haze; the margins take it back out of the layout,
     and -24.5% puts the letters on the column's left edge */
  margin: calc(-6px - var(--haze)) 0 calc(-18px - var(--haze)) calc(-24.5% - var(--haze));
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6));
  background: radial-gradient(closest-side,
    rgba(57, 255, 106, .50) 0%,
    rgba(57, 255, 106, .34) 35%,
    rgba(57, 255, 106, .16) 65%,
    rgba(57, 255, 106, .05) 85%,
    transparent 100%);
}

.bf-copy .label, .bf-copy h1 { position: relative; z-index: 1; }   /* above the paint droplets */
.bf-copy .label { margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: .24em; color: #aab1b8; }
.bf-copy h1 {
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: initial;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .6);
}
.bf-copy h1 em {
  display: block;
  max-width: 9.2em;               /* breaks as "without the / jazz degree" */
  padding-bottom: .16em;          /* keeps the j and g tails inside the gradient */
  margin-bottom: -.16em;
  background: linear-gradient(180deg, #ffb24a 0%, #ff8a2e 50%, #ff6a24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 122, 51, .28));
}

/* ── metal frame with chamfered corners (price and button) ──────────────── */
.glow { display: block; width: fit-content; max-width: 100%; }
.glow-soft { margin: 24px 0 14px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)); }
.glow-cta { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(57, 255, 106, .42)); transition: filter .15s; }
.glow-cta:hover { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)) drop-shadow(0 0 28px rgba(57, 255, 106, .7)); }

.frame {
  --c: 11px;
  position: relative;
  padding: 6px 10px;
  background: linear-gradient(180deg, #6a7078 0%, #2a2e33 9%, #16191c 50%, #23272b 90%, #565c63 100%);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
/* green side lights */
.frame::before, .frame::after {
  content: "";
  position: absolute;
  top: 32%;
  height: 36%;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--neon-soft), var(--neon));
  box-shadow: 0 0 8px var(--neon), 0 0 3px #fff;
}
.frame::before { left: 3px; }
.frame::after { right: 3px; }

/* ── price: readout well inside the frame ───────────────────────────────── */
.price-well {
  padding: 15px 22px 14px;
  background:
    repeating-linear-gradient(90deg, #6a7078 0 1px, transparent 1px 7px) top 5px left 10px / calc(100% - 20px) 4px no-repeat,
    repeating-linear-gradient(90deg, #6a7078 0 1px, transparent 1px 7px) bottom 5px left 10px / calc(100% - 20px) 4px no-repeat,
    linear-gradient(180deg, #06080a, #0d1012);
  border: 1px solid #3a4047;
  border-radius: 8px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .9);
}
.price-was { margin: 0 0 2px; font-size: clamp(14px, 1.15vw, 16px); font-weight: 300; color: #b4bac1; }
.price-was span { color: #e6e9ec; font-weight: 600; }
.price-was s { color: var(--dim); text-decoration-color: #ff5a4a; text-decoration-thickness: 2px; }
.price-now { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.price-big {
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(57, 255, 106, .7), 0 0 30px rgba(57, 255, 106, .4);
}
.save-pill {
  padding: 6px 14px;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--neon-text);
  background: linear-gradient(180deg, #7dffa0, var(--neon));
  border-radius: var(--r-pill);
  box-shadow: 0 0 14px var(--neon-glow);
}

/* ── CTA: green key inside the frame ────────────────────────────────────── */
.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 26px;
  font: 700 clamp(15px, 1.2vw, 17px)/1.25 var(--font);
  text-align: center;
  text-decoration: none;
  color: #04240c;
  background:
    linear-gradient(180deg, rgba(240, 255, 244, .55) 0%, rgba(240, 255, 244, 0) 48%),
    linear-gradient(180deg, #7dffa0 0%, #2fe35c 55%, #14b53e 100%);
  border: 1.5px solid #0b4a1d;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(240, 255, 244, .7), inset 0 -3px 6px rgba(4, 60, 20, .35);
  transition: transform .08s, filter .15s;
}
.btn-buy:hover { filter: brightness(1.08); }
.btn-buy:active { transform: translateY(1px); filter: brightness(.95); }
.btn-buy:focus-visible { outline-color: #fff; outline-offset: -5px; }
.bf-copy .micro { margin-top: 16px; font-size: 14px; font-style: normal; color: #9aa1a8; }

/* ── tilted plugin shot with a cyan-to-green neon rim ───────────────────── */
.bf-shot { margin: 0; perspective: 1500px; }
.bf-screen {
  position: relative;
  padding: 4px;
  border-radius: 16px;
  background: linear-gradient(150deg, #7fe9ff 0%, #18c8f0 30%, #19d8b0 62%, var(--neon) 100%);
  box-shadow:
    0 0 22px rgba(0, 212, 255, .55),
    -18px -14px 60px rgba(0, 190, 255, .28),
    14px 30px 70px rgba(57, 255, 106, .40),
    0 40px 60px rgba(0, 0, 0, .6);
  transform: rotateY(-17deg) rotateX(4deg) rotateZ(-2.5deg);
  transform-origin: 60% 50%;
}
.bf-screen img {
  width: 100%;
  border-radius: 12px;
  border: 5px solid #12181d;
  background: #0b0d0f;
}

/* ── bundle cards ───────────────────────────────────────────────────────── */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 34px);
  margin-top: 56px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 3px;
}
/* metal rim and dark face, both chamfered; drawn behind the content so the
   Free Bonus badge can hang outside the card */
.product::before, .product::after {
  content: "";
  position: absolute;
}
.product::before {
  --c: 16px;
  inset: 0;
  background: linear-gradient(180deg, #5a6068 0%, #2a2e33 12%, #1a1d20 60%, #33383e 100%);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.product::after {
  --c: 14px;
  inset: 3px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #1a1d21, #0e1012);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.product-bonus::before { background: linear-gradient(180deg, #5cff86 0%, #1f6b35 30%, #1a1d20 70%, #2f8a47 100%); }
.product-bonus { filter: drop-shadow(0 0 18px rgba(57, 255, 106, .18)); }
.product > * { position: relative; z-index: 1; }

.product-img {
  position: relative;
  margin: 17px 17px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #343a41;
  background: #07090b;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .9);
}
.product-img img { position: absolute; }
.product-img-ui img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.product-img-pedal { background: radial-gradient(closest-side, rgba(233, 120, 55, .30), rgba(233, 120, 55, 0) 75%), #07090b; }
.product-img-pedal img { inset: 4%; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7)); }

.product-body { padding: 16px 20px 22px; }
.product-body .label { margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #8a9198; }
.product-bonus .label { color: var(--neon); text-shadow: 0 0 10px rgba(57, 255, 106, .5); }
.product h2 { margin: 0 0 6px; font-size: clamp(18px, 1.9vw, 24px); font-weight: 600; line-height: 1.2; color: #fff; }
.product .fmt { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--dim); white-space: nowrap; }
.product-body p { margin: 0; font-size: 14px; line-height: 1.45; color: #9aa1a8; }
.product-body .product-price { margin-top: 12px; font-size: 15px; color: #e6e9ec; font-weight: 600; }
.product-price s { color: var(--dim); font-weight: 500; text-decoration-color: #ff5a4a; }
.product-price strong { color: var(--neon); text-shadow: 0 0 10px rgba(57, 255, 106, .4); }

.product .bonus-badge {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -12px;
  padding: 8px 18px;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--neon-text);
  background: linear-gradient(180deg, #7dffa0, var(--neon));
  border-radius: var(--r-pill);
  box-shadow: 0 0 18px var(--neon-glow), 0 4px 10px rgba(0, 0, 0, .5);
}

/* ── demo video + features (stage 2) ────────────────────────────────────── */
.bf-demo { padding-top: 24px; padding-bottom: 96px; }
.bf-demo > .label { margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: .24em; color: #aab1b8; }
.bf-demo h2 {
  margin: 0 0 36px;
  max-width: 22em;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #fff;
}
.bf-demo h2 em {
  font-style: normal;
  background: linear-gradient(180deg, #ffb24a 0%, #ff8a2e 50%, #ff6a24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bf-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }

/* video: the index page's media well inside the BF metal frame */
.bf-media-glow { width: 100%; margin: 0; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6)) drop-shadow(0 0 24px rgba(57, 255, 106, .16)); }
.bf-media { --c: 14px; margin: 0; padding: 12px 14px 4px; }
.bf-media .media-screen { border-color: #343a41; background: #07090b; }
.bf-media .media-screen img { opacity: .5; }
.bf-media figcaption { color: #8a9198; }
.bf-media .play-key {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 6px 14px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(57, 255, 106, .6),
    0 0 26px rgba(57, 255, 106, .3);
}
.bf-media .play-key:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 6px 14px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(57, 255, 106, .95),
    0 0 36px rgba(57, 255, 106, .55);
}
.bf-media .play-tri { border-left-color: var(--neon); filter: drop-shadow(0 0 7px var(--neon)); }

/* features: neon square bullets like the frame side lights */
.bf-features { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 26px; }
.bf-features li { position: relative; padding-left: 30px; }
.bf-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon-soft), var(--neon));
  box-shadow: 0 0 8px var(--neon), 0 0 2px #fff;
}
.bf-features h3 { margin: 0 0 6px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; line-height: 1.3; color: #fff; }
.bf-features p { margin: 0; font-size: 15px; line-height: 1.55; color: #9aa1a8; }
.bf-features strong { color: var(--neon); font-weight: 600; text-shadow: 0 0 10px rgba(57, 255, 106, .4); }
.bf-pitch .micro { margin-top: 16px; font-size: 14px; font-style: normal; color: #9aa1a8; }

@media (min-width: 1000px) {
  .bf-demo-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
}
@media (max-width: 640px) {
  .bf-demo { padding-bottom: 64px; }
  .bf-media { --c: 10px; padding: 8px 10px 2px; }
  .bf-media .play-key { width: 64px; height: 64px; border-radius: 14px; }
  .bf-media .play-tri { border-width: 12px 0 12px 21px; margin-left: 4px; }
}

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 1000px) {
  .bf-hero {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 90px);
    align-items: start;
    padding-top: 8px;
    padding-bottom: 88px;
  }
  .bf-side { padding-top: 96px; }
  .bf-shot { margin-inline: 0 -3%; }
  .bundle-grid { margin-top: 72px; }
}
@media (max-width: 999px) {
  .bf-stage {
    background:
      linear-gradient(180deg, rgba(7, 9, 11, .45) 0%, rgba(7, 9, 11, .3) 60%, #07090b 100%),
      url("assets/bf-bg.jpg") 62% top / auto 900px no-repeat,
      #07090b;
  }
  .bf-screen { transform: rotateY(-9deg) rotateX(3deg) rotateZ(-1.5deg); }
  .bf-shot { padding-inline: 2%; }
}
@media (max-width: 640px) {
  .brand-logo { height: 26px; }
  .badge-neon { padding: 6px 11px; font-size: 10px; }
  .glow { width: 100%; }
  .price-well { padding: 15px 16px 14px; }
  .btn-buy { padding-inline: 12px; min-height: 54px; }
  .product-img { margin: 12px 12px 0; }
  .product-body { padding: 12px 14px 18px; }
  .product-body .label { font-size: 11px; }
  .product .bonus-badge { right: -6px; padding: 6px 12px; }
}
