/* Per-app “product marketing” sections — patterns inspired by common production SaaS landings */

.suite-spotlight {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 1rem;
  text-align: center;
}

.suite-spotlight__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hq-muted, #64748b);
  margin: 0 0 0.5rem;
}

.suite-spotlight h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hq-ink, #0f172a);
}

.suite-spotlight p {
  margin: 0.75rem auto 0;
  max-width: 46ch;
  color: var(--hq-muted, #64748b);
  font-size: 1.05rem;
  line-height: 1.55;
}

.suite-spotlight--gradient {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  isolation: isolate;
}

.suite-spotlight__glow {
  position: absolute;
  inset: 15% 10% auto;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.14) 0%, rgba(13, 148, 136, 0.1) 40%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.suite-spotlight--gradient .suite-spotlight__eyebrow,
.suite-spotlight--gradient h2,
.suite-spotlight--gradient > p {
  position: relative;
  z-index: 1;
}

.suite-spotlight--gradient h2 {
  background: linear-gradient(125deg, #0f172a 0%, #0f766e 45%, #4338ca 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .suite-spotlight--gradient h2 {
    color: var(--hq-ink, #0f172a);
    background: none;
  }
}

.suite-spotlight__line {
  position: absolute;
  top: 42%;
  width: 140px;
  height: 100px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  background: no-repeat center / contain;
}

.suite-spotlight__line--left {
  left: 3%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 100'%3E%3Cpath fill='none' stroke='url(%23g)' stroke-width='2' d='M130,8 C60,20 20,50 8,92'/%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop stop-color='%230d9488' stop-opacity='0.55'/%3E%3Cstop offset='100%25' stop-color='%236366f1' stop-opacity='0.35'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
}

.suite-spotlight__line--right {
  right: 3%;
  transform: translateY(-50%) scaleX(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 100'%3E%3Cpath fill='none' stroke='url(%23g2)' stroke-width='2' d='M130,8 C60,20 20,50 8,92'/%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop stop-color='%236366f1' stop-opacity='0.45'/%3E%3Cstop offset='100%25' stop-color='%2322d3ee' stop-opacity='0.35'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  .suite-spotlight__line {
    display: none;
  }
}

/* Shared block shell */
.suite-block {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.suite-block__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .suite-block__inner--split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .suite-block--reverse .suite-block__inner--split {
    direction: rtl;
  }

  .suite-block--reverse .suite-block__inner--split > * {
    direction: ltr;
  }
}

.suite-block__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.suite-block h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.suite-block__lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.92;
}

.suite-block__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.suite-block__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.95;
}

.suite-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.suite-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.suite-block__visual {
  position: relative;
  min-height: 240px;
  align-self: stretch;
  perspective: 900px;
}

.suite-block__mock {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ─── REALESTATE — warm editorial / listing platforms ─── */
.suite-block--realestate {
  background: linear-gradient(180deg, #faf8f5 0%, #f1f0eb 50%, #e8e6e1 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.suite-block--realestate .suite-block__eyebrow {
  color: #0f766e;
}

.suite-block--realestate h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: #1c1917;
}

.suite-block--realestate .suite-block__lead {
  color: #57534e;
}

.suite-block--realestate .suite-block__list li {
  color: #44403c;
}

.suite-block--realestate .suite-btn-main {
  background: #0f766e;
  color: #fff;
  border: none;
}

.suite-block--realestate .suite-btn-main:hover {
  background: #0d9488;
  color: #fff;
}

/* ─── PLAYGROUND — vibrant booking / activity apps ─── */
.suite-block--playground {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 35%, #faf5ff 100%);
}

.suite-block--playground .suite-block__eyebrow {
  color: #6d28d9;
}

.suite-block--playground h3 {
  color: #4c1d95;
}

.suite-block--playground .suite-block__lead {
  color: #5b21b6;
  opacity: 0.85;
}

.suite-block--playground .suite-block__list li {
  color: #4c1d95;
}

.suite-block--playground .suite-block__mock {
  background: linear-gradient(135deg, #fff 0%, #f5f3ff 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.suite-block--playground .suite-btn-main {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(109, 40, 217, 0.35);
}

.suite-block--playground .suite-btn-main:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* ─── HR — clean people-ops SaaS ─── */
.suite-block--hr {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.suite-block--hr .suite-block__eyebrow {
  color: #0369a1;
}

.suite-block--hr h3 {
  color: #0c4a6e;
}

.suite-block--hr .suite-block__lead {
  color: #475569;
}

.suite-block--hr .suite-block__list li {
  color: #334155;
}

.suite-block--hr .suite-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.suite-block--hr .suite-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 600;
}

.suite-block--hr .suite-btn-main {
  background: #0284c7;
  color: #fff;
}

/* ─── FINANCE — dark fintech terminal ─── */
.suite-block--finance {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
  color: #e2e8f0;
}

.suite-block--finance .suite-block__eyebrow {
  color: #34d399;
}

.suite-block--finance h3 {
  color: #f8fafc;
}

.suite-block--finance .suite-block__lead {
  color: #94a3b8;
}

.suite-block--finance .suite-block__list li {
  color: #cbd5e1;
}

.suite-block--finance .suite-block__list li::before {
  background: #34d399;
  opacity: 0.8;
}

.suite-block--finance .suite-stat {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: #34d399;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  display: inline-block;
}

.suite-block--finance .suite-btn-main {
  background: #10b981;
  color: #0f172a;
  font-weight: 700;
}

.suite-block--finance .suite-btn-sec {
  border-color: rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
}

.suite-block--finance .suite-btn-sec:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* ─── CLINIC — calm healthcare scheduling ─── */
.suite-block--clinic {
  background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 40%, #f0fdfa 100%);
}

.suite-block--clinic .suite-block__eyebrow {
  color: #0f766e;
}

.suite-block--clinic h3 {
  color: #134e4a;
}

.suite-block--clinic .suite-block__lead {
  color: #115e59;
  opacity: 0.9;
}

.suite-block--clinic .suite-block__list li {
  color: #134e4a;
}

.suite-block--clinic .suite-btn-main {
  background: #0d9488;
  color: #fff;
}

/* ─── POS — bold retail / Square-like ─── */
.suite-block--pos {
  background: #fafaf9;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
  border-top: 1px solid #e7e5e4;
}

.suite-block--pos .suite-block__eyebrow {
  color: #c2410c;
}

.suite-block--pos h3 {
  color: #1c1917;
}

.suite-block--pos .suite-block__lead {
  color: #44403c;
}

.suite-block--pos .suite-block__list li {
  color: #292524;
}

.suite-block--pos .suite-btn-main {
  background: #1c1917;
  color: #fff;
  border-radius: 8px;
}

.suite-block--pos .suite-btn-main:hover {
  background: #44403c;
  color: #fff;
}

/* Shared buttons inside suite blocks */
.suite-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  border: 1px solid transparent;
}

.suite-btn:hover {
  transform: translateY(-1px);
}

.suite-btn-sec {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: inherit;
}

/* Apps catalog page */
.apps-catalog {
  background: var(--hq-canvas, #f1f5f9);
}

.apps-catalog-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem 2.5rem;
  background: linear-gradient(125deg, #0f172a 0%, #1e1b4b 40%, #0f766e 100%);
  color: #fff;
  overflow: hidden;
}

.apps-catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.apps-catalog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.apps-catalog-hero__inner h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.apps-catalog-hero__inner p {
  margin: 0 auto 1.5rem;
  max-width: 42ch;
  opacity: 0.9;
  font-size: 1.05rem;
  line-height: 1.55;
}

.apps-catalog-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.apps-catalog-search .bi {
  font-size: 1.1rem;
  opacity: 0.7;
}

.apps-catalog-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.apps-catalog-group {
  margin-bottom: 3rem;
}

.apps-catalog-group:last-child {
  margin-bottom: 0;
}

.apps-catalog-group__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hq-muted, #64748b);
}

.apps-catalog-group__title .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.apps-catalog-group__title .dot--live {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.apps-catalog-group__title .dot--road {
  background: #94a3b8;
}

.apps-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

@media (min-width: 720px) {
  .apps-feature-card {
    grid-template-columns: minmax(200px, 280px) 1fr;
    margin-bottom: 1.25rem;
  }
}

.apps-feature-card:hover {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.apps-feature-card__media {
  position: relative;
  min-height: 160px;
  background: #e2e8f0;
}

.apps-feature-card__media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

.apps-feature-card__stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.apps-feature-card--live .apps-feature-card__stripe {
  background: linear-gradient(180deg, #10b981, #0d9488);
}

.apps-feature-card--roadmap .apps-feature-card__stripe {
  background: linear-gradient(180deg, #94a3b8, #64748b);
}

.apps-feature-card__body {
  padding: 1.35rem 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apps-feature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.apps-feature-card__top h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.apps-feature-card__badge {
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apps-feature-card--live .apps-feature-card__badge {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.apps-feature-card--roadmap .apps-feature-card__badge {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.apps-feature-card__body > p {
  margin: 0 0 1.1rem;
  color: var(--hq-muted, #64748b);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.apps-feature-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.apps-feature-card__actions .hq-btn {
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
}

.apps-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.2rem;
  margin-right: 0.75rem;
  vertical-align: middle;
}

.apps-feature-card__title-row {
  display: flex;
  align-items: center;
}

.suite-block__copy {
  min-width: 0;
}

.suite-block--realestate .suite-btn-sec {
  border-color: rgba(68, 64, 60, 0.28);
  color: #57534e;
}

.suite-block--playground .suite-btn-sec {
  border-color: rgba(91, 33, 182, 0.35);
  color: #5b21b6;
}

.suite-block--clinic .suite-btn-sec {
  border-color: rgba(19, 78, 74, 0.28);
  color: #134e4a;
}

/* Per-app image framing (distinct shapes + hover motion) */
.suite-visual {
  position: relative;
  height: 100%;
  min-height: 240px;
}

.suite-visual__inner {
  position: relative;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.suite-visual__inner img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s;
}

.suite-block:hover .suite-visual--realestate .suite-visual__inner,
.suite-block:hover .suite-visual--hr .suite-visual__inner,
.suite-block:hover .suite-visual--clinic .suite-visual__inner {
  transform: rotateY(-2deg) rotateX(1deg);
}

/* REALESTATE — architectural frame */
.suite-visual--realestate .suite-visual__inner {
  border-radius: 4px 4px 32px 4px;
  box-shadow: 0 28px 60px rgba(28, 25, 23, 0.18);
}

.suite-visual--realestate:hover img {
  transform: scale(1.06);
}

/* PLAYGROUND — organic blob */
.suite-visual--playground .suite-visual__inner {
  border-radius: 40% 60% 65% 35% / 45% 35% 65% 55%;
  clip-path: polygon(2% 8%, 98% 4%, 100% 88%, 8% 100%, 0 42%);
  box-shadow: 0 28px 50px rgba(109, 40, 217, 0.22);
}

.suite-visual--playground:hover img {
  transform: scale(1.07) rotate(-1deg);
}

/* HR — tidy rect */
.suite-visual--hr .suite-visual__inner {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.suite-visual--hr:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

/* FINANCE — terminal window */
.suite-visual--finance .suite-visual__inner {
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5), 0 32px 64px rgba(0, 0, 0, 0.45);
}

.suite-visual--finance img {
  filter: saturate(0.75) contrast(1.08) brightness(0.95);
}

.suite-visual--finance:hover img {
  transform: scale(1.05);
  filter: saturate(0.85) contrast(1.1) brightness(1);
}

@media (prefers-reduced-motion: no-preference) {
  .suite-visual--finance .suite-visual__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(52, 211, 153, 0.04) 50%,
      transparent 50.5%
    );
    background-size: 100% 8px;
    animation: hq-scan 3.5s linear infinite;
    pointer-events: none;
    opacity: 0.5;
  }

  @keyframes hq-scan {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(100%);
    }
  }
}

/* CLINIC — soft capsule */
.suite-visual--clinic .suite-visual__inner {
  border-radius: 48% 48% 16px 16px / 38% 38% 16px 16px;
  border: 2px solid rgba(45, 212, 191, 0.45);
  box-shadow: 0 24px 48px rgba(13, 148, 136, 0.15);
}

.suite-visual--clinic:hover img {
  transform: scale(1.05);
}

/* POS — cut corner “receipt” */
.suite-visual--pos .suite-visual__inner {
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  border: 3px solid #1c1917;
  box-shadow: 14px 14px 0 rgba(28, 25, 23, 0.12);
}

.suite-visual--pos:hover img {
  transform: scale(1.04);
}

.suite-block__mock {
  animation: hq-mock-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@keyframes hq-mock-pop {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hq-reduced-motion .suite-block__mock {
  animation: none;
}

.hq-reduced-motion .suite-visual--finance .suite-visual__inner::after {
  display: none;
}
