/* RestroQR product website (index.php) — demo/sales install only.
   Animations: assets/vendor/motion.js (Motion, the vanilla-JS sibling of
   Framer Motion) + CSS. Everything is visible without JS; html.motion-on
   (set only when Motion loads and reduced-motion is off) hides the
   elements that animate in. */
:root {
  --bg: #fbf7f1;
  --paper: #ffffff;
  --ink: #16120d;
  --ink-2: #3a342c;
  --muted: #7c7466;
  --line: rgba(22, 18, 13, .09);
  --accent: #ff6a00;
  --accent-2: #ffa23a;
  --accent-3: #ffd08a;
  --accent-soft: #fff0e2;
  --dark: #120f0b;
  --dark-2: #1c1813;
  --ok: #1a8a4a;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(22,18,13,.04), 0 18px 40px -18px rgba(22,18,13,.22);
  --wrap: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.display { font-family: 'Bebas Neue', 'Manrope', sans-serif; font-weight: 400; letter-spacing: .01em; line-height: .95; }
.grad-text { background: linear-gradient(100deg, var(--accent) 10%, #ff3d6e 55%, var(--accent-2) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s ease-in-out infinite; }
@keyframes gradShift { 50% { background-position: 100% 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(42px, 6.4vw, 72px); margin: 10px 0 12px; }
.section-head p { margin: 0; font-size: 17.5px; color: var(--muted); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* progress bar */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), #ff3d6e, var(--accent-2)); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 24px; border-radius: 14px; border: 1px solid transparent; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; overflow: hidden; transition: transform .15s var(--ease), box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease; cursor: pointer; font-family: inherit; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn-accent { background: linear-gradient(135deg, #ff8a1f, var(--accent)); color: #fff; box-shadow: 0 12px 28px -12px rgba(255,106,0,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-accent::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-accent:hover::after { transform: translateX(120%); }
.btn-accent:hover { box-shadow: 0 18px 36px -14px rgba(255,106,0,.85); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(255,106,0,.5); color: var(--accent); }
.btn-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn-white { background: #fff; color: var(--accent); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(251,247,241,.78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s ease, background .25s ease; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(251,247,241,.92); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { position: relative; width: 40px; height: 40px; border-radius: 12px; background: conic-gradient(from 200deg, #ff3d6e, var(--accent), var(--accent-2), #ff3d6e); display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(255,106,0,.8); flex: none; }
.brand-mark::before { content: ''; position: absolute; inset: 2px; border-radius: 10px; background: linear-gradient(145deg, #ff8a1f, var(--accent)); }
.brand-mark svg { position: relative; width: 22px; height: 22px; color: #fff; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1.1; }
.brand-name span { color: var(--accent); }
.brand small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { position: relative; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 11px 17px; font-size: 14px; border-radius: 12px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(22,18,13,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(22,18,13,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 16s ease-in-out infinite; }
.blob-1 { width: 520px; height: 520px; right: -120px; top: -160px; background: #ffb163; }
.blob-2 { width: 420px; height: 420px; right: 240px; top: 180px; background: #ff7aa2; opacity: .32; animation-delay: -5s; animation-duration: 20s; }
.blob-3 { width: 360px; height: 360px; left: -140px; bottom: -160px; background: #ffd08a; opacity: .45; animation-delay: -9s; }
@keyframes drift { 33% { transform: translate(40px, 30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.pill { white-space: nowrap; }
.pill svg { width: 16px; height: 16px; flex: none; color: var(--accent); transition: transform .25s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill b { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(58px, 9vw, 120px); margin: 20px 0 20px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 540px; margin: 0 0 30px; }
.hero .lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }
.hero-visual { position: relative; min-height: 500px; perspective: 1400px; }
.device-laptop { position: absolute; right: 0; top: 34px; width: 100%; max-width: 590px; border-radius: 18px; background: #1d1913; padding: 12px 12px 18px; box-shadow: 0 50px 90px -34px rgba(22,18,13,.55), 0 0 0 1px rgba(255,255,255,.04) inset; transform-style: preserve-3d; }
.device-laptop::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 64px; height: 4px; border-radius: 3px; background: #3a342b; transform: translateX(-50%); }
.device-laptop img { border-radius: 9px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.device-phone { position: absolute; left: 0; bottom: -20px; width: 220px; border-radius: 36px; background: #1d1913; padding: 10px; box-shadow: 0 44px 80px -26px rgba(22,18,13,.6); }
.device-phone::before { content: ''; position: absolute; top: 16px; left: 50%; width: 56px; height: 6px; border-radius: 4px; background: #000; transform: translateX(-50%); z-index: 2; opacity: .55; }
.device-phone img { border-radius: 28px; width: 100%; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
.float-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 800; z-index: 3; }
.float-badge .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.float-badge .ic.ok { background: #e7f7ee; color: var(--ok); }
.float-badge .ic svg { width: 19px; height: 19px; }
.float-badge small { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; }
.fb-1 { right: 14px; top: 0; }
.fb-2 { right: 34px; bottom: 36px; }
.fb-3 { left: 170px; top: 80px; }
.bob { animation: bob 5.5s ease-in-out infinite; }
.bob.d2 { animation-delay: -1.8s; }
.bob.d3 { animation-delay: -3.6s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.ring { position: absolute; left: 44%; top: 44%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 2px solid rgba(255,106,0,.45); animation: ringPulse 2.8s ease-out infinite; z-index: 2; pointer-events: none; }
@keyframes ringPulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }

/* ---------- food marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; background: var(--dark); }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--dark), transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.dish { position: relative; width: 210px; height: 150px; border-radius: 16px; overflow: hidden; flex: none; }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dish:hover img { transform: scale(1.08); }
.dish span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(18,15,11,.72); color: #fff; font-size: 12.5px; font-weight: 800; backdrop-filter: blur(4px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip { background: var(--dark); color: #f3ece2; border-top: 1px solid rgba(255,255,255,.06); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px 20px; }
.strip-item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14.5px; }
.strip-item svg { width: 26px; height: 26px; color: var(--accent-2); flex: none; }

/* ---------- order flow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.flow-line { position: absolute; left: 16%; right: 16%; top: 58px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,106,0,.35) 0 10px, transparent 10px 18px); z-index: 0; }
.flow-dot { position: absolute; top: -6px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,106,0,.2), 0 0 24px rgba(255,106,0,.8); animation: travel 4.2s var(--ease) infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 45% { left: 50%; } 55% { left: 50%; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.flow-card { position: relative; z-index: 1; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.flow-ic { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(145deg, #ff8a1f, var(--accent)); color: #fff; box-shadow: 0 16px 30px -14px rgba(255,106,0,.9); }
.flow-ic svg { width: 34px; height: 34px; }
.flow-card h3 { margin: 0 0 6px; font-size: 19px; }
.flow-card p { margin: 0; color: var(--muted); font-size: 15px; }
.flow-card .t { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); background: #e7f7ee; padding: 4px 10px; border-radius: 999px; }

/* ---------- showcase ---------- */
.show { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; margin-bottom: 120px; }
.show:last-child { margin-bottom: 0; }
.show.reverse .show-text { order: 2; }
.show h3 { font-size: clamp(36px, 4.6vw, 52px); margin: 10px 0 14px; }
.show p { color: var(--ink-2); margin: 0 0 20px; font-size: 16.5px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 7px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.shot { position: relative; border-radius: 22px; background: #1d1913; padding: 10px; box-shadow: 0 40px 80px -36px rgba(22,18,13,.55); }
.shot img { border-radius: 13px; width: 100%; }
.shot-glow { position: absolute; inset: 12% 8% -8%; z-index: -1; background: radial-gradient(closest-side, rgba(255,106,0,.35), transparent); filter: blur(30px); }
.media { position: relative; isolation: isolate; }
.phone-solo { position: relative; width: min(300px, 78%); margin: 0 auto; border-radius: 40px; background: #1d1913; padding: 11px; box-shadow: 0 44px 80px -28px rgba(22,18,13,.55); }
.phone-solo img { border-radius: 31px; aspect-ratio: 390 / 820; object-fit: cover; object-position: top; }
.shot-pair { position: relative; }
.shot-pair .phone-mini { position: absolute; right: -16px; bottom: -40px; width: 32%; border-radius: 28px; background: #1d1913; padding: 7px; box-shadow: 0 30px 60px -20px rgba(22,18,13,.6); }
.shot-pair .phone-mini img { border-radius: 22px; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; }
.receipt { position: relative; width: min(300px, 78%); margin: 0 auto; background: #fff; padding: 14px 12px 0; box-shadow: 0 34px 60px -26px rgba(22,18,13,.45); rotate: -2.5deg; /* separate from transform, so the print animation's translate doesn't undo it */ }
.receipt::after { content: ''; display: block; height: 14px; margin: 0 -12px; background: linear-gradient(135deg, #fff 50%, transparent 50%) 0 0 / 14px 14px, linear-gradient(-135deg, #fff 50%, transparent 50%) 0 0 / 14px 14px; background-color: var(--bg); transform: translateY(13px); }
.printer-slot { width: min(340px, 88%); height: 22px; margin: 0 auto -10px; border-radius: 12px 12px 4px 4px; background: linear-gradient(#2a241c, #1d1913); position: relative; z-index: 2; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.tag { display: inline-block; font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--ink); color: #fff; vertical-align: 6px; margin-left: 8px; }

/* ---------- features (dark) ---------- */
.dark { background: var(--dark); color: #f3ece2; overflow: hidden; }
.dark .section-head p { color: #b8ad9c; }
.dark-glow { position: absolute; width: 700px; height: 700px; left: 50%; top: -300px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,106,0,.18), transparent); pointer-events: none; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { --mx: 50%; --my: 50%; position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 26px; overflow: hidden; transition: border-color .3s ease, transform .3s var(--ease); }
.feature::before { content: ''; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255,138,31,.16), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.feature:hover { border-color: rgba(255,162,58,.45); transform: translateY(-4px); }
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,106,0,.14); color: var(--accent-2); margin-bottom: 16px; }
.feature .ic svg { width: 23px; height: 23px; }
.feature h3 { margin: 0 0 6px; font-size: 17.5px; color: #fff; }
.feature p { margin: 0; font-size: 14.5px; color: #b8ad9c; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); overflow: hidden; }
.step::before { counter-increment: step; content: '0' counter(step); position: relative; z-index: 1; font-family: 'Bebas Neue', sans-serif; font-size: 52px; line-height: 1; display: block; margin-bottom: 12px; background: linear-gradient(135deg, var(--accent), #ff3d6e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step::after { content: ''; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--accent-soft); }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- live demo ---------- */
.demo { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: var(--dark); color: #f3ece2; border-radius: 32px; padding: 52px; overflow: hidden; isolation: isolate; }
.demo::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,106,0,.45), transparent); z-index: -1; }
.demo h2 { font-size: clamp(40px, 5.4vw, 62px); margin: 10px 0 14px; color: #fff; }
.demo p { color: #cfc5b5; margin: 0 0 24px; font-size: 17px; }
.demo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qr-box { justify-self: center; text-align: center; position: relative; }
.qr-box .qr { width: 230px; height: 230px; padding: 16px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); position: relative; overflow: hidden; }
.qr-box .qr svg { width: 100%; height: 100%; display: block; }
.qr-box .qr::after { content: ''; position: absolute; left: 10px; right: 10px; height: 3px; top: 10px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 16px var(--accent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 50% { top: calc(100% - 13px); } }
.qr-box small { display: block; margin-top: 14px; font-weight: 700; color: #cfc5b5; font-size: 13.5px; }


/* ---------- pricing ---------- */
.billing { display: inline-flex; position: relative; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 auto 40px; }
.billing button { position: relative; z-index: 1; border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 14.5px; color: var(--ink-2); cursor: pointer; transition: color .3s ease; white-space: nowrap; }
.billing button[aria-pressed="true"] { color: #fff; }
.billing button .save { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #e7f7ee; color: var(--ok); vertical-align: 1px; }
.billing button[aria-pressed="true"] .save { background: rgba(255,255,255,.22); color: #fff; }
.billing .knob { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: linear-gradient(135deg, #ff8a1f, var(--accent)); box-shadow: 0 8px 18px -8px rgba(255,106,0,.8); transition: transform .45s var(--ease), width .45s var(--ease); }
.pricing-head { text-align: center; }
.packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.pkg { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.pkg.featured { background: var(--dark); color: #f3ece2; border-color: var(--dark); }
.pkg.featured::before { content: ''; position: absolute; inset: -1px; border-radius: 27px; padding: 1.5px; background: linear-gradient(135deg, var(--accent-2), #ff3d6e, var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pkg .ribbon { position: absolute; top: 24px; right: 24px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; background: linear-gradient(135deg, #ff8a1f, var(--accent)); color: #fff; }
.pkg-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pkg h3 { font-size: 25px; margin: 8px 0 6px; line-height: 1.2; }
.pkg .sub { margin: 0 0 22px; color: var(--muted); }
.pkg.featured .sub { color: #b8ad9c; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.price .amt { font-family: 'Bebas Neue', sans-serif; font-size: 58px; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.price .per { font-weight: 700; color: var(--muted); }
.pkg.featured .price .per { color: #b8ad9c; }
.price-note { font-size: 13.5px; color: var(--muted); margin: 0 0 6px; min-height: 21px; }
.pkg.featured .price-note { color: #b8ad9c; }
.onetime { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 11px 14px; border-radius: 14px; background: rgba(255,162,58,.12); border: 1px dashed rgba(255,162,58,.5); font-size: 14px; font-weight: 700; color: #ffcf95; }
.onetime svg { width: 20px; height: 20px; flex: none; color: var(--accent-2); }
.onetime b { color: #fff; font-size: 16px; margin-left: auto; }
.pkg .ticks { margin: 20px 0 28px; }
.pkg.featured .ticks li { color: #efe6d8; }
.pkg.featured .ticks li::before { background-color: rgba(255,106,0,.18); }
.pkg .cta { margin-top: auto; }
.pkg .cta .btn { width: 100%; }
.price-foot { text-align: center; margin: 22px 0 0; color: var(--muted); font-size: 13.5px; }

/* ---------- add-ons ---------- */
.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.addon { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s ease; }
.addon:hover { transform: translateY(-5px); border-color: rgba(255,106,0,.4); }
.addon .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.addon .ic svg { width: 22px; height: 22px; }
.addon h3 { margin: 0 0 6px; font-size: 17px; }
.addon p { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }
.addon .price { margin-top: auto; }
.addon .price .amt { font-size: 38px; }
.addon .price-note { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; box-shadow: var(--shadow); transition: border-color .25s ease; }
.faq details[open] { border-color: rgba(255,106,0,.35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 800; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); font-size: 20px; font-weight: 600; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: stretch; }
.contact-card { position: relative; overflow: hidden; background: linear-gradient(140deg, #ff8a1f, var(--accent) 55%, #e2410f); color: #fff; border-radius: 32px; padding: 50px; box-shadow: 0 40px 70px -32px rgba(255,106,0,.85); isolation: isolate; }
.contact-card::before { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -160px; border-radius: 50%; border: 50px solid rgba(255,255,255,.1); z-index: -1; }
.contact-card h2 { font-size: clamp(42px, 5.6vw, 64px); margin: 0 0 14px; }
.contact-card p { margin: 0 0 28px; font-size: 17px; color: #fff3e6; }
.contact-list { display: grid; gap: 14px; align-content: center; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease), border-color .25s ease; }
a.contact-row:hover { transform: translateX(4px); border-color: rgba(255,106,0,.45); }
.contact-row .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.contact-row .ic svg { width: 21px; height: 21px; }
.contact-row small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-row b { font-size: 16.5px; }
.contact-row span.s { display: block; font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #b8ad9c; padding: 48px 0 36px; font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .brand-name { color: #fff; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; }

/* ---------- motion hooks ----------
   Hidden only when Motion is running; without JS (or with reduced motion)
   everything is simply visible. */
.motion-on [data-anim] { opacity: 0; }
.motion-on .hero h1 .line > span { transform: translateY(105%); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero-grid, .show, .demo, .contact { grid-template-columns: 1fr; }
  .show.reverse .show-text { order: 0; }
  .hero-visual { min-height: 440px; max-width: 640px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .addons { grid-template-columns: repeat(2, 1fr); }
  .show { gap: 40px; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; right: 0; top: 74px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.2); }
  .nav.open .nav-links a { padding: 12px; font-size: 16px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow-line { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .hero { padding: 40px 0 70px; }
  .hero .lead { font-size: 17px; }
  .btn { padding: 12px 18px; font-size: 14px; border-radius: 12px; gap: 7px; }
  .btn svg { width: 16px; height: 16px; }
  .hero-visual { min-height: 340px; }
  .device-laptop { top: 10px; }
  .device-phone { width: 130px; border-radius: 24px; padding: 6px; bottom: -8px; }
  .device-phone img { border-radius: 19px; }
  .device-phone::before { display: none; }
  .fb-1 { right: 4px; top: -18px; }
  .fb-2, .fb-3, .ring { display: none; }
  .features, .steps, .addons, .packages { grid-template-columns: 1fr; }
  .show { margin-bottom: 84px; }
  .shot-pair .phone-mini { right: -4px; bottom: -24px; }
  .demo, .contact-card, .pkg { padding: 28px; }
  .qr-box .qr { width: 200px; height: 200px; }
  .strip-inner { grid-template-columns: 1fr; gap: 14px; }
  .dish { width: 160px; height: 116px; }
  .billing button { padding: 10px 14px; font-size: 13.5px; }
  .price .amt { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
