/* =========================================================
   DigiCloud247 Signage Software — premium marketing site (dark theme only)
   Structure: tokens · base · nav · hero · sections · UI kit
   · features · platform panels · industries · how it works
   · showcase · pricing · faq · cta · footer · responsive
   ========================================================= */

/* ---------- Tokens ----------
   Palette: brand red #DC2626 · near-black #060608 · text #7A7A86 · white #FFFFFF · light purple #FBEAEA
   (variable keys unchanged — only the values are new) */
:root {
  --ff-display: 'Outfit', system-ui, sans-serif;
  --ff-body: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 20px;
  --nav-h: 80px;
  --section-y: clamp(64px, 8vw, 112px);
  --green: #3ecf8e;   /* online status */
  --amber: #DC2626;   /* scheduled status */
  --red: #ff6b6b;     /* offline status */
}

:root,
[data-theme="dark"],
.sx-nav.on-dark {
  /* mostly black; deep blue is used only as a glow in a few places (hero, promotions, falling text, CTA) */
  --bg: #060608;
  --bg-2: #0C0C10;
  --surface: #101015;
  --surface-2: #15151B;
  --surface-3: #1D1D25;
  --text: #FFFFFF;
  --muted: #A2A2AE;
  --faint: #6A6A77;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .15);
  --accent: color-mix(in srgb, #DC2626 74%, #FFFFFF);
  --accent-soft: rgba(220, 38, 38, .18);
  --btn-bg: #DC2626;
  --btn-fg: #FFFFFF;
  --shadow: 0 8px 30px rgba(0, 0, 0, .5);
  --shadow-card: 0 20px 44px -20px rgba(0, 0, 0, .8);
  --shadow-lg: 0 28px 64px -26px rgba(0, 0, 0, .9);
  --tint: #09090C;
  --bezel: rgba(255, 255, 255, .16);
  --hero-glow: radial-gradient(52% 58% at 82% 26%, rgba(16, 52, 160, .36), transparent 70%), radial-gradient(34% 36% at 6% 92%, rgba(220, 38, 38, .07), transparent 70%);
  --nav-scrolled: color-mix(in srgb, var(--bg) 78%, transparent);
  --thumb-1: linear-gradient(135deg, #DC2626, color-mix(in srgb, #DC2626 35%, #16161D));
  --thumb-2: linear-gradient(135deg, color-mix(in srgb, #DC2626 60%, #FFFFFF), #DC2626);
  --thumb-3: linear-gradient(135deg, #FBEAEA, color-mix(in srgb, #DC2626 40%, #FFFFFF));
  --thumb-4: linear-gradient(135deg, #16161D, color-mix(in srgb, #DC2626 70%, #16161D));
  color-scheme: dark;
}

/* ---------- Base ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); }   /* 36 – 52px */
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }      /* 28 – 40px */
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }    /* 20 – 26px */
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }    /* 18 – 22px */
small, .small { font-size: .875rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--btn-bg); color: var(--btn-fg); }

.section { padding: var(--section-y) 0; position: relative; }
.section--tint { background: var(--bg-2); }

.section-head { max-width: 860px; margin: 0 auto clamp(40px, 6vw, 80px); }
.section-head.text-center p { max-width: 620px; margin: 1.2rem auto 0; font-size: 1.05rem; }
.section-head:not(.text-center) { max-width: none; }

.tag-pill {
  display: inline-block;
  padding: .45rem 1rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.eyebrow--green { color: var(--accent); letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.eyebrow--green .eyebrow-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-pill--solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn-pill--ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-pill--ghost:hover { background: var(--surface-2); }
.btn-pill--accent { background: var(--btn-bg); color: var(--btn-fg); padding: 1rem 1.6rem; }
.btn-pill--solid:hover, .btn-pill--accent:hover { background: color-mix(in srgb, var(--btn-bg) 86%, #000); color: var(--btn-fg); box-shadow: 0 6px 16px -6px rgba(220, 38, 38, .45); }
.btn-pill--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-pill--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-strong);
  transition: gap .4s var(--ease), border-color .4s var(--ease);
}
.btn-link-arrow:hover { gap: .9rem; border-color: var(--text); }

/* ---------- Navbar ---------- */
.sx-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
}
.sx-nav .navbar { padding: 1.35rem 0; transition: padding .5s var(--ease); }
.sx-nav.is-scrolled {
  background: var(--nav-scrolled);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--border);
}
.sx-nav.is-scrolled .navbar { padding: .6rem 0; }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  color: var(--text);
  margin: 0;
}
.navbar-brand em { font-style: normal; color: var(--muted); }
.brand-mark {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .85rem;
}

.navbar-nav { gap: .25rem; }
.sx-nav .nav-link {
  position: relative;
  padding: .5rem .9rem !important;
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.sx-nav .nav-link::after {
  content: '';
  position: absolute;
  left: .9rem; right: .9rem; bottom: .2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.sx-nav .nav-link:hover,
.sx-nav .nav-link.active { color: var(--text); }
.sx-nav .nav-link:hover::after,
.sx-nav .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-login { font-size: .93rem; font-weight: 500; color: var(--muted); transition: color .3s; }
.nav-login:hover { color: var(--text); }

.navbar-toggler {
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: none;
  position: relative;
  box-shadow: none !important;
}
.navbar-toggler span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--text);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.navbar-toggler span:nth-child(1) { top: 16px; }
.navbar-toggler span:nth-child(2) { top: 24px; }
.navbar-toggler[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-glow { position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero .container-xxl { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2rem, 3.7vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 1.8rem;
}
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln-in { display: block; will-change: transform; }
.hero-sub { max-width: 520px; font-size: 1.05rem; margin-bottom: 2.2rem; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1.8rem; margin-bottom: 3rem; }

.hero-points { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-points li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.hero-points i { color: var(--accent); }

.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* placeholder surface so the layout holds even before images are added */
.ph {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--surface-3), var(--surface) 70%),
    var(--surface);
}
.ph::before {
  content: '\F2AC'; /* bi-display */
  font-family: 'bootstrap-icons';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2.2rem;
  color: var(--faint);
  opacity: .5;
}

.ind-card .ind-img img, .cta-bg img { transition: transform 1.2s var(--ease); }
.ind-card .ind-img { position: relative; overflow: hidden; }

/* ---------- Capability strip ---------- */
.strip { padding: 0 0 clamp(50px, 6vw, 90px); }
.strip-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem 2rem;
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  border-radius: var(--r-lg);
  background: #16161D;
  border: 1px solid rgba(255, 255, 255, .08);
  color: #FFFFFF;
}
.strip-bar li { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--ff-display); font-size: clamp(.95rem, 1.3vw, 1.15rem); letter-spacing: -.01em; }
.strip-bar i { font-size: 1.3rem; color: #FBEAEA; }

/* ---------- UI kit (mini interfaces) ---------- */
.ui {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.ui-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 1rem; }
.ui-head b { font-size: .95rem; color: var(--text); font-weight: 600; }
.ui-head small { color: var(--muted); }
.ui-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600;
  padding: .4rem .8rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
}
.ui-tabs { display: flex; gap: .4rem; margin-bottom: 14px; flex-wrap: wrap; }
.ui-tabs span { font-size: .75rem; padding: .3rem .7rem; border-radius: 999px; color: var(--muted); border: 1px solid var(--border); }
.ui-tabs span.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

.thumb { display: block; border-radius: 10px; aspect-ratio: 16 / 10; background: var(--thumb-1); border: 1px solid var(--border); }
.thumb.t1 { background: var(--thumb-1); } .thumb.t2 { background: var(--thumb-2); }
.thumb.t3 { background: var(--thumb-3); } .thumb.t4 { background: var(--thumb-4); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(62, 207, 142, .18); }
.dot.warn { background: var(--amber); }
.dot.off { background: var(--red); }

.pill-status {
  display: inline-flex; align-items: center; gap: .4rem;
  font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px;
}
.pill-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-status.on { color: var(--green); background: rgba(62, 207, 142, .12); }
.pill-status.off { color: var(--red); background: rgba(255, 107, 107, .12); }

.stat-row { display: flex; align-items: center; justify-content: space-between; padding: .6rem .2rem; font-size: .88rem; color: var(--text); border-bottom: 1px solid var(--border); }
.stat-row:last-child { border-bottom: 0; }

.sched-row { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: .6rem; padding: .35rem 0; }
.sched-row small { color: var(--muted); font-size: .72rem; }
.sched-row span { position: relative; height: 22px; border-radius: 8px; background: var(--surface-3); }
.sched-row span::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 8px; background: var(--accent); opacity: .85; }

.pl-item { display: grid; grid-template-columns: 18px 56px 1fr auto; align-items: center; gap: .7rem; padding: .5rem .4rem; border-radius: 12px; font-size: .86rem; color: var(--text); }
.pl-item:nth-child(even) { background: color-mix(in srgb, var(--surface-3) 55%, transparent); }
.pl-item i { color: var(--faint); }
.pl-item small { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.chips span { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.chips span.on { color: var(--accent); background: var(--accent-soft); border-color: transparent; }

/* Bootstrap rows with wide gutters extend 12px past a narrow container; clip (not hidden) keeps sticky/pin children working */
main > section { overflow-x: clip; }

/* ---------- Platform panels (sticky stack) ---------- */
.stack { position: relative; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.panel:last-child { margin-bottom: 0; }
@media (min-width: 992px) and (min-height: 540px) {
  .stack .panel {
    position: sticky;
    top: calc(var(--nav-h) + 12px + var(--i) * 20px);
    z-index: calc(var(--i) + 1);
    margin-bottom: clamp(28px, 6vh, 56px);
    padding: clamp(24px, 3vw, 44px);
    box-shadow: 0 -10px 24px -14px rgba(10, 10, 14, .22), var(--shadow);
    min-height: min(540px, calc(100vh - var(--nav-h) - 120px));
    max-height: calc(100vh - var(--nav-h) - 40px);
    display: flex;
    align-items: center;
  }
  .stack .panel > .row { width: 100%; }
  .stack .panel:last-child { margin-bottom: 0; }
}
.panel-title { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: 1.1rem; }
.panel-text { font-size: 1.05rem; max-width: 480px; }
.check-list { margin-top: 1.6rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .98rem; }
.check-list i { color: var(--accent); margin-top: .2rem; }

/* ---------- Industries ---------- */
.industries { position: relative; padding: var(--section-y) 0 clamp(50px, 6vw, 90px); background: var(--bg); }
.ind-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 5vh, 64px); }
.ind-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.ind-sub { font-size: 1.05rem; max-width: 720px; margin: 0; }
.ind-viewport { position: relative; padding-left: max(calc((100vw - 1320px) / 2 + 12px), 12px); overflow: hidden; }
.ind-track { display: flex; gap: clamp(20px, 3vw, 40px); width: max-content; padding-right: 12vw; will-change: transform; }
.ind-card { width: clamp(280px, 28vw, 520px); flex: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.ind-card .ind-img { aspect-ratio: 4 / 3; border-radius: var(--r-md); border: 1px solid var(--border); margin-bottom: 1.4rem; }
.ind-card .ind-img img { transition: transform 1.2s var(--ease); }
.ind-card:hover .ind-img img { transform: scale(1.05); }
.ind-no { display: block; font-size: .75rem; letter-spacing: .12em; color: var(--faint); margin-bottom: .4rem; font-weight: 600; }
.ind-card h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); margin-bottom: .6rem; }
.ind-card p { margin: 0; font-size: 1.02rem; max-width: 460px; }
.ind-progress { height: 2px; margin: clamp(28px, 4vh, 48px) max(calc((100vw - 1320px) / 2 + 12px), 12px) 0; background: var(--border); border-radius: 2px; overflow: hidden; }
.ind-progress span { display: block; height: 100%; width: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; }

/* ---------- How it works ---------- */
.how-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow); }
.steps { display: grid; gap: .6rem; }
.step { display: flex; gap: 1.2rem; align-items: center; padding: 1.1rem 1.3rem; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; opacity: .5; transition: opacity .6s var(--ease), background-color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease); }
.step:hover, .step:focus-visible { opacity: .85; }
.step.is-active { opacity: 1; background: var(--surface-2); border-color: var(--border); }
.step-no { font-family: var(--ff-display); font-size: .95rem; color: var(--accent); }
.step h3 { font-size: 1.3rem; margin: 0 0 .2rem; }
.step p { margin: 0; font-size: .95rem; }
.steps-progress { height: 2px; background: var(--border); border-radius: 2px; margin-top: 1.6rem; overflow: hidden; }
.steps-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(.25); transition: transform .8s var(--ease); }

.stage { position: relative; min-height: 380px; padding: 24px; overflow: hidden; }
.stage-panel { position: absolute; inset: 24px; opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stage-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
/* ---------- Showcase browser ---------- */
.browser-wrap { perspective: 1800px; max-width: 1180px; margin: 0 auto; }
.browser { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: 0 24px 60px -24px rgba(10, 10, 14, .28); transform-origin: center top; will-change: transform; }
.browser-bar { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); display: block; }
.dots i:nth-child(n) { background: var(--border-strong); }
.addr { flex: 1; max-width: 420px; margin: 0 auto; text-align: center; font-size: .78rem; color: var(--muted); padding: .35rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.bar-end { width: 50px; }

.app-main { padding: 24px; min-width: 0; }
.view { animation: viewIn .7s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* ---------- Trust ---------- */
.trust h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.trust-text { font-size: 1.05rem; margin-bottom: 2rem; }
@media (min-width: 992px) { .trust .row > :first-child { position: sticky; top: calc(var(--nav-h) + 32px); } }
.trust-list { display: grid; gap: 1rem; }
.trust-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.trust-list li > i { font-size: 1.4rem; color: var(--accent); }
.trust-list b { display: block; color: var(--text); font-weight: 600; }
.trust-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.plan { position: relative; height: 100%; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.plan--featured { border-color: var(--border-strong); }
.plan-flag { position: absolute; top: -14px; left: 28px; padding: .3rem .9rem; border-radius: 8px; font-size: .75rem; font-weight: 600; background: var(--btn-bg); color: var(--btn-fg); }
.plan-name { display: inline-block; padding: .3rem .9rem; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .8rem; font-weight: 500; color: var(--text); }
.plan-price { font-family: var(--ff-display); font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: -.03em; margin: 1.2rem 0 .8rem; color: var(--text); }
.plan p { font-size: .95rem; margin-bottom: 1.6rem; }
.plan-list { display: grid; gap: .85rem; height: 100%; padding-left: 1.2rem; border-left: 1px solid var(--border); }
.plan-list li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; color: var(--muted); }
.plan-list i { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; }
.faq .accordion-item { background: var(--surface); border: 1px solid var(--border) !important; border-radius: var(--r-md) !important; overflow: hidden; }
.faq .accordion-header { margin: 0; font-family: var(--ff-body); letter-spacing: 0; }
.faq .accordion-button { background: transparent; color: var(--text); font-weight: 600; font-size: 1.02rem; padding: 1.4rem 1.6rem; box-shadow: none !important; }
.faq .accordion-button:not(.collapsed) { background: transparent; color: var(--text); }
.faq .accordion-button::after { background-image: none; content: '+'; font-size: 1.5rem; font-weight: 300; line-height: 1; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; transform: none; transition: transform .5s var(--ease); }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.faq .accordion-body { padding: 0 1.6rem 1.5rem; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta { position: relative; padding: clamp(110px, 16vw, 230px) 0; overflow: hidden; text-align: center; color: #fff; background: #16161D; }
.cta-bg { position: absolute; inset: -10% 0; }
.cta-bg::before { color: color-mix(in srgb, #16161D 70%, #FFFFFF); }
.cta-bg img { filter: saturate(.85); }
.cta-veil { position: absolute; inset: 0; background: rgba(10, 10, 14, .88); }
.cta h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); max-width: 900px; margin: 0 auto 1.2rem; }
.cta p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.cta .btn-pill--solid { background: #FFFFFF; color: #16161D; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(60px, 8vw, 110px) 0 0; overflow: hidden; background: var(--bg); }
.footer-about { max-width: 320px; font-size: .95rem; }
.footer h4 { font-family: var(--ff-body); font-size: 1rem; letter-spacing: 0; font-weight: 600; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: .65rem; }
.footer ul a { color: var(--muted); font-size: .93rem; transition: color .3s; }
.footer ul a:hover { color: var(--text); }
.footer-mark { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.6rem, 12.2vw, 11.5rem); line-height: .8; letter-spacing: -.05em; white-space: nowrap; text-align: center; margin: clamp(30px, 5vw, 70px) 0 -.12em; color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--text) 14%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--border); font-size: .88rem; color: var(--muted); background: var(--bg); }
.footer-bottom nav { display: flex; gap: 1.6rem; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .sx-nav { background: var(--nav-scrolled); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: var(--border); }
  .sx-nav .navbar { padding: .7rem 0; }
  .navbar-toggler { display: inline-block; }
  .navbar-collapse { padding: 1rem 0 1.4rem; }
  .navbar-nav { margin-bottom: 1rem; }
  .nav-actions { flex-wrap: wrap; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); }
  .strip-bar { justify-content: center; }
  .plan-list { border-left: 0; padding-left: 0; }

  /* industries: native horizontal swipe, no pin */
  .ind-viewport { padding-left: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ind-viewport::-webkit-scrollbar { display: none; }
  .ind-track { padding-right: 12px; }
  .ind-card { width: 78vw; max-width: 420px; scroll-snap-align: start; }
  .ind-progress { display: none; }

}

@media (max-width: 767.98px) {
  .hero-cta { gap: 1.2rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Pinned layouts (desktop) ---------- */
@media (min-width: 992px) {
  .industries { padding: 0; }
  .ind-pin { min-height: 100vh; padding: calc(var(--nav-h) + 24px) 0 40px; }
  .industries.is-pinned .ind-card { opacity: .5; }
  .industries.is-pinned .ind-card.is-active { opacity: 1; }
  .industries.is-pinned .ind-card.is-active .ind-img { box-shadow: var(--shadow); }

}

/* no-JS-motion fallback: industries become a native swipe row */
.industries.is-native .ind-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding-left: 12px; }
.industries.is-native .ind-card { scroll-snap-align: start; }
.industries.is-native .ind-progress { display: none; }


/* ---------- Finishing: cards, hover, images ---------- */
.plan, .trust-list li {
  border-radius: var(--r-lg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.plan, .trust-list li { box-shadow: var(--shadow); }
.plan:hover, .trust-list li:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(10, 10, 14, .10); }
[data-theme="dark"] .plan:hover, [data-theme="dark"] .trust-list li:hover { box-shadow: 0 16px 44px rgba(0, 0, 0, .45); }
.ind-card .ind-img { border-radius: var(--r-md); }
.panel, .how-card { border-radius: var(--r-xl); }
.faq .accordion-item { box-shadow: var(--shadow); }

/* =========================================================
   STAGE SECTIONS — 02 Manage · Content · 04 Smart Scheduling · Real-time control
   White theme: they follow the page tokens, alternate white / soft-lilac
   backgrounds and carry generous vertical spacing between each other.
   ========================================================= */
.sec-stage { position: relative; overflow: hidden; background: var(--bg); color: var(--text); --vio: var(--accent); --vio-2: #DC2626; }
.sec-stage.is-tint { background: var(--tint); }
.sec-stage + .sec-stage { border-top: 1px solid var(--border); }
.mx-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 40% at 50% 58%, rgba(220, 38, 38, .07), transparent 72%); }
.mx, .sch { padding: var(--section-y) 0; }
.mx-pin, .sch-pin { position: relative; z-index: 1; }

.mx-head { text-align: center; max-width: 720px; margin: 0 auto clamp(20px, 3.5vh, 36px); }
.nowrap { white-space: nowrap; }
.mx-head .tag-pill { margin-bottom: 1rem; }
.mx-head h2 { margin-bottom: .8rem; }
.mx-head p { max-width: 620px; margin: 0 auto; font-size: 1.02rem; }

/* ---- Section 02: stage (mobile first = vertical stack) ---- */
.mx-stage { position: relative; display: flex; flex-direction: column; gap: 36px; max-width: 520px; margin: 0 auto; }
.mx-lines { display: none; }
.mx-dash-wrap { order: -1; }
.disp-2, .disp-4, .disp-6 { display: none; }
.disp { position: relative; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.disp::before { content: ''; position: absolute; left: 50%; top: -36px; width: 1px; height: 36px; background: linear-gradient(to bottom, var(--accent), transparent); }
.disp::after { content: ''; position: absolute; left: calc(50% - 2px); top: -36px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: mxDrop 2.4s linear infinite; }
@keyframes mxDrop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }

.disp-frame { display: grid; align-items: center; min-height: 0; padding: 6px; border-radius: 14px; background: #16161D; border: 1px solid var(--bezel); box-shadow: var(--shadow-card); }
.screen { position: relative; width: 100%; max-height: 100%; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; container-type: size; background: var(--bg-2); }
.disp figcaption { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.disp-name { color: var(--text); font-weight: 500; }
.disp-st { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; }
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); grid-area: 1 / 1; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.st-conn, .st-on { grid-area: 1 / 2; transition: opacity .5s var(--ease); }
.st-conn { color: var(--faint); }
.st-on { color: var(--green); opacity: 0; }
.disp-st.is-online .st-dot { background: var(--green); box-shadow: 0 0 0 3px rgba(62, 207, 142, .2); }
.disp-st.is-online .st-conn { opacity: 0; }
.disp-st.is-online .st-on { opacity: 1; }

/* display mock content — sized with container query units so it scales with the screen */
.sc { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 3.84cqmin; padding: 12.8cqmin; overflow: hidden; color: #FFFFFF; font-family: var(--ff-body); }
.sc small { font-size: 7.36cqmin; letter-spacing: .12em; font-weight: 600; opacity: .8; }
.sc b { font-size: 16.8cqmin; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; color: inherit; }
.sc p { margin: 0; font-size: 8.32cqmin; line-height: 1.3; color: inherit; opacity: .85; }
.sc ul { list-style: none; margin: 0; padding: 0; }
.sc li { display: flex; justify-content: space-between; font-size: 8.64cqmin; padding: 2.88cqmin 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sc li em { font-style: normal; color: #FBEAEA; }
.sc-tag { align-self: flex-start; font-size: 6.72cqmin; letter-spacing: .14em; font-weight: 600; padding: 1.92cqmin 4.8cqmin; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.sc-orb { position: absolute; right: -12.8cqmin; bottom: -22.4cqmin; width: 76.8cqmin; height: 76.8cqmin; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .04) 62%); }
.sc-retail { background: linear-gradient(135deg, #DC2626, #16161D); }
.sc-corp { background: #FBEAEA; color: #16161D; } .sc-corp small { color: #DC2626; opacity: 1; }
.sc-menu { background: #16161D; } .sc-menu b { font-size: 13.6cqmin; margin-bottom: 1.6cqmin; }
.sc-fact { background: #16161D; } .sc-bar { height: 4.8cqmin; border-radius: 4.8cqmin; background: rgba(255, 255, 255, .16); overflow: hidden; } .sc-bar u { display: block; height: 100%; width: var(--p); background: #DC2626; text-decoration: none; }
.sc-recep { background: linear-gradient(160deg, #FBEAEA, color-mix(in srgb, #DC2626 38%, #FFFFFF)); color: #16161D; } .sc-recep small { color: #DC2626; opacity: 1; }
.sc-mkt { background: #DC2626; }
.sc-pv1 { background: linear-gradient(150deg, #FBEAEA, color-mix(in srgb, #DC2626 32%, #FFFFFF)); color: #16161D; } .sc-pv1 small { color: #DC2626; opacity: 1; }
.sc-pv2 { background: #16161D; } .sc-pv2 small { color: color-mix(in srgb, #DC2626 60%, #FFFFFF); opacity: 1; }
.sc-pv3 { background: linear-gradient(135deg, #DC2626, #16161D); }
.sc-pv4 { background: #DC2626; }
.sc-pv5 { background: linear-gradient(160deg, #16161D, color-mix(in srgb, #16161D 60%, #000)); }

/* central dashboard */
.mx-dash {
  height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 18px;
  border-radius: 20px; font-size: 13px; transform-origin: center; will-change: transform;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .mx-dash { background: var(--surface); }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid var(--border); }
.dash-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text); }
.dash-brand i { width: 1.8em; height: 1.8em; display: grid; place-items: center; font-size: .8em; border-radius: 6px; background: var(--btn-bg); color: #FFFFFF; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); } .dash-live b { color: var(--text); font-weight: 600; }
.dash-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; flex: 1; min-height: 0; }
.dash-list { display: flex; flex-direction: column; gap: 8px; }
.dash-row { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.dash-row.is-sel { border-color: rgba(220, 38, 38, .55); background: var(--accent-soft); }
.dr-ico { width: 2.4em; height: 2.4em; display: grid; place-items: center; border-radius: 8px; background: var(--surface-3); color: var(--accent); }
.dr-txt b { display: block; color: var(--text); font-weight: 500; line-height: 1.2; }
.dr-txt small { display: block; color: var(--muted); font-size: .85em; line-height: 1.3; }
.dr-st { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: .85em; white-space: nowrap; }
.dash-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-preview { position: relative; container-type: size; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.dp-tag { position: absolute; left: 6px; top: 6px; z-index: 2; font-size: .75em; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #FFFFFF; }
.dash-meta { margin: 0; display: grid; gap: 8px; }
.dash-meta div { display: flex; justify-content: space-between; gap: 6px; }
.dash-meta dt { color: var(--muted); font-weight: 400; } .dash-meta dd { margin: 0; color: var(--text); display: inline-flex; align-items: center; gap: 5px; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.dash-actions span { flex: 1 1 auto; min-width: 0; text-align: center; padding: 5px 6px; border-radius: 7px; border: 1px solid var(--border-strong); color: var(--text); font-size: .85em; white-space: nowrap; }
.dash-actions span:first-child { background: var(--btn-bg); border-color: transparent; color: #FFFFFF; }

/* connection lines */
.mx-ln path { fill: none; stroke: var(--accent); stroke-opacity: .55; stroke-width: 1.2; }
.mx-particle { fill: var(--accent); }
.mx-ping { fill: var(--faint); stroke: var(--border-strong); }

.mx-i-eyebrow { display: inline-block; margin-bottom: .9rem; font-size: .95rem; font-weight: 500; letter-spacing: .01em; color: var(--accent); }
.mx-i-title em { font-style: normal; color: var(--vio); }

/* intro (Section 02, phase 1) */
.mx-intro { position: relative; z-index: 5; text-align: center; max-width: 900px; margin: 0 auto 32px; padding: 0 16px; }
.mx-intro .mx-i-title { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; margin: 0 0 .9rem; color: var(--text); }
.mx-intro p { max-width: 560px; margin: 0 auto 1.1rem; font-size: 1.02rem; }
.mx-i-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.8rem; }
.mx-i-chips span { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; font-size: .8rem; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); }
.mx-i-cards { display: grid; gap: 14px; margin-top: 1.4rem; }
.mx-i-card { text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow); }
.mx-i-card i { display: block; font-size: 1.3rem; color: var(--accent); margin-bottom: .6rem; }
.mx-i-card h3 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .35rem; color: var(--text); font-weight: 600; }
.mx-i-card p { margin: 0; font-size: .86rem; line-height: 1.5; max-width: none; }
.mx-pin { display: flex; flex-direction: column; }
.mx-pin > .container-xxl { width: 100%; }

/* Content Management */
.ct { padding: var(--section-y) 0; }
.ct-wrap { position: relative; z-index: 1; }
.ct-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; margin-bottom: 1rem; }
.ct-copy p { max-width: 460px; font-size: 1.02rem; margin-bottom: 1.6rem; }
.ct-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.ct-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-card { position: relative; border-radius: 16px; padding: 12px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow-card); will-change: transform; overflow: hidden; }
.ct-tag { display: block; font-size: .66rem; letter-spacing: .12em; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.ct-media, .ct-hero, .ct-photo { position: relative; border-radius: 10px; overflow: hidden; }
.ct-media { aspect-ratio: 16 / 10; }
.ct-media img, .ct-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ct-card:hover img { transform: scale(1.05); }
.ct-photo { aspect-ratio: 4 / 3; background: var(--surface-3); }
.ct-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem; color: #FFFFFF; background: rgba(15, 14, 40, .55); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ct-bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.ct-bar u { flex: 1; height: 3px; border-radius: 3px; background: var(--border-strong); text-decoration: none; overflow: hidden; }
.ct-bar s { display: block; width: 38%; height: 100%; background: var(--accent); text-decoration: none; }
.ct-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ct-thumbs span { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, var(--surface-3), var(--surface)); border: 1px solid var(--border); }
.ct-thumbs span:first-child { background: linear-gradient(135deg, rgba(154, 127, 255, .4), var(--surface-3)); }
.ct-light { background: #F2F2F5; color: #16161D; border-color: var(--border); }
.ct-light .ct-tag { color: #7A7A86; }
.ct-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.ct-split b { display: block; font-size: .9rem; line-height: 1.25; color: #16161D; font-weight: 600; }
.ct-split small { display: block; margin: .25rem 0; font-size: .72rem; color: #7A7A86; }
.ct-split em { font-style: normal; font-weight: 600; font-size: .85rem; color: #DC2626; }
.ct-pl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct-hero { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #9a7fff, #4b2fc2 70%, #16161D); }
.ct-hero .ct-play { width: 46px; height: 46px; }
.ct-a, .ct-e { grid-column: span 2; }

/* Section 04 — Smart Scheduling (original app UI + horizontal timeline, white theme) */
.sch { padding: var(--section-y) 0; }
.sch-pin { position: relative; z-index: 1; }
.sch-head { display: grid; gap: 14px; margin-bottom: clamp(18px, 3.2vh, 32px); }
.sch-head .tag-pill { margin-bottom: 1rem; }
.sch-head h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); line-height: 1.1; margin: 0; }
.sch-head > p { margin: 0; max-width: 520px; font-size: 1rem; }

.sch-app { display: grid; grid-template-columns: 176px minmax(0, 1fr); border: 1px solid var(--border-strong); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); will-change: transform; }
.sch-side { display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; background: var(--surface-2); border-right: 1px solid var(--border); }
.app-brand { display: flex; align-items: center; gap: .6rem; padding: 2px 8px 16px; font-weight: 600; color: var(--text); }
.app-brand .brand-mark { width: 28px; height: 28px; font-size: .7rem; border-radius: 8px; }
.sch-nav { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border-radius: 10px; font-size: .86rem; color: var(--muted); }
.sch-nav.is-on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.sch-main { display: flex; flex-direction: column; gap: 14px; padding: 16px; min-width: 0; }

.sch-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); }
.seg b { padding: .25rem .8rem; border-radius: 7px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.seg b.on { background: var(--btn-bg); color: #FFFFFF; }
.sch-select, .sch-filter { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; padding: .42rem .8rem; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--muted); background: var(--surface); }
.sch-add { margin-left: auto; }

.sch-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.sch-now { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); }
.now-label { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); font-weight: 500; font-size: .76rem; }
.sch-now h4 { margin: 0; font-size: 1.25rem; }
.sch-now p { margin: 0; font-size: .86rem; }
.now-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 6px; }
.now-meta span { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; padding: .22rem .6rem; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: auto; padding-top: 10px; font-size: .74rem; color: var(--muted); }
.flow span { padding: .22rem .6rem; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.flow i { font-size: .7rem; color: var(--faint); }

.sch-preview { position: relative; aspect-ratio: 16 / 9; width: 100%; max-height: 190px; justify-self: end; container-type: size; border-radius: 12px; overflow: hidden; border: 5px solid #16161D; background: #16161D; box-shadow: var(--shadow-card); }
.pv { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.pv.is-on { opacity: 1; transform: none; }
.pv-tag { position: absolute; left: 8px; top: 8px; z-index: 3; font-size: .64rem; padding: .15rem .5rem; border-radius: 6px; background: rgba(10, 10, 14, .7); color: #FFFFFF; }

.sch-tl { border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.sch-view { position: relative; overflow: hidden; }
.sch-track { --u: 128px; position: relative; width: calc(var(--u) * 16); height: 162px; will-change: transform; }
.sch-ruler { position: relative; height: 32px; border-bottom: 1px solid var(--border-strong); }
.tk { position: absolute; left: calc(var(--s) * var(--u)); top: 0; bottom: 0; border-left: 1px solid var(--border-strong); }
.tk em { position: absolute; top: 7px; left: 7px; font-style: normal; font-size: .72rem; font-weight: 500; color: var(--muted); }
.tk-s { top: 20px; border-left-color: var(--border); }
.sch-block { position: absolute; top: 44px; bottom: 10px; left: calc(var(--s) * var(--u) + 4px); width: calc(var(--d) * var(--u) - 8px); display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--border-strong); border-left: 4px solid var(--accent); background: var(--surface); overflow: hidden; transition: border-color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease); }
.sch-block header { display: flex; justify-content: space-between; align-items: center; gap: .4rem; font-size: .66rem; letter-spacing: .04em; color: var(--muted); }
.blk-time { white-space: nowrap; }
.blk-type { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); white-space: nowrap; }
.sch-block h4 { margin: 0; font-size: .98rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-block p { margin: 0; font-size: .76rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-block footer { display: flex; align-items: center; gap: .7rem; margin-top: auto; font-size: .7rem; color: var(--muted); white-space: nowrap; }
.blk-st { display: inline-flex; align-items: center; gap: .3rem; margin-left: auto; }
.s-sch { font-style: normal; } .s-live { display: none; font-style: normal; color: var(--green); font-weight: 500; }
.sch-block.is-active { border-color: color-mix(in srgb, #DC2626 60%, transparent); border-left-color: #DC2626; background: color-mix(in srgb, #DC2626 7%, var(--surface)); box-shadow: 0 10px 26px -16px rgba(220, 38, 38, .55); }
.sch-block.is-active .s-sch { display: none; } .sch-block.is-active .s-live { display: inline; }
.sch-block.is-active .dot.warn { background: var(--green); box-shadow: 0 0 0 3px rgba(62, 207, 142, .2); }
.sch-playhead { position: absolute; top: 0; bottom: 0; left: 24px; width: 2px; margin-left: -1px; z-index: 4; background: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .16); pointer-events: none; will-change: transform; }
.sch-playhead span { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); padding: .15rem .55rem; border-radius: 7px; background: #DC2626; color: #FFFFFF; font-size: .68rem; font-weight: 600; white-space: nowrap; }
.sch.is-native .sch-playhead { display: none; }
.sch.is-native .sch-view { overflow-x: auto; }

.sch-list { display: grid; gap: 12px; }
.sch-list li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.sch-list time { font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; color: var(--accent); }
.sch-list h4 { margin: 0 0 2px; font-size: 1.1rem; }
.sch-list p { margin: 0; font-size: .92rem; }
.sch-list small { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .5rem; color: var(--faint); }
.sc-pv1 { background: linear-gradient(150deg, #FBEAEA, color-mix(in srgb, #DC2626 32%, #FFFFFF)); color: #16161D; }
.sch-mobile { display: none; }
@media (min-width: 768px) {
  .sch-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 40px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .sch-app { grid-template-columns: minmax(0, 1fr); }
  .sch-side { display: none; }
  .sch-track { --u: 108px; }
  .sch-block header .blk-st, .sch-block footer .blk-st { display: none; }
}
@media (min-width: 768px) and (max-height: 800px) {
  .sch-head > p, .sch-now .flow, .sch-now p + .now-meta { display: none; }
  .sch-top { gap: 12px; }
  .sch-preview { max-height: 150px; }
  .sch-track { height: 146px; }
}
@media (max-width: 767.98px) {
  .sch-desktop { display: none; }
  .sch-mobile { display: grid; }
}


/* Real-time control */
.rt { padding: var(--section-y) 0; }
.rt-pin { position: relative; z-index: 1; }
.rt-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; margin-bottom: 1rem; }
.rt-copy p { max-width: 460px; font-size: 1.02rem; margin-bottom: 1.4rem; }
.rt-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.rt-points li { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--text); }
.rt-points i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.rt-stage { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 520px; margin: 0 auto; }
.rt-card { position: relative; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow-card); overflow: visible; will-change: transform; }
.rt-body { padding: 12px 14px; border-radius: 16px 16px 0 0; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.rt-card header { display: flex; align-items: center; gap: .5rem; font-size: .72rem; margin-bottom: 10px; color: var(--muted); }
.rt-card header span { margin-left: auto; font-size: .62rem; padding: .1rem .45rem; border-radius: 6px; background: rgba(62, 207, 142, .16); color: var(--green); }
.rt-logo { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), #DC2626); }
.rt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.rt-row b { display: block; font-size: 1rem; line-height: 1.2; margin-bottom: .6rem; color: var(--text); font-weight: 600; }
.rt-chip { display: inline-block; font-size: .66rem; padding: .22rem .7rem; border-radius: 99px; background: #DC2626; color: #FFFFFF; }
.rt-chip.dark { background: #16161D; }
.rt-card footer { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-radius: 0 0 16px 16px; font-size: .72rem; color: var(--muted); background: var(--surface-2); border-top: 1px solid var(--border); }
.rt-card.ct-light { background: #F2F2F5; color: #16161D; } .rt-card.ct-light header, .rt-card.ct-light footer { color: #7A7A86; } .rt-card.ct-light .rt-row b { color: #16161D; }
.rt-card.ct-light footer { background: rgba(10, 10, 14, .05); border-color: rgba(10, 10, 14, .08); }
.rt-row--wave { grid-template-columns: 1fr 1fr; }
.rt-wave { aspect-ratio: 4 / 3; border-radius: 12px; background: radial-gradient(circle at 30% 30%, #C9BFFF, #9a7fff 60%, #E7E3FF); }
.rt-1 { border-color: color-mix(in srgb, #DC2626 45%, transparent); }
.rt-card.is-off .rt-body { filter: grayscale(1) opacity(.5); }
.rt-pill { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .55rem .5rem 1rem; border-radius: 99px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #FFFFFF; background: #1fbf6b; box-shadow: 0 6px 16px -8px rgba(10, 10, 14, .4); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.rt-pill i { width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; }
.rt-pill .pl-off { display: none; }
.rt-card.is-off .rt-pill { background: #e0495a; }
.rt-card.is-off .rt-pill .pl-on { display: none; } .rt-card.is-off .rt-pill .pl-off { display: inline; }
.rt-p1 { left: -120px; top: 8%; } .rt-p2 { right: -104px; top: 40%; }
.rt-p4 { right: 16px; top: -14px; }

/* ---- responsive: stage + sections ---- */
@media (min-width: 768px) {
  .mx, .sch, .rt { padding: 0; }
  .mx-pin, .sch-pin, .rt-pin { display: flex; align-items: center; min-height: 100vh; padding: calc(var(--nav-h) + 4px) 0 24px; }
  .mx-pin { flex-direction: row; }
  .mx-pin > .container-xxl, .sch-pin > .container-xxl, .rt-pin > .container-xxl { width: 100%; }
  .mx.is-pinned .mx-intro { position: absolute; inset: 0; margin: 0; max-width: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: var(--nav-h); pointer-events: none; }
  .mx-i-cards { grid-template-columns: repeat(3, 1fr); width: min(860px, 92%); }

  .mx-pin > .container-xxl { display: flex; flex-direction: column; height: calc(100vh - var(--nav-h) - 28px); min-height: 560px; }
  .mx-head { flex: none; }
  .mx-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .5rem; }
  .mx-head .tag-pill { margin-bottom: .7rem; }
  .mx-head p { font-size: .95rem; }

  .mx-stage {
    flex: 1; width: 100%; max-width: 1240px; min-height: 0; margin: 0 auto; gap: 0;
    display: grid; position: relative; perspective: 1400px;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr) minmax(0, .8fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    column-gap: clamp(36px, 6vw, 96px); row-gap: 16px;
  }
  .mx-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .mx-dash-wrap { grid-column: 2; grid-row: 1 / -1; order: 0; z-index: 3; min-height: 0; }
  .disp::before, .disp::after { display: none; }
  .disp-2, .disp-4, .disp-6 { display: grid; }
  .disp-1 { grid-column: 1; grid-row: 1; } .disp-3 { grid-column: 1; grid-row: 2; } .disp-5 { grid-column: 1; grid-row: 3; }
  .disp-2 { grid-column: 3; grid-row: 1; } .disp-4 { grid-column: 3; grid-row: 2; } .disp-6 { grid-column: 3; grid-row: 3; }
  .mx-dash { font-size: clamp(12px, .9vw, 14px); }

  .ct { padding: calc(var(--section-y) * .7) 0; }
  .ct-stage { position: relative; display: block; aspect-ratio: 1 / .92; max-width: 640px; margin-left: auto; }
  .ct-card { position: absolute; }
  .ct-a { left: 4%; top: 0; width: 52%; } .ct-b { left: 60%; top: 6%; width: 36%; }
  .ct-c { left: 0; top: 36%; width: 47%; } .ct-d { left: 52%; top: 34%; width: 44%; }
  .ct-e { left: 28%; top: 70%; width: 46%; }


  .rt-stage { position: relative; display: block; aspect-ratio: 1 / 1.02; max-width: min(540px, calc((100vh - 160px) * .98)); margin-left: auto; margin-right: auto; }
  .rt-card { position: absolute; }
  .rt-1 { right: 0; top: 0; width: 56%; } .rt-2 { left: 14%; top: 32%; width: 50%; }
  .rt-3 { left: 0; top: 62%; width: 44%; } .rt-4 { right: 0; top: 66%; width: 48%; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .disp-3, .disp-4, .mx-ln-3, .mx-ln-4 { display: none; }
  .mx-stage { grid-template-rows: repeat(2, minmax(0, 1fr)); grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 28px; }
  .disp-5 { grid-row: 2; } .disp-6 { grid-row: 2; }
  .mx-dash .dash-list { display: none; }
  .mx-dash .dash-body { grid-template-columns: 1fr; }
  .ct-stage, .rt-stage { margin-top: 1.5rem; }
}

@media (max-width: 767.98px) {
  .mx-dash { font-size: 12px; }
  .dash-body { grid-template-columns: 1fr; }
  .mx-head h2 br { display: none; }
  .mx-intro { margin-bottom: 8px; }
  .rt-p1, .rt-p2 { top: -12px; }
  
  .ct-stage { margin-top: 1.5rem; }
}

@media (max-width: 767.98px) { .rt-p1 { left: 10px; top: -12px; } .rt-p2 { right: 10px; top: -12px; } }


/* =========================================================
   SIGNAGE BOARD (image only) · FALLING TEXT
   ========================================================= */
.board { padding: clamp(40px, 6vw, 88px) 0; background: var(--tint); border-top: 1px solid var(--border); }
.board-fig { margin: 0 auto; max-width: 1180px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); background: var(--surface-3); aspect-ratio: 1600 / 725; will-change: transform; }
.board-fig img { width: 100%; height: 100%; object-fit: cover; }

.fall { padding: var(--section-y) 0; background: var(--bg); border-top: 1px solid var(--border); }
.fall-box { position: relative; height: clamp(440px, 64vh, 620px); overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fall-box:active { cursor: grabbing; }
.fall-text { margin: 0; padding: clamp(36px, 6vw, 72px) clamp(20px, 6vw, 80px) 0; text-align: center; font-family: var(--ff-display); font-weight: 500; letter-spacing: -.03em; line-height: 1.22; font-size: clamp(1.45rem, 4.3vw, 3.7rem); color: var(--text); }
.fall-word { display: inline-block; will-change: transform; color: var(--text); }
.fall-word.is-hl { color: var(--accent); }
.fall-box.is-live .fall-word { position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap; }
.fall-replay { position: absolute; right: 16px; top: 16px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 1.15rem; cursor: pointer; box-shadow: var(--shadow); transition: transform .5s var(--ease), background-color .3s; }
.fall-replay:hover { transform: rotate(90deg); background: var(--accent-soft); }
.fall-replay[hidden] { display: none; }


/* =========================================================
   REAL PRODUCT SCREENSHOTS · dynamic cards · tabs
   ========================================================= */
.shot { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-strong); background: #FFFFFF; box-shadow: var(--shadow-lg); }
.shot-bar { display: flex; align-items: center; gap: .7rem; padding: .5rem .8rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.shot-bar .dots i { width: 9px; height: 9px; }
.shot-title { font-size: .7rem; letter-spacing: .02em; color: var(--muted); }
.shot img { display: block; width: 100%; height: auto; background: #FFFFFF; }

/* hero visual */
.hero-visual.hero-shots { position: relative; display: block; padding-bottom: clamp(36px, 6vw, 72px); }
.shot-float { position: absolute; left: -7%; bottom: 0; width: 52%; z-index: 2; }
.shot--mini { box-shadow: var(--shadow-lg); }
.shot--mini .shot-bar { padding: .35rem .6rem; }
@media (max-width: 991.98px) { .shot-float { left: 0; width: 56%; } }
@media (max-width: 575.98px) { .shot-float { width: 64%; } }

/* dynamic feature grid: any number of .fcard items; the marquee below turns it into a moving track */
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px; }

/* Feature card — light "poster": soft lavender gradient, floating app window, title + text below.
   --p (-1…1) is the card's position across the viewport and --v the row's scroll speed; both are set by the marquee script. */
.fcard { --c1: #FBEAEA; --c2: #FFFFFF; --glow: rgba(220, 38, 38, .18);
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: var(--fh, clamp(400px, 31vw, 450px));
  border-radius: 22px; overflow: hidden; color: var(--text); border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--c1), var(--c2) 72%);
  box-shadow: var(--shadow-card); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease); }
.fcard::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -20%; width: 140%; pointer-events: none; will-change: transform;
  background: radial-gradient(60% 50% at 80% 0%, var(--glow), transparent 70%); transform: translate3d(calc(var(--p, 0) * 14%), 0, 0); }
.fcard.fc-b { --c1: #E7E0FF; --glow: rgba(220, 38, 38, .26); }
.fcard.fc-c { --c1: #E8EEFF; --glow: rgba(80, 120, 255, .20); }
[data-theme="dark"] .fcard { --c1: #26111A; --c2: #12090C; --glow: rgba(220, 38, 38, .26); }
[data-theme="dark"] .fcard.fc-b { --c1: #0E1A3C; --c2: #0A0E1E; --glow: rgba(26, 78, 200, .34); }
[data-theme="dark"] .fcard.fc-c { --c1: #1B1B22; --c2: #0E0E13; --glow: rgba(255, 130, 130, .16); }
.fcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border-strong)); box-shadow: var(--shadow-lg); }

.fcard-top { position: relative; z-index: 2; display: flex; align-items: center; gap: .7rem; padding: 18px 20px 0; }
.fcard-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); color: var(--accent); font-size: 1.05rem; box-shadow: 0 6px 14px -8px rgba(10, 10, 14, .3); }
.fcard-cat { font-size: .88rem; font-weight: 500; color: var(--muted); }
.fcard-n { margin-left: auto; font-size: .74rem; letter-spacing: .14em; color: var(--faint); }

.fcard-shot { --z: 1; --fx: 0; --fy: .5; --ar: 2.207;
  position: relative; z-index: 2; align-self: flex-start; width: 112%; margin: 16px 0 0 7%; aspect-ratio: 16 / 9.4; overflow: hidden; container-type: size;
  border-radius: 14px 0 0 14px; border: 1px solid var(--border-strong); border-right: 0; background: #FFFFFF;
  box-shadow: 0 24px 40px -22px rgba(10, 10, 14, .42);
  transform: translate3d(calc(var(--p, 0) * -24px), calc(var(--p, 0) * 9px), 0) rotate(calc(var(--p, 0) * -1.6deg)) skewX(calc(var(--v, 0) * -4deg));
  scale: 1; transition: scale .7s var(--ease); will-change: transform; }
.fcard:hover .fcard-shot { scale: 1.05; }
.fcard-shot img { position: absolute; max-width: none; background: #FFFFFF;
  height: calc(100cqh * var(--z)); width: calc(100cqh * var(--z) * var(--ar));
  left: clamp(calc(100cqw - 100cqh * var(--z) * var(--ar)), calc(50cqw - var(--fx) * 100cqh * var(--z) * var(--ar)), 0px);
  top: clamp(calc(100cqh - 100cqh * var(--z)), calc(50cqh - var(--fy) * 100cqh * var(--z)), 0px); }
.fcard-body { position: relative; z-index: 2; display: grid; gap: .35rem; margin-top: auto; padding: 22px 22px 24px; }
.fcard h3 { margin: 0; color: var(--text); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.fcard p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* how it works — screenshots stack in one grid cell, so the stage is as tall as the tallest */
.stage { position: relative; display: grid; min-height: 0; padding: 0; overflow: visible; }
.stage-panel { grid-area: 1 / 1; position: relative; inset: auto; align-self: center; }

/* showcase tabs + frame */
.view-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.4rem; }
.view-tabs .app-link { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1.05rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .88rem; font-weight: 500; }
.view-tabs .app-link:hover { background: var(--surface-3); color: var(--text); }
.view-tabs .app-link.is-active { background: var(--btn-bg); border-color: transparent; color: var(--btn-fg); }
.app-main { padding: 0; background: #FFFFFF; }
.app-main img { display: block; width: 100%; height: auto; }
.shot-cap { max-width: 680px; margin: 1.3rem auto 0; text-align: center; font-size: 1rem; min-height: 3em; }
.browser { box-shadow: var(--shadow-lg); }


/* Core Features marquee (JS adds .is-live / .is-marquee; without JS it stays a wrapped grid) */
.frow { min-width: 0; }
.fmarquee > .frow > .fgrid:not(.is-marquee) { max-width: 1320px; margin: 0 auto 22px; padding: 0 clamp(16px, 4vw, 48px); }
.fmarquee.is-live { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; overflow: hidden; padding: 16px 0 30px; margin: -16px 0 -30px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.fmarquee.is-live:not(.is-in) { opacity: 0; transform: translateY(56px); }
.fmarquee.is-live { transition: opacity .9s var(--ease), transform 1s var(--ease); }
.fgrid.is-marquee { display: flex; flex-wrap: nowrap; gap: 22px; width: max-content; will-change: transform; }
.fgrid.is-marquee .fcard { flex: 0 0 clamp(260px, 22vw, 320px); }
@media (max-width: 575.98px) { .fgrid.is-marquee .fcard { flex-basis: 74vw; } }

/* Process: tighter spacing while the section is pinned so the whole card fits the viewport */
#how-it-works.is-pinned { display: flex; align-items: center; min-height: 100vh; padding: calc(var(--nav-h) + 4px) 0 20px; }
#how-it-works.is-pinned .how-wrap { width: 100%; }
#how-it-works.is-pinned .section-head { margin-bottom: clamp(14px, 2.4vh, 26px); }
#how-it-works.is-pinned .section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
#how-it-works.is-pinned .section-head .tag-pill { margin-bottom: .8rem; }
#how-it-works.is-pinned .how-card { padding: clamp(16px, 2.6vw, 36px); }
#how-it-works.is-pinned .step { padding: .7rem 1.1rem; }
#how-it-works.is-pinned .steps { gap: .35rem; }
#how-it-works.is-pinned .steps-progress { margin-top: 1rem; }
@media (max-width: 991.98px) {
  #how-it-works.is-pinned .step { padding: .5rem .8rem; gap: .8rem; }
  #how-it-works.is-pinned .step h3 { font-size: 1.05rem; margin: 0; }
  #how-it-works.is-pinned .step p { display: none; }
  #how-it-works.is-pinned .step.is-active p { display: block; font-size: .85rem; }
  #how-it-works.is-pinned .how-card .row { --bs-gutter-y: 1rem; }
}
@media (min-width: 992px) and (max-height: 820px) {
  #how-it-works.is-pinned .step p { display: none; }
  #how-it-works.is-pinned .step.is-active p { display: block; }
}

/* ---------- Accessibility & polish ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn-pill:focus-visible, .app-link:focus-visible, .step:focus-visible { outline-offset: 2px; }
.step { outline-offset: -2px; }
.app-link:focus-visible { outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stack .panel { position: relative; top: auto; }
}

/* ---------- Dark theme: deep-blue glows in a few selected places only ---------- */
[data-theme="dark"] .mx-glow { background: radial-gradient(44% 40% at 50% 60%, rgba(14, 50, 150, .22), transparent 72%); }
[data-theme="dark"] .fall-box { background: radial-gradient(80% 60% at 50% 112%, rgba(14, 48, 150, .30), transparent 70%), var(--surface); }
[data-theme="dark"] .cta { background: radial-gradient(70% 90% at 50% 125%, #0C2A86 0%, #050A20 52%, #030308 100%); }
[data-theme="dark"] .cta-veil { background: rgba(3, 5, 14, .80); }
[data-theme="dark"] .cta-bg::before { color: #1b2140; }

/* ---------- Promotions (ad cards + water-ripple hover) ---------- */
.promo { position: relative; overflow: clip; background: var(--bg); }
.promo-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 42% at 50% 0%, rgba(220, 38, 38, .09), transparent 70%); }
[data-theme="dark"] .promo-glow { background: radial-gradient(60% 50% at 50% 104%, rgba(14, 54, 160, .34), transparent 72%), radial-gradient(34% 30% at 8% 0%, rgba(220, 38, 38, .08), transparent 70%); }
.promo .container-xxl { position: relative; }
.promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.promo-card { --ac: #ff5a36; position: relative; isolation: isolate; aspect-ratio: 3 / 4.1; border-radius: 22px; overflow: hidden; color: #FFFFFF; background: #14121f;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease); }
.promo-card:hover, .promo-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255, 255, 255, .34); }
.promo-stage { position: absolute; inset: 0; z-index: 0; transition: transform 1.4s var(--ease); }
.promo-card:hover .promo-stage { transform: scale(1.05); }
.promo-media { position: absolute; inset: 0; border-radius: 0; }
.promo-fx { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.promo-card.is-fx .promo-fx { opacity: 1; }
.promo-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .86) 100%); }
.promo-top { position: absolute; z-index: 2; top: 20px; left: 22px; right: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; pointer-events: none; }
.promo-brand { font-size: 1.1rem; font-weight: 600; letter-spacing: -.005em; }
.promo-cat { font-size: .82rem; color: rgba(255, 255, 255, .72); }
.promo-body { position: absolute; z-index: 2; inset: auto 0 0 0; display: grid; gap: .3rem; padding: 24px 24px 26px; pointer-events: none; }
.promo-tag { justify-self: start; margin-bottom: .5rem; padding: .22rem .7rem; border-radius: 99px; background: var(--ac); color: #FFFFFF; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.promo-off { display: flex; align-items: baseline; gap: .55rem; line-height: .9; }
.promo-off b { font-size: clamp(3.4rem, 5vw, 4.8rem); font-weight: 600; letter-spacing: -.05em; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); }
.promo-off b small { font-size: .42em; font-weight: 600; letter-spacing: 0; margin-left: .08em; }
.promo-off span { font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.promo-body h3 { margin: .45rem 0 0; color: #FFFFFF; font-size: 1.15rem; font-weight: 600; }
.promo-body p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .88rem; line-height: 1.45; }
.promo-note { margin: 1.6rem auto 0; text-align: center; font-size: .85rem; color: var(--faint); }
.promo-note code { color: var(--muted); }
/* fallback ripple rings (used when WebGL / cross-origin image textures are unavailable, e.g. opening the page from file://) */
.promo-rip { position: absolute; z-index: 1; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, .6); box-shadow: 0 0 24px rgba(255, 255, 255, .25), inset 0 0 18px rgba(255, 255, 255, .2);
  transform: scale(0); opacity: .9; animation: promoRip 1.5s cubic-bezier(.2, .6, .3, 1) forwards; }
.promo-rip.is-2 { animation-delay: .18s; animation-duration: 1.7s; }
@keyframes promoRip { to { transform: scale(6.5); opacity: 0; } }
@media (max-width: 1199.98px) { .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .promo-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 14px; scrollbar-width: none; }
  .promo-grid::-webkit-scrollbar { display: none; }
  .promo-card { flex: 0 0 76%; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .promo-rip { display: none; } .promo-stage, .promo-card { transition: none; } }

/* ---------- "Built to keep your screens working smarter" — scroll animation ---------- */
.trust { position: relative; overflow: clip; }
.trust-orb { position: absolute; z-index: 0; left: -8%; top: 8%; width: min(46vw, 560px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(circle at 35% 35%, rgba(220, 38, 38, .18), rgba(220, 38, 38, .05) 55%, transparent 72%); }
[data-theme="dark"] .trust-orb { background: radial-gradient(circle at 35% 35%, rgba(16, 52, 160, .30), rgba(16, 52, 160, .08) 55%, transparent 72%); }
.trust .container-xxl { position: relative; z-index: 1; }
.trust-w { display: inline-block; will-change: transform, opacity; }
.trust-list li { position: relative; overflow: hidden; }
.trust-list li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 30%, transparent)); transform: scaleY(var(--fill, 1)); transform-origin: top; }
.trust-list li > i { display: inline-block; will-change: transform; }


/* ---------- DigiCloud247 brand logo + Brandingwaale credit ---------- */
.brand-logo { display: block; height: 38px; width: auto; max-width: none; }
.sx-nav.is-scrolled .brand-logo { height: 34px; transition: height .5s var(--ease); }
.footer .brand-logo { height: 46px; }
.app-brand .brand-logo { height: 22px; }
.dash-brand .brand-logo { height: 16px; display: inline-block; vertical-align: -3px; margin-right: .35rem; }
.credit { display: inline-flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .88rem; transition: color .3s; }
.credit:hover { color: var(--text); }
.credit img { display: block; height: 26px; width: auto; max-width: 150px; background: #fff; padding: 3px 8px; border-radius: 8px; }
.credit .credit-fb { display: none; font-weight: 600; color: var(--text); }
.credit.no-img img { display: none; }
.credit.no-img .credit-fb { display: inline; }
.pricing-note { margin: 1.6rem 0 0; font-size: .85rem; color: var(--faint); text-align: center; }
.plan4 .plan-price small { font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan4 { display: flex; flex-direction: column; }
.plan4 .plan-list { height: auto; border-left: 0; padding-left: 0; margin-bottom: 1.8rem; gap: .7rem; flex: 1; }
.plan4 .plan-list li { font-size: .92rem; }
.plan4 .btn-pill { align-self: flex-start; }
.plan4 p { margin-bottom: 1.3rem; }
.plan4 .plan-name { align-self: flex-start; }
