/* =========================================================
   Altask demo landing pages — self-contained styling.
   Each demo theme overrides a few tokens at the body level.
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.demo {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #181024;
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* shared chrome */
.demo-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px;
  background: rgba(15, 16, 28, 0.92);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.demo-bar__left { display: inline-flex; align-items: center; gap: 12px; }
.demo-bar__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.demo-bar__pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.25);
}
.demo-bar a, .demo-bar button {
  color: #fff; opacity: .8; font-size: 13px; padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 6px;
  background: transparent;
}
.demo-bar a:hover, .demo-bar button:hover { opacity: 1; background: rgba(255,255,255,0.06); }
.demo-bar__cta {
  background: #5b3fd6 !important;
  border-color: #5b3fd6 !important;
  opacity: 1 !important;
}
.demo-bar__cta:hover { background: #4f30c2 !important; border-color: #4f30c2 !important; }

.demo-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =================== LIFT — Startup =================== */
.demo--lift { background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 60%); }
.lift-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.lift-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; color: #181024;
}
.lift-brand .dot {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  background: linear-gradient(135deg, #5b3fd6, #3a64ff);
  border-radius: 8px; color: #fff;
  box-shadow: 0 6px 18px -6px rgba(91,63,214,.5);
}
.lift-nav__links { display: inline-flex; gap: 26px; font-size: 14px; color: #5b5470; font-weight: 500; }
.lift-nav__links a:hover { color: #181024; }
.lift-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px;
  background: #181024; color: #fff; font-size: 14px; font-weight: 600;
}
.lift-hero { padding: 56px 0 80px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .lift-hero { grid-template-columns: 1fr; padding: 40px 0 56px; } }
.lift-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: #f4f1ff; border: 1px solid #e1d8ff;
  color: #5b3fd6; font-weight: 700; font-size: 12px; letter-spacing: .04em;
  border-radius: 999px; text-transform: uppercase;
}
.lift-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.05;
}
.lift-hero h1 em { font-style: normal; color: #5b3fd6; }
.lift-hero p { color: #5b5470; max-width: 520px; font-size: 17px; margin: 0 0 26px; }
.lift-actions { display: inline-flex; gap: 10px; }
.btn-primary, .btn-ghost-purple {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #5b3fd6, #3a64ff);
  color: #fff; box-shadow: 0 10px 24px -10px rgba(91,63,214,.55);
}
.btn-ghost-purple { background: #fff; color: #181024; border-color: #cdd5ee; }
.btn-ghost-purple:hover { background: #f4f1ff; border-color: #d0c5fd; color: #5b3fd6; }

.lift-hero__visual {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(135deg, #9683f0, #5b3fd6 60%, #181024);
  aspect-ratio: 4/3;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(91,63,214,.45);
}
.lift-card-glass {
  position: absolute; inset: 28px 28px auto 28px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
}
.lift-card-glass h3 { color: #fff; margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.lift-card-glass p  { color: rgba(255,255,255,.75); margin: 0 0 14px; font-size: 13px; }
.lift-card-glass button {
  background: #fff; color: #5b3fd6; border: 0;
  padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 13px;
}
.lift-chip {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 600; color: #181024;
  box-shadow: 0 8px 20px -10px rgba(15,16,28,.4);
}
.lift-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; }

.lift-features { padding: 56px 0 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .lift-features { grid-template-columns: 1fr; } }
.lift-feat {
  background: #fff; border: 1px solid #e6e8ee; border-radius: 14px;
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lift-feat:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -16px rgba(15,16,28,.18); }
.lift-feat__ic {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: #f4f1ff; color: #5b3fd6; margin-bottom: 14px;
}
.lift-feat h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #181024; }
.lift-feat p  { margin: 0; color: #5b5470; font-size: 14px; line-height: 1.6; }

.lift-end { padding: 80px 0; text-align: center; background: linear-gradient(135deg, #181024, #2a1f5e); color: #fff; }
.lift-end h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); font-weight: 700; margin: 0; letter-spacing: -.01em; }
.lift-end p { color: rgba(255,255,255,.7); margin: 14px auto 22px; max-width: 540px; }
.lift-end .btn-primary { background: #fff; color: #181024; box-shadow: none; }

/* =================== SHOWCASE — Portfolio =================== */
.demo--showcase {
  background: #fbfaf6;
  font-family: 'Inter', sans-serif;
}
.show-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
}
.show-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px; font-weight: 700; font-style: italic; color: #181024;
}
.show-nav__links { display: inline-flex; gap: 28px; font-size: 14px; }
.show-nav__links a { color: #5b5470; }
.show-nav__links a.is-active { color: #181024; font-weight: 600; }
.show-hero {
  padding: 56px 0 72px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end;
}
@media (max-width: 880px) { .show-hero { grid-template-columns: 1fr; padding: 32px 0 48px; } }
.show-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 2rem + 4vw, 5.2rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0;
}
.show-hero h1 em { font-style: italic; font-weight: 400; }
.show-hero p { font-size: 16px; color: #5b5470; max-width: 360px; margin: 0 0 22px; }
.show-hero a.show-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #181024; color: #fff;
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.show-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; padding-bottom: 96px; }
.show-grid__col { display: grid; gap: 18px; }
.show-tile {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 4/3; padding: 24px;
}
.show-tile h3 { font-family: 'Playfair Display', serif; color: #fff; margin: 0; font-size: 24px; font-weight: 700; }
.show-tile p  { color: rgba(255,255,255,.78); margin: 6px 0 0; font-size: 13px; }
.show-tile__caption {
  position: absolute; left: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: rgba(255,255,255,.92);
  color: #181024; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.show-tile--aurora { background: linear-gradient(135deg, #fbcfe8, #f472b6 50%, #7c3aed); aspect-ratio: 16/11; }
.show-tile--lumen  { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.show-tile--orbit  { background: linear-gradient(135deg, #bfdbfe, #6366f1); }
.show-tile--quill  { background: linear-gradient(135deg, #cffafe, #06b6d4); aspect-ratio: 5/4; }

.show-cta-card {
  margin: 80px 0; padding: 64px 48px; background: #181024; color: #fff;
  border-radius: 24px; text-align: center;
}
.show-cta-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin: 0;
}
.show-cta-card p { color: rgba(255,255,255,.7); max-width: 480px; margin: 14px auto 22px; }
.show-cta-card a { background: #fff; color: #181024; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; }

/* =================== STACK — SaaS dashboard =================== */
.demo--stack { background: #f7fbfc; }
.stack-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid #e6e8ee;
}
.stack-brand { font-weight: 800; font-size: 20px; color: #181024; letter-spacing: -.01em; }
.stack-brand .pill { background: #06b6d4; color: #fff; padding: 2px 7px; border-radius: 5px; font-size: 11px; margin-right: 6px; vertical-align: middle; }
.stack-nav__links { display: inline-flex; gap: 24px; font-size: 14px; color: #5b5470; }
.stack-nav__links a.is-active { color: #06b6d4; font-weight: 700; }
.stack-cta {
  background: #06b6d4; color: #fff; padding: 9px 16px;
  border-radius: 8px; font-weight: 600; font-size: 13px;
}

.stack-hero { padding: 72px 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .stack-hero { grid-template-columns: 1fr; padding: 48px 0; } }
.stack-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.3rem); margin: 14px 0 14px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.stack-hero p { color: #5b5470; font-size: 16px; max-width: 480px; margin: 0 0 24px; }
.stack-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: #ecfeff; border: 1px solid #a5f3fc; color: #06b6d4;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.stack-actions { display: inline-flex; gap: 10px; }
.stack-btn-primary {
  background: #06b6d4; color: #fff; padding: 12px 20px;
  border-radius: 10px; font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 24px -10px rgba(6,182,212,.45);
}
.stack-btn-ghost {
  background: #fff; color: #181024; border: 1px solid #cdd5ee;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
}

.stack-mock {
  background: #fff; border-radius: 18px; border: 1px solid #e6e8ee;
  box-shadow: 0 30px 70px -30px rgba(15,16,28,.18);
  padding: 18px;
}
.stack-mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.stack-mock__head strong { color: #181024; font-size: 15px; }
.stack-mock__head .pill {
  background: #ecfeff; color: #06b6d4; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.stack-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stack-kpi div {
  background: #fafbff; border: 1px solid #e6e8ee; border-radius: 10px; padding: 14px;
}
.stack-kpi small { color: #5b5470; font-size: 11px; font-weight: 500; }
.stack-kpi b { display: block; color: #181024; font-size: 22px; margin-top: 2px; font-weight: 800; letter-spacing: -.01em; }
.stack-kpi span.up { color: #10b981; font-size: 11px; font-weight: 700; }
.stack-kpi span.down { color: #fb7185; font-size: 11px; font-weight: 700; }
.stack-mock__chart {
  background: linear-gradient(180deg, rgba(6,182,212,.08), transparent);
  border: 1px solid #e6e8ee;
  border-radius: 10px;
  height: 180px;
  position: relative;
  padding: 14px;
}
.stack-mock__chart svg { width: 100%; height: 100%; }

.stack-grid { padding: 56px 0 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .stack-grid { grid-template-columns: 1fr; } }
.stack-card {
  background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; padding: 26px;
}
.stack-card .ic {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: #ecfeff; color: #06b6d4; border-radius: 10px; margin-bottom: 14px;
}
.stack-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.stack-card p { margin: 0; color: #5b5470; font-size: 14px; }

.stack-end { background: linear-gradient(135deg, #06b6d4, #7c3aed); color: #fff; padding: 80px 0; text-align: center; }
.stack-end h2 { font-size: 36px; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.stack-end p  { color: rgba(255,255,255,.78); max-width: 520px; margin: 14px auto 22px; }
.stack-end a  { background: #fff; color: #181024; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 14px; }

/* =================== MARKET — Commerce =================== */
.demo--market { background: #fff8f4; font-family: 'Inter', sans-serif; }
.mkt-banner {
  background: #181024; color: #fff; text-align: center;
  font-size: 12.5px; padding: 10px;
}
.mkt-banner b { color: #fb923c; }
.mkt-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid rgba(15,16,28,.06);
}
.mkt-brand { font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.mkt-nav__links { display: inline-flex; gap: 26px; font-size: 14px; color: #5b5470; }
.mkt-nav__links a:hover { color: #181024; }
.mkt-cart {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.mkt-cart__badge {
  width: 22px; height: 22px; display: inline-grid; place-items: center;
  background: #fb923c; color: #181024; border-radius: 50%;
  font-size: 11px; font-weight: 800;
}
.mkt-hero {
  margin: 36px 0;
  background: linear-gradient(135deg, #181024 0%, #5b3fd6 100%);
  border-radius: 24px; padding: 56px 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
}
@media (max-width: 880px) { .mkt-hero { grid-template-columns: 1fr; padding: 36px 28px; } }
.mkt-hero h1 {
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem);
  font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0;
}
.mkt-hero h1 em { color: #fb923c; font-style: normal; }
.mkt-hero p { color: rgba(255,255,255,.72); max-width: 420px; margin: 14px 0 22px; font-size: 15px; }
.mkt-hero a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #181024; padding: 12px 22px;
  border-radius: 999px; font-size: 14px; font-weight: 700;
}
.mkt-hero__visual {
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  border-radius: 16px; overflow: hidden;
  display: grid; place-items: center;
}
.mkt-hero__visual::after {
  content: ""; position: absolute; right: 30px; bottom: 30px;
  width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.55);
}
.mkt-hero__visual::before {
  content: ""; position: absolute; left: 28px; top: 28px;
  width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.25);
}

.mkt-strip {
  display: flex; gap: 12px; flex-wrap: wrap; padding: 8px 0 32px;
}
.mkt-strip span {
  padding: 7px 14px; border: 1px solid rgba(15,16,28,.1); border-radius: 999px;
  font-size: 13px; color: #5b5470; background: #fff;
}
.mkt-strip span.is-active { background: #181024; color: #fff; border-color: #181024; }

.mkt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 56px; }
@media (max-width: 980px) { .mkt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .mkt-grid { grid-template-columns: 1fr; } }
.mkt-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(15,16,28,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mkt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(15,16,28,.18); }
.mkt-card__img { aspect-ratio: 1; }
.mkt-card__body { padding: 14px 16px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.mkt-card__body strong { display: block; color: #181024; font-size: 15px; font-weight: 700; }
.mkt-card__body small { display: block; color: #5b5470; font-size: 12px; }
.mkt-card__price { font-size: 15px; font-weight: 800; color: #181024; }
.mkt-card--a .mkt-card__img { background: linear-gradient(135deg, #fed7aa, #fb923c); }
.mkt-card--b .mkt-card__img { background: linear-gradient(135deg, #bbf7d0, #10b981); }
.mkt-card--c .mkt-card__img { background: linear-gradient(135deg, #bfdbfe, #6366f1); }
.mkt-card--d .mkt-card__img { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.mkt-card--e .mkt-card__img { background: linear-gradient(135deg, #fbcfe8, #f472b6); }
.mkt-card--f .mkt-card__img { background: linear-gradient(135deg, #c7d2fe, #5b3fd6); }
.mkt-card--g .mkt-card__img { background: linear-gradient(135deg, #cffafe, #06b6d4); }
.mkt-card--h .mkt-card__img { background: linear-gradient(135deg, #fee2e2, #ef4444); }

.mkt-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 56px 0; border-top: 1px solid rgba(15,16,28,.06);
}
@media (max-width: 880px) { .mkt-trust { grid-template-columns: 1fr; } }
.mkt-trust div h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.mkt-trust div p { margin: 0; color: #5b5470; font-size: 13px; }
.mkt-trust .ic { color: #fb923c; }

.mkt-end {
  background: #181024; color: #fff;
  padding: 80px 24px; text-align: center;
  border-radius: 24px; margin: 0 0 48px;
}
.mkt-end h2 { font-size: 32px; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.mkt-end p { color: rgba(255,255,255,.72); margin: 14px auto 22px; max-width: 480px; }
.mkt-end a { background: #fb923c; color: #181024; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; }
