/* Beamer landing — integrated sections (Flight Path, Live Metrics, Itemised).
   Ported from the chosen Section Concepts. Uses ds/ Ice & Ember tokens. */

/* keep the flight-path section flush so the pinned track controls its own rhythm */
.section--flush { padding-bottom: 0; }
.fp-inner { width: 100%; }


/* reveal */
.cr { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2,0.6,0.2,1), transform 0.8s cubic-bezier(0.2,0.6,0.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.cr.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cr { opacity: 1; transform: none; } }

/* glass helper */
.gp { position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #0B1C24, #06121A); border: 1px solid var(--glass-border-soft);
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05); }


/* ===== Flight Path ===== */
/* ===================================================================
   CONCEPT 6 — Flight Path (horizontal pinned scroll, Process)
   =================================================================== */
.fp-track { position: relative; height: 280vh; }
.fp-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.fp-rail { position: relative; height: 2px; margin: 0 0 6vh; background-image: repeating-linear-gradient(90deg, var(--glass-border) 0 8px, transparent 8px 18px); }
.fp-rail-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: linear-gradient(90deg, var(--ice-glow), var(--ember-1)); box-shadow: 0 0 12px var(--ice-glow); }
.fp-rocket { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,152,70,0.45), rgba(6,18,22,0.92)); border: 1px solid var(--ember-1); color: var(--ember-1); box-shadow: 0 0 26px -2px var(--ember-glow); z-index: 3; }
.fp-rocket svg { width: 22px; height: 22px; transform: rotate(45deg); }
.fp-window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
}
.fp-strip { display: flex; width: 300%; will-change: transform; }
.fp-panel {
  width: 33.333%; flex: none; padding: 0 8%;
  display: flex; flex-direction: column; justify-content: center;
  will-change: filter; transition: filter 60ms linear;
}
.fp-no { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; color: var(--ember-1); margin-bottom: 16px; }
.fp-panel h3 { font-family: var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 560; font-weight: 560; font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.022em; line-height: 1.07; margin: 0 0 16px; }
.fp-panel p { font-size: 17px; line-height: 1.6; color: var(--glass-text-dim); max-width: 24em; margin: 0 0 20px; }
.fp-chip { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-1); border: 1px solid rgba(127,224,236,0.3); border-radius: 8px; padding: 7px 13px; }
.fp-dots { display: flex; gap: 9px; justify-content: center; margin-top: 5vh; }
.fp-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--glass-border); transition: background .3s ease, box-shadow .3s ease, transform .3s ease; }
.fp-dots i.on { background: var(--ice-1); box-shadow: 0 0 10px var(--ice-glow); transform: scale(1.25); }


/* ===== Live Metrics ===== */
/* ===================================================================
   CONCEPT 8 — Live Metrics (varied micro-animations, The build)
   =================================================================== */
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; margin-top: 30px; }
.m { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.m .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice-1); }
.m :is(h3, h4) { font-family: var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 560; font-weight: 560; font-size: 19px; letter-spacing: -0.018em; margin: 0; color: var(--glass-text); }
.m .note { font-size: 13px; color: var(--glass-text-dim); line-height: 1.45; margin: 0; }

/* race (load time) */
.m-race { grid-column: span 2; }
.m-price { grid-column: span 2; }
/* the four attributes sit in one full-width row, kept compact */
.m-pulse, .m-lock, .m-weight, .m-upd { grid-row: 2; }
.m-race .rrow { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.m-race .who { width: 78px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--glass-text-dim); }
.m-race .bar { flex: 1; height: 12px; border-radius: 6px; background: rgba(255,255,255,0.07); overflow: hidden; }
.m-race .bar i { display: block; height: 100%; width: 0%; border-radius: 6px; }
.m-race .fast i { background: linear-gradient(90deg, var(--ice-1), var(--ice-glow)); box-shadow: 0 0 10px var(--ice-glow); }
.m-race .slow i { background: rgba(226,103,74,0.6); }
.m-race .t { width: 52px; text-align: right; font-family: var(--font-mono); font-size: 12px; color: var(--glass-text); }
.m-race.in .fast i { animation: rFast 1.2s cubic-bezier(0.2,0.8,0.2,1) .2s forwards; }
.m-race.in .slow i { animation: rSlow 3.4s linear .2s forwards; }
@keyframes rFast { to { width: 94%; } }
@keyframes rSlow { to { width: 34%; } }

/* uptime heartbeat */
.m-pulse svg { width: 100%; height: 46px; display: block; }
.m-pulse .ln { fill: none; stroke: var(--ice-1); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 5px var(--ice-glow)); stroke-dasharray: 44 320; stroke-dashoffset: 364; }
.m-pulse.in .ln { animation: hb 2.6s linear infinite; }
@keyframes hb { to { stroke-dashoffset: 0; } }

/* security lock */
.m-lock .lockwrap { display: flex; align-items: center; gap: 14px; }
.lk { position: relative; width: 42px; height: 50px; flex: none; }
.lk .sh { position: absolute; left: 50%; top: 0; transform: translateX(-50%) translateY(-7px); width: 26px; height: 26px; border: 3px solid var(--ice-1); border-bottom: none; border-radius: 13px 13px 0 0; transition: transform .55s cubic-bezier(0.3,0.8,0.3,1) .25s; }
.m-lock.in .lk .sh { transform: translateX(-50%) translateY(0); }
.lk .bd { position: absolute; left: 0; bottom: 0; width: 42px; height: 30px; border-radius: 8px; background: linear-gradient(160deg, var(--ice-1), var(--ice-mid, #2E9FB0)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); }
.lk .bd::after { content: ""; position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 5px; height: 9px; border-radius: 3px; background: #06121A; }

/* page weight */
.m-weight .wnum { font-family: var(--font-mono); font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--ice-1); letter-spacing: -0.02em; line-height: 1; }
.m-weight .wu { font-size: 0.5em; color: var(--glass-text-dim); margin-left: 4px; }
.m-weight .wbars { display: flex; align-items: flex-end; gap: 18px; height: 56px; }
.m-weight .wcol { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; }
.m-weight .wbar { width: 100%; max-width: 46px; border-radius: 5px 5px 0 0; height: 0; transition: height 1.1s cubic-bezier(0.2,0.8,0.2,1) .2s; }
.m-weight .wbar.them { background: rgba(226,103,74,0.5); }
.m-weight .wbar.us { background: linear-gradient(180deg, var(--ice-glow), var(--ice-1)); box-shadow: 0 0 12px -2px var(--ice-glow); }
.m-weight.in .wbar.them { height: 52px; }
.m-weight.in .wbar.us { height: 9px; }
.m-weight .wlab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--glass-text-dim); }

/* price count */
.m-price .amt { font-family: var(--font-mono); font-size: clamp(2rem,4vw,2.8rem); color: var(--glass-text); letter-spacing: -0.02em; line-height: 1; }
.m-price .amt .cur { color: var(--ember-1); }
.m-price .amt .per { font-size: 0.4em; color: var(--glass-text-dim); }

/* updates spin */
.m-upd .spin { width: 30px; height: 30px; color: var(--ice-1); }
.m-upd.in .spin { animation: spin 3.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .m-race.in .fast i { width: 94%; animation: none; }
  .m-race.in .slow i { width: 34%; animation: none; }
  .m-pulse.in .ln { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .m-upd.in .spin { animation: none; }
}


/* ===== Itemised receipt ===== */
/* ===================================================================
   CONCEPT 4 — Itemised receipt (What's included)
   =================================================================== */
.c4-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; margin-top: 30px; }
.c4-lead h3, .c4-lead h2 { font-family: var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 560; font-weight: 560; font-size: clamp(2rem,4vw,3rem); letter-spacing: -0.022em; line-height: 1.08; margin: 0 0 16px; }
.c4-lead .wc-eyebrow { margin-bottom: 16px; }
.c4-lead p { font-size: 16px; line-height: 1.6; color: var(--glass-text-dim); max-width: 26em; margin: 0; }
.c4-lead .em { font-style: italic; background: linear-gradient(100deg, var(--ember-glow), var(--ember-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c4-receipt { padding: 12px 28px 26px; }
.c4-rhead { display: flex; justify-content: space-between; padding: 18px 0 14px; border-bottom: 1px dashed var(--glass-border); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glass-text-dim); }
.c4-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--glass-border-soft); opacity: 0; transform: translateX(-10px); transition: opacity .45s ease, transform .45s ease; }
.c4-row.show { opacity: 1; transform: none; }
.c4-check { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--glass-border); display: grid; place-items: center; transition: background .3s ease, border-color .3s ease; }
.c4-row.show .c4-check { background: rgba(127,224,236,0.14); border-color: var(--ice-1); }
.c4-check svg { width: 13px; height: 13px; color: var(--ice-1); opacity: 0; transition: opacity .3s ease .12s; }
.c4-row.show .c4-check svg { opacity: 1; }
.c4-row .name { flex: 1; font-size: 15.5px; color: var(--glass-text); }
.c4-row .price { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--ice-1); }
.c4-total { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0 8px; }
.c4-total .l { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glass-text-dim); }
.c4-total .r { font-family: var(--font-mono); font-size: 30px; color: var(--glass-text); }
.c4-total .r .cur { color: var(--ember-1); }
.c4-stamp { margin-top: 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--ice-1); color: var(--ice-1); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transform: scale(0.9) rotate(-3deg); transition: opacity .4s ease, transform .4s cubic-bezier(0.2,0.9,0.3,1.3); }
.c4-stamp.show { opacity: 1; transform: none; }


/* landing responsive tweaks for the ported sections */
@media (max-width: 860px) {
  .m-grid { grid-template-columns: repeat(2, 1fr); }
  .m-race { grid-column: 1 / -1; }
  .m-price { grid-column: 1 / -1; }
  .m-pulse, .m-lock, .m-weight, .m-upd { grid-row: auto; }
  .c4-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .m-grid { grid-template-columns: 1fr; }
}
