/* ============================================================
   Arrow Maze Quest — ORANGE / high-energy edition
   Reference architecture: oocozy.com
   ============================================================ */

:root {
  --bg: #0B0704;
  --bg-2: #150C05;
  --surface: #1B1008;
  --surface-2: #241509;
  --orange: #FF7A00;
  --orange-lt: #FFB300;
  --orange-dk: #FF3D00;
  --grad: linear-gradient(90deg, #FF3D00 0%, #FF7A00 48%, #FFC300 100%);
  --grad-v: linear-gradient(180deg, #FFC300 0%, #FF7A00 55%, #FF3D00 100%);
  --ink: #FFF4E8;
  --ink-soft: #E4D3C0;
  --muted: #B0967C;
  --line: rgba(255, 122, 0, .18);
  --line-soft: rgba(255, 255, 255, .07);
  --nav-h: 76px;
  --radius: 16px;
  --shadow: 0 26px 60px -26px rgba(255, 90, 0, .55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text, .step-num, .f-idx, .btn, .tag, .ticker span {
  font-family: "Chakra Petch", "Inter", Arial, sans-serif;
}
h1, h2 { letter-spacing: -0.01em; line-height: 1.06; font-weight: 700; }
h3 { font-weight: 700; line-height: 1.2; }
img { max-width: 100%; display: block; height: auto; }
.container { width: min(1180px, 92%); margin-inline: auto; position: relative; z-index: 2; }

/* ---------------- shared deco layer (never overflows) ---------------- */
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  color: var(--orange-lt);
  background: rgba(255, 122, 0, .1);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 15px;
}

/* ---------------- long-arrow shape (reused everywhere) ---------------- */
.long-arrow, .tick-arrow, .arrow-tail, .phone-arrow, .q-arrow {
  display: inline-block; flex: 0 0 auto;
  background: var(--grad);
  clip-path: polygon(0 32%, 60% 32%, 60% 6%, 100% 50%, 60% 94%, 60% 68%, 0 68%);
}
.long-arrow { width: 34px; height: 14px; }
.tick-arrow { width: 26px; height: 12px; }
.q-arrow { width: 22px; height: 10px; }
.arrow-tail { width: 26px; height: 11px; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  display: flex; align-items: center; transition: height .3s, background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  height: 64px; background: rgba(11, 7, 4, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(255, 122, 0, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 6px 16px rgba(255, 122, 0, .45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .08em; }
.brand-sub { font-size: .53rem; letter-spacing: .30em; color: var(--orange); margin-top: 5px; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: .93rem; font-weight: 600; position: relative; padding: 4px 0; }
.main-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); transition: width .28s;
}
.main-nav > a:not(.btn):hover, .main-nav > a.active { color: #fff; }
.main-nav > a:not(.btn):hover::after, .main-nav > a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2.4px; border-radius: 2px; background: var(--orange); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 95; height: 100dvh; width: min(320px, 84vw);
  background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(105%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding: 100px 32px 32px;
}
.drawer.open { transform: translateX(0); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { color: var(--ink); text-decoration: none; font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 1.1rem; padding: 14px 2px; border-bottom: 1px solid var(--line-soft); letter-spacing: .04em; }
.drawer-nav a:last-child { border-bottom: 0; color: var(--orange); }
.drawer-overlay { position: fixed; inset: 0; z-index: 94; background: rgba(5, 3, 1, .7); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-overlay.show { opacity: 1; pointer-events: auto; }

/* ===================== BUTTONS ===================== */
.btn { display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; text-decoration: none; border-radius: 12px; font-weight: 700; letter-spacing: .06em; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-primary { background: var(--grad); color: #1A0C02; padding: 13px 24px; font-size: .9rem; box-shadow: 0 14px 30px -12px rgba(255, 122, 0, .8); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-sm { padding: 11px 18px; font-size: .82rem; }
.btn-lg { padding: 15px 26px; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); padding: 15px 24px; font-size: .95rem; background: rgba(255, 122, 0, .05); }
.btn-ghost:hover { border-color: var(--orange); transform: translateY(-2px); background: rgba(255, 122, 0, .12); }
.btn-gplay { background: #100A05; border: 1.5px solid var(--line); color: #fff; padding: 13px 24px; box-shadow: 0 18px 40px -20px rgba(255, 122, 0, .6); }
.btn-gplay:hover { transform: translateY(-2px); border-color: var(--orange); box-shadow: var(--shadow); }
.btn-gplay span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-gplay small { font-size: .6rem; letter-spacing: .2em; font-weight: 600; opacity: .72; font-family: "Inter", sans-serif; }
.btn-gplay strong { font-size: 1.1rem; font-family: "Chakra Petch", sans-serif; letter-spacing: .04em; }
.btn-xl { padding: 19px 34px; }
.btn-xl strong { font-size: 1.4rem; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: calc(var(--nav-h) + 74px) 0 108px; overflow: hidden; background: radial-gradient(1100px 620px at 78% 8%, rgba(255, 61, 0, .22), transparent 62%), var(--bg); }
.hero-deco .glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.glow-a { width: 780px; height: 780px; top: -300px; right: -170px; background: radial-gradient(circle, rgba(255, 122, 0, .42), transparent 62%); }
.glow-b { width: 620px; height: 620px; bottom: -300px; left: -200px; background: radial-gradient(circle, rgba(255, 61, 0, .3), transparent 62%); }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 122, 0, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 122, 0, .09) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 25%, transparent 72%);
}
/* long arrows flying across the hero */
.arrow-storm span {
  position: absolute; top: var(--y); left: -30%;
  width: 260px; height: 26px; opacity: var(--o, .16);
  background: var(--grad);
  clip-path: polygon(0 34%, 68% 34%, 68% 4%, 100% 50%, 68% 96%, 68% 66%, 0 66%);
  transform: scaleX(var(--s));
  transform-origin: left center;
  animation: fly 11s linear var(--d) infinite;
}
@keyframes fly {
  0% { transform: translateX(-32vw) scaleX(var(--s)); opacity: 0; }
  12% { opacity: var(--o, .16); }
  82% { opacity: var(--o, .16); }
  100% { transform: translateX(125vw) scaleX(var(--s)); opacity: 0; }
}

.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.15rem); margin: 4px 0 20px; text-transform: uppercase; }
.lead { color: var(--muted); font-size: 1.09rem; max-width: 35em; }
.lead strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges li { background: rgba(255, 122, 0, .07); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column; line-height: 1.3; }
.hero-badges strong { font-family: "Chakra Petch", sans-serif; font-size: 1.05rem; color: var(--orange-lt); }
.hero-badges span { font-size: .74rem; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(296px, 76%); border-radius: 32px; overflow: hidden; position: relative; z-index: 2;
  border: 8px solid #2A1707; background: #fff;
  box-shadow: 0 46px 90px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 122, 0, .35), 0 0 80px rgba(255, 122, 0, .32);
  transform: rotate(-2.2deg);
  animation: bob 6.5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: rotate(-2.2deg) translateY(0); } 50% { transform: rotate(-2.2deg) translateY(-14px); } }
/* long arrow piercing behind the phone */
.phone-arrow {
  position: absolute; top: 46%; left: -14%; width: 128%; height: 20px; z-index: 1;
  opacity: .85; filter: drop-shadow(0 0 22px rgba(255, 122, 0, .8));
  animation: pierce 4.6s ease-in-out infinite;
}
@keyframes pierce { 0%,100% { transform: translateX(-14px); } 50% { transform: translateX(16px); } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  background: rgba(20, 11, 5, .92); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 22px 46px -20px rgba(0, 0, 0, .95);
  animation: bob 7.4s ease-in-out infinite;
}
.float-card .fc-ico { font-size: 1.35rem; font-style: normal; }
.float-card span { display: flex; flex-direction: column; line-height: 1.2; font-size: .74rem; color: var(--muted); }
.float-card strong { font-family: "Chakra Petch", sans-serif; font-size: .95rem; color: var(--orange-lt); letter-spacing: .04em; }
.fc-1 { top: 11%; left: -4%; }
.fc-2 { bottom: 12%; right: -4%; animation-delay: 1.5s; }

/* ===================== TICKER ===================== */
.ticker { position: relative; overflow: hidden; background: var(--grad); padding: 13px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.ticker span { color: #180A01; font-weight: 700; font-size: .92rem; letter-spacing: .18em; white-space: nowrap; }
.tick-arrow { background: #180A01; }
/* first-screen ticker now travels LEFT -> RIGHT (translate -50% is visually
   identical to 0 because the track holds two identical groups, so it loops seamlessly) */
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ===================== SECTIONS ===================== */
.section { position: relative; padding: 104px 0; overflow: hidden; }
.section-alt { background: linear-gradient(180deg, var(--bg-2) 0%, #0E0805 100%); }
.section-head { max-width: 660px; margin: 0 auto 58px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; text-transform: uppercase; }
.section-sub { color: var(--muted); font-size: 1.03rem; }

/* vertical rails of long arrows */
.side-rail {
  position: absolute; top: 0; bottom: 0; width: 26px; opacity: .3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='62' viewBox='0 0 26 62'><path d='M9 4h8v12h6L13 30 3 16h6z' fill='%23FF7A00'/></svg>");
  background-repeat: repeat-y; background-size: 26px 62px;
  animation: railMove 3.4s linear infinite;
}
.rail-left { left: 12px; }
.rail-right { right: 12px; }
@keyframes railMove { from { background-position-y: 0; } to { background-position-y: 62px; } }

/* ===================== FEATURES ===================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--surface) 0%, #170D06 100%);
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .28s, border-color .28s, box-shadow .28s;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad); transition: width .4s;
}
.feature-card:hover { transform: translateY(-7px); border-color: rgba(255, 122, 0, .45); box-shadow: var(--shadow); }
.feature-card:hover::before { width: 100%; }
.f-idx { position: absolute; top: 20px; right: 24px; font-size: 1.5rem; font-weight: 700; color: rgba(255, 122, 0, .22); letter-spacing: .06em; }
.feature-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; font-size: 1.6rem; font-style: normal; background: rgba(255, 122, 0, .12); border: 1px solid var(--line); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.14rem; margin-bottom: 10px; letter-spacing: .01em; }
.feature-card p { color: var(--muted); font-size: .94rem; }

/* ===================== HOW TO PLAY ===================== */
.section-alt .glow-c { position: absolute; width: 720px; height: 720px; top: -280px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 122, 0, .2), transparent 62%); }
.rail { position: relative; height: 26px; margin-bottom: 34px; }
.rail-line { position: absolute; top: 50%; left: 0; right: 0; height: 6px; transform: translateY(-50%); border-radius: 3px; background: rgba(255, 122, 0, .14); overflow: hidden; }
.rail-line::after {
  content: ""; position: absolute; right: -14px; top: 50%; width: 0; height: 0; transform: translateY(-50%);
  border-left: 16px solid rgba(255, 122, 0, .35); border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.rail-progress { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); transition: width 1.6s cubic-bezier(.25,.8,.3,1); box-shadow: 0 0 20px rgba(255, 122, 0, .8); }

.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-card { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px; transition: transform .28s, box-shadow .28s, border-color .28s; }
.step-card:hover { transform: translateY(-7px); border-color: rgba(255, 122, 0, .45); box-shadow: var(--shadow); }
.step-num {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--grad); color: #180A01; font-size: 1.3rem; font-weight: 700; margin-bottom: 18px;
  box-shadow: 0 12px 26px -10px rgba(255, 122, 0, .8);
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .92rem; }

/* ===================== SCREENSHOTS ===================== */
.shots-scroller {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 16px max(calc((100vw - 1180px) / 2), 4%) 30px;
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
}
.shots-scroller::-webkit-scrollbar { height: 8px; }
.shots-scroller::-webkit-scrollbar-track { background: rgba(255, 122, 0, .1); border-radius: 4px; }
.shots-scroller::-webkit-scrollbar-thumb { background: var(--grad); border-radius: 4px; }
.shot { scroll-snap-align: center; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.shot-frame {
  height: 512px; border-radius: 24px; overflow: hidden; background: #fff;
  border: 6px solid #2A1707;
  box-shadow: 0 28px 58px -26px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 122, 0, .28), 0 0 46px rgba(255, 122, 0, .16);
  transition: transform .3s, box-shadow .3s;
}
.shot-frame img { height: 100%; width: auto; }
.shot:hover .shot-frame { transform: translateY(-9px) scale(1.02); box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .95), 0 0 0 1px var(--orange), 0 0 60px rgba(255, 122, 0, .4); }
.shot figcaption { font-family: "Chakra Petch", sans-serif; font-size: .9rem; font-weight: 600; color: var(--orange-lt); letter-spacing: .05em; }

.shot-highlights { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.shot-highlights li { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 13px; padding: 17px 20px; font-size: .91rem; color: var(--ink-soft); }

/* ===================== CTA ===================== */
.cta-band { position: relative; overflow: hidden; padding: 104px 0; background: radial-gradient(900px 520px at 50% 0%, rgba(255, 61, 0, .3), transparent 66%), #080402; text-align: center; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
.cta-band::before { top: 0; }
.cta-band::after { bottom: 0; }
.giant-arrows span {
  position: absolute; height: 46px; opacity: .09; background: var(--grad);
  clip-path: polygon(0 36%, 78% 36%, 78% 0, 100% 50%, 78% 100%, 78% 64%, 0 64%);
}
.giant-arrows span:nth-child(1) { width: 92%; top: 12%; left: -6%; animation: drift 14s ease-in-out infinite; }
.giant-arrows span:nth-child(2) { width: 78%; bottom: 16%; right: -8%; opacity: .07; animation: drift 18s ease-in-out infinite reverse; }
.giant-arrows span:nth-child(3) { width: 60%; top: 52%; left: 22%; opacity: .05; animation: drift 22s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translateX(-26px); } 50% { transform: translateX(30px); } }
.cta-glow { position: absolute; width: 640px; height: 640px; bottom: -420px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 122, 0, .34), transparent 62%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow { justify-content: center; }
.cta-inner h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); text-transform: uppercase; margin-bottom: 16px; }
.cta-sub { color: var(--muted); max-width: 40em; margin-bottom: 34px; }
.cta-chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.cta-chips li { font-size: .8rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; background: rgba(255, 122, 0, .06); }

/* ===================== FAQ ===================== */
.faq-wrap { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: rgba(255, 122, 0, .45); box-shadow: 0 22px 46px -30px rgba(255, 122, 0, .7); }
.faq-item summary {
  display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none;
  padding: 21px 24px; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange-lt); }
.chev { margin-left: auto; width: 12px; height: 12px; border-right: 2.4px solid var(--orange); border-bottom: 2.4px solid var(--orange); transform: rotate(45deg); transition: transform .3s; }
.faq-item[open] .chev { transform: rotate(-135deg); }
.faq-body { padding: 0 24px 22px 60px; }
.faq-body p { color: var(--muted); font-size: .95rem; }

/* ===================== FOOTER ===================== */
.site-footer { position: relative; overflow: hidden; background: #060302; padding: 68px 0 28px; border-top: 1px solid var(--line); }
.footer-arrows span {
  position: absolute; height: 30px; opacity: .07; background: var(--grad);
  clip-path: polygon(0 34%, 74% 34%, 74% 2%, 100% 50%, 74% 98%, 74% 66%, 0 66%);
}
.footer-arrows span:nth-child(1) { width: 70%; top: 18%; left: -10%; }
.footer-arrows span:nth-child(2) { width: 52%; bottom: 12%; right: -8%; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 42px; padding-bottom: 38px; border-bottom: 1px solid var(--line-soft); }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 18px; max-width: 30em; }
.footer-brand a { color: var(--orange-lt); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }
.footer-col h4 { font-size: .82rem; letter-spacing: .18em; color: var(--orange); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; font-size: .92rem; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-legal { padding-top: 24px; }
.footer-legal p { font-size: .78rem; color: #7A6753; max-width: 62em; }

/* ===================== SCROLL RAIL / BACK TO TOP ===================== */
.scroll-rail { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 96; background: rgba(255, 122, 0, .12); }
.scroll-rail-fill { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 14px rgba(255, 122, 0, .9); }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 50px; height: 50px; border: 0; cursor: pointer;
  border-radius: 14px; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 16px 34px -12px rgba(255, 122, 0, .9);
  opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .3s, transform .3s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float-card, .arrow-storm span, .ticker-track, .side-rail, .giant-arrows span, .phone-arrow { animation: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 62px; text-align: center; }
  .hero-copy .eyebrow, .hero-cta, .hero-badges { justify-content: center; }
  .lead { margin-inline: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .side-rail { display: none; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .brand-text { font-size: .84rem; letter-spacing: .05em; }
  .brand-sub { font-size: .5rem; letter-spacing: .24em; }
  .section { padding: 76px 0; }
  .hero { padding-top: calc(var(--nav-h) + 50px); }
  .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .shot-frame { height: 424px; }
  .giant-arrows span { height: 32px; }
  .faq-body { padding: 0 20px 20px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

/* ============================================================
   v2 — extra animated arrow elements + AI screenshot grid
   ============================================================ */

/* scroll progress rail gets an arrowhead that rides the fill */
.scroll-rail-fill { position: relative; }
.scroll-rail-fill::after {
  content: ""; position: absolute; right: -3px; top: 50%; width: 0; height: 0;
  transform: translateY(-50%);
  border-left: 11px solid #FFC300; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  filter: drop-shadow(0 0 6px rgba(255, 122, 0, .95));
}

/* expanding dashed pulse rings behind the hero phone */
.pulse-ring {
  position: absolute; top: 50%; left: 50%; z-index: 1;
  width: 350px; height: 350px; margin: -175px 0 0 -175px;
  border: 2px dashed rgba(255, 122, 0, .55); border-radius: 50%;
  opacity: 0; animation: ringPulse 3.4s ease-out infinite;
}
.pr-2 { animation-delay: 1.7s; border-color: rgba(255, 61, 0, .45); }
@keyframes ringPulse {
  0% { transform: scale(.7) rotate(0deg); opacity: 0; }
  16% { opacity: .85; }
  100% { transform: scale(1.3) rotate(75deg); opacity: 0; }
}

/* diagonal conveyor of outlined arrows (how-to-play backdrop) */
.conveyor {
  position: absolute; left: -12%; right: -12%; top: 50%; height: 300px;
  transform: translateY(-50%) rotate(-7deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='52' viewBox='0 0 150 52'><path d='M6 20h74V8l44 18-44 18V32H6z' fill='none' stroke='%23FF7A00' stroke-opacity='0.55' stroke-width='4' stroke-linejoin='round'/></svg>");
  background-repeat: repeat-x; background-size: 150px 52px;
  opacity: .3;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  animation: conveyor 7s linear infinite;
}
.conveyor::after {
  content: ""; position: absolute; inset: 96px 0 auto 0; height: 52px;
  background-image: inherit; background-repeat: repeat-x; background-size: 150px 52px;
  opacity: .5; animation: conveyor 11s linear infinite reverse;
}
@keyframes conveyor { from { background-position-x: 0; } to { background-position-x: 150px; } }

/* little arrow that keeps running along the how-to rail */
.rail-runner {
  position: absolute; top: 50%; left: -3%; width: 28px; height: 15px;
  transform: translateY(-50%);
  background: var(--grad);
  clip-path: polygon(0 30%, 58% 30%, 58% 0, 100% 50%, 58% 100%, 58% 70%, 0 70%);
  filter: drop-shadow(0 0 9px rgba(255, 122, 0, .95));
  opacity: 0; animation: runner 3.4s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes runner {
  0% { left: -3%; opacity: 0; }
  14% { opacity: 1; }
  84% { opacity: 1; }
  100% { left: 100.5%; opacity: 0; }
}

/* reverse (outlined) ticker band */
.ticker-rev { background: #0D0704; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker-rev .ticker-track { animation-direction: reverse; animation-duration: 32s; }
.ticker-rev span { color: var(--orange-lt); }
.ticker-rev .tick-arrow { background: var(--grad); }

/* rotating dashed rings in the CTA */
.spin-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 2px dashed rgba(255, 122, 0, .3); transform: translate(-50%, -50%); }
.sr-1 { width: 560px; height: 560px; animation: spinSlow 38s linear infinite; }
.sr-2 { width: 840px; height: 840px; border-color: rgba(255, 122, 0, .16); animation: spinSlow 56s linear infinite reverse; }
@keyframes spinSlow { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* arrow particle canvas in the CTA */
.cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }

/* small long arrow that sweeps across a hovered feature card */
.feature-card::after {
  content: ""; position: absolute; top: -4px; left: -44px; width: 36px; height: 14px;
  background: var(--grad);
  clip-path: polygon(0 32%, 60% 32%, 60% 6%, 100% 50%, 60% 94%, 60% 68%, 0 68%);
  opacity: 0; transition: opacity .25s;
}
.feature-card:hover::after { opacity: 1; animation: cardArrow 1.3s linear infinite; }
@keyframes cardArrow { from { left: -44px; } to { left: calc(100% + 10px); } }

/* 3-up AI screenshot grid */
.shots-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 34px; padding: 10px 4% 8px; }
.shots-grid .shot { gap: 16px; }
.shots-grid .shot-frame { height: 470px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 122, 0, .3), 0 0 52px rgba(255, 122, 0, .18); }
.shots-grid .shot:nth-child(2) .shot-frame { transform: translateY(16px); }
.shots-grid .shot:nth-child(2):hover .shot-frame { transform: translateY(6px) scale(1.02); }

@media (max-width: 1200px) {
  .shots-grid { gap: 26px; }
  .shots-grid .shot-frame { height: 430px; }
}
@media (max-width: 640px) {
  .shots-grid { flex-direction: column; align-items: center; gap: 34px; }
  .shots-grid .shot-frame { height: 420px; }
  .shots-grid .shot:nth-child(2) .shot-frame { transform: none; }
  .shots-grid .shot:nth-child(2):hover .shot-frame { transform: translateY(-8px) scale(1.02); }
  .pulse-ring { width: 270px; height: 270px; margin: -135px 0 0 -135px; }
  .sr-1 { width: 380px; height: 380px; }
  .sr-2 { width: 560px; height: 560px; }
}

/* reduced motion: kill every new animation too */
@media (prefers-reduced-motion: reduce) {
  .pulse-ring, .conveyor, .conveyor::after, .rail-runner, .spin-ring,
  .feature-card::after, .scroll-rail-fill::after { animation: none; opacity: .25; }
}


/* ============================================================
   v3 — "Play Free" button replacing the store badge
   ============================================================ */
.btn-play {
  position: relative; overflow: hidden;
  background: var(--grad); color: #1A0C02;
  padding: 15px 32px; border-radius: 14px; gap: 15px;
  box-shadow: 0 18px 44px -14px rgba(255, 122, 0, .9);
}
.btn-play:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-play::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 42%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: translateX(-170%) skewX(-18deg);
}
.btn-play:hover::after { animation: shine .9s ease-out; }
@keyframes shine {
  from { transform: translateX(-170%) skewX(-18deg); }
  to { transform: translateX(330%) skewX(-18deg); }
}
.play-tri { width: 0; height: 0; border-left: 15px solid #1A0C02; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.play-label { font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 1.16rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.btn-xl { padding: 19px 40px; }
.btn-xl .play-tri { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; }
.btn-xl .play-label { font-size: 1.55rem; }

@media (prefers-reduced-motion: reduce) {
  .btn-play:hover::after { animation: none; opacity: 0; }
}
