/* Landing app sections — modern product-site showcase (paired with Views/Home/Index.cshtml) */

.app-show__roadmap {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  border-style: dashed !important;
}

.app-show__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
}

.app-show__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .app-show__grid:not(.app-show__grid--finance) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  }

  .app-show__grid--media-first {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }

  .app-show__grid--finance {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: 2.5rem 3rem;
  }

  .app-show__grid--clinic {
    align-items: center;
  }
}

.app-show__title {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.65rem;
}

.app-show__lead {
  margin-bottom: 1.35rem !important;
  max-width: 52ch;
}

.app-show__micro {
  margin: -0.5rem 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.88;
}

.app-show__micro--dim {
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 0.8rem;
  opacity: 0.65;
  margin-bottom: 1.25rem;
}

.app-show__tags {
  margin-bottom: 1.15rem !important;
}

.app-show__features {
  margin: 0 0 1.65rem;
  padding: 0;
  list-style: none;
}

.app-show__features li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.96rem;
  line-height: 1.45;
}

.app-show__features li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 1rem;
  opacity: 0.85;
}

.app-show__features--dim li {
  opacity: 0.93;
}

.app-show__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.app-show__statline {
  margin-bottom: 1.15rem !important;
}

.app-show__media {
  position: relative;
  min-height: 200px;
}

.app-show__frame {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.04);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 24px 48px -12px rgba(15, 23, 42, 0.14);
}

.app-show__frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-show__frame:hover img {
  transform: scale(1.02);
}

.hq-reduced-motion .app-show__frame:hover img {
  transform: none;
}

.app-show__caption {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.01em;
}

.app-show__caption--pill {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.12);
}

.app-show__caption--mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  opacity: 0.85;
}

/* Real estate — editorial split, elevated image */
.app-show--realestate .app-show__media--elevated .app-show__frame {
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.08),
    0 32px 64px -16px rgba(15, 23, 42, 0.2);
}

.app-show--realestate .app-show__caption {
  text-align: right;
  color: #57534e;
}

@media (max-width: 899px) {
  .app-show--realestate .app-show__caption {
    text-align: left;
  }
}

/* Playground — mesh wash + ring + slight tilt */
.suite-block--playground.app-show--playground {
  position: relative;
  overflow: hidden;
}

.suite-block--playground.app-show--playground::before {
  content: "";
  position: absolute;
  inset: -30% -20% 40%;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(167, 139, 250, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(192, 132, 252, 0.22) 0%, transparent 50%);
  pointer-events: none;
}

.app-show--playground .app-show__container {
  position: relative;
  z-index: 1;
}

.app-show__media--ring .app-show__frame {
  position: relative;
  z-index: 0;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 28px 56px rgba(109, 40, 217, 0.18);
}

.app-show__media--ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.45), rgba(196, 181, 253, 0.15));
  z-index: -1;
  opacity: 0.9;
}

@media (min-width: 900px) {
  .app-show__frame--tilt {
    transform: rotate(-1.25deg);
  }

  .app-show__frame--tilt:hover {
    transform: rotate(-1.25deg) scale(1.01);
  }

  .hq-reduced-motion .app-show__frame--tilt {
    transform: none;
  }
}

/* HR — floating card on subtle canvas */
.app-show__container--card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}

.app-show--hr {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 45%, #f1f5f9 100%) !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.app-show__frame--plain {
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

/* Finance — glass sheet, no fake browser */
.app-show__container--darksheet {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(16px);
}

.app-show__media--panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-show__frame--glow {
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.2),
    0 24px 56px rgba(0, 0, 0, 0.35);
}

/* Clinic — soft column, organic frame */
.app-show__media--soft .app-show__frame--organic {
  border-radius: 32px 32px 28px 32px;
  box-shadow: 0 28px 56px rgba(13, 148, 136, 0.14);
}

.app-show--clinic .app-show__micro {
  color: #115e59;
  opacity: 0.9;
}

/* POS — split banner (retail / commerce sites) */
.suite-block--pos.app-show--pos {
  background: #f5f5f4 !important;
  background-image: none !important;
  border: none !important;
  padding: 0 !important;
}

.app-show__split-banner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

@media (min-width: 900px) {
  .app-show__split-banner {
    grid-template-columns: minmax(300px, 42%) 1fr;
    min-height: min(72vh, 640px);
  }

  .suite-block--pos.app-show--pos {
    background: linear-gradient(90deg, #0a0a0a 0%, #0a0a0a 42%, #f5f5f4 42%, #f5f5f4 100%) !important;
  }
}

.app-show__split-banner-copy {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0a0a0a;
  color: #fafaf9;
}

.app-show__split-banner-copy .suite-block__eyebrow {
  color: #fdba74 !important;
}

.app-show__split-banner-copy .app-show__title,
.app-show__split-banner-copy h3 {
  color: #fff !important;
}

.app-show__split-banner-copy .suite-block__lead {
  color: #d6d3d1 !important;
}

.app-show__features--light li {
  color: #e7e5e4 !important;
}

.app-show__features--light li span {
  color: #e7e5e4;
}

.app-show__features--light i {
  color: #fb923c !important;
  opacity: 1 !important;
}

.app-show__split-banner-copy .suite-btn-main {
  background: #fff !important;
  color: #0a0a0a !important;
  border-radius: 10px !important;
}

.app-show__split-banner-copy .suite-btn-main:hover {
  color: #0a0a0a !important;
  filter: brightness(1.05);
}

.app-show__split-banner-copy .suite-btn-sec {
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #e7e5e4 !important;
}

.app-show__split-banner-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem);
  background-color: #f5f5f4;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.07) 1px, transparent 0);
  background-size: 22px 22px;
}

.app-show__frame--product {
  max-width: 460px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow:
    0 2px 0 #d6d3d1,
    0 28px 56px rgba(28, 25, 23, 0.14);
}

/* Feature list colors (aligned with suite-sections themes) */
.suite-block--realestate .app-show__features li,
.suite-block--realestate .app-show__features li span {
  color: #44403c;
}

.suite-block--realestate .app-show__features i {
  color: #0f766e;
}

.suite-block--playground .app-show__features li,
.suite-block--playground .app-show__features li span {
  color: #4c1d95;
}

.suite-block--playground .app-show__features i {
  color: #7c3aed;
}

.suite-block--hr .app-show__features li,
.suite-block--hr .app-show__features li span {
  color: #334155;
}

.suite-block--hr .app-show__features i {
  color: #0284c7;
}

.suite-block--finance .app-show__features li,
.suite-block--finance .app-show__features li span {
  color: #cbd5e1;
}

.suite-block--finance .app-show__features i {
  color: #34d399;
}

.suite-block--clinic .app-show__features li,
.suite-block--clinic .app-show__features li span {
  color: #134e4a;
}

.suite-block--clinic .app-show__features i {
  color: #0d9488;
}

/* Default / generic */
.app-show--default .app-show__frame {
  border-radius: 18px;
}

/* App icon above eyebrow */
.app-show__iconmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 16px;
  margin-bottom: 0.85rem;
  background: color-mix(in srgb, currentColor 12%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: 1.45rem;
}

.app-show__iconmark--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Text ↔ image motion (after .hq-reveal--in) */
.hq-reduced-motion .app-show--anim .app-show__copy,
.hq-reduced-motion .app-show--anim .app-show__media,
.hq-reduced-motion .app-show--anim .app-show__split-banner-copy,
.hq-reduced-motion .app-show--anim .app-show__split-banner-visual {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.app-show--anim:not(.hq-reveal--in) .app-show__copy,
.app-show--anim:not(.hq-reveal--in) .app-show__split-banner-copy {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.app-show--anim:not(.hq-reveal--in) .app-show__media,
.app-show--anim:not(.hq-reveal--in) .app-show__split-banner-visual {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
}

.app-show--anim.hq-reveal--in .app-show__copy,
.app-show--anim.hq-reveal--in .app-show__split-banner-copy {
  animation: app-show-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.app-show--anim.hq-reveal--in .app-show__media,
.app-show--anim.hq-reveal--in .app-show__split-banner-visual {
  animation: app-show-rise 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.app-show--stagger.hq-reveal--in .app-show__copy {
  animation-delay: 0.05s;
}

.app-show--stagger.hq-reveal--in .app-show__media {
  animation-delay: 0.18s;
}

@keyframes app-show-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Overlap: image rides into text band */
@media (min-width: 900px) {
  .app-show--overlap .app-show__grid {
    align-items: end;
  }

  .app-show--overlap .app-show__media--elevated {
    margin-bottom: -2.5rem;
    z-index: 2;
  }

  .app-show--overlap .app-show__container {
    padding-bottom: 3.5rem;
  }
}

/* Bridge: subtle gradient connector */
@media (min-width: 900px) {
  .app-show--bridge .app-show__grid {
    position: relative;
  }

  .app-show--bridge .app-show__grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 35%;
    width: min(120px, 12vw);
    height: 3px;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.45), transparent);
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
  }
}

/* Interact: caption pulls toward copy on hover */
.app-show--interact .app-show__media--soft {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-show--interact:hover .app-show__media--soft {
  transform: translate3d(0, -6px, 0) scale(1.01);
}

.app-show--interact .app-show__copy {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-show--interact:hover .app-show__copy {
  transform: translate3d(8px, 0, 0);
}

[dir="rtl"] .app-show--interact:hover .app-show__copy {
  transform: translate3d(-8px, 0, 0);
}
