/* Interactive home-page pieces: "Your whole shop, at a glance", hero price line, moving strip, scroll reveal, floating demo button. */
:root { --sc-ink: #0f2a33; --sc-brand: #078b84; --sc-mint: #6fd9bd; --sc-deep: #0b1f27; }

/* hero price line */
.hero-price { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; font-size: 14.5px; backdrop-filter: blur(6px); transition: background .2s; }
.hero-price:hover { background: rgba(255,255,255,.18); }
.hero-price b { white-space: nowrap; flex: none; background: var(--sc-mint); color: var(--sc-deep); border-radius: 999px; padding: 3px 10px; font-size: 13px; }

/* moving feature strip */
.proof.is-moving { overflow: hidden; white-space: nowrap; }
.proof.is-moving .proof-track { display: inline-flex; gap: 48px; padding-right: 48px; animation: proof-slide 38s linear infinite; }
.proof.is-moving:hover .proof-track { animation-play-state: paused; }
@keyframes proof-slide { to { transform: translateX(-50%); } }

/* showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: center; margin: 48px auto; max-width: 1180px; padding: 40px 48px; border-radius: 28px; color: #fff;
  background: radial-gradient(900px 500px at 85% 20%, rgba(7,139,132,.45), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(111,217,189,.16), transparent 60%), linear-gradient(135deg, #0b1f27, #102f3a 60%, #0d3b44);
  box-shadow: 0 30px 80px rgba(11,31,39,.28); position: relative; overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 22px); pointer-events: none; }
.showcase > * { position: relative; }
.showcase .eyebrow { color: var(--sc-mint); }
.showcase h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.08; margin: 6px 0 12px; }
.showcase-lead { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
.showcase-tabs { display: grid; gap: 8px; }
.showcase-tabs button { text-align: left; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #fff; border-radius: 14px; padding: 10px 14px; cursor: pointer; font: inherit; position: relative; overflow: hidden; transition: background .2s, border-color .2s, transform .2s; }
.showcase-tabs button b { display: block; font-size: 15px; }
.showcase-tabs button span { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 1px; }
.showcase-tabs button:hover { background: rgba(255,255,255,.08); transform: translateX(3px); }
.showcase-tabs button.is-on { background: rgba(111,217,189,.14); border-color: rgba(111,217,189,.55); }
.showcase-tabs button.is-on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sc-mint); transform-origin: left; animation: tab-progress var(--sc-dwell, 6s) linear forwards; }
.showcase.is-paused .showcase-tabs button.is-on::after { animation-play-state: paused; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.showcase-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.showcase-link { color: #fff; font-weight: 700; text-decoration: none; }
.showcase-link:hover { color: var(--sc-mint); }

.showcase-stage { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.showcase-title { font-weight: 800; margin: 0 0 10px; color: #fff; letter-spacing: .01em; }
.showcase-slide { width: 100%; animation: slide-in .5s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.glass { border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.glass-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.glass-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.3); }
.glass-bar span { margin-left: 8px; font-weight: 700; font-size: 14px; color: rgba(255,255,255,.85); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 16px; }
.kpi-card { background: #f4f8f8; color: var(--sc-ink); border-radius: 14px; padding: 12px 16px; }
.kpi-card span { display: block; font-size: 13.5px; color: #5c7078; }
.kpi-card b { display: block; font-size: 26px; line-height: 1.15; margin: 2px 0 1px; font-variant-numeric: tabular-nums; }
.kpi-card b.good { color: #0d8a5a; }
.kpi-card small { color: #8499a0; font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 66px; padding: 0 16px 14px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sc-mint), var(--sc-brand)); height: 4%; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.stock-list, .invoice-lines { list-style: none; margin: 0; padding: 10px 18px; display: grid; gap: 8px; }
.stock-list li, .invoice-lines li { display: flex; align-items: center; gap: 12px; background: #f4f8f8; color: var(--sc-ink); border-radius: 12px; padding: 11px 14px; animation: slide-in .45s ease both; }
.stock-list li:nth-child(2), .invoice-lines li:nth-child(2) { animation-delay: .08s; } .stock-list li:nth-child(3), .invoice-lines li:nth-child(3) { animation-delay: .16s; }
.stock-list li:nth-child(4), .invoice-lines li:nth-child(4) { animation-delay: .24s; } .stock-list li:nth-child(5) { animation-delay: .32s; }
.stock-list .av { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #e3f3f1; color: var(--sc-brand); font-weight: 800; font-size: 13px; flex: none; }
.stock-list b, .invoice-lines b { flex: 1; font-size: 14.5px; }
.pill { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.low { background: #fff2dc; color: #a15c00; } .pill.out { background: #fde8e6; color: #b42318; } .pill.ok { background: #e3f5ec; color: #0d8a5a; }
.invoice-lines span { color: #5c7078; font-size: 13px; }
.invoice-lines em { font-style: normal; color: #0d8a5a; font-weight: 800; font-size: 13px; }
.glass-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px 18px; font-size: 14px; color: rgba(255,255,255,.75); }
.glass-foot b { color: #fff; } .glass-foot b.good { color: var(--sc-mint); }
.phones { position: relative; height: 440px; width: 100%; }
.phone-frame { position: absolute; margin: 0; width: 210px; border-radius: 30px; padding: 8px; background: #0b1216; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 23px; }
.phone-frame.front { left: 50%; top: 0; transform: translateX(-10%) rotate(3deg); z-index: 2; }
.phone-frame.back { left: 50%; top: 40px; transform: translateX(-100%) rotate(-6deg); opacity: .9; }
.showcase-dots { display: flex; gap: 6px; margin-top: 18px; }
.showcase-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.3); transition: width .3s, background .3s; }
.showcase-dots i.is-on { width: 26px; background: var(--sc-mint); }
.showcase-note { margin: 10px 0 0; font-size: 11.5px; color: rgba(255,255,255,.45); }

/* cards lift a little on hover */
.plan-grid article, .hardware-grid article, .features article, .industries article, .pilot article { transition: transform .25s ease, box-shadow .25s ease; }
.plan-grid article:hover, .hardware-grid article:hover, .features article:hover, .industries article:hover, .pilot article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,42,51,.12); }

/* sections ease in as they scroll into view */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* floating "Book a demo" */
.demo-fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; background: var(--sc-brand); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(7,139,132,.4); transform: translateY(120px); opacity: 0; transition: transform .35s ease, opacity .35s ease, background .2s; }
.demo-fab.is-shown { transform: none; opacity: 1; }
.demo-fab:hover { background: #066f69; }
.demo-fab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sc-mint); box-shadow: 0 0 0 0 rgba(111,217,189,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(111,217,189,0); } 100% { box-shadow: 0 0 0 0 rgba(111,217,189,0); } }

@media (max-width: 980px) {
  .showcase { grid-template-columns: 1fr; margin: 48px 16px; padding: 32px 22px; gap: 28px; }
  .showcase-stage { min-height: 0; }
  .phones { height: 400px; }
}
@media (max-width: 560px) {
  .kpi-card b { font-size: 24px; }
  .phone-frame { width: 170px; }
  .phones { height: 330px; }
  .demo-fab { right: 14px; bottom: 14px; padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .proof.is-moving .proof-track, .showcase-slide, .stock-list li, .invoice-lines li, .demo-fab::before { animation: none; }
  .showcase-tabs button.is-on::after { animation: none; transform: scaleX(1); }
}

/* hero: a slightly smaller, wider headline so the buttons and price sit on the first screen */
.new-hero h1 { font-size: clamp(38px, 3.9vw, 56px); line-height: 1.03; letter-spacing: -1.2px; max-width: 720px; }
.new-hero .lead { max-width: 600px; }
@media (max-width: 560px) { .new-hero h1 { font-size: 38px; letter-spacing: -1px; } .hero-price { font-size: 13px; } }

/* Short screens (laptops): keep "Your whole shop, at a glance" on one screen below the header */
@media (min-width: 821px) and (max-height: 820px) {
  .showcase { margin: 32px auto; padding: 26px 40px; gap: 36px; }
  .showcase h2 { font-size: clamp(26px, 2.4vw, 32px); margin: 4px 0 8px; }
  .showcase-lead { font-size: 15px; margin-bottom: 14px; }
  .showcase-tabs { gap: 6px; }
  .showcase-tabs button { padding: 9px 14px; }
  .showcase-tabs button span { display: none; }
  .showcase-actions { margin-top: 14px; }
  .showcase-title { display: none; }
  .kpi-grid { gap: 10px; padding: 12px 14px; }
  .kpi-card { padding: 10px 14px; }
  .kpi-card b { font-size: 22px; }
  .bars { height: 52px; padding: 0 14px 12px; }
  .stock-list li, .invoice-lines li { padding: 8px 12px; }
  .stock-list .av { width: 30px; height: 30px; }
}
