/* ============================================================
   RedCharge — Pitch Deck (Adam.Tech × Red Petroleum)
   Aggressive, electric, motion-heavy. Built on RedEnergy DS.
   ============================================================ */

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

html, body { margin: 0; padding: 0; background: #050505; }
deck-stage:not(:defined) { visibility: hidden; }

/* Adam.Tech brand gradient */
:root {
  --at-grad: linear-gradient(115deg, #44C18A 0%, #2DA7C4 40%, #4205EF 100%);
  --at-green: #44C18A;
  --at-purple: #4205EF;
}

/* ---------- Slide base ---------- */
deck-stage > section {
  width: 1920px; height: 1080px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  --pad: 110px;
}
.bg-ink   { background: #0A0A0A; }
.bg-black { background: #050505; }
.bg-red   { background: var(--rp-red); }
.bg-bone  { background: var(--bone); color: var(--ink); }
.bg-white { background: #fff; color: var(--ink); }

.pad {
  position: absolute; inset: 0;
  padding: var(--pad);
  display: flex; flex-direction: column;
  z-index: 3;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--re-green);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow.red { color: var(--rp-red); }
.eyebrow.dim { color: rgba(255,255,255,.5); }
.eyebrow.ink { color: rgba(10,10,10,.55); }
.eyebrow::before {
  content: ""; width: 38px; height: 3px; background: currentColor;
  display: inline-block;
}

.display {
  font-family: var(--font-display);
  font-weight: 900; font-style: italic;
  text-transform: uppercase;
  line-height: .82;
  letter-spacing: -.02em;
  margin: 0;
  color: #fff;
}
.d-xxl { font-size: 240px; }
.d-xl  { font-size: 170px; }
.d-lg  { font-size: 124px; }
.d-md  { font-size: 92px; }
.d-sm  { font-size: 64px; }

.bg-bone .display, .bg-white .display { color: var(--ink); }

.acc-red   { color: var(--rp-red); }
.acc-green { color: var(--re-green); }
.acc-volt  { color: var(--re-volt); }
.acc-white { color: #fff; }
.grad-text {
  background: var(--at-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 30px; line-height: 1.42;
  color: rgba(255,255,255,.74);
  max-width: 1180px; margin: 0;
  text-wrap: pretty;
}
.bg-bone .lead, .bg-white .lead { color: var(--steel-700); }
.bg-red .lead { color: rgba(255,255,255,.92); }
.lead b { color: #fff; font-weight: 700; }
.bg-bone .lead b, .bg-white .lead b { color: var(--ink); }

.body-t { font-family: var(--font-body); font-size: 23px; line-height: 1.5; color: rgba(255,255,255,.66); margin: 0; }
.bg-bone .body-t, .bg-white .body-t { color: var(--steel-700); }

.kicker {
  font-family: var(--font-mono); font-size: 16px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* ---------- Skew primitives ---------- */
.skew { transform: skewX(var(--skew)); }
.skew > * { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }

.tag {
  display: inline-flex; align-items: center;
  padding: 14px 30px; background: var(--rp-red); color: #fff;
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  text-transform: uppercase; font-size: 24px; letter-spacing: .03em;
  transform: skewX(var(--skew)); align-self: flex-start;
}
.tag > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }
.tag.green { background: var(--re-green); color: var(--ink); }
.tag.volt  { background: var(--re-volt); color: var(--ink); }
.tag.grad  { background: var(--at-grad); color: #fff; }

/* ---------- Corner index + brand bar ---------- */
.idx {
  position: absolute; right: 56px; bottom: 46px; z-index: 6;
  font-family: var(--font-mono); font-size: 17px; letter-spacing: .12em;
  color: rgba(255,255,255,.4);
}
.bg-bone .idx, .bg-white .idx { color: rgba(10,10,10,.4); }
.brandmark {
  position: absolute; left: 56px; bottom: 44px; z-index: 6;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 15px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.bg-bone .brandmark, .bg-white .brandmark { color: rgba(10,10,10,.45); }
.brandmark .dot { width: 16px; height: 16px; background: var(--rp-red); transform: skewX(var(--skew)); }

/* ---------- Ambient background motion ---------- */
.ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.amb-para {
  position: absolute; transform: skewX(var(--skew));
  border: 2px solid rgba(255,255,255,.05);
}
.bg-red .amb-para { border-color: rgba(255,255,255,.10); }
.amb-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5;
}
.scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 2px, transparent 2px 5px);
  pointer-events: none; z-index: 1;
}

@keyframes drift {
  0%   { transform: skewX(var(--skew)) translate(0,0); }
  50%  { transform: skewX(var(--skew)) translate(40px,-26px); }
  100% { transform: skewX(var(--skew)) translate(0,0); }
}
@keyframes driftB {
  0%   { transform: skewX(var(--skew)) translate(0,0); }
  50%  { transform: skewX(var(--skew)) translate(-50px,30px); }
  100% { transform: skewX(var(--skew)) translate(0,0); }
}
@keyframes glowPulse {
  0%,100% { opacity: .35; transform: scale(1); }
  50%     { opacity: .6; transform: scale(1.12); }
}

/* ---------- Reveal system (triggered by .is-active on section) ---------- */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.rx { transform: translateX(-40px); }
.reveal.rs { transform: translateY(34px) scale(.96); }
section.is-active .reveal {
  animation: revealIn .62s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes revealIn {
  to { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .bar-fill { width: var(--w) !important; transition: none !important; }
  .flow-pulse { display: block !important; opacity: 1 !important; animation: none !important; left: auto !important; right: 0 !important; filter: none !important; }
}

/* Motion off (tweak) — static, presentation-safe rendering */
[data-no-motion] .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
[data-no-motion] .amb-para, [data-no-motion] .amb-glow,
[data-no-motion] .marquee-track, [data-no-motion] .flow-pulse { animation: none !important; }
[data-no-motion] .flow-pulse { opacity: 0 !important; }
[data-no-motion] .bar-fill { transition: none !important; }

/* ---------- Lightning bolt motif ---------- */
.bolt {
  background: url('assets/lightning-bolt.svg') center/contain no-repeat;
  display: inline-block;
}
.bolt.red { background-image: url('assets/lightning-bolt-red.svg'); }

@keyframes boltPulse {
  0%,100% { opacity: .9; filter: drop-shadow(0 0 0 var(--re-green-glow)); }
  50%     { opacity: 1; filter: drop-shadow(0 0 26px var(--re-green-glow)); }
}

/* ---------- Count-up number ---------- */
.metric-n {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  letter-spacing: -.03em; line-height: .82; color: #fff;
  font-variant-numeric: tabular-nums;
}
.bg-bone .metric-n, .bg-white .metric-n { color: var(--ink); }

/* Window cards (slide 3, on red flood) */
.windowcard { background: rgba(0,0,0,.16); border: 2px solid rgba(255,255,255,.2); padding: 40px 36px; display: flex; flex-direction: column; }
.windowcard .wc-n { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 56px; color: var(--re-volt); line-height: .8; margin-bottom: 22px; }
.windowcard .wc-h { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 44px; text-transform: uppercase; color: #fff; margin: 0 0 16px; line-height: .95; }
.windowcard .wc-p { font-family: var(--font-body); font-size: 22px; line-height: 1.42; color: rgba(255,255,255,.86); margin: 0; }

/* ============================================================
   SLIDE 1 — COVER
   ============================================================ */
.s-cover .stripe-r { position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--rp-red); z-index: 5; }
.s-cover .stripe-g { position: absolute; top: 10px; left: 0; right: 0; height: 6px; background: var(--re-green); z-index: 5; }
.cover-top { display: flex; align-items: center; justify-content: space-between; }
.cover-by { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 18px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cover-by img { height: 30px; }
.cover-headline { margin-top: auto; }
.cover-stats { display: flex; gap: 0; margin-top: 64px; border-top: 2px solid rgba(255,255,255,.16); }
.cover-stat { flex: 1; padding: 34px 40px 0 0; border-right: 2px solid rgba(255,255,255,.16); }
.cover-stat:last-child { border-right: none; padding-left: 40px; }
.cover-stat .n { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 92px; line-height: .9; padding-bottom: 6px; }
.cover-stat .l { font-family: var(--font-body); font-size: 24px; line-height: 1.35; color: rgba(255,255,255,.62); margin-top: 16px; max-width: 380px; }
.cover-bolt {
  position: absolute; right: -120px; top: -60px; width: 760px; height: 1240px;
  background: url('assets/lightning-bolt-red.svg') center/contain no-repeat;
  opacity: .14; transform: rotate(10deg); z-index: 1;
}

/* ============================================================
   SLIDE 2 — MARKET BARS
   ============================================================ */
.bars { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.bar-row { display: grid; grid-template-columns: 240px 1fr 150px; align-items: center; gap: 28px; }
.bar-row .nm { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 40px; text-transform: uppercase; color: #fff; text-align: right; }
.bar-track { height: 50px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; transform: skewX(var(--skew)); }
.bar-fill { height: 100%; width: 0; background: var(--rp-red); transition: width 1.1s var(--ease-out); }
section.is-active .bar-fill { width: var(--w); }
.bar-row.two .bar-fill { background: var(--rp-red); }
.bar-row.dim .nm { color: rgba(255,255,255,.55); }
.bar-row.dim .bar-fill { background: var(--steel-500); }
.bar-row .pct { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 52px; color: #fff; font-variant-numeric: tabular-nums; }
.bar-row.dim .pct { color: rgba(255,255,255,.55); }

/* ============================================================
   FLOW DIAGRAM (slides 4, 6, 7)
   ============================================================ */
.flow { display: flex; align-items: center; gap: 0; width: 100%; }
.flow-node {
  flex-shrink: 0; padding: 28px 34px; background: rgba(255,255,255,.05);
  border: 2px solid rgba(255,255,255,.16); position: relative;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  text-transform: uppercase; color: #fff; font-size: 30px; line-height: .95;
  min-width: 220px; text-align: center;
}
.flow-node.red { background: var(--rp-red); border-color: var(--rp-red); }
.flow-node.green { background: var(--re-green); border-color: var(--re-green); color: var(--ink); }
.flow-node .sub { display: block; font-family: var(--font-mono); font-style: normal; font-weight: 400; font-size: 14px; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-top: 8px; }
.flow-node.green .sub { color: rgba(10,10,10,.6); }
.flow-link { flex: 1; height: 4px; background: rgba(255,255,255,.16); position: relative; min-width: 50px; }
.flow-link::after {
  content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%);
  border-left: 14px solid rgba(255,255,255,.4); border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.flow-pulse { position: absolute; top: -4px; left: 0; width: 60px; height: 12px; background: var(--re-green); filter: blur(3px); opacity: 0; }
section.is-active .flow-pulse { animation: pulseMove 1.8s var(--ease-out) infinite; }
@keyframes pulseMove { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 60px); opacity: 0; } }

/* consequence / benefit lists */
.numbered { display: grid; gap: 22px; }
.num-item { display: flex; align-items: flex-start; gap: 26px; }
.num-item .ix {
  flex-shrink: 0; width: 60px; height: 60px; background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.18); transform: skewX(var(--skew));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 30px; color: var(--re-green);
}
.num-item .ix > span { transform: skewX(calc(-1 * var(--skew))); }
.num-item .tx { font-family: var(--font-body); font-size: 25px; line-height: 1.4; color: rgba(255,255,255,.8); padding-top: 10px; }
.num-item .tx b { color: #fff; font-weight: 700; }

/* ============================================================
   STRATEGY 3-STAGE (slide 5)
   ============================================================ */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; }
.stage {
  background: rgba(255,255,255,.04); border: 2px solid rgba(255,255,255,.12);
  padding: 44px 40px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.stage .snum {
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 130px;
  line-height: .8; color: rgba(255,255,255,.10); position: absolute; top: 18px; right: 24px;
}
.stage .stitle { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 50px; text-transform: uppercase; color: #fff; margin: 0; line-height: .95; }
.stage .sdo { font-family: var(--font-body); font-size: 22px; line-height: 1.4; color: rgba(255,255,255,.7); margin: 22px 0 0; flex: 1; }
.stage .sres { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--font-mono); font-size: 17px; line-height: 1.45; color: var(--re-green); letter-spacing: .02em; }
.stage.s2 { border-color: var(--rp-red); }
.stage.s2 .snum { color: rgba(227,6,19,.22); }
.stage.s3 { border-color: var(--re-green); }
.stage.s3 .snum { color: rgba(0,217,100,.18); }
.stage .pill-stage { align-self: flex-start; font-family: var(--font-mono); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--re-green); padding: 6px 14px; margin-bottom: 22px; transform: skewX(var(--skew)); }
.stage .pill-stage > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }
.stage.s1 .pill-stage { background: #fff; }
.stage.s2 .pill-stage { background: var(--rp-red); color: #fff; }

/* ============================================================
   GENERIC CARD GRID (benefits, directions)
   ============================================================ */
.cardgrid { display: grid; gap: 26px; width: 100%; }
.cardgrid.c3 { grid-template-columns: repeat(3, 1fr); }
.cardgrid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.12);
  padding: 36px 34px; display: flex; flex-direction: column; gap: 14px; position: relative;
}
.card .ctag { font-family: var(--font-mono); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--re-green); }
.card.r .ctag { color: var(--rp-red); }
.card h4 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 38px; text-transform: uppercase; color: #fff; margin: 0; line-height: .96; }
.card p { font-family: var(--font-body); font-size: 21px; line-height: 1.42; color: rgba(255,255,255,.66); margin: 0; }
.card .top-accent { position: absolute; top: 0; left: 0; height: 5px; width: 100%; background: var(--rp-red); }
.card.g .top-accent { background: var(--re-green); }
.card.v .top-accent { background: var(--re-volt); }
.card.grad .top-accent { background: var(--at-grad); }
.card.grad .ctag { color: var(--at-green); }

/* ============================================================
   ROAMING (slide 7) — split panel
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; width: 100%; flex: 1; align-items: start; }
.panel { display: flex; flex-direction: column; gap: 22px; }
.panel-h { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 34px; text-transform: uppercase; color: var(--re-green); margin: 0 0 6px; }
.panel-h.red { color: var(--rp-red); }
.bullet { display: flex; gap: 18px; align-items: flex-start; }
.bullet .bi { flex-shrink: 0; width: 26px; height: 26px; margin-top: 4px; background: url('assets/lightning-bolt.svg') center/contain no-repeat; }
.bullet .bi.r { background-image: url('assets/lightning-bolt-red.svg'); }
.bullet .bt { font-family: var(--font-body); font-size: 23px; line-height: 1.4; color: rgba(255,255,255,.78); }
.bullet .bt b { color: #fff; font-weight: 700; }

/* ============================================================
   PRINCIPLES (slide 10) — Adam.Tech
   ============================================================ */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: 100%; }
.principle { padding: 38px 40px; border: 1.5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); position: relative; overflow: hidden; }
.principle .pcode { font-family: var(--font-mono); font-size: 17px; letter-spacing: .12em; color: var(--at-green); margin: 0 0 16px; }
.principle h4 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 46px; text-transform: uppercase; margin: 0 0 12px; line-height: .95; }
.principle p { font-family: var(--font-body); font-size: 22px; line-height: 1.42; color: rgba(255,255,255,.68); margin: 0; }
.principle .pglow { position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--at-grad); opacity: .14; filter: blur(40px); }

/* ============================================================
   PARTNERS MARQUEE (slide 12)
   ============================================================ */
.marquee { overflow: hidden; width: 100%; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marq var(--marq-dur, 32s) linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: calc(var(--marq-dur, 32s) * 1.18); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pchip {
  flex-shrink: 0; padding: 26px 42px; border: 2px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 40px; text-transform: uppercase;
  color: #fff; white-space: nowrap; transform: skewX(var(--skew));
}
.pchip > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }
.pchip.hl { background: var(--rp-red); border-color: var(--rp-red); }

/* ============================================================
   PRICING (slide 13)
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; width: 100%; flex: 1; align-items: stretch; }
.price-card { border: 2px solid rgba(255,255,255,.16); padding: 48px 46px; display: flex; flex-direction: column; position: relative; background: rgba(255,255,255,.03); }
.price-card.feat { border-color: var(--re-green); background: rgba(0,217,100,.04); }
/* Featured plan (tweak) — highlight variant 1 instead of variant 2 */
[data-featured="1"] .price-card.feat { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.03); }
[data-featured="1"] .price-card.feat .price-row .pn { color: #fff; }
[data-featured="1"] .price-card:not(.feat) { border-color: var(--rp-red); background: rgba(227,6,19,.05); }
.price-card .pc-tag { font-family: var(--font-mono); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--re-green); margin: 0 0 14px; }
.price-card.feat .pc-tag { color: var(--re-green); }
.price-card h4 { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 50px; text-transform: uppercase; margin: 0 0 28px; line-height: .95; }
.price-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.price-row .pn { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 96px; line-height: .82; color: #fff; letter-spacing: -.02em; }
.price-card.feat .price-row .pn { color: var(--re-green); }
.price-row .pn.sm { font-size: 60px; }
.price-row .pu { font-family: var(--font-body); font-size: 24px; color: rgba(255,255,255,.55); }
.price-note { font-family: var(--font-body); font-size: 22px; line-height: 1.45; color: rgba(255,255,255,.66); margin: auto 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }

/* CTA on closing */
.cta-btn {
  display: inline-flex; align-items: center; gap: 18px;
  background: var(--re-green); color: var(--ink); padding: 26px 48px;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 40px; text-transform: uppercase; letter-spacing: .02em;
  transform: skewX(var(--skew));
}
.cta-btn > span { display: inline-block; transform: skewX(calc(-1 * var(--skew))); }

/* utility */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.mt-auto { margin-top: auto; }
.gap-s { gap: 16px; } .gap-m { gap: 28px; } .gap-l { gap: 44px; }
.spacer { flex: 1; }
.src-note { font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.32); font-style: italic; }
.bg-bone .src-note, .bg-white .src-note { color: rgba(10,10,10,.4); }
